Welcome Guest, Not a member yet? Register   Sign In
How I can Unlink a file
#5

[eluser]Phil Sturgeon[/eluser]
Two better options for people in the future, you can use unlink with a relative path from your webroot, for example:

Code:
unlink("./project/images/myimage.jpg");

That will be alot more portable. Or you can use FTP if you dont want to have lots of writeable directories on your site. I generally will only have ONE temp folder that all files are sent to, then connect to my own server using FTP and move them to a destination folder.


Messages In This Thread
How I can Unlink a file - by El Forum - 01-06-2008, 11:44 PM
How I can Unlink a file - by El Forum - 01-07-2008, 12:21 AM
How I can Unlink a file - by El Forum - 01-07-2008, 12:22 AM
How I can Unlink a file - by El Forum - 01-07-2008, 12:33 AM
How I can Unlink a file - by El Forum - 01-07-2008, 06:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB