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
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
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]
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
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
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
[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
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
8 matches
Mail list logo