imagescoding,Pls check for me!!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
enefahchen
Forum Newbie
Posts: 10
Joined: Wed May 12, 2004 1:35 am

imagescoding,Pls check for me!!

Post by enefahchen »

I already follow the coding exactly the coding, y still cannot upload images???can check for me????

if (is_uploaded_file($_FILES['fileName']['tmp_name']))
{
@copy($_FILES['fileName']['tmp_name'], $DOCUMENT_ROOT."/11/pictures/".$_FILES[fileName][name]);
echo ($DOCUMENT_ROOT."<br>".$DOCUMENT_ROOT."/11/pictures/".$_FILES[fileName][name]);
echo "<script>alert('You had updated product details. Thankyou.</script>";
echo "<form name=formadminmainpage method=post action='adminmainpage.php'><input type=hidden name=user value=\"user\"></form>";
echo "<script>document.formadminmainpage.submit()</script>";
}//endif;
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Post Reply