Nona Urbiz
Nona Urbiz

Reputation: 5013

curl to wc3 validator not working?

when I run the following, i get a w3c page with upload options, as though nothing has been uploaded. curl seems to be putting it up though, so i'm at a loss as to what to even troubleshoot

dylan@MAJUSCULE:/opt/lampp/htdocs/dylanstestserver$ php index.php > test.html  && curl -F "[email protected];type=text/html" http://validator.w3.org/ > results.html && firefox results.html
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 28874    0 26970  100  1904  55218   3898 --:--:-- --:--:-- --:--:-- 76619
dylan@MAJUSCULE:/opt/lampp/htdocs/dylanstestserver$ 

Upvotes: 0

Views: 1228

Answers (1)

Eric
Eric

Reputation: 409

I think http://validator.w3.org/ needs to be http://validator.w3.org/check

More info here: http://validator.w3.org/docs/api.html

Upvotes: 1

Related Questions