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,

Re: [PHP] isset question

2009-06-20 Thread Reese
mort should be? And, what 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 wrote: I have a form that gives th

Re: [PHP] utf-8 ?

2009-05-03 Thread Reese
cause empty() doesn't work with zero. Anyone care to take a stab at that? perhaps because it's hard to get rid of language elements without breaking existing code? Perhaps. I think Chris said it best, they serve difference purposes. It's been my observation though, they can generall

Re: [PHP] utf-8 ?

2009-04-30 Thread Reese
are more effort than they are worth. 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 th

Re: [PHP] utf-8 ?

2009-04-29 Thread Reese
Tom Worster wrote: On 4/28/09 4:05 PM, "Reese" 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-28 Thread Reese
until I'm blue 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.p

Re: [PHP] What is wrong with this code

2009-04-18 Thread Reese
uests. PHPMailer 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] What is wrong with this code

2009-04-18 Thread Reese
e on the manual page for mail(). 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
array gets 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

Re: [PHP] Randomiser

2008-10-19 Thread Reese
Andrew Barnett wrote: I ended up using an example from the PHP website. Just extended the array to the number of lines I needed. 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

Re: [PHP] php image and javascript include

2008-09-07 Thread Reese
g PEBKAC error? I've seen it happen when an inexperienced developer copied a file to another location, from within Dreamweaver, on a Mac. Dreamweaver updates the file path(s) if permitted and depending on a couple of variables, puts in an absolute path to the location on that particular

Re: [PHP] php image and javascript include

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

[PHP] Evaluating script complexity

2008-09-06 Thread Reese
at degree of proficiency (with PHP) must 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] 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 'exit(1)

[PHP] uh oh, I defined a resoruce

2008-01-10 Thread reese
g safe or am I going 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] Login script problem

2008-01-05 Thread Reese
ged it to if(!isset($key)) 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 (

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 Mai

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

[PHP] Login script problem

2008-01-04 Thread Reese
as part of a range). So as the number of users who report the navigation difficulty grows, I am beginning to wonder if there might really be a problem in the script that the programmer isn't seeing for whatever reason. Does anyone see anything obviously wrong in the code below? I've obsc