|
Posted by Todd on 10/09/06 18:49
I think what Tyrone was getting at was that you could process the data
on your first page. Then, once that is done you can include your second
page where all of the query string variables from the first page would
be available to the include page.
You could, with a little process in the first page, call different
include pages based on what was sent to the first page.
REGARDS
-------------
laredotornado@zipmail.com wrote:
> Thanks for your reply. The page I want to invoke accesses data from
> $_REQUEST. So I wanted to call the page in this fashion
>
> next_page.php?var1=val1&var2=val2&var3=val3
>
> "includes" don't take query strings, if I remember correctly. Any way
> to invoke the above?
>
> Thanks, -
>
> Tyrone Slothrop wrote:
>> On 9 Oct 2006 06:23:57 -0700, "laredotornado@zipmail.com"
>> <laredotornado@zipmail.com> wrote:
>>
>>> Hello,
>>>
>>> I'm using PHP 4.4.4. After processing some data, I'd like to redirect
>>> to another page for further data processing. The way I'm redirecting
>>> right now is
>>>
>>> header("Location: next_page.php");
>>>
>>> However, as you know this causes information to be sent to the client
>>> before the next page is contacted. Is there a way I can go to
>>> "next_page.php" without contacting the client?
>>>
>>> Thanks, - Dave
>> You can use include() to display the contents of the page. Depending
>> on what you are doing on the page that is processing the data, a
>> flush() and ob_flush() may be required before the include call.
>
Navigation:
[Reply to this message]
|