re: I am having trouble with php code

  • From: Alex Parks <mehgcap@xxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Sun, 21 Oct 2007 22:49:59 -0400

I am having problems with the exact same thing, so if you figure it out please share! Also, what error are you getting?

Have a great day,

----- Original Message -----
From: "Alex" <laptop456@xxxxxxxxx
To: <programmingblind@xxxxxxxxxxxxx
Date sent: Sun, 21 Oct 2007 22:39:38 -0400
Subject: I am having trouble with php code

I am having some trouble with a small chunk of php code:

$target = "upload/";

$target = $target .  basename( $_FILES['uploaded']['name']) ;


if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target))


echo "The file ". basename( $_FILES['uploadedfile']['name']). "
has been uploaded. Thank you for helping our database of files grow!

<a href="";

Return to home";


else {

echo "Sorry, there was a problem uploading your file. Why don't

<a href="";

Try again.";



Maybe it is just some silly thing I missed.

View the list's information and change your settings at

Other related posts: