unable to upload using copy php
I am trying to upload to /var/www/ folder. I have set the permission on the folder to full access for all users. I can copy from the pc but when I run the webpage php script in the browser I get an error. I am using the Copy command; copy($from, $to). I cannot use my php code to save to this folder. When I run the code on my windows box it works. I am using apache, php and fedora core 1.
Can anyone help? :confused: :Pengy: |
what error do you get :?
Is it a standard php scripts or something from yourself? |
standard error from my script.
|
try it in the same dir as the php itself?
|
How can I do that??? It is a web file, I have it in the web directory so I can run from the browser.
:scratch: |
and the script is not allowed to run in the same dir? It has to run from somewhere else or may it also be in the same dir?
I'm just trying to figure out where this is going wrong ... i know on some servers you can run your .php from wherever you like. |
All times are GMT -5. The time now is 06:39 PM. |