|
Posted by Carl Vondrick on 04/13/06 19:51
Mark Towner wrote:
> - I would like a PHP script to execute an action before a user clicks
> on a link (updating the value of a variable, for instance).
What do you mean? A PHP script is only executed when it is told to so by
eihter Apache (via the user), a cron job, or some other method.
What are you trying to accomplish? If you want to just update a variable,
put it at the top of the script.
> Is there an easy way to do this?
A few:
- Just put it at the top of the script
- Cron jobs (scheduled tasks)
- Ajax/JS
Carl
> Thanks,
> Mark
--
Carl Vondrick
Web-Engineer
www.carlsoft.net
Navigation:
[Reply to this message]
|