CodeIgniter Forums
Personal library and Undefined property $input - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Personal library and Undefined property $input (/showthread.php?tid=54202)

Pages: 1 2


Personal library and Undefined property $input - El Forum - 12-21-2012

[eluser]CroNiX[/eluser]
You also want to be using === operators when checking to see if something was set in input::post() or input:Confusederver(). The function will return a boolean FALSE. Your just checking for anything that equates to false, so if the PHP_AUTH_USER is 0 that wouldn't work there even though it might be a legitimate value. It might work in this particular case, but this can and will bite you at some point unless you understand what it does.


Personal library and Undefined property $input - El Forum - 12-24-2012

[eluser]luca89pe[/eluser]
Thank you for your help!!
I had some bad days because it told me:
Code:
Message Cannot modify header information - headers already sent
today i had some moments to search it on web and try the solution: 1 blank space after the ?> php closing tab!!! (really it made me crazy)
Now it shows the dialog, but doesn't accept my user and psw ("prova" for both), so it shows the dialog in loop!
I will have some tests today and update you!

Another time thank you for ur help!


Personal library and Undefined property $input - El Forum - 12-24-2012

[eluser]InsiteFX[/eluser]
Take off the ending PHP tag you do not need use it.



Personal library and Undefined property $input - El Forum - 12-28-2012

[eluser]luca89pe[/eluser]
i can't go out this problem o.O
i don't know, dialog loops if i type right user and password, too...