Re: Function calling from url

From: Date: Sat, 06 Sep 2003 19:34:39 +0000
Subject: Re: Function calling from url
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-161868@lists.php.net to get a copy of this message
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 wrote: > Good morning! > > I would like to call a function from a <FORM>'s ACTION attribute. This is > what I'm trying to do: > > <FORM > ACTION="www.example.com/PHP_FILENAME/function_name?parameter1=x&parameter2=y > " etc...> > > 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 Service > Grants, NM 87020

« previous php.general (#161868) next »