For PHP, the HTML is pretty much a bunch of chars (a string) and nothing more, which that lets with one (initial) option: search the HTML for a given string.

Marc Roberts wrote:
Is it possible to use php to check that the .css file in the html of a web page is the correct one e.g. check if the file included in the html is new.css.

I think I will have to write a regex but if anyone has any ideas (or already has a regex to do this), it would be much appreciated.

Thanks,
Marc

--
Atentamente / Sincerely,
J. Rafael Salazar MagaƱa

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to