Re: [PHP-DB] onClick

2005-03-02 Thread anirudh dutt
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

Re: [PHP-DB] onClick

2005-03-02 Thread mel list_php
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

Re: [PHP-DB] onClick

2005-03-01 Thread anirudh dutt
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

Re: [PHP-DB] onClick

2005-03-01 Thread mel list_php
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

Re: [PHP-DB] onClick

2005-03-01 Thread anirudh dutt
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

RE: [PHP-DB] onClick

2005-03-01 Thread mel list_php
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

Re: [PHP-DB] onClick

2001-12-04 Thread Ruprecht Helms
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

Re: [PHP-DB] onClick

2001-12-03 Thread Jonathan Duncan
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

Re: [PHP-DB] onClick

2001-12-03 Thread Richard Crawford
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),