i've tried searching the forum and googling this but no joy...
i'm trying to upload and manage images remotely.. the CMS i'd created is on one server and the site is on a different server.
i've whitlisted my IP with mysql remote and the server firewall and i have a mysql connection so everything is good. next thing i did was modify the folders i wanted to upload images to... to 777
but what i can't do is use php file handling functions with full urls.
so i did an experiment... on my local server i did a unlink() on a file using a relative path... worked fine... then i did the same thing still on my local server using it's absolute url... this did not work.
the error i get is...
Warning: unlink() [function.unlink]: http does not allow unlinking in /home/directory/home_html/_files/test/test.php on line 10
how would i go about trying to solve this?
i'm trying to upload and manage images remotely.. the CMS i'd created is on one server and the site is on a different server.
i've whitlisted my IP with mysql remote and the server firewall and i have a mysql connection so everything is good. next thing i did was modify the folders i wanted to upload images to... to 777
but what i can't do is use php file handling functions with full urls.
so i did an experiment... on my local server i did a unlink() on a file using a relative path... worked fine... then i did the same thing still on my local server using it's absolute url... this did not work.
the error i get is...
Warning: unlink() [function.unlink]: http does not allow unlinking in /home/directory/home_html/_files/test/test.php on line 10
how would i go about trying to solve this?