Hi,
Wednesday, July 30, 2003, 12:09:44 AM, you wrote:
AM> The version is PHP Version 4.2.3.
AM> On Tue, 29 Jul 2003, Tom Rogers wrote:
Then you can use the $_FILES array like this:
if($_FILES["photo"]["error"]==0){ //make sure no errors on upload
if(!empty($_FILES["photo"]["name"])){ //
The version is PHP Version 4.2.3.
On Tue, 29 Jul 2003, Tom Rogers wrote:
> Hi,
>
> Friday, July 25, 2003, 1:48:50 AM, you wrote:
> AM> I am having a problem with uploading a file from a form. I changed the
> AM> permission on the directory, but I am still getting an error. Here is my
> AM> err
Hi,
Friday, July 25, 2003, 1:48:50 AM, you wrote:
AM> I am having a problem with uploading a file from a form. I changed the
AM> permission on the directory, but I am still getting an error. Here is my
AM> error:
AM> Copy failed./home/vencel/www/images/apt/company_logo/14Update Failed!
AM> It
-
From: "Marek Kilimajer" <[EMAIL PROTECTED]>
To: "Amanda McComb" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, July 28, 2003 3:43 PM
Subject: Re: [PHP] uploading a file from a form
> Everything is in the manual:
> http://www.php.net/f
Everything is in the manual:
http://www.php.net/features.file-upload
Amanda McComb wrote:
I'm not sure what that means...how do I use it, and where?
On Fri, 25 Jul 2003, Marek Kilimajer wrote:
Don't you need to use $HTTP_POST_FILES array because you have
register_globals off?
Amanda McComb wr
I'm not sure what that means...how do I use it, and where?
On Fri, 25 Jul 2003, Marek Kilimajer wrote:
> Don't you need to use $HTTP_POST_FILES array because you have
> register_globals off?
>
> Amanda McComb wrote:
>
> > I am having a problem with uploading a file from a form. I changed the
* Thus wrote Amanda McComb ([EMAIL PROTECTED]):
>
> mysql_query($add_image_query) or die("Update Failed!");
>
Print out the $add_image_query to see whats wrong with it.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."
--
PHP General Mailing List (http://www.php
Don't you need to use $HTTP_POST_FILES array because you have
register_globals off?
Amanda McComb wrote:
I am having a problem with uploading a file from a form. I changed the
permission on the directory, but I am still getting an error. Here is my
error:
Copy failed./home/vencel/www/images/ap
I am having a problem with uploading a file from a form. I changed the
permission on the directory, but I am still getting an error. Here is my
error:
Copy failed./home/vencel/www/images/apt/company_logo/14Update Failed!
It looks like it's not finding the file type. Here is my code:
", " ");
9 matches
Mail list logo