Re: 2nd Pair of eyes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Brown wrote:
On Tue, Jan 18, 2011 at 12:49, Donovan Brooke<lists@xxxxxxx>  wrote:
Hello,

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?


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 Brooke

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux