Mombu the Php Forum

Go Back   Mombu the Php Forum > Php > note 71487 added to reserved.variables
User Name
Password
REGISTER NOW! Mark Forums Read




Reply Bookmark and Share
1 23rd December 22:17
thecrandallster
External User
 
Posts: 1
Default note 71487 added to reserved.variables



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
  Reply With Quote


 


2 24th December 05:16
bobby
External User
 
Posts: 1
Default note 71487 deleted from reserved.variables by bobby



Note Submitter: thecrandallster at gmail dot com

----

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>
  Reply With Quote


 


Reply


Thread Tools
Display Modes


Some other forums that might be of your interest : Php 5 forum, Apache forum, Iis forum, Functions forum, Classes forum, Librarys forum, Bugs forum, Postgres forum, Mysql forum, Paradox forum, Ms sql forum, Configurations forum, Php.ini forum, Problems forum, Scripting forum, Css forum, General forums, Off-topic talk, Links, Extra forums, Php


Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666