note 71487 added to reserved.variables

From: Date: Fri, 01 Dec 2006 03:34:51 +0000
Subject: note 71487 added to reserved.variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-120211@lists.php.net to get a copy of this message
This will work for validating a html uri for the w3c validator. If you change parts of it around for your site you can get it to work for the css validator too. *(also--dont shun me if someone else did this before me, I am pretty sure that if they did it isnt very well publicized because I didn't find it the first 5 minutes of searching. Either way, here is the story): I was tired of making validation links and sick of seeing headers not going through firewalls, among other issues. So to make it easy for me I put this little thing together: hope it helps: <a href="http://validator.w3.org/check?uri=<?php $main = $_SERVER["SERVER_NAME"]; $path = $_SERVER["REQUEST_URI"]; echo "http://" . $main . $path; ?>"> <img src=" [image location here] " alt="Valid XHTML 1.1"/> </a> ---- Server IP: 64.71.164.2 Probable Submitter: 72.70.251.79 ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.php Edit -- https://master.php.net/note/edit/71487 Del: integrated -- https://master.php.net/note/delete/71487/integrated Del: useless -- https://master.php.net/note/delete/71487/useless Del: bad code -- https://master.php.net/note/delete/71487/bad+code Del: spam -- https://master.php.net/note/delete/71487/spam Del: non-english -- https://master.php.net/note/delete/71487/non-english Del: in docs -- https://master.php.net/note/delete/71487/in+docs Del: other reasons-- https://master.php.net/note/delete/71487 Reject -- https://master.php.net/note/reject/71487 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#120211) next »