[PHP] Re: Screen Shots

2006-10-22 Thread Fred Moses

Mark McWhirter wrote:
Is there any way that I can get a script to take a screen shot every minute 
of all the users using my php website? 


Why not add a state capture inclusion (require) to each of your pages? 
Have it grab, for instance, the user's IP address, the session ID, the 
URL of page, and the user's login information if that's available.  Dump 
the result into a tracking table in your database.  In the admin part of 
your site, add a page which formats the tracking info nicely, perhaps 
selected by time period.  There's no need to do a screen capture.


You own the information.  I don't see why it shouldn't be legal to 
capture it and display it to yourself considering all the folks who do 
full click tracking.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Screen Shots

2006-10-22 Thread Fred Moses

Dotan Cohen wrote:

On 22/10/06, Fred Moses [EMAIL PROTECTED] wrote:

Mark McWhirter wrote:
 Is there any way that I can get a script to take a screen shot every 
minute

 of all the users using my php website?

Why not add a state capture inclusion (require) to each of your pages?
Have it grab, for instance, the user's IP address, the session ID, the
URL of page, and the user's login information if that's available.  Dump
the result into a tracking table in your database.  In the admin part of
your site, add a page which formats the tracking info nicely, perhaps
selected by time period.  There's no need to do a screen capture.

You own the information.  I don't see why it shouldn't be legal to
capture it and display it to yourself considering all the folks who do
full click tracking.



And how does that produce a screenshot?

Dotan Cohen

http://what-is-what.com/what_is/virus.html


It doesn't.  Why do you need a screen shot when you can get a history 
page any time you want to?


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] IP Address

2006-10-21 Thread Fred Moses
Is there a function which returns the IP address of the requestor of the 
current page?


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: postback for php

2006-10-18 Thread Fred Moses

Miles Thompson wrote:

At 11:48 AM 10/18/2006, M.Sokolewicz wrote:


Ross wrote:
Looked on google and not found a satisfactory answer. Doies anyone 
have a funtion to do this?


R.
please explain, in details, what it is you're looking for. postback 
for php - a function to do this doesn't mean squat to most people. 
Please EXPLAIN.


- tul


Yes, not a helpful description. Maybe he means a callback function which 
would do something like

echo 'a href='. $_SERVER['PHP_SELF'] .'Please try again/a';
and he may have to pass a variable string.

M.




First approximation:
Postback is an ASP.NET mechanism for running server side code as part of 
  a page execution cycle when the user clicks a control which has been 
set up for this.  a href='. $_SERVER['PHP_SELF']... is an example. 
A more general example in the PHP world is creating a form with the 
action referring to the same page.  At the beginning of the page, one 
checks for an action field the value of which is used to dispatch to 
some code relevant to the action.  Both systems can yield similar effects.


For more info, just Google postback.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php