[PHP] Url of frame in php variable

2002-08-01 Thread patrick anderson
Hi, does anyone know of an elegant way to get the Url of the current frame in a php variable. Thanks for any suggestions. Patrick PS I know that PHP_SELF will provide the url of the main frame -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Url of frame in php variable

2002-08-01 Thread Justin French
the only way would be with javascript, but remember, this would be done AFTER the page leaves the server (client side), so it will be quite messy. or you could try keeping track of what the sub-frame is doing with sessions... each time you change it's URL, update the session variable. or you

Re: [PHP] Url of frame in php variable

2002-08-01 Thread patrick anderson
I would like to include a style sheet based on the url; the references to the style sheet are stored in MySQL. I guess the way to code this would be to use php to create the javascript code with the list of style sheets. thanks, patrick Justin French wrote: the only way would be with