On Wed, 02 Mar 2005 09:52:00 +, mel list_php <[EMAIL PROTECTED]> wrote:
> Hi,
>
> No you're wrong I'm working with register_global at OFF.
> What I tried to explain is what you retrieve after your form submission is a
> $_POST array.
> I just do a foreach loop in it to retrieve the values.
> I
et it. For me as long as
my test returns false when it has to it's ok, I don't see the security
breach.
From: anirudh dutt <[EMAIL PROTECTED]>
Reply-To: anirudh dutt <[EMAIL PROTECTED]>
To: mel list_php <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED], php-db@lists.php.ne
On Tue, 01 Mar 2005 14:11:22 +, mel list_php <[EMAIL PROTECTED]> wrote:
> Why do you think that checking the value ($cloningView=="View") is better?
no, i didn't say it was better but it does make a lil difference. i
also said, test the POST var. ur example makes it appear as though u
keep reg
TED]>
To: Ron Piggott <[EMAIL PROTECTED]>
CC: PHP DB
Subject: Re: [PHP-DB] onClick
Date: Tue, 1 Mar 2005 17:49:23 +0530
On Mon, 28 Feb 2005 21:41:45 -0500, Ron Piggott
<[EMAIL PROTECTED]> wrote:
> Another question: Is there a way that I may set up an IF command with
the
> on
On Mon, 28 Feb 2005 21:41:45 -0500, Ron Piggott
<[EMAIL PROTECTED]> wrote:
> Another question: Is there a way that I may set up an IF command with the
> onClick function so that my_web_page.php3 will not be displayed unless a web
> form was used to generate it? Ron
>
if ur page was generated by
I use a submit button with a name:
and then I can test on that name:
if($_POST[cloningView])
{
...display new web page ..
}
From: "Ron Piggott" <[EMAIL PROTECTED]>
To: "PHP DB"
Subject: [PHP-DB] onClick
Date: Mon, 28 Feb 2005 21:41:45 -0500
Another question: Is there a way that I may set up a
Hi Jonathan Duncan,
>Is it possible to call a PHP function using the "onclick" parameter?
If this should be a javascript-mouseevent you have to use onmouseup instead.
Regards,
Ruprecht
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Richard
That is good information. Thank you very much for your help.
Jonathan
"Richard Crawford" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Not directly, no. You can call a JavaScript function with the onClick
> command, but not a PHP function.
>
> Bu
Not directly, no. You can call a JavaScript function with the onClick
command, but not a PHP function.
But here's what I've done when I needed to do something like that.
Create a separate page for the function, like function.php. Then in the
anchor tag in your main page (call it index.php),