Re: a php relay to either rev cgi or onrev

2009-07-28 Thread Pierre Sahores
Hi Friends, Nicolas, You just need to insert a simple line of javascript in your irev script to call a php piece of code from it. About a working example see : http://www.wrds.com/ contact.irev where the reCAPTCHA part relies on 3 simple php sniplets and the rest of the page on

Re: a php relay to either rev cgi or onrev

2009-07-28 Thread Nicolas Cueto
Thank you Pierre, but I do not understand your example. Where is the ?rev declaration? How does the (rev?) function sc_contact_report get called? I see a contact_report, but no sc_contact_report. About the input type submit, shouldn't there be a form action=somefile.irev method=post line

Re: a php relay to either rev cgi or onrev

2009-07-28 Thread Pierre Sahores
Nicolas, Thank you Pierre, but I do not understand your example. Where is the ?rev declaration? How does the (rev?) function sc_contact_report get called? I see a contact_report, but no sc_contact_report. About the input type submit, shouldn't there be a form action=somefile.irev

Re: a php relay to either rev cgi or onrev

2009-07-28 Thread Pierre Sahores
Nicolas, My mistake : Please read : form method=POST instead of form method:POST on the following mail -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Le 28 juil. 09 à 14:17, Pierre Sahores a écrit : Nicolas, Thank you Pierre, but I do not understand your example.

Re: a php relay to either rev cgi or onrev

2009-07-28 Thread Richard Gaskin
This discussion has taken some useful and enlightening turns, but has anyone yet pinned down the specific recipe for the root problem which started this, in which it seems that Rev seems unable to get POST data in non-English/non-ISO8959-1 languages? Is there a but report filed against

Re: a php relay to either rev cgi or onrev

2009-07-28 Thread Pierre Sahores
Interesting. I did'nt know about this. Thanks for the input, Richard -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Le 28 juil. 09 à 15:02, Richard Gaskin a écrit : This discussion has taken some useful and enlightening turns, but has anyone yet pinned down the specific

Re: a php relay to either rev cgi or onrev

2009-07-28 Thread Pierre Sahores
Perhaps usefull about the same subject : http://www.javascriptkit.com/javatutors/externalphp.shtml Pierre -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Le 28 juil. 09 à 09:41, Pierre Sahores a écrit : Hi Friends, Nicolas, You just need to insert a simple line of

a php relay to either rev cgi or onrev

2009-07-27 Thread Nicolas Cueto
After much testing and frustation, I've discovered that the on-rev server is unable to read the $_POST array when sent by WAP/WML-based Japanese cellphones to an .irev script. As a workaround, I've make a .php script that can read in $_POST. The next step is using php to forward the $_POST data

Re: a php relay to either rev cgi or onrev

2009-07-27 Thread Jim Ault
On Jul 27, 2009, at 8:07 PM, Nicolas Cueto wrote: After much testing and frustation, I've discovered that the on-rev server is unable to read the $_POST array when sent by WAP/WML-based Japanese cellphones to an .irev script. As a workaround, I've make a .php script that can read in $_POST.

Re: a php relay to either rev cgi or onrev

2009-07-27 Thread Bernard Devlin
Years ago Pierre Sahores built an application server based on Rev. He used Apache/PHP as the front end, then used socket connections between PHP and Rev so that a long-running Rev process could interact with databases, and return the results via PHP to Apache. There is a lot to recommend in his