Results 1 to 9 of 9

Thread: URLs in PHP.

  1. #1

    URLs in PHP.

    What is the best way to open URLs in PHP? CURL, sockets?
    Quality web hosting PullHost.com

  2. #2
    I would say it depends on what you want to do with it?...

  3. #3
    Join Date
    Jun 2002
    Location
    Sherbrooke, Québec
    Posts
    182
    It depends on what you want to open. Actually most file handling functions (fopen, etc) handle HTTP/FTP requests as well.

  4. #4
    HTTP & HTTPS
    Quality web hosting PullHost.com

  5. #5
    Join Date
    Jul 2003
    Location
    Kuwait
    Posts
    5,099
    Use cURL if your install supports it.

    Or, use any number of classes out there that do this. Pear has a few.
    In order to understand recursion, one must first understand recursion.
    If you feel like it, you can read my blog
    Signal > Noise

  6. #6
    Thanks
    Quality web hosting PullHost.com

  7. #7
    Join Date
    Mar 2004
    Location
    Poland, Lublin
    Posts
    71
    cURL its very easy to use, and many functions buildin...

  8. #8
    Is the PHP cURL extension secure?
    Quality web hosting PullHost.com

  9. #9
    Join Date
    Jul 2003
    Location
    Kuwait
    Posts
    5,099
    secure? If you mean does it support https, then yes.
    In order to understand recursion, one must first understand recursion.
    If you feel like it, you can read my blog
    Signal > Noise

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •