how to upload the file in PHP?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
prachu.kul
Forum Newbie
Posts: 2
Joined: Wed Dec 03, 2008 11:03 pm

how to upload the file in PHP?

Post by prachu.kul »

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??
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: how to upload the file in PHP?

Post by Christopher »

Post the code.
(#10850)
prachu.kul
Forum Newbie
Posts: 2
Joined: Wed Dec 03, 2008 11:03 pm

Re: how to upload the file in PHP?

Post by prachu.kul »

arborint wrote:Post the code.

hey its working in Firefox..
previously i ws using chrome...
thank u for reply....!!
SteveC
Forum Commoner
Posts: 44
Joined: Thu Dec 04, 2008 2:39 pm
Location: Lansing, MI

Re: how to upload the file in PHP?

Post by SteveC »

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?
User avatar
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?

Post by JAB Creations »

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. :twisted:
Post Reply