I have a made a text fiel in flash where i type in the path to a pic on the server which should be erased. then i crated a save button calling the above php script.
Both really simple. I have set the permissions for the folders on the server but it doesn erase the file.
Here is the flash:
erase.onRelease = function() {
_level1.loadVariables(“erase_files.php”, “POST”);};
Here is the php: <?php
@unlink($erase_image);
?>
The variable being passe dfrom flash is $erase_image.
Anyone know how to do this?