Re: 2nd Pair of eyes
| From: | Donovan Brooke | Date: | Tue, 18 Jan 2011 18:34:33 +0000 |
| Subject: | Re: 2nd Pair of eyes | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-310845@lists.php.net to get a copy of this message | ||
Daniel Brown wrote:
On Tue, Jan 18, 2011 at 12:49, Donovan Brooke<lists@euca.us> wrote:Hi Daniel, good point (that I'm sure I would have caught ;-) ) about the $_POST... and yes, dbconnect(); is defined. Looks like it was the array indices syntax that was the culprit. Also for others, yes, I'll be adding the var cleaning and checkers. Thanks again. Donovan -- D BrookeHello, I warned the list that I may have questions! ;-) ...building a simple cookie-based log-in system, and have narrowed an error to this below: (sorry for email line breaks, if any) ---Start--- if ($_post['f_action']=='login') {$_POST is cAsE-SeNsItIvE, like all variables.// connect to database (custom function) $r = dbconnect();Did you define this function?