SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2010
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    installing pecl extention httprequest without direct access

    all i want to do is make a request with some php variables
    but apparently i have to install the pecl extension httprequest in order to do so
    there are guides on how to do so on a linux and windows machine
    but i dont have direct access to the server, all i can do is put files in the public_html folder via ftp, and i also have mysql access
    there MUST be an easier way to do this, all i want to do is make a simple php request

  2. #2
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    all i want to do is make a request with some php variables
    I think there are other ways of doing this, can you tell us a little bit more about what you want to achieve?

  3. #3
    SitePoint Addict
    Join Date
    Jul 2007
    Location
    San Jose, California
    Posts
    355
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Curl

    If you want to send an HTTP request to specific web address you should use http://us3.php.net/curl.

  4. #4
    SitePoint Enthusiast
    Join Date
    Jan 2010
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    on that page there are instructions for installing curl on windows and linux when u have direct access to the server
    i dont have direct access to the server
    all i can do is put files in via ftp
    i dont know how to be more clear about what i am trying to do

  5. #5
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Are you sure cURL is not enabled anyway?

    try this

    PHP Code:
    <?php 
    echo '<pre>'
    var_dump(curl_version()); 
    echo 
    '</pre>'
    ?>


Bookmarks

Posting Permissions

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