[PHP] Login script problem

2008-01-04 Thread Reese
that the programmer isn't seeing for whatever reason. Does anyone see anything obviously wrong in the code below? I've obscured the actual server domain name, login, passwords, and some path statements. Watch for line wraps. Reese -- ?php // //login script, invoked by all premium content pages via GET

Re: [PHP] Login script problem

2008-01-04 Thread Reese
Web Design Company wrote: Someone? Me31!1!1ONE Please, if you do not need amplifying information or if you do not intend to pose a suggestion, it is better to remain silent. I wasn't helped by your Someone? post, no one else was either. Reese -- PHP General Mailing List (http

Re: [PHP] Login script problem

2008-01-04 Thread Reese
Daniel Brown wrote: [snip=all] Reese, While I noticed several areas for improvement in the code (such as being sure to exit; after calling header(Location: ); ), two things primarily come to mind: Do you expect the value of $key in this condition to be a literal zero

Re: [PHP] Login script problem

2008-01-05 Thread Reese
)) and you were right, the parse error went away. This change seems to have no effect on access code logins (I'm able to log in, as expected) or IP-authenticated logins (I still cannot log in, even though my IP is in the MySQL db). Reese -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] uh oh, I defined a resoruce

2008-01-10 Thread reese
to run into problems and if so what is the best way to globally pass resources to multiple classes and functions, command line scripts etc? Cheers Charlie Reese -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-16 Thread Reese
Daniel Brown wrote: On Jan 15, 2008 6:42 PM, Jochem Maas [EMAIL PROTECTED] wrote: funny that, I usually use 'exit;' for a clean exit and 'die();' to signify a shitty exit ... although they are actually indentical functionally - just my idiosyncrasity ... that said I also so stuff like

[PHP] Evaluating script complexity

2008-09-06 Thread Reese
a programmer have to complete this sort of task in those sorts of time frames. Reese -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php image and javascript include

2008-09-07 Thread Reese
javasac wrote: snip Where is the PHP? There's nothing between ?php and ? tags. Nothing between PHP short tags ( ? and ? ), either. Reese -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php image and javascript include

2008-09-07 Thread Reese
. Reese -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Randomiser

2008-10-19 Thread Reese
. That works, but shuffle() is cleaner and then you can echo things out with a foreach() expression. http://www.php.net/manual/en/function.shuffle.php Reese -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Randomiser

2008-10-19 Thread Reese
to a certain size, doing that will be a problem. Inside the loop? I envisioned shuffling the array, then launching the loop. Probably it is possible to avoid but if shuffle fires inside the loop, reshuffling seems like it would be an issue. Reese -- PHP General Mailing List (http

Re: [PHP] What is wrong with this code

2009-04-18 Thread Reese
for mail(). Reese -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What is wrong with this code

2009-04-18 Thread Reese
was mentioned earlier, it has 31 open bugs (and someone noted that at least one was closed as resolved even though it wasn't actually fixed). So how many addresses can mail() safely handle? Reese -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] utf-8 ?

2009-04-28 Thread Reese
in the face but I didn't find a resolution that was ISO-8859-1 or UTF-8 compatible. Bringing it back around, thank you Tedd for the suggestion of going through the .docs and writing examples of each function. Brilliant! Reese -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] utf-8 ?

2009-04-29 Thread Reese
Tom Worster wrote: On 4/28/09 4:05 PM, Reese howel...@inkworkswell.com wrote: Granted, this isn't a PHP question but I'm curious, how does UTF-8 solve this display issue? if we're talking about web browsers, they are quite good at automatically choosing fonts that can display the unicode

Re: [PHP] utf-8 ?

2009-04-30 Thread Reese
. What I'd like to know is, why empty() still exists when every time I turn around, the mentors I turn to locally tell me not to use it, to use isset() instead. Because empty() doesn't work with zero. Anyone care to take a stab at that? Reese -- PHP General Mailing List (http://www.php.net

Re: [PHP] utf-8 ?

2009-05-03 Thread Reese
? Perhaps. I think Chris said it best, they serve difference purposes. It's been my observation though, they can generally be interchanged with minor changes to syntax. Unless working with zero. Reese -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] isset question

2009-06-20 Thread Reese
the other guys said. Gary, before you do anything with submitted data you need to process it against strip_tags() and/or htmlentities() at the very least, mysql_real_escape_string() if the data goes to a db. Reese -- On 6/18/09, Gary gwp...@ptd.net wrote: I have a form that gives the submitter

Re: [PHP] phpscriptor.com

2009-07-13 Thread Reese
Paul M Foster wrote: On Sat, Jul 11, 2009 at 08:14:35AM -0700, PHPScriptor wrote: Ok this may look like spam but what the hell... I'm the owner of phpscriptor.com, I had bigg plans with this domainname but... well yes, no time. So I'm selling it. I don't want to make profit out of it. So for,