Re: [PHP] Posting a value to one form to another

2002-09-28 Thread debbie_dyer
Must be a register globals problem again - php.ini (register_globals) - on for linux off for windows. You should keep it switched off (or at least code for it being off) and use the superglobal arrays $_POST, $_GET etc Debbie - Original Message - From: Uma Shankari T. [EMAIL PROTECTED]

RE: [PHP] Posting a value to one form to another

2002-09-28 Thread Thoenen, Peter Mr. EPS
You are using method GET correct? This will not work for POST's on any platform that I know of. Browser default behavior for clicks are GET. You could create a custom browser to POST all clicks..but wouldn't work very well :) Only reason I am asking is Posting a value ...though Posting might

Re: [PHP] Posting a value to one form to another

2002-09-28 Thread Sascha Cunz
I think your linux plattform has a version of PHP older than 4.2.0 and your Windows machine has a newer Version. In this old Versions, Register_Globals was turned on. Try to access $hid by using: ?php echo $_GET['hid']; ? Regards Sascha Hello , a href=Delay.php?hid=?php echo $hid+1; ?img

Re: [PHP] Posting a value to one form to another

2002-09-28 Thread Uma Shankari T.
Hello, On Sun, 29 Sep 2002, Sascha Cunz wrote: SCI think your linux plattform has a version of PHP older than 4.2.0 and your SCWindows machine has a newer Version. In this old Versions, Register_Globals SCwas turned on. SCTry to access $hid by using: ?php echo $_GET['hid']; ? SC I have

Re: [PHP] Posting a value to one form to another

2002-09-28 Thread Sascha Cunz
Oops, of course you must add one to it, too. like: ?php echo $_GET['hid']+1; ? Regards, Sascha Hello, On Sun, 29 Sep 2002, Sascha Cunz wrote: SCI think your linux plattform has a version of PHP older than 4.2.0 and your SCWindows machine has a newer Version. In this old Versions,

Re: [PHP] Posting a value to one form to another

2002-09-28 Thread Uma Shankari T.
Hello, On Sun, 29 Sep 2002, Sascha Cunz wrote: SCOops, of course you must add one to it, too. like: SC?php echo $_GET['hid']+1; ? SC Still it is incrementing but not fetching the value correspond from the database..In linux paltform it is working without any error..Can anyone please tell

Re: [PHP] Posting a value to one form to another

2002-09-28 Thread Chris Shiflett
Uma, So, you are saying your URL looks something like this: http://example.org/delay.php?hid=4 And, when you output the value of $_GET[hid], it outputs 3? Uma Shankari T. wrote: Actually it is displaying in the url bar correctly with the incremented $hid value..but displaying the result

Re: [PHP] Posting a value to one form to another

2002-09-28 Thread Chris Shiflett
Uma, I'm sorry, but I'm still confused. Maybe someone else better understands your question. Given the following example script, delay.php: ? echo $_GET[hid]; ? A URL such as http://example.org/delay.php?hid=4 will output the following: 4 Are you saying this is not happening? This is what

Re: [PHP] Posting a value to one form to another

2002-09-28 Thread Uma Shankari T.
Hello, On Sun, 29 Sep 2002, Chris Shiflett wrote: CSUma, CS CSI'm sorry, but I'm still confused. Maybe someone else better understands CSyour question. CS CSGiven the following example script, delay.php: CS CS? CSecho $_GET[hid]; CS? CS CSA URL such as http://example.org/delay.php?hid=4 will