Do you have a question? Post it now! No Registration Necessary. Now with pictures!
November 8, 2005, 12:58 am
rate this thread
Re: 'scanning' html in frame?
PHP runs on the server, and can't know whether a client has loaded a page into
a frame or somewhere else, so your ordering of events isn't quite right.
PHP can itself read a remote page (see file_get_contents(), and fopen_wrappers
which allow the filesystem functions to transparently read URLs - this is
enabled on most configurations), process it, and then output that page (with
whatever modifications are appropriate) - you then arrange that this PHP script
is what is loaded into a particular frame.
Andy Hassall :: email@example.com :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool