Results 1 to 3 of 3
  1. #1

    curl command to php script

    can anyone help me with an overwhelming problem ?

    I want to use this command in the php curl code.

    curl -v --data "WSCommunityStringRW?2=1200ve50set&Submit=Submit" link to the site menu -u "admin:a1s2d3" --anyauth

  2. #2
    Join Date
    Apr 2007
    Brussels, Belgium
    can you otherwise post your form that you wish to send over ? (are you sure you don't need any cookies ?)

  3. #3
    Join Date
    Jun 2010
    Los Angeles
    you can do exec("...cli code...");
    make sure you get the path of your curl so it looks like:
    exec("/usr/bin/curl bla bla bla");

    to find the path, just do "which curl" from your linux console.

Similar Threads

  1. php command line, script 'hosting'?
    By uberjon in forum Hosting Software and Control Panels
    Replies: 2
    Last Post: 06-28-2010, 08:00 PM
  2. php/curl script behaves differently in linux than windows
    By jjk2 in forum Programming Discussion
    Replies: 0
    Last Post: 01-05-2009, 05:04 AM
  3. Server freezes during curl command
    By Gigaron in forum Hosting Security and Technology
    Replies: 2
    Last Post: 12-02-2007, 11:06 PM
  4. PHP compiled with mcrypt() curl & curl ssl support
    By skelkeys in forum Hosting Security and Technology
    Replies: 2
    Last Post: 10-29-2005, 03:18 PM
  5. Need help with strange cURL / PHP 4.3.7 issue: claims cURL is not installed
    By sscooter1010 in forum Hosting Security and Technology
    Replies: 8
    Last Post: 08-10-2004, 02:48 AM

Posting Permissions

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