i've used tutorial on w3school......!!
bt it gives me error like...
Warning: move_uploaded_file(upload/cand196oi.gif) [function.move-uploaded-file]: failed to open stream: No such file or directory in C:\xampp\htdocs\practice\file_upload.php on line 25
wat to do now further??
how to upload the file in PHP?
Moderator: General Moderators
-
prachu.kul
- Forum Newbie
- Posts: 2
- Joined: Wed Dec 03, 2008 11:03 pm
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
-
prachu.kul
- Forum Newbie
- Posts: 2
- Joined: Wed Dec 03, 2008 11:03 pm
Re: how to upload the file in PHP?
arborint wrote:Post the code.
hey its working in Firefox..
previously i ws using chrome...
thank u for reply....!!
Re: how to upload the file in PHP?
prachu.kul wrote:arborint wrote:Post the code.
hey its working in Firefox..
previously i ws using chrome...
thank u for reply....!!
That's weird. Don't you want to figure out why it wasn't working in Chrome?
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Re: how to upload the file in PHP?
failed to open stream simply means the path to the file was incorrect.
Using a different browser will have no effect on serverside code unless you're doing some stuff that makes my code look normal.
Using a different browser will have no effect on serverside code unless you're doing some stuff that makes my code look normal.