Jump to content

filesystem related


birbal

Recommended Posts

what i want to do:suppose i am uploading a file into remote server filesystem through my Control Panel or FTP client (without using any php script)is there anyway to do a query in database on every uploading of a file?

Link to comment
Share on other sites

Yes and no.There's the libevent extension that can do that, but for it to work, you need to have a PHP script running continiously on the web server. You can use the server's cron job utility for that (see examples), but the host itself may place a timeout limit for cron job executables or explicitly decline you this ability (i.e. they may decide you're violating their TOS due to overusing the server's CPU).Not to mention they need to actually install this extension on the first place.One more thing to write in to your growing letter to your host :) .

Link to comment
Share on other sites

thanks boen for pointing out...i will check those soon...i think now its time to put a ticket to the host.

One more thing to write in to your growing letter to your host happy.gif .
:)
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...