Re: [PHP] passing a variable with php_self

2005-10-03 Thread Jeffrey Sambells
oops, that should be htmlentities, not htmlspecialchars. - Jeff On 3-Oct-05, at 11:51 AM, Jeffrey Sambells wrote: $PHP_SELF should not be used because it will not work without register_globals being enabled. Rather, you should use $_SERVER ['PHP_SELF'] for it as above however... Don't for

Re: [PHP] passing a variable with php_self

2005-10-03 Thread Jeffrey Sambells
can someone show me the right way to do the following... I want to pass a variable to a self submitting link. Thanks, $PHP_SELF should not be used because it will not work without register_globals being enabled. Rather, you should use $_SERVER ['PHP_SELF'] for it as above however

Re: [PHP] passing a variable with php_self

2005-09-27 Thread Gustav Wiberg
- Original Message - From: "A.J. Brown" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 27, 2005 3:26 PM Subject: Re: [PHP] passing a variable with php_self "> works well too -- Sincerely, A.J. Brown "Jim Moseby" <[EMAIL PROTECTED]>

Re: [PHP] passing a variable with php_self

2005-09-27 Thread Norbert Wenzel
A.J. Brown wrote: "> works well too works only if register_globals is on, doesn't it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] passing a variable with php_self

2005-09-27 Thread A.J. Brown
-general@lists.php.net >> Subject: [PHP] passing a variable with php_self >> >> >> >> can someone show me the right way to do the following... >> >> >> >> >> I want to pass a variable to a self submitting link. >> >> Thanks, >> > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] passing a variable with php_self

2005-09-27 Thread Torgny Bjers
Ross wrote: > can someone show me the right way to do the following... > > > > I want to pass a variable to a self submitting link. Easiest way to do that is to use sprintf() or printf(): %s', $_SERVER['PHP_SELF'], $link_title); ?> Or, like you did with inline code in the HTML: click my sel

RE: [PHP] passing a variable with php_self

2005-09-27 Thread Jim Moseby
> -Original Message- > From: Ross [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 27, 2005 8:58 AM > To: php-general@lists.php.net > Subject: [PHP] passing a variable with php_self > > > > can someone show me the right way to do the following... >

RE: [PHP] passing a variable with php_self

2005-09-27 Thread Jay Blanchard
[snip] can someone show me the right way to do the following... I want to pass a variable to a self submitting link. [/snip] echo $_GET['action'] . "\n"; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] passing a variable with php_self

2005-09-27 Thread Ross
can someone show me the right way to do the following... I want to pass a variable to a self submitting link. Thanks, R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php