0

当我运行以下命令时,我得到一个带有上传选项的 w3c 页面,就好像没有上传任何内容一样。卷曲似乎是把它放在一边,所以我不知道要解决什么问题

dylan@MAJUSCULE:/opt/lampp/htdocs/dylanstestserver$ php index.php > test.html  && curl -F "uploaded_file=@index.php;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$ 
4

1 回答 1

1

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

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

于 2011-08-08T19:15:35.437 回答