style design...
> -Original Message-
> From: Chadwick, Russell [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 1:21 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [PHP] Function call from a hyperlink
>
>
>
> another way is to do eval () on $f
that.
-Original Message-
From: Shrout, Ryan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 10:16 AM
To: 'Geer'; [EMAIL PROTECTED]
Subject: RE: [PHP] Function call from a hyperlink
Why not just pass a variable:
and then in the PHP file do:
if ($function) {
function();
you can't.
you have to write handler code to read in the
information being passed to the script and
properly execute a function.
(if anyone could arbitrarily execute any function
they wanted just by passing in the function name,
havoc would be wreaked on PHP programs everywhere :)
> -Origin
Why not just pass a variable:
and then in the PHP file do:
if ($function) {
function();
}
Ryan Shrout
Amdmb.com
-Original Message-
From: Geer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 1:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Function call from a hyperlink
4 matches
Mail list logo