Uploading Image

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
softsolvers
Forum Commoner
Posts: 75
Joined: Fri Feb 13, 2004 4:26 am
Location: India

Uploading Image

Post 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.
Fjook
Forum Newbie
Posts: 11
Joined: Tue Mar 23, 2004 6:58 am
Location: Toronto, Canada

Post 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
Post Reply