RE: [PHP] Function call from a hyperlink
| From: | scott [gts] | Date: | Wed, 11 Jul 2001 17:14:37 +0000 |
| Subject: | RE: [PHP] Function call from a hyperlink | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-57435@lists.php.net to get a copy of this message | ||
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 :)
> -----Original Message-----
> From: Geer [mailto:mail@geer.tmfweb.nl]
> Subject: [PHP] Function call from a hyperlink
>
>
> Hi,
>
> Does someone know how I can call a function in a PHP script using a
> hyperlink with
> <A HREF=.....>text</A>
>
> The function is in the same PHP script as the link.
>
>
> Many thanks,
>
> Geer
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>