Fix a php form error

My php form has an error in this section:


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";



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 %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Hi, check pmb please.

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

I'm ready to help You now.

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

I know how it fix

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