Re: [PHP] Closure and $this

2011-01-12 Thread Greg Bair
. Thus, if it supported the $this variable, it would refer not to the class you want, but instead to the Closure class. Just my understanding. If it's not right, someone point it out. -- Greg Bair PHP Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Apache and PHP segfaults on Redhat EL5

2011-01-07 Thread Greg Bair
with a workaround. If all else fails, file a bug. -- Greg Bair PHP Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Job Search

2010-12-31 Thread Greg Bair
board at http://jobs.phpdeveloper.org/. -- Greg Bair PHP Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Printing PDF

2010-12-29 Thread Greg Bair
, but I am not familiar with them, so I thought I would ask you GURU's here :) thank in advance! Steve You could use the lpr command. Info here : http://www.marksanborn.net/linux/printing-from-the-linux-command-line/ Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] PHP Equivalent to Java Jar or Python Eggs

2009-11-26 Thread Greg Maruszeczka
files and thought this would be a cool, simple way to deploy the app. Yes; Greg Beaver has done a lot of work with PHAR, which is very similar. See http://au2.php.net/phar Cheers ...it's even bundled with PHP 5.3+ GM -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Netbeans IDE 6.5

2009-10-28 Thread Greg Maruszeczka
or customize any one of them to your heart's content. HTH, GM -- Greg Maruszeczka GnuPG-ID: 0x4309323E, http://pgp.mit.edu signature.asc Description: PGP signature

[PHP] Re: PEAR segfaulting

2009-10-19 Thread Greg Beaver
-Z DB This will download the uncompressed .tar and should work fine. If it does, look to fix your zlib install and re-build PHP. Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Greg Beaver
decided to include a borked zlib and apparently some still do for no good reason at all). Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Re: Re: Design Patterns

2009-08-13 Thread Greg Beaver
bottlenecks are by profiling aggressively, and even more important, why its slow, so you can fix it. Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP as Language

2009-07-24 Thread Greg Beaver
. Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] This is the kind of [expletives deleted] answer that iscertain to prevent bugs being reported.

2009-07-24 Thread Greg Beaver
acidic than the canned responses, and yes - if you have a suggestion for improving a canned response, it will be taken seriously. Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Renaming all variables in a repository

2009-07-23 Thread Greg Beaver
final scripts for posterity back on here. Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php/sqlite3

2009-07-08 Thread Greg Beaver
that points to the dir that contains the sqlite3.so.. however, when i run a test app using sqlite_open, i'm getting an error saying that the sqlite_open is undefined... so... my question.. how the heck can i resolve this issue! http://php.net/sqlite3.open Greg -- PHP General Mailing

[PHP] Re: Editing PEAR packages

2009-07-05 Thread Greg Beaver
public repository, it may be incorporated and help others in your situation as well (this is the point of PEAR and of open source). Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Editing PEAR packages

2009-07-05 Thread Greg Beaver
to create a patch to send back to the maintainer of the package. Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: namespace keyword

2009-07-02 Thread Greg Beaver
... should I change the const NAMESPACE in the class? Is it a reserved word? Yes. Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] OCSP DER encoding implemenation?

2009-06-19 Thread Greg Beaver
Hi, Does anyone have a non-GPLed implementation of DER encoding for an OpenSSL certificate authority OCSP request floating around, or even a basic DER encoder? Thanks, Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Rounded rectangle in php

2009-01-29 Thread Greg Bowser
of the circle that passes through them. Then use imagearc() to draw the rounded corner. -- Greg On Thu, Jan 29, 2009 at 8:36 AM, Jônatas Zechim zechim@gmail.comwrote: Hi there, is it possible do make a rounded rectangle in php, i can do a ellipse, but i need a space between the corners, i

Re: [PHP] implode()

2008-11-18 Thread Greg Bowser
$BannerSize = implode($_POST['BannerSize'], ','); Looks like you have your arguments backwards; try: $BannerSize = implode(',',$_POST['BannerSize']); --Greg

Re: [PHP] Query-within-a-query with mySQL/PHP

2008-10-25 Thread Greg Bowser
/refman/5.0/en/group-by-functions.html#function_group-concat -- GREG.

Re: [PHP] Source Code Analysis

2008-10-22 Thread Greg Bowser
Perhaps detecting if a variable has not been initialized within the code This is an E_NOTICE level error. ?php error_reporting(E_ALL); $foo++; ? [EMAIL PROTECTED] ~ $ php test.php Notice: Undefined variable: foo in /home/mario/test.php on line 3

Re: [PHP] WHERE is syntax doc'ed for saying: if (expr1 *OR* expr2 *AND* expr3)

2008-08-24 Thread Greg Bowser
a parentheses at the end: (stripos(strrev($file), gnp.) === 0) should be(stripos(strrev($file), gnp.) === 0)) -- GREG

Re: [PHP] PHP Runs But Does NOT Connect to MSSQL Server

2008-06-13 Thread Greg Maruszeczka
On Fri, 13 Jun 2008 10:32:22 -0400 Wei, Alice J. [EMAIL PROTECTED] wrote: Hi, Greg: I have just run the command [EMAIL PROTECTED] php-5.2.6]# php -m | grep mssql mssql It appears that my RPM is fully installed. I could ping to the machine, but I could not connect to it. I have set

Re: [PHP] PHP Runs But Does NOT Connect to MSSQL Server

2008-06-13 Thread Greg Maruszeczka
On Fri, 13 Jun 2008 10:41:54 -0500 Boyd, Todd M. [EMAIL PROTECTED] wrote: -Original Message- From: Wei, Alice J. [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2008 10:25 AM To: Greg Maruszeczka; php-general@lists.php.net Subject: RE: [PHP] PHP Runs But Does NOT Connect

Re: [PHP] PHP Runs But Does Not Display on Linux

2008-06-11 Thread Greg Maruszeczka
-related functions and restart apache. HTH, GM -- Greg Maruszeczka http://websagesolutions.com skype: websage.ca googletalk: gmarus Those who are possessed by nothing possess everything. -- Morihei Ueshiba -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] authentication verification

2008-05-29 Thread Greg Maruszeczka
/manual/en/ref.session.php -- Greg Maruszeczka http://websagesolutions.com skype: websage.ca googletalk: gmarus Those who are possessed by nothing possess everything. -- Morihei Ueshiba -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Hack question

2008-04-16 Thread Greg Bowser
I can sort of figure what is doing; but, I can't figure out what the hacker is using it for. It will allow him to upload and execute arbitrary code on your server. Generally speaking, arbitrary code execution is a bad thing. :). -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Socket create with ssl server

2008-04-10 Thread Greg Bowser
The sockets extension is a much lower level interface to sockets than the fsockets/stream_ functions in PHP. Unlike with the aforementioned, with the sockets extension, you can't just expect to magically get an ssl connection by using ssl://. Your problem is that the sockets extension has no

Re: [PHP] require_once dying silently

2008-04-09 Thread Greg Bowser
the above won't work, as the parser will try to interpret $CFG and put it in the string first, In that case, $CFG is either null, or it is indeed an object. If it is a standard object, which I it appears to be, then a fatal error will be thrown because there is no __tostring() function. If it's

Re: [PHP] limit mail() function

2008-04-08 Thread Greg Bowser
. Of course, in this case, you'd also probably want to make sure the real sendmail binary couldn't be executed and that users could not write to the file that keeps track of the rate-limit. -- Greg On Tue, Apr 8, 2008 at 12:37 PM, Jordi Moles [EMAIL PROTECTED] wrote: hello everyone, first of all... i'm

Re: [PHP] limit mail() function

2008-04-08 Thread Greg Bowser
, and cynicism now accomplished, permit me to offer my most sincere apologies for the above rude, and overly verbose post. -- Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] require_once dying silently

2008-04-08 Thread Greg Bowser
an error *shrugs* That's all I can think of. I hope it is of some use to you. ?php echo 'end brainstorm.'; ? ?php signature('GREG'); ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Arbitrary mathematical relations, not just hashes

2008-04-06 Thread Greg Bowser
On Sun, Apr 6, 2008 at 7:52 PM, Kelly Jones [EMAIL PROTECTED] wrote: Many programming languages (including Perl, Ruby, and PHP) support hashes: $color['apple'] = 'red'; $color['ruby'] = 'red'; $type['apple'] = 'fruit'; $type['ruby'] = 'gem'; This quickly lets me find the color or type of

Re: [PHP] Arbitrary mathematical relations, not just hashes

2008-04-06 Thread Greg Bowser
) ) ) Conceptually, this is all SQL does. Anyway... I wouldn't actually do any of that in an application. I'd probably go with what Casey suggested. -- GREG Disclaimer: The above is intended only to be conceptual. Any attempt at parsing may fail. Technical accuracy is not guaranteed. P.S. Sorry

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

2008-04-04 Thread Greg Bowser
at the current position and increments the file pointer by 1. I haven't tried this, but perhaps using strpos would be faster? Use strpos to seek to find the first \n, then use the offset parameter to seek to the second, and so on, until strpos() returns false. --GREG

[PHP] Re: [PHP-DB] php4 to php5

2008-04-03 Thread Greg Bowser
useful: $_REQUEST. $_REQUEST consists of variables from $_GET,$_POST,$_COOKIE (in that order, I believe). http://us3.php.net/manual/en/reserved.variables.php http://us3.php.net/manual/en/ini.core.php#ini.register-globals --GREG On Thu, Apr 3, 2008 at 6:40 PM, ioannes [EMAIL PROTECTED] wrote: I

Re: [PHP] Array and Object

2008-03-24 Thread Greg Bowser
Take a look at array_walk(), array_walk_recursive(), array_map() in the PHP manual. On Mon, Mar 24, 2008 at 2:04 PM, tedd [EMAIL PROTECTED] wrote: At 10:23 AM -0700 3/24/08, VamVan wrote: Well anyways please let me handle the problems with decoding.mail.com wrote: At 10:00 AM -0700

Re: [PHP] Array and Object

2008-03-24 Thread Greg Bowser
That top post was totally not I... It was my roommate playing with my computer *nods*.

Re: [PHP] De-Duplicate A Query Result List

2008-03-23 Thread Greg Bowser
Sounds like you want something like the following: SELECT DISTINCT category FROM `contacts` WHERE state='california'; --GREG

[PHP] ob_start: Capturing STDOUT and STDERR

2008-03-23 Thread Greg Sims
to create a self contained script that does not rely on some external script to capture the output. The actual application needs to perform some post-processing of the output buffer at the end of the script. Any pointers in the correct direction would be helpful! Thanks, Greg -- PHP General

Re: [PHP] strange list behavior when replying to message on list

2008-03-22 Thread Greg Bowser
Yeah. I always forget to reply to all. The problem is with the headers. Whereas other lists have a reply-to: mailing list address in the email headers, this list does not. It annoys the hell out of me. On Sat, Mar 22, 2008 at 11:13 AM, Mark Weaver [EMAIL PROTECTED] wrote: Hi all, I'm

Re: [PHP] What's wrong the __autoload()?

2008-03-19 Thread Greg Donald
://medcentertoday.com/ Caste Contractors - http://castlecontractors.com/ Filmhouse.com - http://filmhouse.com/ EZsweeps - http://ezsweeps.com/ LuckyShop - http://ezsweeps.com/shoppingnew.php Maybe you like RoR more because you suck at PHP. Maybe you're a fucking retard. -- Greg Donald http://destiney.com

Re: [PHP] PHP 5 file_get_contents() problems

2008-03-18 Thread Greg Bowser
The actual setting is allow_url_fopen. allow_url_include controls whether or not you can use a remote URL as an include (however, if allow_url_fopen is off, then allow_url_include will also be off.) The short answer to your question is: yes, there is a way. Several ways, in fact. You could use

Re: [PHP] PHP 5 file_get_contents() problems

2008-03-18 Thread Greg Bowser
for security reasons, allow_url_include can only be set from the main php.ini On Tue, Mar 18, 2008 at 10:22 AM, Thijs Lensselink [EMAIL PROTECTED] wrote: Quoting Chris [EMAIL PROTECTED]: I've encountered a situation where under PHP 5 the file_get_contents() function will not work properly

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Greg Donald
with anything in technology? Please keep your animal pr0n to yourself. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Greg Donald
a new model or controller is really fast. It really is awesome. :) -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Greg Donald
On 3/13/08, Robert Cummings [EMAIL PROTECTED] wrote: Because PHP is the dog and Ruby is the cat? Yeah, I guess. I have several cats. Indeed they are fast, sleek, and smart just like Ruby. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Greg Donald
seriously can't follow your ramblings. I will admit that the PHP Internals list can get pretty heated as well, but those arguments are usually based on technical opinions and not religious fervor for the language*. Point? -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Greg Donald
On 3/13/08, Robert Cummings [EMAIL PROTECTED] wrote: So... there we have it everyone... Greg has admitted that Ruby is as smart as a cat. Hahaha.. yeah, you really got me on that one. /me slaps his knee. I like something a little more edgy personally. Something closer to human

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
to admit ignorance and ask how a class is being defined when __autoload() is being used. That's a the dumbest reason I've ever heard to not use a given language feature. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] strtotime( 'last Sunday' ) and republicans

2008-03-12 Thread Greg Donald
On 3/10/08, Wolf [EMAIL PROTECTED] wrote: Watch throwing that blame around there Greg, you get to thank the democrats for NAFTA and the hurting the heartlands No matter where we draw the borders or put the roads and highways, it's still just the one planet, with the same finite resources we

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
environments if you have something that doesn't fit into dev/test/prod very easily. Complete versatility in every regard thanks to Ruby's meta-ness. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
on the new Diablo III like we had planned to do, the new hires down the hall don't understand them very well so just don't use them, OK? -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
a given feature just because you don't want to invest 20 minutes in getting your newbie developer up to spead? That's pure idiocy. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
of Ruby code under my belt that allows me to properly develop an opinion of Ruby and Rails and how they both compare to every other programming language and framework I know and have developed in. Need a URL? -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
get it and I'm done trying to help you get it. Good luck codling your lesser developers. May they never learn jack on their own. *sigh* -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
language feature. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
given the language more than a few minutes of your time. Running through some silly little 5 minute Rails scaffolding tutorial will in no way teach you the real power that exists in Ruby. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Zoltán Németh [EMAIL PROTECTED] wrote: I can't really think of a case where I would want to modify the class definition of an instantiated object You can't very well think to walk if you don't have legs. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
unaware of 4-wheel drive. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Nathan Nobbe [EMAIL PROTECTED] wrote: On Wed, Mar 12, 2008 at 3:59 PM, Greg Donald [EMAIL PROTECTED] wrote: I'm sorry, I lost context, what missing PHP language feature are you referring to as it? functional capabilities, in particular the ability to dynamically add a method

Re: [PHP] Frameworks

2008-03-12 Thread Greg Donald
On 3/12/08, Aschwin Wesselius [EMAIL PROTECTED] wrote: What I'm after is a framework that is simple, solid, compact and flexible enough to extend by myself. http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks#Comparison_of_features -- Greg Donald http://destiney.com

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
recently became a virtue. get over yourself. You first. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Aschwin Wesselius [EMAIL PROTECTED] wrote: -5 for not keeping this kind of childish behavior of the list (both of you) Playing the game by claiming the game is wrong to play is still playing the game. -1 for playing the game hypocritically. -1 for thinking -5 exists. -- Greg

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
That SHOULD be part of any developers mandate... but not blindly. If by blindly you mean fun, fast, test-driven, productive development, then yeah I guess so. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Robert Cummings [EMAIL PROTECTED] wrote: You're new around here right? Hehe. For sure. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Dave Goodchild [EMAIL PROTECTED] wrote: Will you two pricks cut it out. How fucking tedious. Tedious? Sorry. /me passes the buddhamagnet a dictionary so he can keep up. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] save image in database vs folder

2008-03-11 Thread Greg Donald
for me however, some header/include error.. maybe there's a mirror or a cache of it some place. Or perhaps you can persuade Zend to fix it back to a working state. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Know a JS list serve

2008-03-11 Thread Greg Donald
on irc.freenode.net have never once failed me when I was stumped. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why use session_register()?

2008-03-10 Thread Greg Donald
to it's use. http://php.net/session_register -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] strtotime( 'last Sunday' ) and republicans

2008-03-10 Thread Greg Donald
83,293,874,713 people will post the same correct code by the end of the day tomorrow. No one runs PHP4 except _my_ clients anyway. *shrug* -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CSV speed

2008-03-10 Thread Greg Donald
there? I'm starting to think it would make a lot of sense. What do you guys think? grep foo whatever.csv | php ./script.php -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RewriteRule help

2008-03-01 Thread Greg Donald
On 3/1/08, Shelley [EMAIL PROTECTED] wrote: Anybody knows what apache RewriteRule to use if I want url: http://www.aaa.comm/user// be rewritten as: http://www.aaa.comm/user/index.php// RewriteRule ^user/([-a-zA-Z0-9]+)$ /index.php?user=$1 [NC,L] -- Greg Donald http

Re: [PHP] output buffering in CLI script.

2008-02-29 Thread Greg Donald
On 2/28/08, Casey [EMAIL PROTECTED] wrote: #!/usr/bin/php Or the entirely more portable version: #!/usr/bin/env php ?php -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] string effect

2008-02-29 Thread Greg Donald
='...' ) { if( strlen( $string ) $length ) $string = substr( $string, 0, $length ) . $ending ; return $string; } -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php with modified version of sqlite

2008-02-29 Thread Greg Donald
of sqlite, php is calling? Thanks for any advice PHP can use whatever version of SQLite you compile it against. I do believe SQLite version 3 is the current popular version. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] string effect

2008-02-29 Thread Greg Donald
++ ) { if( preg_match( /[[:space:]]/, $array[ $x ] ) ) { $counter = 0; } else { $counter++; } $newText .= $array[ $x ]; if( $counter = $maxLength ) { $newText .= ' '; $counter = 0; } } return $newText; } -- Greg Donald http://destiney.com

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Greg Donald
On 2/28/08, Nathan Rixham [EMAIL PROTECTED] wrote: what ide's editor's do you two use? zend's use of javaw is killing my win2k3 dev machine anyways. # dd if=/dev/tty of=/dev/hda1 And then sometimes I also use vim. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Greg Donald
On 2/27/08, Robert Cummings [EMAIL PROTECTED] wrote: *lol* Look at the examples on the page... aks yourself if you enjoy typing 2 to 3 times as much to do the same thing. *lol* This is one of the same reasons why I'm using Ruby on Rails more and PHP less, all the time. -- Greg Donald http

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Greg Donald
On 2/27/08, Robert Cummings [EMAIL PROTECTED] wrote: RoR is a framework, not a language. Really? I had not heard that previously. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Greg Donald
On 2/27/08, Nathan Nobbe [EMAIL PROTECTED] wrote: ya; rob; greg is like the new dude on the witty block; better pack something good for a comeback :O my heads still smoking while i try to think up something moderately so ~:( I'm not gonna just sit here and watch someone *lol* comparing

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Greg Donald
On 2/27/08, Matty Sarro [EMAIL PROTECTED] wrote: Psh, if you're going to talk about RoR, might as well talk about PoP... Python on Planes! http://developers.slashdot.org/article.pl?sid=07/04/01/176239 Yeah, I love me some good April Fool's jokes, especially the 4 year old variety. -- Greg

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Greg Donald
on your math skills my friend. And your humor skills as well :) My point is it's old news. And it wasn't funny then either. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Greg Donald
On 2/27/08, Robert Cummings [EMAIL PROTECTED] wrote: So is ASP really a framework? .Net has upwards of 70K classes. If that's not a framework then I dunno what is. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Greg Donald
On 2/26/08, Ray Hauge [EMAIL PROTECTED] wrote: I'm just glad there's a lot of sinners out there, or at least people who aren't that crazy :) They're called hypocrites. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] PHP Newbie List

2008-02-26 Thread Greg Donald
On 2/26/08, revDAVE [EMAIL PROTECTED] wrote: Rather than bug folks on this cool list for beginner questions - does anyone know of a good PHP Newbie email List? The newbie list idea was shot down multiple times over the years. Ask here. -- Greg Donald http://destiney.com/ -- PHP General

Re: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread Greg Donald
actually used it towards Texans who didn't know or care that he was also a native Texan by birth. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Newbie List

2008-02-26 Thread Greg Donald
On 2/26/08, Daniel Brown [EMAIL PROTECTED] wrote: Speak for yourself. My code is always 100% spotless, efficient, and runs the first time, completely bug-free, every single time, as it has for years. Well, in Ruby on Rails, it has this.. nevermind. -- Greg Donald http

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread Greg Donald
://search.securityfocus.com/swsearch?query=joomlametaname=alldoc And the 280+ exploits when it was called Mambo: http://search.securityfocus.com/swsearch?query=mambometaname=alldoc -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Re: temporary error

2008-02-23 Thread Greg Donald
On 2/22/08, Robert Cummings [EMAIL PROTECTED] wrote: That's pretty funny... but why rewrite a great fantasy? It started as a sort of a dare from one of my bright friends. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: temporary error

2008-02-23 Thread Greg Donald
that inhibit natural advances in modern science? Do you really believe in virgin birth and resurrection? -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: temporary error

2008-02-23 Thread Greg Donald
a lot of something in an orderly fashion does not prove existence. god's like wind, can't see it but it still blows your bin over so you know it's there. Good, now I know who to blame when a tornado takes out a trailer park in the southern bible belt. -- Greg Donald http://destiney.com

Re: [PHP] Re: temporary error

2008-02-23 Thread Greg Donald
I love what Steven Weinberg, the Nobel Prize-winning physicist said, Religion is an insult to human dignity. With or without it, you'd have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion. -- Greg Donald http

Re: [PHP] Re: temporary error

2008-02-23 Thread Greg Donald
which can be used against unintelligible propositions. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: temporary error

2008-02-23 Thread Greg Donald
Sagan's best: 'If by God one means the set of physical laws that govern the universe, then clearly there is such a God. This God is emotionally unsatisfying... it does not make much sense to pray to the law of gravity.' -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] More than one values returned?

2008-02-22 Thread Greg Donald
your obviously immature and uninformed claim. Oh wait.. I am indeed waiting, where's your code? When, and under what circumstances exactly, is getting back an array of objects from a function or method call poor design ? Please, do tell. -- Greg Donald http://destiney.com/ -- PHP General

Re: [PHP] Re: temporary error

2008-02-22 Thread Greg Donald
On 2/22/08, Daniel Brown [EMAIL PROTECTED] wrote: So help me God Speaking of imaginary things, check out this new site I built few weeks back: http://rewriteproject.com/ I do believe I am the first person to ever tag cloud a bible :) -- Greg Donald http://destiney.com/ -- PHP General

Re: [PHP] More than one values returned?

2008-02-21 Thread Greg Donald
) Django: foo = Foo.objects.all() ZF: $foo = new Foo(); $foo-fetchRow( $foo-select() ); All return arrays of objects. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Php warning message

2008-02-20 Thread Greg Bowser
the modulus operator; he's trying to make every other line a different color. :) -- Greg

  1   2   3   4   5   6   7   8   9   10   >