Andreas Pauley on Fri, 1 Sep 2000 07:43:00 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: GLUG: PHP equivalent for ASP 'Request.Form()' ?


Try executing phpinfo() on A.
This should show you what variables this page has at its disposal.
Your variables should be listed under HTTP_POST_VARS
This is an array so you can do all the nice array thingies with it.

Regards,
Andreas.

Peter wrote:
> 
> Can't find anything in the PHP3 manuals that looks like it might do the
> job of the VBScript's "Request.Form()".
> 
> Process:
> 
> A form on WEBserver 'A' is submitted to TRANSACTIONserver B.
> 
> TRANSACTIONserver 'B' runs some routines (not PHP3), then POSTs several
> variables to a PHP3 page on WEBserver 'A' (using an HTTP/1.0 POST).
> 
> I don't seem to be able to "receive" those variables in my PHP3 page.
> 
> (NOTE: the variables cannot be passed from A to B - that would be the
> easy part; consequently I need to 'accept' a set of variables which I
> did not originally POST.)
> 
> Although, according to the access_log, the PHP3 page on the WEBserver
> 'A' is definitely addressed, it's script does not execute, hence I do
> not 'capture' the variables POSTed to it.
> 
> Any suggestions?    P L E E E E Z E !!
> 
> Thanks,
> Peter
> ---
> To unsubscribe from this list: send the line "unsubscribe glug" in
> the body of a message to majordomo@xxxxxxxxxxxxx If you have a
> problem unsubscribing, please mail owner-glug@xxxxxxxxxxxx

-- 
In a world without fences, who needs gates?