Re: UPLOADING IMAGE

From: Date: Sun, 26 May 2002 00:21:16 +0000
Subject: Re: UPLOADING IMAGE
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-99279@lists.php.net to get a copy of this message
http://www.zend.com/zend/spotlight/uploading.php Who's server are you trying this on mate? Yours or mine? ----- Original Message ----- From: "Dani" <universal2001@iprimus.com.au> To: "1LT John W. Holmes" <holmes072000@charter.net> Cc: <php-general@lists.php.net> Sent: Sunday, May 26, 2002 10:38 AM Subject: Re: [PHP] UPLOADING IMAGE > Thanks for replying > > Sorry about not providing the info .... > > well... when I hit submit button, it goes to the 'uploadfile.php' page, but it > doesn't print anything at all. I check in my folder and the file is not copied > either. > > thanks, > Dani > > "1LT John W. Holmes" wrote: > > > HOW IS IT NOT WORKING? Are you getting an error? Is your hard drive being > > erased? Do you get little electrical shocks from the wires tied into your > > braces when you hit enter and upload a file over 10k that has blue and > > yellow within it but not part of the border???? > > > > Info, man...provide it. > > > > ---John Holmes... > > > > ----- Original Message ----- > > From: "Dani" <universal2001@iprimus.com.au> > > To: "1LT John W. Holmes" <holmes072000@charter.net> > > Cc: <php-general@lists.php.net> > > Sent: Saturday, May 25, 2002 8:24 PM > > Subject: Re: [PHP] UPLOADING IMAGE > > > > > I have tried to use the filename but it's still not working. > > > > > > here is the whole code I've got: > > > > > > ****** First file called 'upload.php' > > > <html> > > > <head> > > > <title>Untitled Document</title> > > > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> > > > </head> > > > > > > <body bgcolor="#FFFFFF" text="#000000"> > > > <form name="form1" method="post" > > > ENCTYPE="multipart/form-data" > > > action="uploadfile.php"> > > > <table width="50%" border="0" cellspacing="0" > > > cellpadding="1"> > > > <tr> > > > <td width="21%">File</td> > > > <td width="79%"> > > > <input type="FILE" name="file"> > > > </td> > > > </tr> > > > <tr> > > > <td width="21%"> > > > <input type="submit" name="Submit" > > > value="Submit"> > > > </td> > > > <td width="79%">&nbsp;</td> > > > </tr> > > > </table> > > > </form> > > > </body> > > > </html> > > > > > > ******second file called 'uploadfile.php' > > > <?php > > > if($file) > > > { > > > echo "file name :",$file_name,"<P>\n"; > > > copy($file,"D:/graphic_practise/$file_name"); > > > > > > print("file uploaded"); > > > } > > > ?> > > > > > > thanks > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.general (#99279) next »