Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

execute any file when accessing files on server



10:55 am on Dec 12, 2006 (gmt 0)

5+ Year Member

Hi to all,

i need to execute any type of file with some commands in it when accessing files on server.

suppose, if i access one folder named 'temp' on my server, then the file which i want to execute should be run first.

anyone knows this stuff then pls help me ASAP



3:17 pm on Dec 12, 2006 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Several of the the techniques described in this recent thread [webmasterworld.com] are applicable here.



9:56 pm on Dec 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Another way to accomplish 'essentially the same effect' is to rewrite everything to /the-file-to-execute.ext and 'include' the 'correct page', based on the 'request_uri', after the execution of the script.



Featured Threads

Hot Threads This Week

Hot Threads This Month