Re: [PHP] More than one values returned?

2008-02-19 Thread Greg Donald
On 2/18/08, Robert Cummings [EMAIL PROTECTED] wrote: I'd just return arrays unless I had a specific need for incurring object overhead for such simple datatypes. w0rd. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] More than one values returned?

2008-02-19 Thread Greg Donald
, 2 end a, b = foo In Python: def foo return 1, 2 a, b = foo In Perl: sub foo { return (1, 2); } (my $a, my $b) = foo; -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] More than one values returned?

2008-02-19 Thread Greg Donald
On Feb 19, 2008 5:23 PM, Steve Edberg [EMAIL PROTECTED] wrote: For completeness sake, this is pretty much the same in PHP: function test() { return array(1,2); } list($a,$b) = test(); Yup, just a few more keystrokes is all. -- Greg Donald http://destiney.com/ -- PHP

Re: [PHP] What community software package gets your vote? PHPfox etc...

2008-02-19 Thread Greg Donald
?sbm=%2Fmetaname=alldocquery=phpfoxx=0y=0 Two exploits doesn't seem bad, but in what time span were they? Something to think about. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] More than one values returned?

2008-02-19 Thread Greg Donald
%28computer_science%29#Parallel_assignment Please read my other post which explains the reasoning. Your reasoning is shit. min, max = 0, 0 is beautiful. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Protected ZIP file with password

2008-02-18 Thread Greg Donald
On 2/18/08, Shawn McKenzie [EMAIL PROTECTED] wrote: cd /usr/ports/archivers/zip make install clean zip pkg_add -r zip done. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Protected ZIP file with password

2008-02-18 Thread Greg Donald
-release/Latest/zip.tbz' by URL Works fine for me on 6.3-RELEASE. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Protected ZIP file with password

2008-02-18 Thread Greg Donald
On 2/18/08, Shawn McKenzie [EMAIL PROTECTED] wrote: Sure, if you want to miss all the linker and compiler goodies :-) I'm guessing that'd be non-issue for an obviously inexperienced FreeBSD user. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Template system in PHP

2008-02-12 Thread Greg Donald
are working. Additionally, they provide the opportunity to punt anything not necessary at run-time to pre-compiled HTML. Your solution to templating is XML? -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Template system in PHP

2008-02-12 Thread Greg Donald
. I'm guessing this news just hasn't made it into any PHP frameworks yet. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Template system in PHP

2008-02-12 Thread Greg Donald
On Feb 12, 2008 3:37 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: well thats what xslt is, which is pretty nice. /me point Nathan to http://en.wikipedia.org/wiki/Rhetorical_question XSLT sucks, complete overkill. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] Template system in PHP

2008-02-12 Thread Greg Donald
On Feb 12, 2008 3:32 PM, Christoph Boget [EMAIL PROTECTED] wrote: As an aside, you can save lines when debugging by doing: echo 'pre' . print_r( $var, TRUE ) . '/pre'; OMG, thanks for that. Lines are so expensive nowadays and all. -- Greg Donald http://destiney.com/ -- PHP General

Re: [PHP] Template system in PHP

2008-02-12 Thread Greg Donald
this to my PHP projects: function debug( $var ) { echo 'pre'; print_r( $var ); echo '/pre'; } -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Template system in PHP

2008-02-12 Thread Greg Donald
On Feb 12, 2008 2:57 PM, Robert Cummings [EMAIL PROTECTED] wrote: I prefer content formatting encapsulation as provided by custom tags. Decorators? -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Template system in PHP

2008-02-12 Thread Greg Donald
On 2/12/08, Xavier de Lapeyre [EMAIL PROTECTED] wrote: Do any of you guys gurls know of a way to implement that template system. eval() is my favorite templating engine. http://php.net/eval -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP Source code protection

2008-02-11 Thread Greg Donald
. In principle I'd at least want something that costs less than it's equivalent decoder. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Recommended ORM for PHP

2008-02-07 Thread Greg Donald
/ At this point I've successfully hooked it up to Oracle, MySQL, PostgreSQL, and SQLite. greg, thoughts ? I like pie. Martin Fowler +1, if you're a software developer and don't own any books by him, you should. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP Source code protection

2008-02-07 Thread Greg Donald
in their possession, they will find a way. Deductive reasoning leads to two possible options: 1) Don't give the code to anyone. 2) Give the code to the client and accept the fact that it may get pirated. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP Source code protection

2008-02-07 Thread Greg Donald
On 2/7/08, Daniel Brown [EMAIL PROTECTED] wrote: Actually, Greg, I respectfully disagree. First, just because there may be ways to reverse-engineer things doesn't mean it's a bad idea to attempt to protect your code against such. Why would you encode to start with? The only reason I can

Re: [PHP] PHP program to download sites

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

Re: [PHP] Recommended ORM for PHP

2008-02-06 Thread Greg Donald
query in production. A one-time query to discover the field types is not a performance hit. -- 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 Source code protection

2008-02-06 Thread Greg Donald
On 2/6/08, Richard Heyes [EMAIL PROTECTED] wrote: There's the Zend Encoder at www.zend.com. Though it may be called something else now. Pointless. http://www.phprecovery.com/ -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] PHP Source code protection

2008-02-06 Thread Greg Donald
On 2/6/08, Greg Donald [EMAIL PROTECTED] wrote: On 2/6/08, Richard Heyes [EMAIL PROTECTED] wrote: There's the Zend Encoder at www.zend.com. Though it may be called something else now. Pointless. http://www.phprecovery.com/ http://www.zendecode.com/ I'm sure there are others. -- Greg

Re: [PHP] shopping carts

2008-02-06 Thread Greg Donald
On 2/6/08, nihilism machine [EMAIL PROTECTED] wrote: that does not help, none specify whether they have a custom fields option or not. Wah.. why won't anyone do my research for me? -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] New search related question

2008-02-04 Thread Greg Donald
On 2/4/08, Jason Pruim [EMAIL PROTECTED] wrote: Is there anything wrong with the way I'm thinking? Or is it that there is a better way to search through a static HTML site? http://www.htdig.org/ -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: New search related question

2008-02-04 Thread Greg Donald
was the best search tool then why did slocate get invented? A. Indexes. A MySQL index doesn't go away in between requests. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pass Variable Names to a Function

2008-02-01 Thread Greg Donald
to use $var as a variable name, rather than a value. What am I missing, please? means interpolate the contents. '' means use the literal content. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] array iteration vs. ArrayIterator

2008-02-01 Thread Greg Donald
iteration, in fact it quite a bit slower! also, it takes up more memory, and lastly, whoever said that using the array-by-reference syntax saves memory is dead wrong ;) Thanks for the benchmark. Makes me feel better having previously dismissed SPL for wordy, java-like syntax only. -- Greg

Re: [PHP] PEAR website and MSIE 6

2008-02-01 Thread Greg Donald
On Jan 31, 2008 7:04 AM, Eric Butera [EMAIL PROTECTED] wrote: IE8 passes Acid2. :) They make a salve for that I heard. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Calling All Opinionated ******** ....

2008-02-01 Thread Greg Donald
when is learning something new a crime? Why are you even a programmer? ZF works fine if you don't mind all the bloated OO PHP. Use it or don't. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] first php 5 class

2008-01-31 Thread Greg Donald
On Jan 30, 2008 7:21 PM, Jochem Maas [EMAIL PROTECTED] wrote: Greg's my hero of the day - even if he has been banging the Ruby drum on the PHP Stage half the night ;-) PHP is a great language. I don't plan to stop using it anytime soon. -- Greg Donald http://destiney.com/ -- PHP General

Re: [PHP] first php 5 class

2008-01-30 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] first php 5 class

2008-01-30 Thread Greg Donald
if your into meta-languages or language creation in general. http://destiney.com/blog/play-with-perl6-mac-os-x-leopard -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
and is certainly not for everyone. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
XML. Perfect example of an advance in web technology. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
) Model validations extend into the view. No re-mapping of variables like with Smarty or some others I've tried. 7) The REST architecture is built-in to Rails. No more SOAP, unless you want it of course. No one's using it but it's there. -- Greg Donald http://destiney.com/ -- PHP General

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
. Similar savings are to be had when comparing PHP to most anything except Java. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
to multiple load balanced web servers, recipe style. Supports SSH, Subversion, web server clustering, etc. And the best thing about Capistrano is that it isn't Rails specific, you can use it for any sort of code rollout. The recipes are written in Ruby not some silly contrivance like XML. -- Greg

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
On Jan 30, 2008 12:40 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: java is awesome, it just hasnt worked out for me career wise. If you like Java then stick with PHP as that's where the syntax is clearly headed: http://www.php.net/~helly/php/ext/spl/ -- Greg Donald http://destiney.com/ -- PHP

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
On 1/30/08, Nathan Nobbe [EMAIL PROTECTED] wrote: On Jan 30, 2008 2:38 PM, Greg Donald [EMAIL PROTECTED] wrote: If you like Java then stick with PHP as that's where the syntax is clearly headed: http://www.php.net/~helly/php/ext/spl/ ive been studying spl a lot recently. actually, last

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
On 1/30/08, Nathan Nobbe [EMAIL PROTECTED] wrote: On Jan 30, 2008 2:55 PM, Greg Donald [EMAIL PROTECTED] wrote: If you only need to test data integrity then it seems good enough. I would argue that being able to test xhr requests is a basic requirement at this stage in web development

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
into the language. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
just fire up your local `gem server` and browse to http://localhost:8808/ to view complete api docs, offline or on. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
on the fly using the gem's Ruby code itself. As a result you can't not get current api docs when you install a gem. -- 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-compiling PHP on Mac OS X

2008-01-23 Thread Greg Donald
will find most all of them in Macports. `port search xml|grep lib` shows a lot of results. Here's how I built mine the day I blog'd it: http://destiney.com/blog/php-4-5-macos-x -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] ldap_bind() issue

2008-01-11 Thread Greg Donald
libs.. but what exactly is the mystery. ldap_bind()'s Error unknown message isn't very helpful. Meanwhile another project of mine, on that same server, uses ruby-ldap and works just fine. Or did you sanitize this before you posted?... Had to, yes. -- Greg Donald http://destiney.com/ -- PHP

[PHP] ldap_bind() issue

2008-01-11 Thread Greg Donald
can try? I've already tried everything Google has to offer on the issue and am still stuck. Thanks, -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Securing PHP

2007-10-22 Thread Greg Donald
On 10/22/07, Philip Thompson [EMAIL PROTECTED] wrote: One resource: http://phpsec.org/ I find it very helpful to look at the actual exploits and understand why they work: http://www.securityfocus.com/swsearch?metaname=alldocquery=php -- Greg Donald http://destiney.com/ -- PHP General

Re: [PHP] problem with foreach

2007-10-22 Thread Greg Donald
(any other problems aside). If you like to keep error What warning/notice? What other problems? reporting on, you can just use an @ to suppress that error. Errors should be handled not suppressed. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: newbie questions

2007-10-21 Thread Greg Donald
: http://dev.mysql.com/doc/refman/5.0/en/insert-delayed.html -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] combining 2 arrays

2007-10-16 Thread Greg Donald
On Tue, 16 Oct 2007, Paul Scott wrote: You could try something like: $result[] = $arrayDB1; $result[] .= $arrayDB2; That .= doesn't do what you think it does when used with arrays. -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http

Re: [PHP] How can i only fetch a (rss/atom) feed when it's changed?

2007-10-03 Thread Greg Donald
the remote file has changed. -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: the opposite of a join?

2007-10-03 Thread Greg Donald
On Wed, 3 Oct 2007, Robert Cummings wrote: I'd use the left join whenever available. Similarly, I design for the left join whenever possible. -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Beginner Tutorials for using CLASSES in PHP4

2007-09-29 Thread Greg Maruszeczka
PHP5-only but studying projects like Symfony and the new Zend Framework have really helped my understanding quite a bit. Of course, the usual disclaimers apply. HTH, GM -- Greg Maruszeczka Websage Solutions http://websage.ca skype: websage.ca -- PHP General Mailing List (http://www.php.net

[PHP] date weirdness

2007-09-18 Thread Greg Donald
++ ) { $seconds = LAST_SUNDAY + ( SECONDS_IN_A_DAY * $x ); $date = date( 'n/j', $seconds ); echo $seconds $date\n; } I get the same results with latest PHP4 and PHP5. -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] $ SERVER[REQUEST URI] includes domain unexpectedly

2007-09-15 Thread Greg Donald
-name.com/some-html-file.html basename() will assist you in getting the last part of the $_SERVER['REQUEST_URI'] path.. seems like that's what you're after. http://php.net/basename -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http

Re: [PHP] split in to multiple pages (I think)

2007-09-15 Thread Greg Donald
offset/limit parameters. -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Getting line count of a text file

2007-09-13 Thread Greg Donald
/can as well the assumption here, is that you're getting into complex stuff.. I haven't made any assumptions. Seems the other way around entirely. -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] GD Library

2007-09-13 Thread Greg Donald
outdated. -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Publxic Announcement

2007-09-12 Thread Greg Donald
to me. It is written by some very smart Russians.. -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Getting line count of a text file

2007-09-12 Thread Greg Donald
remains a secret, but without a doubt, someday someone _will_ crack it. I personally hope this occurs before the renaming of PHP to Java. -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Public Announcement

2007-09-11 Thread Greg Donald
mod_rewrite variety. http://wiki.codemongers.com/NginxHttpRewriteModule -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread Greg Donald
On Sat, 8 Sep 2007, mike wrote: although handing off to a templating engine/presentation layer would be even better of course. eval() is my favorite templating engine. -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Buxa Coding Guidelines

2007-09-08 Thread Greg Donald
code that strict? I don't put PHP in my HTML. I use PHP to build my HTML, using heredoc syntax while doing so. My scripts usually only have a single ?php opening tag and never require any closing ? tags. Code that contains short open tags or instances of ?= is amatuer in my opinion. -- Greg

Re: [Fwd: Re: [PHP] PHP Developer Required]

2007-09-05 Thread Greg Gay
=blogcategoryid=26Itemid=109 greg mlists wrote: A university, which hypes the need for an education, charges a fortune for it (causing people to go into massive debt to get it), and then turns around an offers less than a living wage is hypocritical. Becoming university staff takes a couple years

Re: [Fwd: Re: [PHP] PHP Developer Required]

2007-09-05 Thread Greg Gay
Dan Shirah wrote: My only question is.is that $50,000 Canadian dollars or American? :) It's in Canadian dollars. Though there's not much difference between Canadian and American dollars any more. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [Fwd: Re: [PHP] PHP Developer Required]

2007-09-05 Thread Greg Maruszeczka
On Wed, 5 Sep 2007 14:35:10 -0400 Daniel Brown [EMAIL PROTECTED] wrote: On 9/5/07, Robert Cummings [EMAIL PROTECTED] wrote: Well $2,500 is $2,500... no arguing that. But 6 years ago you'd have gotten about $40,000 and that certainly made a BIG difference :) Here, here. Don't

Re: [PHP] Command line socket server and SSL

2007-09-05 Thread Greg Donald
.. and with much better performance. -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Command line socket server and SSL

2007-09-05 Thread Greg Donald
wants to use php with openssl but omit the web server component. Do you have anything to offer in answer to my question to the list that actually might help? Have you tried using the openssl s_server directly? -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP

[Fwd: Re: [PHP] PHP Developer Required]

2007-09-04 Thread Greg Gay
a rather poor comparison. How much do you think he really makes an hour, after paying expenses out of that $99? And of course 4% isn't a bonus. Contract workers are paid that weekly, while staff accumulate it so they can take holidays and get paid. greg Robert Cummings wrote: On Mon, 2007-09-03

Re: [PHP] urldecode header

2007-09-04 Thread Greg Donald
$msg however you like and send it somewhere else with another header() call. -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Command line socket server and SSL

2007-09-04 Thread Greg Donald
Refused\n; break; case 1: echo [+] Connected\n; break; case 0: echo [-] Timeout\n; break; } -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Dealing with auto-increment in MySQL

2007-09-03 Thread Greg Donald
use unsigned ints for maximum range. -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Developer Required

2007-08-31 Thread Greg Gay
Title: Web Applications Developer Open August 30, 2007, Closing September 14, 2007 Formal Education: University Degree in computer science/engineering or related discipline Employer: University of Toronto, Faculty of Information Studies, Adaptive Technology Resource Centre, Description: Under

Re: [PHP] Building Web Site with Member Area in PHP (and MySQL) - Howto

2007-08-28 Thread Greg Donald
On 8/28/07, Jay Blanchard [EMAIL PROTECTED] wrote: Google is your friend http://www.google.com/search?hl=enq=PHP+MySQL+login Everyone knows that already, even Google. http://www.google.com/search?q=google+is+your+friend -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-24 Thread Greg Donald
thoughts on this? What would be interesting is if a group picked up PHP4 and kept going with it in spite of the end of life announcement a few weeks back. I wonder if the PHP license would allow such a thing. How open is it exactly? -- Greg Donald http://destiney.com/ -- PHP General Mailing List

Re: [PHP] string as file

2007-08-09 Thread Greg Donald
to $var1 and $var2 include that file. I can later use different values for $var1 and $var2 and get a different $out with a second include. eval() -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ORM framework suggestion

2007-08-08 Thread Greg Donald
-programming capabilities. PHP wins no points in that area. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] javascript in head or in body ?

2007-08-07 Thread Greg Donald
?Chapter=' + val ; } /script w3 says it can appear in either: snip The SCRIPT element places a script within a document. This element may appear any number of times in the HEAD or BODY of an HTML document. /snip http://www.w3.org/TR/html4/interact/scripts.html#h-18.1 -- Greg Donald http

Re: [PHP] javascript in head or in body ?

2007-08-07 Thread Greg Donald
think you just want something to bitch about. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] javascript in head or in body ?

2007-08-07 Thread Greg Donald
, etc. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] javascript in head or in body ?

2007-08-07 Thread Greg Donald
quality with regard to OO. PHP is a cluster-fuck in comparison to pretty much anything out there.. except maybe Perl's OO. And go look at PHP SPL, and tell me that's not Java by another name. PHP is the absolute worst language to do any sort of OO programming in. -- Greg Donald http

[PHP] Can anyone point me toward some useful resources?

2007-08-06 Thread greg patmore
Hi all, I was wondering if anyone could point me toward some good resources regarding suggestions on handling user preferences over a cluster in a heavy traffic website. Online resources are preferable:-), but thanks for any help you could give. Regards, Greg

Re: [PHP] Creating watermarks

2007-08-04 Thread Greg Donald
mark to be added. How would one go about doing that? You can write words on images using imagettftext(). -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Symfony versus CakePHP?

2007-07-21 Thread Greg Donald
apps, sample data, and the like. It's a gazillion times lighter weight than XML and just as easy to use as JSON. Much like anything opensource, don't let the name scare you, YAML is good stuff. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Symfony versus CakePHP?

2007-07-21 Thread Greg Donald
easily. I started off using it for simple things like email address validation and sending HTML emails. You certainly don't have to use the whole thing to get some very good uses from it. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Compiling/Building PHP 5.2.3 on Mac OS X 10.3.9

2007-07-19 Thread Greg Donald
On 7/19/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote: Unless anyone has a better solution of getting php 5.2.3 on mac os x 10.3.9 http://destiney.com/blog/php-4-5-macos-x -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using PHP to retrieve a Yahoo Groups Web Page

2007-07-06 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] str_replace new line

2007-07-02 Thread Greg Donald
the file and rerunning it. Brutal. :( -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] generate letter combination..

2007-07-02 Thread Greg Donald
) { echo $s\n; } -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] functions for sorting/paging functionality for imap mailboxes

2007-07-02 Thread Greg Donald
On 6/25/07, Yashesh Bhatia [EMAIL PROTECTED] wrote: i'm implementing an imap based mail client That's a major wheel to go reinventing, have you not tried IMP/Horde? http://www.horde.org/imp/ -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net

[PHP] Re: strange include path error

2007-06-27 Thread Greg Beaver
no problems at all. I also have no .htaccess files for this particular site, and the vhost conf checks out. Any idea what the heck just happened here? Do a grep for set_include_path in your client's code - I suspect you'll find it. Greg -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP Color Coding in Gmail (was: open a file in a folder without knowing the filename)

2007-06-21 Thread Greg Donald
On 6/21/07, Tijnema [EMAIL PROTECTED] wrote: Cool, please go to the following url and clickthe button: http://gpcc.tijnema.info/ Where's the 'no' option ? I call shenanigans. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Is There a Function to yada .... /yada to [yada] ..... [/yada]?

2007-06-21 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] strtotime returns 00:00 for 7am

2007-06-21 Thread Greg Donald
as the second parameter to strftime(). -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Latest PHP for Mac OS X 10.3.9 (Panther)

2007-06-21 Thread Greg Donald
to their chosen configuration. Not much on details but it gets me through every time a new PHP version is released: http://destiney.com/blog/php-4-and-5-on-mac-os-x -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] unlink before imagepng?

2007-06-20 Thread Greg Donald
On 6/20/07, Brian Dunning [EMAIL PROTECTED] wrote: Can do, but I would be calling clearstatcache() very often, many times per second, as often as these graphics are being edited. Would that still be appropriate for the server? I certainly wouldn't use it if I didn't need it. -- Greg Donald

Re: [PHP] Wiki lib?

2007-06-19 Thread Greg Donald
On 6/19/07, Emil Edeholt [EMAIL PROTECTED] wrote: I want a library that can compare different versions of text, Command line diff wrapped in exec() calls should work fine. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] unlink before imagepng?

2007-06-19 Thread Greg Donald
clearstatcache() so your changes show up immediately. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New htmlentities() '$double_enocde' Param Question

2007-06-19 Thread Greg Donald
, false); // Expected Output: lt; // Actual Output: amp;lt; echo htmlentities(htmlentities('', ENT_QUOTES, false), ENT_QUOTES, false); Your false value for your htmlentities() call should be the 4th parameter, not the 3rd. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http

<    1   2   3   4   5   6   7   8   9   10   >