RE: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Robert Cummings
On Fri, 2008-12-12 at 06:34 -0600, Jay Blanchard wrote: > [snip] > It's Christmas... the season of giving and tolerance :| > [/snip] > > We will return you to your regularly scheduled Robert Cummings Jan 2nd, > 2009 Are you suggesting I'm not tolerant? Pfff

Re: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Robert Cummings
On Fri, 2008-12-12 at 11:02 -0500, Daniel Brown wrote: > On Fri, Dec 12, 2008 at 10:35, Robert Cummings wrote: > > > > Are you suggesting I'm not tolerant? Pfff. > > Not since you've let those crosses on the lawn burn out. ;-P Those aren't crosses... the

Re: [PHP] Chrome 1.0 released

2008-12-12 Thread Robert Cummings
On Fri, 2008-12-12 at 18:39 +0200, Dotan Cohen wrote: > 2008/12/12 Richard Heyes : > > Well it's not really related to PHP, but certainly web development in > > general. Personally, I was surprised by the jump from 0.4 to 1.0. > > Judging by other Google betas (eg Gmail) I was expecting it to be in

Re: [PHP] question on parameter specification in href tag

2008-12-12 Thread Robert Cummings
On Thu, 2008-12-11 at 11:30 +0100, Xaver Thum wrote: > Hi, > > I want to set a link like > > http://www.anyurl.com?mypar=17&color=red";> ... > > into my HTML file; that works fine. > > But if I specify a hex color like #CC instead of "red", > > http://www.anyurl.com?mypar=17&color=#CC"

Re: [PHP] Using a class inside of a class

2008-12-12 Thread Robert Cummings
On Fri, 2008-12-12 at 13:21 -0800, Richard Kurth wrote: > Can I use another class inside of a function in a class > > > this function process_queue below is inside of a class called class mailer > I want to use the phpMailer class inside of this function so I can send > email using smtp. > Can t

Re: [PHP] Re: Create unique non-autoincrement key for 700,000 records?

2008-12-15 Thread Robert Cummings
On Tue, 2008-12-16 at 07:35 +0100, Ondrej Kulaty wrote: > I use md5(microtime()); I applaud the use of PHP on the "PHP" list... but I think the OP wants an SQL query :) Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://ww

Re: [PHP] Re: Create unique non-autoincrement key for 700,000records?

2008-12-16 Thread Robert Cummings
On Tue, 2008-12-16 at 09:21 +0100, Ondrej Kulaty wrote: > I think he knows how to use it, he didn't show us a certain example where > and how he wants to use it, i just posted the way how i do generate an > unique identifier, if he use the first mentioned way - > AutoIncID+unix_timestamp - there

Re: [PHP] Re: Create unique non-autoincrement key for700,000records?

2008-12-16 Thread Robert Cummings
On Tue, 2008-12-16 at 09:56 +0100, Ondrej Kulaty wrote: > Sorry you are right. He said he wants each row to have an unique ID so > AutoIncId+timestamp will satisfy it, But still i think that adding > microseconds timestamp is better because it will be harder for potential > hacker to guess. I a

Re: [PHP] Good PHP book?

2008-12-16 Thread Robert Cummings
On Tue, 2008-12-16 at 13:41 -0600, Jay Moore wrote: > Richard Heyes wrote: > I learned from PHP For Dummies. > >>> The title of that book isn't doing itself any favours... :-) > >>You'd be surprised. The "For Dummies" series is one of the > >> best-selling franchises in mainstream publish

Re: [PHP] Good PHP book?

2008-12-16 Thread Robert Cummings
On Tue, 2008-12-16 at 13:50 -0600, Jay Moore wrote: > > Ps. That was a lame attempt at humour... I extract and distill knowledge > > from the Internet and save myself from having to buy books. > > > I hear they have that on computers now. I should check it out one of > these days. Maybe I'll b

Re: [PHP] Good PHP book?

2008-12-16 Thread Robert Cummings
On Tue, 2008-12-16 at 17:07 -0500, Daniel Brown wrote: > On Tue, Dec 16, 2008 at 17:04, Jay Moore wrote: > > > > Floppies hold 1.4 megs now? Mine don't and they're even dual-sided. :( > > Jay, > > Throw out your 62K and 5.25" floppies and get with the 1980's, > brother. It's all about

Re: [PHP] Good PHP book?

2008-12-16 Thread Robert Cummings
On Tue, 2008-12-16 at 22:21 +, Ashley Sheridan wrote: > On Tue, 2008-12-16 at 16:11 -0600, Jay Moore wrote: > > Daniel Brown wrote: > > > On Tue, Dec 16, 2008 at 17:04, Jay Moore wrote: > > >> Floppies hold 1.4 megs now? Mine don't and they're even dual-sided. :( > > > > > > Jay, > > >

Re: [PHP] Good PHP book?

2008-12-16 Thread Robert Cummings
On Tue, 2008-12-16 at 22:30 +, Ashley Sheridan wrote: > On Tue, 2008-12-16 at 17:22 -0500, Robert Cummings wrote: > > On Tue, 2008-12-16 at 22:21 +, Ashley Sheridan wrote: > > > On Tue, 2008-12-16 at 16:11 -0600, Jay Moore wrote: > > > > Daniel Brown wrote:

Re: [PHP] Re: Create unique non-autoincrement key for 700,000 records?

2008-12-16 Thread Robert Cummings
On Wed, 2008-12-17 at 02:03 +0100, Jochem Maas wrote: > > or just: > > mysql_query("UPDATE test SET mykey=UUID()"); > > can't see any reason to go down the 'loop the dataset and roll your > own much less random, much more likely to collide, unique value' road. Not terribly random: 7e55a4d0-1d31

Re: [PHP] Can PHP be used to snatch images cross-domain?

2008-12-16 Thread Robert Cummings
On Tue, 2008-12-16 at 21:29 -0500, Rob Gould wrote: > If I have a php script on my own server, can it be used to snatch a JPEG > image off of another server on a different domain and upload it to my server? > For example, could I provide an URL to an image on another server and a path > on my o

Re: [PHP] Re: Create unique non-autoincrement key for 700,000 records?

2008-12-17 Thread Robert Cummings
On Wed, 2008-12-17 at 11:32 +0100, Jochem Maas wrote: > > > > > >> sometimes less is more (although oddly more is never less ;-) > > > > What about when more is black holes? > > hmm. I guess that would depend on which side of the event horizon > you were at. :-) Is there conservation of reality

Re: [PHP] Good PHP book?

2008-12-17 Thread Robert Cummings
On Wed, 2008-12-17 at 10:47 +, Richard Heyes wrote: > > Floppies hold 1.4 megs now? Mine don't and they're even dual-sided. :( > > What are "Floppies"? Is it a reference to a particular male problem? If so, then I want to know what dual sided means? Cheers, Rob. -- http://www.interjinn.com

Re: [PHP] Read/decode barcodes from an image

2008-12-17 Thread Robert Cummings
On Wed, 2008-12-17 at 14:56 -0800, Adam Randall wrote: > I'm amazed that this either doesn't exist, or is hard to find. I > basically am looking for a way to read in an image into PHP, or shell > out to something on the Linux side, and determine, and see if it has a > barcode in it or not. If it do

Re: [PHP] fread question

2008-12-17 Thread Robert Cummings
On Wed, 2008-12-17 at 19:54 -0500, MikeP wrote: > Hello, > I have been trying to use fread to open a file, but it always escapes > special characters. > How do I open afile without it modifying my original file: > > $_POST[$fname] = fread($fileHandle, $_POST[$fname.'_size']); > I use this and ge

Re: [PHP] filter function vs regular expression

2008-12-20 Thread Robert Cummings
On Sat, 2008-12-20 at 16:22 +0100, Alain Roger wrote: > Hi, > > i'm reading a book about PHP and i was wondering why regular expressions are > so often used to check format of variables or emails while the function > filter exists since version 5.2. > What are the plus of regular expression while

Re: [PHP] MERRY XMAS

2008-12-24 Thread Robert Cummings
On Wed, 2008-12-24 at 00:38 -0700, Nathan Nobbe wrote: > On Tue, Dec 23, 2008 at 8:59 PM, German Geek wrote: > > > Merry xmas to everyone! Thanks for the support and fun discussions. As they say in my son's kindergarten so as to be all inclusive: We wish you a happy holiday! We wish you

Re: [PHP] MERRY XMAS

2008-12-24 Thread Robert Cummings
On Wed, 2008-12-24 at 09:43 +0100, Kastner Mario wrote: > Merry XMas from Austria out to the world! > > Love to everyone > Mario > > http://unite-it.at > > function celebrateChristmas(array $people) > { > foreach ($people as $individuum) > { > printf("Wish you a merry

Re: [PHP] MERRY XMAS

2008-12-24 Thread Robert Cummings
On Wed, 2008-12-24 at 11:08 +, Richard Heyes wrote: > > word > > Which one? > > Happpy needless turkey murder day! To coin a phrase. We eat ham usually instead... we prefer to needlessly kill bigger animals >:) Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework f

Re: [PHP] MERRY XMAS

2008-12-24 Thread Robert Cummings
On Wed, 2008-12-24 at 10:05 -0500, tedd wrote: > At 3:29 AM -0500 12/24/08, Robert Cummings wrote: > >On Wed, 2008-12-24 at 00:38 -0700, Nathan Nobbe wrote: > >> On Tue, Dec 23, 2008 at 8:59 PM, German Geek wrote: > >> > >> > Merry xmas to everyone! Tha

Re: [PHP] uri/url help

2008-12-26 Thread Robert Cummings
On Fri, 2008-12-26 at 22:02 -0800, Kenton P. Kammer wrote: > I'm trying to make something to redirect people to my home page if they some > how access my include pages. For example, I have a generic copyright .htm > with links in it that I add to all my pages with the include(). Problem is > w

Re: [PHP] Webhotel structure

2008-12-27 Thread Robert Cummings
On Sat, 2008-12-27 at 15:54 -0500, John Corry wrote: > +1 > > Is it me or has the php mailing list kind of dumbed itself down in the > last 5 years? Hey, that's almost as long as I've been here... *blink* ... *blink* *blink* :O Cheers, Rob. -- http://www.interjinn.com Application and Templati

Re: [PHP] Re: Webhotel structure

2008-12-30 Thread Robert Cummings
On Tue, 2008-12-30 at 17:44 +0200, Dotan Cohen wrote: > 2008/12/30 Peter Sorensen : > > Peter, the list had a laugh at your expense, as you used some > incorrect words in what turned out to be a funny manner for those > fluent in English. > > 1) "Webhotel" is called "web hosting" in English. > 2)

Re: [PHP] Architecture patterns in PHP

2008-12-30 Thread Robert Cummings
On Tue, 2008-12-30 at 12:15 -0500, Eric Butera wrote: > On Tue, Dec 30, 2008 at 2:07 AM, Nathan Nobbe wrote: > >> on 12/30/2008 01:13 AM Sancar Saran said the following: > >> > and please read this why > >> > > >> > http://talks.php.net/show/drupal08/0 > > it also acts as a nice control mechanism

Re: [PHP] Architecture patterns in PHP

2008-12-30 Thread Robert Cummings
On Tue, 2008-12-30 at 12:53 -0500, Eric Butera wrote: > On Tue, Dec 30, 2008 at 12:42 PM, Nathan Nobbe > > I was following the blog tutorial on cake and here's what I got from > hitting the post/index page: > > 081230 12:51:55 316 Connect r...@localhost on > 316 Ini

Re: [PHP] PHP telnet server

2008-12-30 Thread Robert Cummings
On Tue, 2008-12-30 at 21:12 +, Luke Slater wrote: > Hi everyone, > > I'm trying to rewrite an old MUD in PHP; the reasons for this are that the > original is written in C and most files in the codebase run over 2000 > lines with at least 20 of them, which makes it very hard to change > anyt

Re: [PHP] PHP telnet server

2008-12-30 Thread Robert Cummings
On Tue, 2008-12-30 at 16:21 -0500, Brian A. Seklecki wrote: > On Tue, 30 Dec 2008, Luke Slater wrote: > > > Hi everyone, > > > > A quick read over Stevens` A.P.U.E. and UNIX Network Programing Vol. 1 > should familarize you with multi-threaded TCP/IP daemon development. Couple of problems...

Re: [PHP] Since I speak with some of you more than people I see in person....

2008-12-30 Thread Robert Cummings
On Tue, 2008-12-30 at 16:32 -0500, Daniel Brown wrote: > To hell with being on-topic, since this list is generally never > on-topic for an entire thread anyway. > > This has been a roller-coaster year for some of us --- certainly > myself included --- but the year has come to a close. I want

Re: [PHP] PHP telnet server

2008-12-31 Thread Robert Cummings
On Wed, 2008-12-31 at 16:19 +, c...@l-i-e.com wrote: > >> I often thought PHP would be a nice language for a MUD, if one could > >> get the performance out of it... > > > > Design your code such that you can just throw more hardware at it > > whenever you need more performance. > > That's eas

Re: [PHP] PHP telnet server

2008-12-31 Thread Robert Cummings
On Wed, 2008-12-31 at 17:35 +0100, Per Jessen wrote: > c...@l-i-e.com wrote: > > > > >>> I often thought PHP would be a nice language for a MUD, if one could > >>> get the performance out of it... > >> > >> Design your code such that you can just throw more hardware at it > >> whenever you need m

Re: [PHP] PHP telnet server

2009-01-01 Thread Robert Cummings
On Thu, 2009-01-01 at 11:51 +0100, Per Jessen wrote: > Robert Cummings wrote: > > >> > >> It's not easy in any language, but if your key concern is the > >> performance of PHP (as a language), hardware is what you need. You > >> can design your s

Re: [PHP] PHP telnet server

2009-01-01 Thread Robert Cummings
On Thu, 2009-01-01 at 12:53 +, Luke Slater wrote: > Well the current system runs of a 20MB internet connection in London, > seeing as that's the UK that about 2MB. > > It runs fine, responses are snappy even dealing with loads of users. > > This, however, is written in C: does PHP have that

Re: [PHP] PHP telnet server

2009-01-01 Thread Robert Cummings
On Thu, 2009-01-01 at 13:27 +, Luke wrote: > The current system also uses some kind of strange text based database, I was > wondering if using MySQL for the database would slow it down too much? Which MUD engine are you using? Chances are it's DIKU, or Circle, or Merc or one of the many deriva

Re: [PHP] PHP telnet server

2009-01-01 Thread Robert Cummings
On Thu, 2009-01-01 at 19:03 +0100, Per Jessen wrote: > Robert Cummings wrote: > > > 'c...@l-i-e.com' isn't the original poster, I was speaking generally... > > I thought he was the one to bring up his concern about PHP and > performance - I could be wro

Re: [PHP] PHP telnet server

2009-01-01 Thread Robert Cummings
On Thu, 2009-01-01 at 17:58 +, Luke Slater wrote: > It's actually derived from tinymud. > > XML is another option, however I've had people tell me not to use that > because it's horrifically slow, even though I've used it extensively, > through AJAX before and never had a speed issue; althou

Re: [PHP] PHP telnet server

2009-01-01 Thread Robert Cummings
On Thu, 2009-01-01 at 18:43 +, Luke Slater wrote: > WELL, while we're advertising, tcz.net > > telnet tcz.net 23 > > The MUD does indeed cover many aspects of programming, most of them even > have their own scripting language! Which is why PHP seems so lucrative... but one thing you need to

Re: [PHP] Thank you everyone, What a wonderful world

2009-01-02 Thread Robert Cummings
I find the PHP site to be one of the best resources around. Maybe it can help you with your problem. Cheers, Rob. On Sat, 2009-01-03 at 08:56 +0330, shahrzad khorrami wrote: > I'm sorry for there are no rules in the world no real men to help them. May > *Allah* help them > as we see what happe

Re: [PHP] Searching in a long text

2009-01-03 Thread Robert Cummings
On Sat, 2009-01-03 at 09:26 +0100, Vicente wrote: > Hi all, > > I'm implementing a search tool to find phrases inside a book. > Users will search for some word, then the engine will returns > the 3 or 4 lines containing that word, and giving also the book page > number. > > I have the book in pl

Re: [PHP] Searching in a long text

2009-01-03 Thread Robert Cummings
On Sat, 2009-01-03 at 01:28 -0800, Yeti wrote: > What if the whole text has only 1 line? What if? Shouldn't matter. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Thank you everyone, What a wonderful world

2009-01-03 Thread Robert Cummings
On Sat, 2009-01-03 at 17:55 +, Nathan Rixham wrote: > oooh oooh found it, there's a few solutions actually! > > array_merge($christianity,$islam); > unset($religion); > //loads more Sounds like a better solution than: :) > Nathan Rixham wrote: > > rob, are you suggesting that the solution

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-05 Thread Robert Cummings
On Mon, 2009-01-05 at 19:15 +, Stuart wrote: > 2009/1/5 Frank Stanovcak : > > It's been a while since I've programed (VB was on version 4) I was wondering > > if any one could tell me what the diff is between char, varchar, and text in > > mysql. > > I know this isn't a mysql news group, but si

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-05 Thread Robert Cummings
On Tue, 2009-01-06 at 11:01 +1100, Ross McKay wrote: > Micah Gersten wrote: > > >You're referencing the 5.1 manual. In the 5.0 manual it says that > >VARCHAR was extended to 65535 in 5.0.3, so you're statement is not > >entirely correct, nor was Stuart's. That's why I linked him to the 5.0 > >ma

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-07 Thread Robert Cummings
On Wed, 2009-01-07 at 10:49 +, Richard Heyes wrote: > >> it' may seem like a small amount of space but when you have 8 > >> char(255) columns in a table with 10 million rows you'd noticed the > >> difference considerably. > > It is a small amount of space. Perhaps it was necessary in the days

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-07 Thread Robert Cummings
On Wed, 2009-01-07 at 13:26 +, Richard Heyes wrote: > >>So where's the advantage of VARCHAR ? > > > > Less space on disc = less data retrieved from disc = faster data > > retrieval - sometimes. If you have small columns, a small number of > > rows, or both, then char columns may be faster. If y

Re: [PHP] redoing website after 7 years

2009-01-07 Thread Robert Cummings
On Wed, 2009-01-07 at 06:07 -0800, Lamp Lists wrote: > hi guys, > I did php/mysql based website for one my client 7 years ago, in time when > register_globals was on by default. > hosting company upgraded server to php5/mysql5 and turned globals off. the > site is doesn't work any more. > I can d

Re: [PHP] redoing website after 7 years

2009-01-07 Thread Robert Cummings
On Wed, 2009-01-07 at 16:16 -0800, Jim Lucas wrote: > Nathan Rixham wrote: > > Richard Heyes wrote: > >>> but, I'm more concern does client has to pay the changes/upgrade or > >>> it's still "my obligation"? > >> > >> Of course you charge him. Christ if I was expected to maintain stuff > >> gratis

Re: [PHP] Re: hello

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 17:27 +0800, Allan Arguelles wrote: > I only see this in the attachment: > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php That's because the list software strips attachments to prevent idiots using wind

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 10:51 +, Richard Heyes wrote: > > until you have to dump it, zip it, ssh it over to another box and then > > import it back in > > That's what fag breaks are for... :-) Well, that and smoking. So... when you're forgetful... have you ever had to bum a fag? Words have suc

Re: [PHP] Re: hello

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 10:10 -0500, Daniel Brown wrote: > On Thu, Jan 8, 2009 at 09:38, Allan Arguelles wrote: > > I guess its these examples that remind us that we still need to look out > > for ourselves. I got used to the idea that theres so little chance that > > I'd be a target, as a linux use

Re: [PHP] First official release of the PHP WhitePaper

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 15:40 +, David Coallier wrote: > Well well well, finally after many months of work, discussions, > typing, editing and arguing, the Irish PHP User Group is happy to make > the first official release of the PHP WhitePaper. > > I'd love to make a sales pitch about this but

Re: [PHP] Re: hello

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 12:10 -0500, Daniel Brown wrote: > On Thu, Jan 8, 2009 at 10:31, Skip Evans wrote: > > > > From my reading I get the impression that the above statement, "Linux is > > just as susceptible to viruses, worms, and other malware", is inaccurate. > > Unfortunately, Skip, it's

Re: [PHP] Re: hello

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 12:54 -0500, Daniel Brown wrote: > On Thu, Jan 8, 2009 at 12:38, Skip Evans wrote: > > > > > >>I certainly wish there were more like you! > > > > If only that woman who lives down the block would give me the opportunity to > > make her say that... *sigh*. > > Coincid

Re: [PHP] Re: hello

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 13:13 -0500, tedd wrote: > At 10:10 AM -0500 1/8/09, Daniel Brown wrote: > > > > When a vast majority is controlled by a like-minded minority, > >evolution and advancement will suffer. > > Ya think. > > I've been saying that for over 20 years. > > The problem is that th

Re: [PHP] Re: hello

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 13:31 -0500, Daniel Brown wrote: > On Thu, Jan 8, 2009 at 13:24, Robert Cummings wrote: > > > > "Just as susceptible"?? Please refer me to some resources where I can > > verify this statement. > > http://marc.info/?t=100

Re: [PHP] Re: hello

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 13:39 -0500, Daniel Brown wrote: > On Thu, Jan 8, 2009 at 13:34, Robert Cummings wrote: > > > > He didn't say it had no insecurities... he said it's hard to believe > > it's "JUST AS insecure". Please provide factual sources

Re: [PHP] Re: hello

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 13:43 -0500, Daniel Brown wrote: > On Thu, Jan 8, 2009 at 13:41, Robert Cummings wrote: > > On Thu, 2009-01-08 at 13:31 -0500, Daniel Brown wrote: > >> On Thu, Jan 8, 2009 at 13:24, Robert Cummings wrote: > >> > > >> > "

Re: [PHP] Re: hello

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 19:12 +, c...@l-i-e.com wrote: > > Fact is if you want to be secure just disconnect you're machine from > > the internet, remove cd/dvd/floppy drives and unplug the keyboard. > > You forgot to cut the internal USB cables. And never, EVER forget to don your tinfoil hat an

Re: [PHP] Re: hello

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 19:18 +, Nathan Rixham wrote: > Daniel Brown wrote: > > On Thu, Jan 8, 2009 at 13:34, Robert Cummings wrote: > >> He didn't say it had no insecurities... he said it's hard to believe > >> it's "JUST AS insecure&q

Re: [PHP] Re: hello

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 19:46 +, Nathan Rixham wrote: > Robert Cummings wrote: > > On Thu, 2009-01-08 at 19:18 +, Nathan Rixham wrote: > > > >> Daniel Brown wrote: > >> > >>> On Thu, Jan 8, 2009 at 13:34, Robert Cummings > >&g

Re: [PHP] Re: hello

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 22:38 +, Nathan Rixham wrote: > Skip Evans wrote: > > Nathan Rixham wrote: > >>> > >> yup.. all OS's are equally insecure; each OS is as insecure as the > >> next; no > >> one OS is more insecure than any other > >> > > > > Wrong, and there is experimental data to prove i

Re: [PHP] Re: hello

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 23:28 +, Nathan Rixham wrote: > Skip Evans wrote: > > Ashley Sheridan wrote: > >>> think about it for a minute; an OS can either be secure (0 > >>> vulnerabilities) or insecure (1 or more vulnerabilities); as all OS's > >>> have 1 or more vulnerabilities they are all equ

Re: [PHP] Re: hello - thread on topic or not?

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 16:21 -0800, Mattias Thorslund wrote: > I thought this was the PHP list, not the OS vs. OS list? > > Is this type of discussion now considered OK here? I recall people > getting flamed for borderline off-topic posts even, just a few years ago. This is PHP general... we talk

Re: [PHP] Re: redoing website after 7 years

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 20:10 -0800, VamVan wrote: > On Thu, Jan 8, 2009 at 9:50 AM, Al wrote: > > I know many people will grin at me for this solution but may be faster way > to overcome this problem to do a find for $ and replace with $_REQUEST. even > this will help you if you dealt with $_POST,

Re: [PHP] Re: redoing website after 7 years

2009-01-08 Thread Robert Cummings
On Fri, 2009-01-09 at 15:17 +1100, Chris wrote: > > I know many people will grin at me for this solution but may be faster way > > to overcome this problem to do a find for $ and replace with $_REQUEST. even > > this will help you if you dealt with $_POST, $_GET, $_COOKIE. > > Please don't. > > $

Re: [PHP] First steps towards unix and php

2009-01-08 Thread Robert Cummings
On Fri, 2009-01-09 at 01:09 -0500, Daniel Brown wrote: > On Thu, Jan 8, 2009 at 11:44, Frank Stanovcak > wrote: > > I've been a microshaft punk for some time now, and am just getting ready to > > try to step over to unix on one of my own boxes. > > > > Does anyone have any suggestions on which fl

Re: [PHP] Re: hello - thread on topic or not?

2009-01-09 Thread Robert Cummings
On Fri, 2009-01-09 at 12:59 +, Nathan Rixham wrote: > Daniel Brown wrote: > > On Thu, Jan 8, 2009 at 19:21, Mattias Thorslund > > wrote: > >> I thought this was the PHP list, not the OS vs. OS list? > >> > >> Is this type of discussion now considered OK here? I recall people getting > >> flam

Re: [PHP] Re: redoing website after 7 years

2009-01-09 Thread Robert Cummings
On Fri, 2009-01-09 at 08:56 -0500, Andrew Ballard wrote: > On Fri, Jan 9, 2009 at 2:09 AM, Robert Cummings wrote: > > On Fri, 2009-01-09 at 15:17 +1100, Chris wrote: > >> > I know many people will grin at me for this solution but may be faster > >> > way > &

Re: [PHP] Re: hello - thread on topic or not?

2009-01-09 Thread Robert Cummings
for it. > >> > >> By comparison, sending a message - especially starting a new > >> thread - to ask if something is on- or off-topic is worse. > > I was simply wondering. I took my reply to Robert off-list because I > felt that the question didn't need to be

Re: [PHP] Re: hello

2009-01-09 Thread Robert Cummings
On Fri, 2009-01-09 at 18:09 +, Nathan Rixham wrote: > Daniel Brown wrote: > > On Fri, Jan 9, 2009 at 12:43, Nathan Rixham wrote: > >> actually i ran it in a debugger, in an ide, in a virtual machine :p > > > > in Siberia. > > > > scotland in winter; same thing really I lived in Sc

Re: [PHP] Re: hello

2009-01-09 Thread Robert Cummings
On Fri, 2009-01-09 at 15:47 -0500, Daniel Brown wrote: > On Fri, Jan 9, 2009 at 15:31, Robert Cummings wrote: > > > > I lived in Scotland for many years... Scottish winters pale in > > comparison to northern Canadian winters, and these in turn pale in > > com

Re: [PHP] Re: hello

2009-01-09 Thread Robert Cummings
On Sat, 2009-01-10 at 05:20 +0200, Paul Scott wrote: > On Fri, 2009-01-09 at 18:15 -0500, Phpster wrote: > > -12C in Toronto > > > > Meh! 30C - 35C in Cape Town, South Africa almost every day for the last > month. It has been a scorcher this year! Grumble, grumble... did I mention freshwater fal

Re: [PHP] Re: hello

2009-01-10 Thread Robert Cummings
On Sat, 2009-01-10 at 02:59 -0500, Daniel Brown wrote: > On Sat, Jan 10, 2009 at 01:57, Robert Cummings wrote: > > > > Grumble, grumble... did I mention freshwater falls from the sky and > > forms vertical piles outside my home? > > You have a camera for a reason,

Re: [PHP] Re: hello

2009-01-10 Thread Robert Cummings
On Sat, 2009-01-10 at 03:10 -0500, Paul M Foster wrote: > On Sat, Jan 10, 2009 at 01:57:09AM -0500, Robert Cummings wrote: > > > On Sat, 2009-01-10 at 05:20 +0200, Paul Scott wrote: > > > On Fri, 2009-01-09 at 18:15 -0500, Phpster wrote: > > > > -12C in Toronto &

Re: [PHP] is_readable() returns 1 if file is still uploading

2009-01-10 Thread Robert Cummings
On Sat, 2009-01-10 at 19:22 +0100, Merlin Morgenstern wrote: > Hi there, > > I am importing data out of xml files on a linux server. Now I am running > into problems if the file is currently beeing uploaded and the upload > has not finished to the server. > Is there a function which returns true

Re: [PHP] Re: hello

2009-01-10 Thread Robert Cummings
On Sat, 2009-01-10 at 16:00 -0500, Paul M Foster wrote: > On Sat, Jan 10, 2009 at 03:16:34AM -0500, Robert Cummings wrote: > > > On Sat, 2009-01-10 at 03:10 -0500, Paul M Foster wrote: > > > On Sat, Jan 10, 2009 at 01:57:09AM -0500, Robert Cummings wrote: > > > >

Re: [PHP] Re: hello

2009-01-10 Thread Robert Cummings
On Sat, 2009-01-10 at 16:14 -0500, Daniel Brown wrote: > On Sat, Jan 10, 2009 at 16:06, Robert Cummings wrote: > > > > Snowball hits sandcastle... promptly melts... washes sandcastle away. > > > > *throws another snowball at you* > > > > I've got LOTS

Re: [PHP] Re: hello

2009-01-10 Thread Robert Cummings
On Sat, 2009-01-10 at 21:21 +, Nathan Rixham wrote: > Robert Cummings wrote: > > On Sat, 2009-01-10 at 16:14 -0500, Daniel Brown wrote: > >> On Sat, Jan 10, 2009 at 16:06, Robert Cummings > >> wrote: > >>> Snowball hits sandcastle... p

Re: [PHP] Re: hello

2009-01-11 Thread Robert Cummings
On Sat, 2009-01-10 at 23:58 +0100, Björn Bartels wrote: > *rofl* > > damn... i love this list... so much for on- ehmmm off-list posts :p ... It's not just a list... it's a community :) Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailin

Re: [PHP] Re: Unique Object Instance ID..?

2009-01-11 Thread Robert Cummings
On Sun, 2009-01-11 at 00:07 +, Nathan Rixham wrote: > Colin Guthrie wrote: > > 'Twas brillig, and Nathan Rixham at 10/01/09 23:31 did gyre and gimble: > >> all I need is a completely unique id for each object instance that can > >> never be repeated at any time, even in a multiserver environme

Re: [PHP] Couple of beginner questions

2009-01-11 Thread Robert Cummings
On Sun, 2009-01-11 at 17:01 +, Nathan Rixham wrote: > > i love these discussions on pedantics and semantics! > > personally (when I need to) I always go for a bit of concatenation so in > the example above: > > // somewhere in the business logic / functional layer > $imgHTML = ''; I do the

Re: [PHP] Couple of beginner questions

2009-01-11 Thread Robert Cummings
On Sun, 2009-01-11 at 18:14 +, Nathan Rixham wrote: > Robert Cummings wrote: > > > >> the above means that moving back to the original example(s) I'd simply > >> > >> whatever > >> > > > > I'd probably do: > > &g

Re: [PHP] Couple of beginner questions

2009-01-11 Thread Robert Cummings
On Sun, 2009-01-11 at 21:01 +, Nathan Rixham wrote: > Robert Cummings wrote: > > > >> example: > >> http://www.w3.org/TR/xhtml1/ > >> > >> from the source: > >> > >> XHTML™ 1.0 The Extensible > HyperText Markup Language (Sec

Re: [PHP] Re: redoing website after 7 years

2009-01-11 Thread Robert Cummings
On Mon, 2009-01-12 at 09:00 +1100, Chris wrote: > Robert Cummings wrote: > > On Fri, 2009-01-09 at 08:56 -0500, Andrew Ballard wrote: > >> On Fri, Jan 9, 2009 at 2:09 AM, Robert Cummings > >> wrote: > >>> On Fri, 2009-01-09 at 15:17 +1100, Chris wrote: >

Re: [PHP] RewriteRules

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 13:20 -0500, Jason Pruim wrote: > Hi Everyone, > > I know it's not a php question... But I know alot of you use rewrite > rules and regular expressions and so I thought maybe you would be > able to help me. > > The site: HTTP://purl.raoset.com/test112 > > test112 doesn'

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 13:37 -0500, tedd wrote: > At 8:59 AM -0800 1/12/09, Chris Carter wrote: > >Hi, > > > >I have one form where user fills data using radio buttons. Only one answer > >goes from here to another page. > > > >FORM 1 > > > > > > > >5 > > > > > >1 > > > > > >3 > > > > > > > > > >

Re: [PHP] Holy crap

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 19:27 +, Richard Heyes wrote: > Chrome 2.0? > > http://www.trustedreviews.com/software/news/2009/01/12/Google-Chrome-Hitting-Macs--Linux-By-July/p1 > > So much for long beta periods! 2.0 is the new beta... what did you think Web 2.0 was all about? Cheers, Rob. -- http

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 15:15 -0500, Eric Butera wrote: > On Mon, Jan 12, 2009 at 3:03 PM, Ashley Sheridan > wrote: > > I tend to use $_REQUEST to capture a lot of my data, as I end up mixing > > get and post a lot throughout my code. $_REQUEST is an amalgamate of > > $_COOKIE, $_GET and $_POST (in

Re: [PHP] switch vs elseif

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 15:15 -0500, Frank Stanovcak wrote: > I've googled, and found some confusing answers. > I've tried searching the history of the news group, and only found info on > switch or elseif seperately. :( > > Strictly from a performance stand point, not preference or anything else,

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 15:29 -0500, Eric Butera wrote: > On Mon, Jan 12, 2009 at 3:21 PM, Robert Cummings wrote: > > On Mon, 2009-01-12 at 15:15 -0500, Eric Butera wrote: > >> On Mon, Jan 12, 2009 at 3:03 PM, Ashley Sheridan > >> wrote: > >> > I tend to us

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 16:02 -0500, tedd wrote: > > True, css does not allow numeric classes (like sessions). But, I > never need them anyway. > > As I provided before: > > http://webbytedd.com/b/color-rows/ > > this is my solution for alternating row style. abc abc abc That's ju

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 16:18 -0500, tedd wrote: > At 8:03 PM + 1/12/09, Ashley Sheridan wrote: > > > >I tend to use $_REQUEST to capture a lot of my data, as I end up mixing > >get and post a lot throughout my code. $_REQUEST is an amalgamate of > >$_COOKIE, $_GET and $_POST (in that order I bel

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 16:26 -0500, Eric Butera wrote: > On Mon, Jan 12, 2009 at 4:17 PM, Robert Cummings > > > > > >abc > >abc > >abc > > > > > > Cheers, > > Rob. > > -- > > http://www.interjinn.com > >

Re: [PHP] Re: Php and CSS where to put it

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 16:27 -0500, tedd wrote: > At 7:38 PM +0100 1/12/09, Michelle Konzack wrote: > >Hello Terion, > > > >Am 2009-01-12 10:42:10, schrieb Terion Miller: > > > I have this code and the css seems to not work in IE at all, do I need to > > > put it somewhere different on the page ma

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 21:36 +, Nathan Rixham wrote: > Robert Cummings wrote: > > On Mon, 2009-01-12 at 16:02 -0500, tedd wrote: > >> True, css does not allow numeric classes (like sessions). But, I > >> never need them anyway. > >> > >> As I prov

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 21:45 +, Nathan Rixham wrote: > Robert Cummings wrote: > > On Mon, 2009-01-12 at 21:36 +, Nathan Rixham wrote: > > > >> Robert Cummings wrote: > >> > >>> On Mon, 2009-01-12 at 16:02 -0500, tedd wrote: > &g

Re: [PHP] switch vs elseif

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 16:49 -0500, tedd wrote: > At 3:32 PM -0500 1/12/09, Robert Cummings wrote: > >One has to wonder about the readability of the case version though since > >one may not notice immediately the missing break statement. > > > >Cheers, > >Rob. &g

<    6   7   8   9   10   11   12   13   14   15   >