|
|
 |
RE: FN-FORUM PHP problem
date posted 1st July 2002 15:33
Thanks for the pointer Warren but I am still getting error message of "No
such file or directory" despite the permissions and the path being correct.
Am I being totally thick here as I can't see what is going wrong?
-----Original Message-----
From: [EMAIL REMOVED]
[EMAIL REMOVED] Behalf Of warren alexander
Sent: 01 July 2002 15:01
To: [EMAIL REMOVED]
Subject: Re: FN-FORUM PHP problem
Stefan,
the variable $newfile contains the path to the uploaded file, not the actual
image.
use copy($newfile,$pathtoimagefile);
where $pathtoimagefile contains the absolute path to the file you want to
overwrite (ie the path on the actual machine, not the URI)
Hope this helps.
Warren Alexander
----- Original Message -----
From: "Stefan Savva" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Monday, July 01, 2002 2:30 PM
Subject: FN-FORUM PHP problem
>
> Hello there,
>
> I wondered if anyone had 5 minutes that could help me with a little PHP
> problem.
>
> I am trying to create a file upload that saves a new image over an exiting
> one as a flat file, NOT into a Database. I have one page that contains the
> HTML form which posts to the image confirm page.
>
> The HTML form
> action='image_confirm.php'>
> Photo to upload:
>
>
>
> THE image_confirm page
>
>
>
> Many thanks,
>
>
> Stefan Savva
> New Media Designer
>
> 07720 294 642
> www.stefansavva.net
> [EMAIL REMOVED]
>
>
> ================================================================
> = ************************* SilkPHP ************************** =
> = ---------> Free PHP Scripts for your web sites = ******************* www.silkphp.com/?fl ******************** =
> ================================================================
>
> Sponsor the forum for as little as £1 at:
>
> http://www.freelancers.net/cgi/sponsor.cgi?action=show
>
>
> Freelancers and Freelance Jobs:
> http://www.freelancers.net
>
> Forum FAQs:
> http://freelancers.netrickery.com
>
> To unsubscribe please email:
> [EMAIL REMOVED]
>
> If you have difficulties unsubscribing please email:
> [EMAIL REMOVED]
>
================================================================
= ************************* SilkPHP ************************** =
= ---------> Free PHP Scripts for your web sites |
 |
|