RE: [PHP] Function call from a hyperlink

2001-07-11 Thread scott [gts]
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

RE: [PHP] Function call from a hyperlink

2001-07-11 Thread Chadwick, Russell
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();

RE: [PHP] Function call from a hyperlink

2001-07-11 Thread scott [gts]
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

RE: [PHP] Function call from a hyperlink

2001-07-11 Thread Shrout, Ryan
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