+ Reply to Thread
Results 1 to 3 of 3

Thread: substitute wget with PHP code..

  1. #1
    slacker3 is offline x10 Sophmore slacker3 is an unknown quantity at this point
    Join Date
    Jul 2009
    Posts
    146

    substitute wget with PHP code..

    since exec() and system() are disabled i want to write some PHP code wich does almost the same as wget

    it wouldn't be that much of a problem for the basic functionality of wget, but this parameters would require some more work:
    --save-cookies
    --keep-session-cookies
    --referer

    do you know any available pieces of PHP code to do this ?
    google gave me nothing..

  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: substitute wget with PHP code..

    X10 has the curl extension installed.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  3. #3
    slacker3 is offline x10 Sophmore slacker3 is an unknown quantity at this point
    Join Date
    Jul 2009
    Posts
    146

    Re: substitute wget with PHP code..

    aahh...
    that's fine, exactly what i wanted

    sorry for my lame question, i'm pretty new to php

+ Reply to Thread

Similar Threads

  1. Hybrid's HTML Lessons
    By Hybrid in forum Tutorials
    Replies: 18
    Last Post: 11-28-2009, 02:12 PM
  2. PHP Login code integrating help....
    By rufussweetwater in forum Programming Help
    Replies: 32
    Last Post: 08-03-2009, 11:34 AM
  3. how can i convert Php pages and code into asp pages and code
    By n4tec in forum Scripts & 3rd Party Apps
    Replies: 11
    Last Post: 01-10-2009, 09:40 PM
  4. BB Code Guide
    By Jober68 in forum Tutorials
    Replies: 1
    Last Post: 01-10-2008, 05:12 PM
  5. "PHP Startup: Invalid Library" - Interesting error
    By javaguy78 in forum Free Hosting
    Replies: 5
    Last Post: 03-27-2007, 02:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers