You are here: Re: Action link « PHP Programming Language « IT news, forums, messages
Re: Action link

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация