More on php and Rev cgi

Pierre Sahores psahores at free.fr
Mon Nov 6 20:01:59 EST 2006


Hi Jacque,

If you can send me both the php and cgi components of the stuff to  
get up together, il will try to do them good friends ;-)

Kind Regards,

Pierre

PS : inbetwin other things, PHP is very usefull to bind Revolution  
via TCP/UDP sockets and it's always the way i choose for my own.


Le 6 nov. 06 à 21:15, J. Landman Gay a écrit :

> I'm still trying to interface with someone's php code using a Rev  
> CGI. The php code is calling the CGI and passing some parameters.  
> My CGI can read those parameters by accessing the globals $0, 
> $1,etc. Then it does some stuff and writes a string to stdout.
>
> The problem we are having is that the php script cannot get the  
> return values. They are always empty. The CGI returns properly from  
> a shell. Does anyone here know or have pointers to somewhere that  
> explains how a php script can access what my CGI prints to stdout?
>
> One thing that might matter: when he tries the "echo.cgi" standard  
> MC test cgi, he gets a single return value:
>
> $0 = echo.cgi
>
> The only difference between that CGI's return values and mine is  
> that mine does not include a "content-type" header. We aren't  
> writing to a web server so I didn't think that would be important.  
> Is it?
>
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

--
Pierre Sahores
www.sahores-conseil.com





More information about the Use-livecode mailing list