Re: querystring doesn't work!!!!
| From: | The Captain | Date: | Thu, 10 Aug 2000 22:05:42 +0000 |
| Subject: | Re: querystring doesn't work!!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11230@lists.php.net to get a copy of this message | ||
Have you tried:
<?=$HTTP_GET_VARS['expand']?>
Good Luck,
The Captain
on 8/10/00 4:46 PM, Hans H. Anderson at me@hansanderson.com wrote:
> Andrew,
>
> It might be that your second machine doesn't recognize <?php, but only <?
> as the start of a PHP block. This can be set in httpd.conf or the script
> itself (look short_tags, I think).
>
> Hans
>
> On Thu, 10 Aug 2000, Andrew Challen wrote:
>
>> i have a page entitled form.php and i'm sending a string into it so it
>> becomes
>>
>> form.php?expand=test
>>
>> now in the page i have
>>
>> <?php echo $expand ?>
>>
>> this should cause 'test' to be written to the page and indeed it does on one
>> machine that i use, on the other (independant machine) it doesn't work and
>> nothing is produced atall!!!?!?!
>>
>> I'm completely baffeled and can't work out why this is.... anyone?
>>
>> both machines are windowsNT both running apache and php works fine other
>> than that , ie i can access a mysql database on either machine...
>>
>>
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>> For additional commands, e-mail: php-general-help@lists.php.net
>> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>>
>>
>>
>
> Hans Anderson ~ me@hansanderson.com
> PO Box 426, Missoula, MT 59806 | PHP, Search Engines, SQL
> (800)397-9116 / (406)549-6524 | Databases, Flash Multimedia,
> http://www.hansanderson.com | Killer Audio Production,
> http://www.goofiness.com | Minty Fresh Breath.
>