Jump to content

yellow1912

Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

yellow1912's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Any idea? Or is it impossible to do?
  2. Rushyo, I feel all asleep and I still trying to stay up to help you. And i never in my life insult anyone's intelligence or whatsoever, except mine. And I for one wouldnt get angry at someone who trying to help me, even if he is of use or not. You will never get any friend this way.
  3. Pls read php.net: [a href=\"http://us2.php.net/manual/en/function.include.php\" target=\"_blank\"]http://us2.php.net/manual/en/function.include.php[/a] Many good examples listed there. Anyway, Im so sleepy and gotta take a nap now, hope you can find the solution or someone can help. Cheers. err, just saw yor reply, try this: in your included script, echo everything you want to display: echo " blah blah blah --- This is the main"; PS: If possible post your script here or pm me, at least part of it
  4. Tell me what result do you expect from calling the script? You want some parameters returned or something? for curl set curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); --> Then all the result will be return as a string instead of being displayed.
  5. You can, I did it before, just include(loadmenu.php?example=poot); If you want to pass by POST then you can use curl [code] // SET URL FOR THE POST FORM LOGIN         curl_setopt($ch, CURLOPT_URL, 'linkkkkk');                  // ENABLE HTTP POST         curl_setopt ($ch, CURLOPT_POST, 1);                  // SET POST PARAMETERS : FORM VALUES FOR EACH FIELD         curl_setopt ($ch, CURLOPT_POSTFIELDS, "login=something&password=somwthing);[/code]
  6. I think you can do it only 1 by 1 (PHP is not multi-threaded, is it?). But maybe Im wrong. If you want to do it it 1 by 1, then use include or require.
  7. Say if I use sleep(60), then I have to curl_exec($ch) again? Wouldnt it just re-load that page again (hence the count-down will start over again?)
  8. Hi, I want to access a site, fill in the form. This form will be processed for a certain amount of time then return a result. There are some sites like that, when you log in, they make you wait 60 seconds or something. I can use curl to access the site, but cant figure out how to wait 60s and then get the result.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.