Re: [PHP] Function calling from url

2003-09-06 Thread Dan Anderson
I know what you're trying to do you just don't quite know how to say it... I use something like: if ($_GET['somevar'] AND $_GET['something_else']) { do_something($_GET['somevar'], $_GET['something_else']); } else { output_error_message(); } -Dan On Sat, 2003-09-06 at 13:19, Robin Kopetzky wr

Re: [PHP] Function calling from url

2003-09-06 Thread John W. Holmes
Robin Kopetzky wrote: I would like to call a function from a 's ACTION attribute. This is what I'm trying to do: I can include the PHP_FILENAME but passing parameters to the function I can't figure out how to do. Any help would be appreciated. Ummm... no. You call a PAGE from the action attribute

Re: [PHP] Function calling from url

2003-09-06 Thread Larry E . Ullman
I would like to call a function from a 's ACTION attribute. This is what I'm trying to do: ACTION="www.example.com/PHP_FILENAME/function_name? parameter1=x¶meter2=y " etc...> Well, you're not going to call a function that way, but you will submit the form to the PHP page (PHP_FILENAME) and t

[PHP] Function calling from url

2003-09-06 Thread Robin Kopetzky
Good morning! I would like to call a function from a 's ACTION attribute. This is what I'm trying to do: I can include the PHP_FILENAME but passing parameters to the function I can't figure out how to do. Any help would be appreciated. Robin 'Sparky' Kopetzky Black Mesa Computers/Internet Serv