PDA

View Full Version : [php 4.0.5] file upload



RvGaTe
April 28th, 2003, 04:42 PM
How is it possible to upload files to a certain folder using a form and php, i know how it workes on php 4.3 but i have 4.0.5 on my own server.....

plz tell me how...

lostinbeta
April 29th, 2003, 12:24 AM
Im not far into PHP so I can't help much, but check this thread out, maybe it will help.

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=11817

comicGeek
May 3rd, 2003, 02:35 AM
I think the process is still the same as long as your server has set the write properties "on".

check this site:

PHP tut from robouk.com (http://robouk.mchost.com/tuts/tutorial.php?tutorial=fileupload)

Goodluck!

ahmed
May 3rd, 2003, 03:21 AM
That link is great, comicGeek!! :beam:

The one lost posted did not work for me.. but i think it's something with my server :)

RvGaTe
May 3rd, 2003, 07:40 AM
i wanna thank you guys for the reply's but in the meantime, i asked the host for an php update, and guess what, after 2 houres he updated php to 4.3.... so i got it working with the first script i had...

anyways, thanks

Jubba
May 3rd, 2003, 10:47 AM
Ahmed, I got the first one to work fine, but I had some major problems getting it there. It turns out that I forgot to CHMOD the folder that I am saving the files to... if that isn't the problem, then make sure the paths are accurate.

ahmed
May 3rd, 2003, 05:34 PM
Oh.. I see...
Well i got the second script working fine for now :)