Posting a variable to a script without waiting for an answer

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
iamkoby
Forum Newbie
Posts: 2
Joined: Tue Oct 28, 2008 10:24 am

Posting a variable to a script without waiting for an answer

Post by iamkoby »

Hi !

I'm looking for hours for a way to call a script with a variable (it can be either GET or POST) but without waiting for the script to reply.

This script takes at least 7 seconds to respond so if i'm using file_get_contents I'm left with a suspend of 7+ seconds in my script.

I have NO interest in the response of that script since it returns nothing so how can I just call it, leaving it to work and continue in my own script ?

Your help is greatly appreciated. Thank you!
iamkoby
Forum Newbie
Posts: 2
Joined: Tue Oct 28, 2008 10:24 am

Re: Posting a variable to a script without waiting for an answer

Post by iamkoby »

anyone? :(
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: Posting a variable to a script without waiting for an answer

Post by aceconcepts »

So do you mean like an href call?
Post Reply