remote call - no return

From: Date: Wed, 21 May 2003 20:01:49 +0000
Subject: remote call - no return
Groups: php.general 
Request: Send a blank email to php-general+get-148436@lists.php.net to get a copy of this message
Hi guys. Yuip! It is i again! For those that see this the first time: i am calling a remote script, feed it a bunch variables and need to catch a returning ID variable (a tracking ID). I am not getting squat back! Why? there is the function that does the call: [php] function call_remote($remote_path) { if ($f = fopen($remote_path,'r')) //call to the gateway script, passing vars { while(!feof($f)) { $line = fgets($f,100); //supposed to get the id back? $id = $line; } } return $id; fclose($f); } [php] Please! someone tell me how to do that! it can't be that difficult?! peace Thomas -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!

« previous php.general (#148436) next »