[FX.php List] http_redirect question

Bob Patin bob at patin.com
Tue May 15 10:58:29 MDT 2007


I had deleted a curly bracket by mistake...


On May 15, 2007, at 11:50 AM, Alex Gates wrote:

> Just a guess, but the problem may be that you are ending your quote  
> after
> brand= and not including the variable at the end. -
> I don't use any variable, but mine look like:
> header( "location: index.php?page=register");
> Notice the whole thing is inside quotes.
>
> Just a guess - sorry if I'm wrong.
>
> Alex P. Gates
> G&R Publishing Co.
> 507 Industrial Street
> Waverly, IA 50677
> Ph: 319-352-5391 x 319
>
>
>> -----Original Message-----
>> From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-
>> bounces at mail.iviking.org] On Behalf Of Bob Patin
>> Sent: Tuesday, May 15, 2007 11:43 AM
>> To: FX.php Discussion List
>> Subject: Re: [FX.php List] http_redirect question
>>
>> Thanks, almost there... how would I write it to include a parameter?
>> I keep getting a parsing error:
>>
>> header("Location: page.php?brand=".$brand);
>>
>>
>> On May 15, 2007, at 11:32 AM, DC wrote:
>>
>>> try this page:
>>> http://www.php.net/manual/en/function.header.php
>>>
>>> Bob Patin had written:
>>>> Hi all,
>>>> Is this a function of PHP 5? I can't seem to get it to work in PHP
>>>> 4.4.4.
>>>> I'm trying to put a PHP command in to send someone to  "page.php?
>>>> r=123"; include_once won't pass parameters (at least, I can't get
>>>> it to work).
>>>> Any suggestions? I don't want to switch to PHP 5 this morning,
>>>> just want to get this working... :)
>>>> Thanks,
>>>> Bob Patin
>>>> Longterm Solutions
>>>> bob at longtermsolutions.com
>>>> 615-333-6858
>>>> http://www.longtermsolutions.com
>>>>   CONTACT US VIA INSTANT MESSAGING:
>>>>      AIM or iChat: longterm1954
>>>>      Yahoo: longterm_solutions
>>>>      MSN: tech at longtermsolutions.com
>>>>      ICQ: 159333060
>>>> _______________________________________________
>>>> FX.php_List mailing list
>>>> FX.php_List at mail.iviking.org
>>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list