Welcome to WebmasterWorld Guest from 54.144.107.83

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)

New User

5+ Year Member

joined:Nov 21, 2006
posts:19
votes: 0


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

Thanks
-ENIL

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

Senior Member

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

joined:Mar 31, 2002
posts:25430
votes: 0


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

Jim

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 9, 2005
posts:1509
votes: 0


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.

Justin