soycharliente Posted October 27, 2009 Share Posted October 27, 2009 I find that when I have lines like Google Chart images... <img src="http://chart.apis.google.com/chart?cht=s&chd=t:1,1,1,1,1,1,1... or intricate GET method use... /index.php?id=8&pid=777&date=2009-01-17... the code does not validate. Does anyone have any suggestions for how to make XHTML 1.1 Strict code validate when it contains long URLs like these? Link to comment https://forums.phpfreaks.com/topic/179212-validating-long-urls/ Share on other sites More sharing options...
mrMarcus Posted October 27, 2009 Share Posted October 27, 2009 use htmlentities() should help validate your URL's. Link to comment https://forums.phpfreaks.com/topic/179212-validating-long-urls/#findComment-945731 Share on other sites More sharing options...
haku Posted October 28, 2009 Share Posted October 28, 2009 Your problem is that you are using the ampersand (&) sign in your URLs. That doesn't validate. Replace the ampersand with & Link to comment https://forums.phpfreaks.com/topic/179212-validating-long-urls/#findComment-945935 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.