[PHP] Using POST to pass variables

2005-11-30 Thread Todd Cary
When I have more than one button on a page, I us what I call a reentrant approach. That is the page calls itself. If the page is emailer.pgp, the the FORM tag would be form method=get action=emailer.php At the top is ?php $send= $_GET[btnSend]; // Send button pressed $cancel =

Re: [PHP] Using POST to pass variables

2005-11-30 Thread EasyHorpak.com
use $_POST[btnSend]; to use post method - Original Message - From: Todd Cary [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, December 01, 2005 11:50 AM Subject: [PHP] Using POST to pass variables When I have more than one button on a page, I us what I call

Re: [PHP] Using Post like Get

2004-08-14 Thread Kim Steinhaug
Since you are on the same server, I hope you mean the same domain. If not the session variable wouldnt work very well. But if you infact are on the same domain, you should look into the session variable and store everything you need. From what I know there are now limits on how much you can store

Re: [PHP] Using Post like Get

2004-08-13 Thread Joshua D. Drake
Dennis Gearon wrote: What I'm trying to achieve is to have the same cookie IDENTIFY a user on different (or same) applications (on the same server), but require them to log in for each application, and get a different session.. Basically, to keep separate 'user trails and in process variables'

[PHP] Using Post like Get

2004-07-23 Thread Dennis Gearon
With get varaibles, it's possible to always have get variables on a page, even without a form, by simply appending the Get variables to the end of the URL. Is there anyway to do the same with Post variables? For instance, a javascript that onUnload submit, or something? -- PHP General Mailing

Re: [PHP] Using Post like Get

2004-07-23 Thread raditha dissanayake
Dennis Gearon wrote: With get varaibles, it's possible to always have get variables on a page, even without a form, by simply appending the Get variables to the end of the URL. Is there anyway to do the same with Post variables? For instance, a javascript that onUnload submit, or something?

Re: [PHP] Using Post like Get

2004-07-23 Thread John W. Holmes
Dennis Gearon wrote: With get varaibles, it's possible to always have get variables on a page, even without a form, by simply appending the Get variables to the end of the URL. Is there anyway to do the same with Post variables? For instance, a javascript that onUnload submit, or something?

Re: [PHP] Using Post like Get

2004-07-23 Thread Dennis Gearon
What I'm trying to achieve is to have the same cookie IDENTIFY a user on different (or same) applications (on the same server), but require them to log in for each application, and get a different session.. Basically, to keep separate 'user trails and in process variables' for different tabs

Re: [PHP] Using Post like Get

2004-07-23 Thread raditha dissanayake
Dennis Gearon wrote: What I'm trying to achieve is to have the same cookie IDENTIFY a user on different (or same) applications (on the same server), but require them to log in for each application, and get a different session.. Basically, to keep separate 'user trails and in process variables'

Re: [PHP] Using Post like Get

2004-07-23 Thread John W. Holmes
Dennis Gearon wrote: What I'm trying to achieve is to have the same cookie IDENTIFY a user on different (or same) applications (on the same server), but require them to log in for each application, and get a different session.. Basically, to keep separate 'user trails and in process variables'

Re: [PHP] Using Post like Get

2004-07-23 Thread Matthew Sims
What I'm trying to achieve is to have the same cookie IDENTIFY a user on different (or same) applications (on the same server), but require them to log in for each application, and get a different session.. Basically, to keep separate 'user trails and in process variables' for different tabs

Re: [PHP] Using Post like Get

2004-07-23 Thread Frank Munch
Hi, a cookie is path-specific - can that help you? Frank At 10:54 PM 8/23/2004, you wrote: What I'm trying to achieve is to have the same cookie IDENTIFY a user on different (or same) applications (on the same server), but require them to log in for each application, and get a different

[PHP] using POST

2002-02-12 Thread ZILBER,LEONID (HP-NewJersey,ex1)
Hi guys, I have assembled an XML file, encrypted it and now ready to pass it to an outside server. $encryptedXML file contains encrypted value of an XML file How can I send the XML-(URL encoded) within the HTTPS-POST. The reason for sending the cleartext XML URL encoded is to allow for the

Re: [PHP] Using post method thru php-script

2001-06-25 Thread Richard Lynch
$fp = fsockopen('secure.aaa.com',443,$err_num,$err_msg); Talking to an SSL server on port 443 is a bit more complicated than chatting up an HTTP server on port 80. You have to pre-negotiate your encryption algorithms and send some public keys back and forth to generate some more public/private

[PHP] Using post method thru php-script

2001-06-23 Thread George Alexander
Hi, I am developing a shopping-cart application and i need to authorize the credit-card no. of the customer. I need to use a post method thru my php-script a replica of which I am giving below: Script Start: // Build the request string $request.='cardnum='.urlencode();