Page 1 of 1

Uploading Image

Posted: Tue Mar 23, 2004 6:06 am
by softsolvers
Hello friends
I am still facing problem which i had raised in this forum.i want to upload the image from my page as in the url..
profile.php?mode=editprofile
How can i achieve this :plz if you can suggest me by the snap of code then i will be highly thankful.

Posted: Tue Mar 23, 2004 6:58 am
by Fjook
Hi!
This is my first post btw!
Anyway, you can upload a file from your machine and PHP will put it into a temporary directory on the server, which will expire after the script is finished executing, therefore you have to move it to a permanent dir. Visit this page for information:

http://ca2.php.net/manual/en/features.file-upload.php

(Edit: Sorry, Just finished reading "posting guidlines", deleted code sniplets)

HTH,
Fjook