Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8120755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:15:09+00:00 2026-06-06T05:15:09+00:00

I am trying to use PHP Curl to make the registrations of https://www3.gotomeeting.com/register/432624022 automatic.

  • 0

I am trying to use PHP Curl to make the registrations of https://www3.gotomeeting.com/register/432624022 automatic.

Based on the corrections made by the folks, this is what I am using:

<?

$array=array(
    'Name_First'=>'Steve',
    'Name_Last'=>'Jobs',
    'Email'=>'steve@jobs.com',
    'Template'=>'island/webinar/registration.tmpl',
    'Form'=>'webinarRegistrationFo‌​rm',
    'WebinarKey'=>'432624022',
    'ViewArchivedWebinar'=>'false',
    'registrant'=>'',
    'RegistrantTimeZoneK‌​ey'=>'55',
);

function dump($logArray) {
    echo '<pre>';
    print_r($logArray);
    echo '</pre>';
}

function go2webinar($array){

    $url='https://www3.gotomeeting.com/en_US/island/webinar/registration.flow';
    $url1='https://www3.gotomeeting.com/register/432624022';

    $cookie='/therightpath/cookie';
    $query=http_build_query($array);
    $c=curl_init();

    curl_setopt($c,CURLOPT_USERAGENT,'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1');
    curl_setopt($c,CURLOPT_URL,$url);    
    curl_setopt($c, CURLOPT_FOLLOWLOCATION,1);
    curl_setopt($c,CURLOPT_POST,count($array));
    curl_setopt($c,CURLOPT_POSTFIELDS,$query);
    curl_setopt($c,CURLOPT_RETURNTRANSFER,1);
    curl_setopt($c, CURLOPT_SSL_VERIFYPEER,false);
    curl_setopt($c, CURLOPT_SSL_VERIFYHOST,0);
    curl_setopt($c, CURLOPT_COOKIEFILE,$cookie);
    curl_setopt($c, CURLOPT_COOKIEJAR,$cookie);
    curl_setopt($c, CURLOPT_REFERER,$url1);

    $r=curl_exec($c);//result
    dump(curl_getinfo($c));

    if(curl_errno($c)) return curl_error($c);
    else{
        curl_close($c);
        return trim($r);
    }
}

//GotoMeeting
echo go2webinar($array);

The cookie is being saved as it should:

# Netscape HTTP Cookie File
# http://curl.haxx.se/rfc/cookie_spec.html
# This file was generated by libcurl! Edit at your own risk.

.gotomeeting.com    TRUE    /   TRUE    1371763493  g2mVisitor  FirstVisit%3D1340218507523%26LastVisit%3D1340227493492%26RSN%3DDEFAULT
www3.gotomeeting.com    FALSE   /   TRUE    0   g2mSession  SessionInfo%3D200000000139397572%253A2B00BFBA6275B45
www3.gotomeeting.com    FALSE   /   FALSE   0   JSESSIONID  abc6tY1HKr4Hh9l-3plGt

However, I am getting a “Webinar Unavailable” page now…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T05:15:10+00:00Added an answer on June 6, 2026 at 5:15 am

    Here is the working script , I made it too hard coded, but you should get an idea of whats not working.

    1. use curl_setopt($c, CURLOPT_FOLLOWLOCATION, 1);
    2. user agent curl_setopt($c,CURLOPT_USERAGENT,'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1');
    3. always find the correct params posted , using firebug/tamper data Here is the tamper data screen shot
    4. You should post into $url = 'www3.gotomeeting.com/en_US/island/webinar/registration.flow';
      NOT $url1='www3.gotomeeting.com/register/432624022';
      use $url1 as referrer.

      $query=”Template=island%2Fwebinar%2Fregistration.tmpl&Form=webinarRegistrationForm&WebinarKey=432624022&ViewArchivedWebinar=false&registrant=&RegistrantTimeZoneKey=55&Name_First=BobS&Name_Last=Gnoomw&Email=asas%40cc.com&RegistrantTimeZoneKey=55″;

       function curlit(){
      
          $url = 'https://www3.gotomeeting.com/en_US/island/webinar/registration.flow';
          $url1='https://www3.gotomeeting.com/register/432624022';
      
          $mypath = getcwd();
                  $mypath = preg_replace('/\\\\/', '/', $mypath);
                  $cookie = "$mypath/cookie.txt";
              $query="Template=island%2Fwebinar%2Fregistration.tmpl&Form=webinarRegistrationForm&WebinarKey=432624022&ViewArchivedWebinar=false&registrant=&RegistrantTimeZoneKey=55&Name_First=BobS&Name_Last=Gnoomw&Email=asas%40cc.com&RegistrantTimeZoneKey=55";
              $c=curl_init();
      
              curl_setopt($c,CURLOPT_USERAGENT,'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1');
              curl_setopt($c,CURLOPT_URL,$url);    
              curl_setopt($c, CURLOPT_FOLLOWLOCATION, 1);
              curl_setopt($c,CURLOPT_POST,count($array));
              curl_setopt($c,CURLOPT_POSTFIELDS,$query);
              curl_setopt($c,CURLOPT_RETURNTRANSFER,1);
              curl_setopt($c, CURLOPT_SSL_VERIFYPEER, false);
              curl_setopt($c, CURLOPT_SSL_VERIFYHOST, 0);
              curl_setopt($c, CURLOPT_COOKIEFILE, $cookie);
              curl_setopt($c, CURLOPT_COOKIEJAR, $cookie);
              curl_setopt($c, CURLOPT_REFERER, $url1);
              $r=curl_exec($c);//result
              dump(curl_getinfo($c));
      
              if(curl_errno($c)) return curl_error($c);
              else{
                  curl_close($c);
                  return trim($r);
              }
          }
          function dump($logArray) {
              echo "<pre>";
              print_r($logArray);
              echo "</pre>";
          }
      
          //GotoMeeting
          curlit();
      
          ?>
      

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to verify a sandbox transactionReceipt at https://sandbox.itunes.apple.com/verifyReceipt using php and cURL. The
I am trying to use PHP and cURL to log in to a website
I'm trying to use Curl in PHP to read a unreliable web page. The
I'm trying to use the PHP Curl library to connect to Experian's API. When
I'm trying to use cURL and PHP to download the HTML source (as it
I'm trying to use curl with PHP on my box without any success. My
I am trying to learn to use PHP curl and it seemed to go
I am trying to use PHP to fire hits at Google to track newsletter
so I'm trying to use PHP's mail() function to send an email when users
I'm trying to use PHP's split() (preg_split() is also an option if your answer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.