# \[php 4.0.5\] file upload

**URL:** https://forum.kirupa.com/t/php-4-0-5-file-upload/19512
**Category:** programming
**Created:** [April 28, 2003, 8:42pm UTC](https://forum.kirupa.com/t/php-4-0-5-file-upload/19512 "2003-04-28T20:42:52Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![RvGaTe](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rvgate/32/126_2.png) [@RvGaTe](https://forum.kirupa.com/u/RvGaTe)
#### Post date: [April 28, 2003, 8:42pm UTC](https://forum.kirupa.com/t/php-4-0-5-file-upload/19512/1 "2003-04-28T20:42:52Z")

</div>

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…

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 29, 2003, 4:24am UTC](https://forum.kirupa.com/t/php-4-0-5-file-upload/19512/2 "2003-04-29T04:24:33Z")

</div>

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](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=11817)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 3, 2003, 6:35am UTC](https://forum.kirupa.com/t/php-4-0-5-file-upload/19512/3 "2003-05-03T06:35:43Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 3, 2003, 7:21am UTC](https://forum.kirupa.com/t/php-4-0-5-file-upload/19512/4 "2003-05-03T07:21:33Z")

</div>

That link is great, comicGeek!! :beam:

The one lost posted did not work for me… but i think it’s something with my server 🙂

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 3, 2003, 11:40am UTC](https://forum.kirupa.com/t/php-4-0-5-file-upload/19512/5 "2003-05-03T11:40:54Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 3, 2003, 2:47pm UTC](https://forum.kirupa.com/t/php-4-0-5-file-upload/19512/6 "2003-05-03T14:47:58Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 3, 2003, 9:34pm UTC](https://forum.kirupa.com/t/php-4-0-5-file-upload/19512/7 "2003-05-03T21:34:05Z")

</div>

Oh… I see…  
Well i got the second script working fine for now 🙂
