[PHP] put result of include into a variable

2002-11-22 Thread Patrick Anderson at TUE
Hi, For some (strange, I know) reason I would like to copy the content of a webpage into a database. I would like to have code like $whocares = include (http://www.microsoft.nl;); $query = insert into html values ($whocares,...); .. However, include can not copy the content to a variable. Does

[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 patrick anderson
so you don't have to rely on something so complicated :) I guess knowing the reason why you need to do this might enable us to give you more help. Justin French on 01/08/02 10:32 PM, patrick anderson ([EMAIL PROTECTED]) wrote: Hi, does anyone know of an elegant way to get the Url

[PHP] How to get the url of frameset

2002-02-27 Thread Patrick Anderson at WFW
Hi, Within a frame I would like to get the url of the frameset and include a different css dependent on the url. I am using apache and php, and first tried with HTTP_REFERER. However, this only works the first time you call the frame and not when you have a link (the referring page will be the

[PHP] Character translation in IE

2001-02-05 Thread Patrick Anderson
Hi, I am using php, mysql and apache on a linuxserver to create some user home pages, and I have a problem with names including special chars. If I retrieve an url including for example /photos/BendseMartin97.jpg everything is ok using netscape, but it doesn't display correct using IE. Apache