Date: 02/18/00
- Next message: garyb <email protected>: "Re: [PHPLIB] access to get vars in loginform.ihtml"
- Previous message: flash: "[PHPLIB] Form submit, then screen flickers, then "No Post Data""
- Next in thread: garyb <email protected>: "Re: [PHPLIB] access to get vars in loginform.ihtml"
- Maybe reply: garyb <email protected>: "Re: [PHPLIB] access to get vars in loginform.ihtml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm sure I made this work once, but have now forgotten... How do I access
GET variables within the PHPLib environment?
I have an initial session-enabled but not controlled-access page that uses a
scripted link to send GET data to a result page, e.g.,
<a href="foo.html?foo=1">CLICK HERE</A>
The result page requires user login, so the login form comes up.
I need to show part of the data on the login form and also carry it on to
the result page. The data isn't arriving on either the loginform or the
result page any more. I think it did early in the development process.
I've tried the variable name ($foo), also $GLOBALS["foo",
$HTTP_GET_VARS["foo"] and $HTTP_POST_VARS["foo"] (for completeness), and
can't find the data. But I'm sure I did before.
I also tried globalling $foo in the page header and mucking with registering
it, but I may not have done these correctly.
TIA,
Gary B
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: garyb <email protected>: "Re: [PHPLIB] access to get vars in loginform.ihtml"
- Previous message: flash: "[PHPLIB] Form submit, then screen flickers, then "No Post Data""
- Next in thread: garyb <email protected>: "Re: [PHPLIB] access to get vars in loginform.ihtml"
- Maybe reply: garyb <email protected>: "Re: [PHPLIB] access to get vars in loginform.ihtml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

