Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
php upload
Name: wheelspinner99 Date: April 17, 2004 at 21:20:25 Pacific OS: xp home CPU/Ram: enough
Comment:
Ok, i am tryin to create a simple uploads form. Here is the error i keep getting: "Warning: copy(C:\Uploads): failed to open stream: Permission denied in C:\Program Files\Abyss Web Server\htdocs\FileUploader.php on line 5 Could not upload file"
Here is the php file that i am using: <?PHP if($file_name != " ") { copy("$file", "C:\\Uploads") or die("Could not upload file"); } ?> <HTML> <BODY> <H3 align=center>File upload successful</H3> <UL> <LI>Sent: <?php echo "$file_name"; ?> <LI>Size: <?php echo "$file_size"; ?> <LI>Type: <?php echo "$file_type"; ?> </UL> ">Click here to view the file
Summary: If anyone could help me out that would be great! I try upload files with regular form: "form enctype=multipart/form-data action=upload.php method=post" "input type=file name=userfile"... but when i cl...
Summary: Hi, im having a problem with my php.ini (i guess) the problem is i installed a File manager, is like a FTP Service but via web. The problem i have is that i cant upload files larger than 2Mb. I was wa...
Summary: Yeah... I'm not at home to grab it right now though. I'll send it up when I get on the 'puter at the house tonight. Meanwhile, you can take a look at this code... http://www.io.com/~terrence/php/uploa...