dcole.ath.cx Posted June 30, 2006 Share Posted June 30, 2006 What's wrong with this code? <?php$check = "http://validator.w3.org/check?uri=$cache[0]";$w3c = fopen($check, "r");$w3csize = filesize($check);$attempt = fread($w3c, $w3csize);fclose($w3c);print $attempt;?> Link to comment Share on other sites More sharing options...
MetaLuna Posted June 30, 2006 Share Posted June 30, 2006 What error are you getting? Link to comment Share on other sites More sharing options...
Little Goat Posted July 1, 2006 Share Posted July 1, 2006 it looks fine to me, at least if $cache[0] is defined earlier. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now