Re: [PHP] Upload View Image

2002-01-20 Thread Jason Wong
On Sunday 20 January 2002 14:42, Thomas Edison Jr. wrote: Hi, I have a penpal system running on a site. I want to add a feature wherein the person can upload his image and when somebody views the PenPal list, the uploaded image is shown next to his ad. Can we also control the Image Width

Re: [PHP] Upload View Image

2002-01-20 Thread Malte Fucks
I think the PHP image functions aren't what this guy needs... First thing : File Uploads You have to make a form, including an input type=file name=yourfile tag, which refers to a php script like... ? if($file) { if(@copy($yourfile,./$yourfile_name)) { echo $yourfile_name was

Re: [PHP] Upload View Image

2002-01-20 Thread Malte Fucks
oops... should be if($yourfile) instead of if($file)... sorry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Upload View Image : Database Thingy!!!!

2002-01-20 Thread Thomas Edison Jr.
Malte, Thanks a lot. I was going through the File Upload Functions in the manual and i think that's what they were talking about too. Now there's just one thing. I can run the upload scripts and get the image for display too. But like i mentioned, this is for a PenPal system, a database based

Re: [PHP] Upload View Image : Database Thingy!!!!

2002-01-20 Thread Jason Wong
On Monday 21 January 2002 01:26, Thomas Edison Jr. wrote: Malte, Thanks a lot. I was going through the File Upload Functions in the manual and i think that's what they were talking about too. Now there's just one thing. I can run the upload scripts and get the image for display too. But

Re: [PHP] Upload View Image

2002-01-20 Thread Jason Wong
On Saturday 20 January 2001 19:39, Malte Fucks wrote: To control the size of an image is a matter of your HTML... do something like img src=yourimage width=40px height=40px. Its even possible to insert height and width-values in percent... This only sets the display size of the image

Re: [PHP] Upload View Image : Database Thingy!!!!

2002-01-20 Thread Malte Fucks
[EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, January 20, 2002 6:26 PM Subject: Re: [PHP] Upload View Image : Database Thingy Malte, Thanks a lot. I was going through the File Upload Functions in the manual and i think that's what they were talking about too. Now there's just one

[PHP] Upload View Image

2002-01-19 Thread Thomas Edison Jr.
Hi, I have a penpal system running on a site. I want to add a feature wherein the person can upload his image and when somebody views the PenPal list, the uploaded image is shown next to his ad. Can we also control the Image Width Height? I mean when the Image is displayed, it should be in a