php help needed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MarcS
    Confirmed User
    • Aug 2002
    • 139

    #1

    php help needed

    I'm trying to do this
    exec("wget http://www.gofuckyourself.com --output-document=/home/marc/test/test.html",$output);

    but that returns
    wget: missing URL
    Usage: wget [OPTION]... [URL]...
    Try `wget --help' for more options.

    but when I execute this
    wget http://www.gofuckyourself.com --output-document=/home/marc/test/test.html
    through telnet it works

    any ideas?
  • kad
    Confirmed User
    • Feb 2003
    • 735

    #2
    Try putting the --output-document=/home/marc/test/test.html before the url.
    lol internet.

    Comment

    • foe
      Confirmed User
      • May 2002
      • 5246

      #3
      Originally posted by kad
      Try putting the --output-document=/home/marc/test/test.html before the url.

      Comment

      Working...