Forum Moderators: phranque

Message Too Old, No Replies

How to start a php on header sent time

         

RonaldoL

8:31 pm on Oct 4, 2011 (gmt 0)

10+ Year Member



Hi,

How could I start a php from the headers html?

When a client browser loads a html page, I need to start a php on the server and wait the client browser send the request from the page that was loaded.

There are a way to do this?

Resuming: the page, when loaded start a php on the server side and after, the user select a URL to follow.

Thanks and regards,

Ronaldo

RonaldoL

3:04 pm on Oct 6, 2011 (gmt 0)

10+ Year Member



Hi,

There are a way to get the HTTP_REFERER content and, using this content start a php program?

I try the .htaccess below and didn't work

Options +FollowSymlinks
IndexIgnore *
Header add MyHeader "User header: htaccess was runing...."
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^image.gif$
RewriteRule ^$ test.php [L]

Thanks and regards,

Ronaldo