View previous topic :: View next topic |
Author |
Message |
Kent -
Joined: 12 Jan 2003 Posts: 137
|
Posted: Wed Aug 10, 2005 7:27 am Post subject: Tech issue regarding php with abyss |
|
|
I previously was running an older version of abyss from last year .... had no problems on it with scripts now I have php 4 installed on my windows XP pro box along with the latest version of abyss I have everything setup right in my php.ini file to my knowledge and in the abyss console area, I am trying to run simple php scripts like file upload etc... but the upload script gives me a copy() error
Warning: copy(): Unable to access ../files/1.jpg in C:\Server\htdocs\index.php on line 40
is there something I may be missing with the new version of abyss?? |
|
Back to top |
|
|
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Wed Aug 10, 2005 7:34 am Post subject: Re: Tech issue regarding php with abyss |
|
|
Kent wrote: | I previously was running an older version of abyss from last year .... had no problems on it with scripts now I have php 4 installed on my windows XP pro box along with the latest version of abyss I have everything setup right in my php.ini file to my knowledge and in the abyss console area, I am trying to run simple php scripts like file upload etc... but the upload script gives me a copy() error
Warning: copy(): Unable to access ../files/1.jpg in C:\Server\htdocs\index.php on line 40
is there something I may be missing with the new version of abyss?? |
The web server dosent have any control over php functions, mabye the server environment variables, but nothing else, and a decently coded script would have this covered. (Not picking holes in your coding or anything.)
Can I see the script causing the error? _________________
|
|
Back to top |
|
|
Kent -
Joined: 12 Jan 2003 Posts: 137
|
Posted: Wed Aug 10, 2005 7:46 am Post subject: .... |
|
|
I know the server has nothing to do with the way php functions...I didnt write the script, but figured out it was poor code... I found one that works great, thanks for the reply. |
|
Back to top |
|
|
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Wed Aug 10, 2005 7:58 am Post subject: Re: .... |
|
|
Kent wrote: | I know the server has nothing to do with the way php functions...I didnt write the script, but figured out it was poor code... I found one that works great, thanks for the reply. |
No problem, if I could dig up the hard drive I could post some of my old upload scripts. But only the hard drive and processor survived from my server =/ _________________
|
|
Back to top |
|
|
|