NYCPHP Meetup

NYPHP.org

[nycphp-talk] sending info through a hyperlink...

Chris Snyder csnyder at chxo.com
Fri Feb 20 14:38:05 EST 2004


Greg Faber wrote:

> If all the hyperlinks just link to a "mini_site_admin.php" file, how 
> can I send the information pertaining to what link was actually 
> clicked (hence identifying which mini-site is gonna get updated). 

Any reason why linking to "mini_site_admin.php?site=$sitename" wouldn't 
work?

mini_site_admin.php checks for $_GET['sitename'] early on, and if found 
sets $_SESSION['sitename'], which is used for subsequent requests.



More information about the talk mailing list