-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
* On 14-01-02 at 13:01 * Imar de Vries said.... > Hi all, > Hello! > at this moment I am working on a script that calculates standings of our > online racing competition. In order to do that, I have to connect to a > database on a remote server. > > > But for some reason, i simply do not get the script to work. I use a > form in the local script to determine which standings are to be shown, > and the value is stored in $serie_id. This is done in the main scope (no > function used). $serie_id can be 2, 3 or 4. > > Then I make an include call to the remote script: > > include("http://www.someremote.server/calculate_drivers.php"); > > In that remote script I use $serie_id to make a database query. But so > far, the query fails because $serie_id is not known. > > Are there any known exceptions (f.i. specific server settings) that > might explain why the variable is not known on the remote server? > > Thanks in advance! > -- > Imar de Vries - [EMAIL PROTECTED] - ICQ 6972439 Are you absolutely certain that the var is being set properly? Try printing it to the screen just before you call the script. - -- Nick Wilson Tel: +45 3325 0688 Fax: +45 3325 0677 Web: www.explodingnet.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8QspAHpvrrTa6L5oRAistAKCmkjCwFRXf57JBwRn2gA65vyr6EACgiOqu kmrKG/BaSZtyMcaIUa/xWT8= =X8wX -----END PGP SIGNATURE----- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]