Re: [PHP] munge / obfuscate ?

2008-03-27 Thread Robert Cummings
On Thu, 2008-03-27 at 22:36 -0400, Bastien Koert wrote: > On Thu, Mar 27, 2008 at 9:10 PM, Joey <[EMAIL PROTECTED]> wrote: > > > Hi All, > > > > > > > > I have written an app to allow a person to go online and see a picture we > > take of them. When we link to the picture I don't want it to be o

Re: [PHP] munge / obfuscate ?

2008-03-27 Thread Robert Cummings
On Thu, 2008-03-27 at 22:48 -0700, robert wrote: > I like this and never would have thought to do this. > > What kind performance hit does this have, if there were 100 images, > for example? Well... it would be like requesting 101 PHP pages :/ It would be heavy. It's

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread Robert Cummings
On Fri, 2008-03-28 at 09:14 +0100, Zoltán Németh wrote: > 2008. 03. 27, csütörtök keltezéssel 09.29-kor Philip Thompson ezt írta: > > On Mar 26, 2008, at 6:28 PM, Al wrote: > > > Depends on the server and it's load. I've strung together some > > > rather large html strings and they aways take f

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread Robert Cummings
On Fri, 2008-03-28 at 09:31 +0100, Zoltán Németh wrote: > 2008. 03. 28, péntek keltezéssel 09.19-kor Zoltán Németh ezt írta: > > 2008. 03. 27, csütörtök keltezéssel 10.21-kor Shawn McKenzie ezt írta: > > > Jason Pruim wrote: > > > > > > > > On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote: > >

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread Robert Cummings
On Fri, 2008-03-28 at 14:46 +0100, Zoltán Németh wrote: > > yeah maybe. you're right, the bytecode is the same. but somewhere I > heard that the parsing is the same too - because escaped characters can > be in any string, though I'm not that sure about this anymore, as my > link proved something e

Re: [PHP] Re: optimilize web page loading

2008-03-28 Thread Robert Cummings
On Fri, 2008-03-28 at 15:30 +0100, Zoltán Németh wrote: > 2008. 03. 28, péntek keltezéssel 10.24-kor Robert Cummings ezt írta: > > On Fri, 2008-03-28 at 14:46 +0100, Zoltán Németh wrote: > > > > > > yeah maybe. you're right, the bytecode is the same. but somewher

RE: [PHP] munge / obfuscate ?

2008-03-28 Thread Robert Cummings
On Fri, 2008-03-28 at 10:37 -0400, Bastien Koert wrote: > [snip]> Save yourself the database trip and just stick the id AND the > hash in > > the URL and validate upon request. > > > > Cheers, > > Rob. > [/snip] > > The only reason I suggest a database look up is that in my application > there

Re: [PHP] Re: optimilize web page loading

2008-03-29 Thread Robert Cummings
On Sat, 2008-03-29 at 10:16 +0100, Zoltán Németh wrote: > > > > One last thing though... > > even if this were escaped and even if there were fifty variables > > embedded, a good bytecode optimizer (not quite the same as a bytecode > > cacher) would optimize the bytecode for caching so that the s

Re: [PHP] extract escaped quoted strings

2008-03-29 Thread Robert Cummings
On Sat, 2008-03-29 at 19:16 -0400, Adam Jacob Muller wrote: > Hi, > Have a potentially interesting question here, wondering if anyone has > done this one before and could shed some light for me. > I have a bit of PHP code that needs to extract some quoted strings, > so, very simply: > "hello"

Re: [PHP] extract escaped quoted strings

2008-03-29 Thread Robert Cummings
On Sat, 2008-03-29 at 20:41 -0400, Adam Jacob Muller wrote: > Assume that you should accept any string that PHP itself would accept, > though no processing of the actual escapes is required nor desirable. Sorry, I wasn't clear enough :) By source I meant more along the lines of what the text mi

Re: [PHP] extract escaped quoted strings

2008-03-29 Thread Robert Cummings
best bet is probably to use the token_get_all() function: http://ca.php.net/manual/en/function.token-get-all.php Cheers, Rob. > > > On Mar 29, 2008, at 8:54 PM, Robert Cummings wrote: > > > > > On Sat, 2008-03-29 at 20:41 -0400, Adam Jacob Muller wrote: > &

Re: [PHP] MS purchase Yahoo

2008-03-31 Thread Robert Cummings
On Tue, 2008-04-01 at 11:55 +1100, Kevin Waterson wrote: > On Mon, 2008-03-31 at 17:05 -0700, mike wrote: > > You are pathetic. Spamming your own fake digg article to your own fake > > news story and didn't even take the effort to host it on another > > domain? > > BWHAHAHAHHAA > > Thanks, nice

Re: [PHP] MS purchase Yahoo

2008-03-31 Thread Robert Cummings
On Mon, 2008-03-31 at 21:08 -0400, Robert Cummings wrote: > On Tue, 2008-04-01 at 11:55 +1100, Kevin Waterson wrote: > > On Mon, 2008-03-31 at 17:05 -0700, mike wrote: > > > You are pathetic. Spamming your own fake digg article to your own fake > > > news story and did

Re: [PHP] MS purchase Yahoo

2008-03-31 Thread Robert Cummings
hina. > > On Tue, Apr 1, 2008 at 9:21 AM, Robert Cummings <[EMAIL PROTECTED]> > wrote: > > > > > On Mon, 2008-03-31 at 21:08 -0400, Robert Cummings wrote: > > > On Tue, 2008-04-01 at 11:55 +1100, Kevin Waterson wrote: > > > > On Mon, 2008-03-31 at

Re: [PHP] Re: Severe Security Issue

2008-04-01 Thread Robert Cummings
On Tue, 2008-04-01 at 17:00 +0100, Colin Guthrie wrote: > Stut wrote: > > Daniel Brown wrote: > >> Off-list. > >> > >> Hey, don't shoot me down just yet, Mr. Dallas. Gotta' make the > > > > And less of the real name on the interweb please, I'm undercover! > > Hey don't worry, half way th

Re: [PHP] Re: Severe Security Issue

2008-04-01 Thread Robert Cummings
On Tue, 2008-04-01 at 17:16 +0100, Colin Guthrie wrote: > Robert Cummings wrote: > > On Tue, 2008-04-01 at 17:00 +0100, Colin Guthrie wrote: > >> Stut wrote: > >>> Daniel Brown wrote: > >>>> Off-list. > >>>> > >>>>

Re: [PHP] how to possibly cache something and the theory of better performance / better speed

2008-04-01 Thread Robert Cummings
On Wed, 2008-04-02 at 00:26 -0400, Joey wrote: > Hi All, > > [-- SNIPPITY SNIP SNIP --] > > Assuming only 25-30 images am I splitting hairs here? Does this make > sense? > Of course if I have 200 pictures, then this is the way to go but would > this > really make a difference? Randomizing the

Re: [PHP] PHP: array with null shows different with print_r and var_dump

2008-04-02 Thread Robert Cummings
On Wed, 2008-04-02 at 12:19 +0530, Sanjay Mantoor wrote: > Hello, > > I am new to PHP and PHP community. > > Following program outputs different values with print_r and var_dump. > > $array = array(null, NULL); > > print_r($array); prints values like below > Array > ( > [0] => > [1] =>

Re: [PHP] Memory usage very high under AMD64?

2008-04-02 Thread Robert Cummings
64 bit integers are twice as big as 32 bit integers. Cheers, Rob. On Wed, 2008-04-02 at 20:16 +0100, Ed W wrote: > Hi > > I am trying to figure out expected memory usage of PHP > > Under my 32bit install Apache 2 processes are drawing around 45MB > virtual and 25MB RSS. (XCache enabled) > > H

Re: [PHP] How to get a code review?

2008-04-03 Thread Robert Cummings
On Thu, 2008-04-03 at 12:09 -0400, David Jourard wrote: > Hi, > > I'm a perl programmer and I've written a registration/login program in Perl. > > I've just finished writing a small program in php to check the login > cookie created by my perl program > for any php html page. > > Can anyone d

Re: [PHP] Character set problems

2008-04-03 Thread Robert Cummings
On Thu, 2008-04-03 at 21:56 -0700, Rob Gould wrote: > I'm having a hard time figuring out why my character sets and data look when > when viewed in phpAdmin when browsing the table-columns, but then I go to > show the data on my web-page with PHP, I get garbage-characters where I > should be se

Re: [PHP] using php to backup mysql database?

2008-04-04 Thread Robert Cummings
On Fri, 2008-04-04 at 23:40 +0800, paragasu wrote: > i know phpmyadmin.. > the points is, i am writing an application. > i want the admin of the website i wrote, to be able to do backup/restore > from the main administration area. > > this admin do not have access to phpmyadmin. If you know phpm

Re: [PHP] PostTrack Updates

2008-04-04 Thread Robert Cummings
Some changes take effect with the PostTrack metrics\n" ?> system with this week (will show up in next week's\n" ?> report). There's one bug fix and a new feature added, \n" ?> in which some of you may be really interested.\n" ?> \n" ?> CHANGELOG\n" ?> Fixed a bug that would (se

Re: [PHP] PostTrack Updates

2008-04-04 Thread Robert Cummings
On Fri, 2008-04-04 at 22:39 -0700, Jim Lucas wrote: > Robert Cummings wrote: > > > > Some changes take effect with the PostTrack metrics\n" ?> > > system with this week (will show up in next week's\n" ?> > > report). There's one bug fix a

Re: [PHP] PostTrack Updates

2008-04-05 Thread Robert Cummings
On Sat, 2008-04-05 at 09:23 -0400, Jason Pruim wrote: > On Apr 5, 2008, at 1:48 AM, Robert Cummings wrote: > > > > > On Fri, 2008-04-04 at 22:39 -0700, Jim Lucas wrote: > >> Robert Cummings wrote: > >>> >>> \n" ?> > >>

Re: [PHP] PostTrack Updates

2008-04-05 Thread Robert Cummings
On Sat, 2008-04-05 at 07:21 -0700, Casey wrote: > On Apr 5, 2008, at 6:23 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > > > > > On Apr 5, 2008, at 1:48 AM, Robert Cummings wrote: > > > >> > >> On Fri, 2008-04-04 at 22:39 -0700, Jim Lucas wro

Re: [PHP] How to jump to line number in large file

2008-04-05 Thread Robert Cummings
On Sat, 2008-04-05 at 19:09 +0100, Steve McGill wrote: > "Richard Heyes" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >> Thanks for the heads up on fgetc() incrementing by one. I hadn't actually > >> tested that code yet, I was using the original fseek($handle,$pos). > >> > >>

Re: [PHP] How to jump to line number in large file

2008-04-05 Thread Robert Cummings
On Sat, 2008-04-05 at 16:19 -0700, Jim Lucas wrote: > Robert Cummings wrote: > >> > >> - Taking away the unnecessary fseek() made the script execute in 63 seconds > >> - Using a buffer system, (reading in 1Mb of the text file at a time and > >> then &g

Re: [PHP] PostTrack Updates

2008-04-05 Thread Robert Cummings
On Sat, 2008-04-05 at 21:54 -0400, Daniel Brown wrote: > $enough = 'enough'; > ?> Hmmm... 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/unsub.php

Re: [PHP] PostTrack Updates

2008-04-05 Thread Robert Cummings
On Sat, 2008-04-05 at 22:54 -0400, [EMAIL PROTECTED] wrote: > $stfu = true; > if($stfu == true) { >stop_posting( ); > }else{ >post( ); > } > ?> Please don't top-post. It makes it hard to follow the discussion :B Cheers, Rob. -- http://www.interjinn.com Application and Templating Framew

Re: [PHP] Array pointer to a function

2008-04-07 Thread Robert Cummings
On Tue, 2008-04-08 at 14:00 +1000, hce wrote: > Hi, > > Is it possible for an array to point a function: > > Asignmanet > > $ArrayPointer = $this->MyFunction; > > Invoke: > > $ArraryPointer(); No, you can't do what you've done above. What you can do is... &$this, 'method' => 'MyFunction' )

Re: [PHP] Recommended PHP Editors?

2008-04-07 Thread Robert Cummings
On Tue, 2008-04-08 at 07:21 +0200, Nitsan Bin-Nun wrote: > Hi, > I'm working with serveral PHP editors, each has it own restrictions. > So umm, What editors do you recommend and what special functions and > dis/adventages they have (maybe im overkilling my own back). This comes up almost once a w

Re: [PHP] Recommended PHP Editors?

2008-04-08 Thread Robert Cummings
On Tue, 2008-04-08 at 11:02 -0400, Andrew Ballard wrote: > On Tue, Apr 8, 2008 at 10:56 AM, Jochem Maas <[EMAIL PROTECTED]> wrote: > > Robert Cummings schreef: > > > > > On Tue, 2008-04-08 at 07:21 +0200, Nitsan Bin-Nun wrote: > > > > > > > Hi,

Re: [PHP] Between editors and books.....

2008-04-08 Thread Robert Cummings
On Tue, 2008-04-08 at 14:17 -0400, Daniel Brown wrote: > On Tue, Apr 8, 2008 at 2:13 PM, Jay Blanchard <[EMAIL PROTECTED]> wrote: > > I have raised a whole new generation of curmudgeons! *sniff* > > /me golf-claps. /me golf-claps with one hand Cheers, Rob. -- http://www.interjinn.com A

Re: [PHP] Posting Summary for Week Ending 11 April, 2008: php-general@lists.php.net

2008-04-11 Thread Robert Cummings
2 (4.1%) 24308 (5.4%) 0 (0%)Robert > Cummings > 9 (3.1%) 21586 (4.8%) 805 (10.6%) Jim Lucas > > 8 (2.7%) 9636(2.1%) 0 (0%)Wolf > > 7 (2.4%) 12807 (2.9%) 0 (

Re: [PHP] Re: Quarters

2008-04-11 Thread Robert Cummings
On Fri, 2008-04-11 at 21:22 -0400, Bill Guion wrote: > Maybe you guys should get a Mac. Works just fine for me on a Mac, OS > X, Firefox. But then we'd have to use a Mac :/ Worked fine in Opera 9.5. Though I got the undefined variable error too. That's just a clean code error though... a lot li

Re: [PHP] How to determine which column "matched"

2008-04-11 Thread Robert Cummings
On Fri, 2008-04-11 at 20:25 -0700, Rob Gould wrote: > I'm trying to figure out a way that SQL can pass a flag to PHP to say which > column "matched" during a query. > > Let's say for instance that I want to search for the word "apple" in both > column "producer", and column "designation". I

Re: [PHP] How to determine which column "matched"

2008-04-11 Thread Robert Cummings
On Fri, 2008-04-11 at 23:42 -0400, Robert Cummings wrote: > On Fri, 2008-04-11 at 20:25 -0700, Rob Gould wrote: > > I'm trying to figure out a way that SQL can pass a flag to PHP to say which > > column "matched" during a query. > > > > Let's

Re: [PHP] What is the practical use of "abstract" and "interface"?

2008-04-16 Thread Robert Cummings
On Wed, 2008-04-16 at 12:20 +0100, Tony Marston wrote: > The term "abstract" has been adequately defined in this thread, so I won't > repeat it. > > However, there is one important aspect of the term "interface" which I think > that most people seem to miss - it is not necessary to use the term >

Re: [PHP] What is the practical use of "abstract" and "interface"?

2008-04-16 Thread Robert Cummings
On Wed, 2008-04-16 at 17:22 +0100, Robin Vickery wrote: > On 16/04/2008, Jay Blanchard <[EMAIL PROTECTED]> wrote: > > [snip] > > > What about encapsulation? > > > > Interfaces have nothing to do with encapsulation for the smple reason > > that I > > can have encapsulation without using interfa

Re: [PHP] What is the practical use of "abstract" and "interface"?

2008-04-16 Thread Robert Cummings
On Wed, 2008-04-16 at 12:43 -0600, Nathan Nobbe wrote: > On Wed, Apr 16, 2008 at 5:47 AM, Tony Marston <[EMAIL PROTECTED]> > wrote: > > > > > "Robert Cummings" <[EMAIL PROTECTED]> wrote in message > > > While I agree that Interfaces are mostl

Re: [PHP] & performance issues

2008-04-16 Thread Robert Cummings
On Wed, 2008-04-16 at 23:37 -0400, Nathan Nobbe wrote: > all, > > i have heard from various sources that using the & in php can at times be > costly, and therefore, it should not be used when it is not needed. for > example, passing an array by reference because you think youre passing the > act

Re: [PHP] FRench characters not displayed correctly

2008-04-17 Thread Robert Cummings
On Thu, 2008-04-17 at 09:47 +0200, Angelo Zanetti wrote: > Hi all. > > We have taken over a site and a problem we have is that French special > characters aren't displaying correctly, they are displaying a weird square > block. > > I have checked the content type and it's as follows: > > > >

RE: [PHP] FRench characters not displayed correctly

2008-04-17 Thread Robert Cummings
On Thu, 2008-04-17 at 10:57 +0200, Angelo Zanetti wrote: > > Thanks Robert, > > I have the following headers: > > > http://fr..com/student/themes/english/locker_room/student.html > > GET /student/themes/english/locker_room/student.html? HTTP/1.1 > Host: fr.

RE: [PHP] FRench characters not displayed correctly

2008-04-17 Thread Robert Cummings
On Thu, 2008-04-17 at 11:11 +0200, Angelo Zanetti wrote: > > -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: 17 April 2008 11:05 > To: Angelo Zanetti > Cc: php-general@lists.php.net > Subject: RE: [PHP] FRench characters not displayed

RE: [PHP] FRench characters not displayed correctly

2008-04-17 Thread Robert Cummings
On Thu, 2008-04-17 at 11:39 +0200, Per Jessen wrote: > Robert Cummings wrote: > > > No, that's what kind of content the server is willing to accept from > > various sources such as POST. You want the following somewhere near > > the beginning of your script: >

RE: [PHP] FRench characters not displayed correctly

2008-04-17 Thread Robert Cummings
On Thu, 2008-04-17 at 11:24 +0100, Ford, Mike wrote: > On 17 April 2008 10:05, Robert Cummings advised: > > > On Thu, 2008-04-17 at 10:57 +0200, Angelo Zanetti wrote: > >> > >> Thanks Robert, > >> > >> I have the following headers: > >&

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Robert Cummings
On Fri, 2008-04-18 at 11:50 -0700, Jim Lucas wrote: > Nick Stinemates wrote: > >>> Data Hiding IS Encapsulation. > >>> But, you have to agree, > >>> >>> class Lol { > >>> private $bar; > >>> public function getBar() { return $bar } > >>> public function setBar($bar) { $this->bar = $bar} > >>>

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Robert Cummings
On Fri, 2008-04-18 at 13:17 -0600, Nathan Nobbe wrote: > On Fri, Apr 18, 2008 at 1:02 PM, Robert Cummings <[EMAIL PROTECTED]> > wrote: > > > What he means is don't ask for the data literally (by property name) ask > > for it via a method. This allows wrappi

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Robert Cummings
On Fri, 2008-04-18 at 13:54 -0600, Nathan Nobbe wrote: > On Fri, Apr 18, 2008 at 1:42 PM, Robert Cummings <[EMAIL PROTECTED]> > wrote: > > > Nope, the point is moot. If I've made my properties publicly accessible, > > now, due to the ability to trap via __get() o

Re: [PHP] PHP console script vs C/C++/C#

2008-04-19 Thread Robert Cummings
On Sat, 2008-04-19 at 13:08 +0200, Per Jessen wrote: > Nathan Nobbe wrote: > > > On Fri, Apr 18, 2008 at 11:25 AM, Nick Stinemates > > <[EMAIL PROTECTED]> wrote: > > > >> I don't think there was a single place where I said PHP was faster > >> than C, nor did I imply it. > > > >> > Depends. Shit

Re: [PHP] PHP console script vs C/C++/C#

2008-04-20 Thread Robert Cummings
On Sun, 2008-04-20 at 14:17 -0400, Nathan Nobbe wrote: > On Sun, Apr 20, 2008 at 6:50 AM, Per Jessen <[EMAIL PROTECTED]> wrote: > > > Nathan Nobbe wrote: > > > > > umm, so whats going on here is the implicit component of the statement > > > that incorporates relative or absolute performance. in

Re: [PHP] PHP console script vs C/C++/C#

2008-04-20 Thread Robert Cummings
On Sun, 2008-04-20 at 14:41 -0400, Nathan Nobbe wrote: > On Sun, Apr 20, 2008 at 2:34 PM, Robert Cummings <[EMAIL PROTECTED]> > wrote: > > > > > On Sun, 2008-04-20 at 14:17 -0400, Nathan Nobbe wrote: > > > On Sun, Apr 20, 2008 at 6:50 AM,

Re: [PHP] Denver PHP opportunity - Senior Software Engineers

2008-04-21 Thread Robert Cummings
On Mon, 2008-04-21 at 15:20 -0400, Daniel Brown wrote: > On Mon, Apr 21, 2008 at 3:01 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: > > > > Just think about the frequent flyer miles you'd get! Vacation anywhere you > > want in the world! :) > > Like you'd want to fly to a vacation spot after two

Re: [PHP] Denver PHP opportunity - Senior Software Engineers

2008-04-21 Thread Robert Cummings
On Mon, 2008-04-21 at 14:16 -0600, Nathan Nobbe wrote: > On Mon, Apr 21, 2008 at 1:48 PM, Robert Cummings <[EMAIL PROTECTED]> > wrote: > > > On Mon, 2008-04-21 at 15:20 -0400, Daniel Brown wrote: > > > On Mon, Apr 21, 2008 at 3:01 PM, Jason Pruim <[EMAIL PROTECT

Re: [PHP] php, ajax and international application

2008-04-22 Thread Robert Cummings
On Tue, 2008-04-22 at 07:55 +0200, Alain Roger wrote: > Hi, > > Till now, i'm used to have a php file (for each language) to store all text > labels for my international application. > i tried with Ajax to improve it but it seems not so flexible at it promised. > my purpose was to limit the trans

Re: [PHP] php framework vs just php?

2008-04-22 Thread Robert Cummings
On Tue, 2008-04-22 at 17:25 +0800, paragasu wrote: > honestly, i never used any framework to do my coding. > i look into few popular framework like cakePHP and codeIgiter. > I did learn the tutorial but still decide whether to use it on my next > project. > > the thing is, i already develop few w

Re: [PHP] php framework vs just php?

2008-04-22 Thread Robert Cummings
On Tue, 2008-04-22 at 14:41 +0200, Paul Scott wrote: > On Tue, 2008-04-22 at 13:34 +0100, Richard Heyes wrote: > > Absolutely. Personally I use a lot of disparate libraries, a lot of them > > from PEAR. Doing this I've never found the need or the inclination to > > use a "framework". > > > > B

Re: [PHP] php framework vs just php?

2008-04-22 Thread Robert Cummings
On Tue, 2008-04-22 at 20:49 +0800, paragasu wrote: > > You get two kinds of framework in PHP IMHO - the Glue frameworks (like > > Chisimba, CakePHP etc) and the component frameworks (like PEAR, Zend > > Framework etc). > > > > personally i prefer to call "component framework" as "code library" =)

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Robert Cummings
On Tue, 2008-04-22 at 21:25 +0800, paragasu wrote: > > If you don't use a framework then obviously you are writing nothing but > > mickey mouse programs, and wouldn't stand a chance when it comes to > > writing > > a proper application. For example, I have just completed an ERP > > application > >

[PHP] Check it out

2008-04-22 Thread Robert Burdo
Check out knigifts.com -- Robert Burdo nuschooldesign.com

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Robert Cummings
On Tue, 2008-04-22 at 22:11 +0800, paragasu wrote: > >I'm guessing, since you quoted os-commerce and phpBB, you don't know > >shit code when you see it. Just because it's popular doesn't mean the > >code is good. Have you ever tried to modify either of these? What a > >mess. > honestly, i don't an

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Robert Cummings
On Tue, 2008-04-22 at 10:07 -0600, Nathan Nobbe wrote: > On Tue, Apr 22, 2008 at 9:54 AM, paragasu <[EMAIL PROTECTED]> wrote: > > > i can only think of copy & paste method if i were required to write a PHP > > application > > without a single line of code even a simple "hello world!" application.

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Robert Cummings
On Wed, 2008-04-23 at 01:02 +0800, paragasu wrote: > > imagine a cms, like drupal or joomla. you install the thing w/ the web > > based installer then go through adding content via the web interface; u > > can > > do it :D > > > > -nathan > > > > i am going to miss the fun doing programming then

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Robert Cummings
On Tue, 2008-04-22 at 19:05 -0500, Shawn McKenzie wrote: > Tony Marston wrote: > > ""Jay Blanchard"" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > [snip] > >>> You haven't answered the question. Where can this piece of wizardry be > >>> downloaded so that it can be reviewed

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Robert Cummings
On Wed, 2008-04-23 at 13:46 +0200, Aschwin Wesselius wrote: > Lester Caine wrote: > > 'If it isn't broken don't fix it' causes a problem when YOU know that > > the step change will make future development easier, but the customers > > keep asking - 'Can you just add XXX' :( > > So they actu

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Robert Cummings
On Wed, 2008-04-23 at 13:14 -0600, Nathan Nobbe wrote: > On Wed, Apr 23, 2008 at 1:01 PM, Eric Butera <[EMAIL PROTECTED]> wrote: > > > On Wed, Apr 23, 2008 at 2:49 PM, Nathan Nobbe <[EMAIL PROTECTED]> > > wrote: > > > interestingly, prototype claims it is a framework. > > > > http://www.google.c

Re: RES: [PHP] Big companies that use PHP?

2008-04-23 Thread Robert Cummings
On Wed, 2008-04-23 at 16:54 -0400, Wolf wrote: > Thiago Pojda <[EMAIL PROTECTED]> wrote: > > Thanks everyone for replying, I think those names can change someone's mind > > ;) > > > > -Mensagem original- > > De: mike [mailto:[EMAIL PROTECTED] > > Enviada em: quarta-feira, 23 de abr

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Robert Cummings
On Wed, 2008-04-23 at 16:50 -0500, Shawn McKenzie wrote: > Robert Cummings wrote: > > On Tue, 2008-04-22 at 19:05 -0500, Shawn McKenzie wrote: > >> Tony Marston wrote: > >>> ""Jay Blanchard"" <[EMAIL PROTECTED]> wrote in message >

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Robert Cummings
On Wed, 2008-04-23 at 20:32 -0500, Shawn McKenzie wrote: > > Robert Cummings wrote: > > On Wed, 2008-04-23 at 16:50 -0500, Shawn McKenzie wrote: > > > >> Robert Cummings wrote: > >> > >>> On Tue, 2008-04-22 at 19:05 -0500, Shawn McKenz

Re: [PHP] Newbie select statement questions 'WHERE'

2008-04-23 Thread Robert Cummings
On Wed, 2008-04-23 at 19:07 -0700, revDAVE wrote: > NEWBIE! I have some GET data coming from a previous search form. > > How do I add the WHERE part ? > > orig: > > $query_get1 = "SELECT p_First, p_id, p_Last, p_Lvl, p_Sel > FROM contacts"; > > --W / WHERE...??? > > $query_get1 = "SELECT

Re: [PHP] Class Static variables in double quoted string or heredoc

2008-04-25 Thread Robert Cummings
On Fri, 2008-04-25 at 10:14 -0600, Nathan Nobbe wrote: > On Fri, Apr 25, 2008 at 10:02 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > > > > > On Apr 25, 2008, at 11:56 AM, Nathan Nobbe wrote: > > > > On Fri, Apr 25, 2008 at 9:50 AM, Leurent Francois <[EMAIL PROTECTED]> > >> wrote: > >> > >> Is th

Re: [PHP] peer review (was php framework vs just php?)

2008-04-25 Thread Robert Cummings
On Fri, 2008-04-25 at 11:17 -0500, Jay Blanchard wrote: > I did a quick and dirty of just one of those functions. This function > takes a table and creates a form based on the table. It needs quite a > bit of refining, but I am willing to share and let you guys and gals > throw suggestions; > > fu

Re: [PHP] Class Static variables in double quoted string or heredoc

2008-04-25 Thread Robert Cummings
On Fri, 2008-04-25 at 10:55 -0600, Nathan Nobbe wrote: > > bah; concatenation operator - schmacatatenation operator! i dont really > care about that; but i would like to see support for $a::$someStatic come > back. thats what im whining about ;) That funny part, IMHO, is that on internals they o

Re: [PHP] Class Static variables in double quoted string or heredoc

2008-04-25 Thread Robert Cummings
On Fri, 2008-04-25 at 11:11 -0600, Nathan Nobbe wrote: > On Fri, Apr 25, 2008 at 11:01 AM, Robert Cummings <[EMAIL PROTECTED]> > wrote: > > > On Fri, 2008-04-25 at 10:55 -0600, Nathan Nobbe wrote: > > > > > > bah; concatenation operator - schmacatatenat

Re: [PHP] Class Static variables in double quoted string or heredoc

2008-04-25 Thread Robert Cummings
On Fri, 2008-04-25 at 11:29 -0600, Nathan Nobbe wrote: > On Fri, Apr 25, 2008 at 11:19 AM, Robert Cummings <[EMAIL PROTECTED]> > wrote: > > > > > On Fri, 2008-04-25 at 11:11 -0600, Nathan Nobbe wrote: > > > On Fri, Apr 25, 2008 at 11:01 AM, Robert Cumm

Re: [PHP] OS need anything for mail() to work?

2008-04-25 Thread Robert Cummings
On Fri, 2008-04-25 at 11:07 -0700, Brian Dunning wrote: > I'm running PHP 5.2.5 on OS X 10.5.2, and using the following code: > > ini_set('sendmail_from','[EMAIL PROTECTED]'); > ini_set('SMTP','working.server.com'); > mail('[EMAIL PROTECTED]', 'Subject', 'Message'); > > The servers and addresses

Re: [PHP] Class Static variables in double quoted string or heredoc

2008-04-25 Thread Robert Cummings
On Fri, 2008-04-25 at 12:25 -0600, Nathan Nobbe wrote: > On Fri, Apr 25, 2008 at 11:35 AM, Nick Stinemates <[EMAIL PROTECTED]> > wrote: > > > On Fri, Apr 25, 2008 at 01:19:58PM -0400, Robert Cummings wrote: > > > > > > I don't see how the throwing

Re: [PHP] Class Static variables in double quoted string or heredoc

2008-04-25 Thread Robert Cummings
On Fri, 2008-04-25 at 14:44 -0400, Eric Butera wrote: > On Fri, Apr 25, 2008 at 2:36 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > > On Fri, 2008-04-25 at 12:25 -0600, Nathan Nobbe wrote: > > > On Fri, Apr 25, 2008 at 11:35 AM, Nick Stinemates &l

Re: [PHP] Class Static variables in double quoted string or heredoc

2008-04-25 Thread Robert Cummings
On Fri, 2008-04-25 at 14:52 -0400, Eric Butera wrote: > On Fri, Apr 25, 2008 at 2:50 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > Why would anyone use htmlspecialchars() on a shell script? > > > > >:) > > Who uses a session in a cli script? Cron to d

Re: [PHP] peer review (was php framework vs just php?)

2008-04-25 Thread Robert Cummings
Wow, that's umm hideous. Cheers, Rob. On Fri, 2008-04-25 at 22:43 -0400, Bastien Koert wrote: > damn reply-all > > On 4/25/08, Ray Hauge <[EMAIL PROTECTED]> wrote: > > > > Jay Blanchard wrote: > > > >> I did a quick and dirty of just one of those functions. This function > >> takes a table and

Re: [PHP] Best practices for using MySQL index

2008-04-30 Thread Robert Cummings
On Wed, 2008-04-30 at 11:14 +0200, Aschwin Wesselius wrote: > Shelley wrote: > > Hi all, > > > > I am currently responsible for a subscription module and need to design the > > DB tables and write code. > > > > I have described my table design and queries in the post: > > http://phparch.cn/index.p

Re: [PHP] Question on PHP 6 and static calls to instance methods.

2008-05-03 Thread Robert Cummings
You would have better luck posing this question to the internals list: [EMAIL PROTECTED] Cheers, Rob. On Sat, 2008-05-03 at 17:32 -0400, Adam Richardson wrote: > I've incorporated use of the ability to call instance methods through > static calls, allowing for me to mimic multiple inherit

Re: [PHP] Web page excerpt editor

2008-05-04 Thread Robert Cummings
On Sun, 2008-05-04 at 17:27 -0500, Mike Potter wrote: > Oops, I replied to Paul only. > > On Sun, May 4, 2008 at 11:46 AM, Paul Scott wrote: > > > FCKEditor, TinyMCE and a host of others. All JS based, so not really > > relevant on a PHP list though > > Whereas, SnippetMaster *is* PHP-based.

Re: [PHP] Where to start!

2008-05-05 Thread Robert Cummings
On Mon, 2008-05-05 at 01:15 -0600, Jorge wrote: > First I would like to say that I have had PHP experience but not enough to > say I am a PHP developer. > > I want to use PHP to build a site that uses MySQL, I am building it from > scratch so I don't know where to start, should I start with PH

Re: [PHP] Re: Where to start!

2008-05-05 Thread Robert Cummings
On Mon, 2008-05-05 at 10:31 +0100, Tony Marston wrote: > "Richard Heyes" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > The database must be properly normalised otherwise it > >> will be difficult to get at the data you need in an efficient manner. > > > > Not true. If your n

Re: [PHP] Re: Where to start!

2008-05-05 Thread Robert Cummings
On Mon, 2008-05-05 at 11:10 +0100, Richard Heyes wrote: > Tony Marston wrote: > > "Richard Heyes" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > >>> The database must be properly normalised otherwise it > >>> will be difficult to get at the data you need in an efficient manner.

Re: [PHP] Re: Where to start!

2008-05-05 Thread Robert Cummings
On Mon, 2008-05-05 at 13:51 +0100, Tony Marston wrote: > "Richard Heyes" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >> I do not agree that creating a database which is normalised to3NF is a > >> waste of time. > > > > It isn't always, but it is sometimes. When time is a (sig

Re: [PHP] Phpstop.com project - wanna be a writer?

2008-05-05 Thread Robert Cummings
On Mon, 2008-05-05 at 09:08 -0400, tedd wrote: > >I have gotten hold of a very nice domain name ( phpstop.com ) and have > >thought of something nice I could do with it. Now, my idea is to start an > >E-ducation (online PHP education) website with some authors who know what > >they're talking abou

RE: [PHP] Phpstop.com project - wanna be a writer?

2008-05-05 Thread Robert Cummings
On Mon, 2008-05-05 at 15:17 +0200, Paul Scott wrote: > On Mon, 2008-05-05 at 15:12 +0200, Chris Haensel wrote: > > Maybe I can have you as a writer? ;o) And maybe 2 or 3 more of this list > > The "big names", ya know *g* > > Oh well, my name is only 4 letters so I guess I am out? ;) I was go

Re: [PHP] Phpstop.com project - wanna be a writer?

2008-05-05 Thread Robert Cummings
On Mon, 2008-05-05 at 09:34 -0400, Jason Pruim wrote: > On May 5, 2008, at 9:17 AM, Paul Scott wrote: > > > > > On Mon, 2008-05-05 at 15:12 +0200, Chris Haensel wrote: > >> Maybe I can have you as a writer? ;o) And maybe 2 or 3 more of this > >> list > >> The "big names", ya know *g* > > >

Re: [PHP] Where to start!

2008-05-06 Thread Robert Cummings
On Tue, 2008-05-06 at 13:42 -0400, tedd wrote: > At 10:14 AM -0400 5/6/08, Andrew Ballard wrote: > >On Tue, May 6, 2008 at 9:21 AM, tedd <[EMAIL PROTECTED]> wrote: > >I will respectfully (though strongly) disagree here, tedd. If you are > >building a guest book and all you need is a place to "stor

Re: [PHP] $_SESSION v. Cookies

2008-05-07 Thread Robert Cummings
On Wed, 2008-05-07 at 12:27 -0400, Scott Campbell wrote: > Dear PHP List, > > PHP 5, Apache2, MySQL 5, running on Ubuntu, viewing & deving with > FireFox and Konqueror (Linux). > > I am building a site with multiple tools and want to pass variables > throughout them all. Before, I was p

Re: [PHP] $_SESSION v. Cookies

2008-05-07 Thread Robert Cummings
On Wed, 2008-05-07 at 16:03 -0400, tedd wrote: > At 12:34 PM -0400 5/7/08, Robert Cummings wrote: > > > >The exception being when it performs cleanup. Cleanup should be > >relegated to a cron job. > > Rob: > > What clean-up? All the inactive session files..

Re: [PHP] $_SESSION v. Cookies

2008-05-07 Thread Robert Cummings
On Wed, 2008-05-07 at 14:29 -0600, Nathan Nobbe wrote: > On Wed, May 7, 2008 at 2:22 PM, Robert Cummings <[EMAIL PROTECTED]> > wrote: > > On Wed, 2008-05-07 at 16:03 -0400, tedd wrote: > > At 12:34 PM -0400 5/7/08, Robert Cummings wrote: >

Re: [PHP] Odd performance problem

2008-05-09 Thread Robert Cummings
On Wed, 2008-05-07 at 17:31 +0200, Joeri Sebrechts wrote: > Hello, > > While debugging a script that ran too slowly I came across something that I > can't explain. > > It is inactive code that when removed doubles the run time of the script. > > Specifically, the issue is a switch statement, w

Re: RES: [PHP] Odd performance problem

2008-05-09 Thread Robert Cummings
On Fri, 2008-05-09 at 08:42 -0300, Thiago Pojda wrote: > > Runs the same for me either way... under PHP4 and PHP5. You must have > a nice system, takes 22 seconds both ways on my Athlon 2400 :) Maybe it's because I use Evolution for my mail client and it has steadily increased it's CPU suckage ov

[PHP] Improving development process / help with developer setup

2008-05-10 Thread robert mena
Hi, I am looking for tips regarding improving the development process. I'll explain my current setup and please feel free to comment. My developers all use windows + eclipse PDT, the workspace is hosted (via samba) in a Linux server with Apache/PHP/MySQL. I am in the process of adopting Unit te

Re: [PHP] Re: How to determine if file is writable and deletable

2008-05-11 Thread Robert Cummings
On Sun, 2008-05-11 at 18:09 -0400, Al wrote: > I ended up using posix_access() which is what is_writeable() should be. > is_writeable() is virtually > useless. So you're saying is_writeable() shouldn't work on Windows systems? :p Seems you want is_writeable() to sing AND dance... perhaps too m

Re: [PHP] using variable in php form before the form is POSTed

2008-05-12 Thread Robert Cummings
On Mon, 2008-05-12 at 14:44 -0700, milt wrote: > I have a form that will be filled in by the user, I want to have access to > the content of one of the fields in that form, in order to fill in an > another variable that is not part of the form. this variable is used by a > routine when the for

<    26   27   28   29   30   31   32   33   34   35   >