Jump to content

delete records using php


homer.favenir

Recommended Posts

my script is

$dir = 'C:\Documents and Settings\All Users\Desktop\newfolder\\';
unlink($dir.'vserve.txt')

but it has an error

Warning: unlink(C:\Documents and Settings\All Users\Desktop\newfolder\vserve.txt) [function.unlink]: No such file or directory in C:\Program Files\xampp\htdocs\servtraq\daily_task_reportlist.php on line 255

 

localhost is not my PC, the localhost is from another PC.

 

the program runs in another pc.

but this script delete files in the server not on the client.

 

 

i want, when the program runs, it will find a certain files on the user's workstation and delete it.

 

 

please advice.

 

thanks

 

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.