Peruttu

Fix a php form error

My php form has an error in this section:

switch($action){

case "Add New":

$tmp_file = $_FILES[photo][tmp_name];

$photo_name = $_FILES[photo][name];

$target = $photo_dir . "/" . $photo_name;

$photo = $url . "/photos/" . $photo_name;

$move_success = move_uploaded_file($tmp_file, $target);

if (!$move_success){

echo "Can not move file from $tmp_file to $target";

exit;

}

If you cand fix it add my ya hoo id mr_bed to yours so we can talk. I know that I am not supposed to reveal my id but I need to pick a winner as soon as possible. This is should be easy to fix if you know your php. Winner will be picked in a few minute. The budget is not much I will pick the lowest bidder 0-$25

Taidot: PHP

Näytä lisää: you fix it, we will fix it, the fix it, php id, my fix it, my fix, lowest lowest, i will fix it, error 0, php fix error, fix form, exit, error, error php, easy fix, photo talk, winner pick, php add file, url fix, reveal, php action form, php action, action php, php form action, lowest bidder form

Tietoa työnantajasta:
( 6 arvostelua ) NY, United States

Projektin tunnus: #34356

3 freelanceria on tarjonnut keskimäärin 30 $ tähän työhön

efbiaiinzinz

Hi, check pmb please.

30 $ USD 0 päivässä
(4 arvostelua)
4.3
mikelka

I'm ready to help You now.

30 $ USD 0 päivässä
(3 arvostelua)
2.9
alego

I know how it fix

30 $ USD 0 päivässä
(2 arvostelua)
1.6