Re: [nyphp-talk] Processing, please wait logic flow question

2006-10-31 Thread cliff
process.php";> > > > > Please wait while we process your request... > > > > Bill > > Cliff Hirsch wrote: > > > Many web sites display a “processing please wait” page after > > submitting an order, request, etc. and then display the final &

Re: [nyphp-talk] DataObject implementation (was Re: Constructors and)

2006-10-19 Thread Cliff Hirsch
Thoughts? My though is that "one offs" is where all the fancy schmancy models start to fall apart... I just outsourced a big project to a firm that had a nice MVC framework. My how clean the code was. My how short all the scripts were. Until I opened a few "catch-all" files that went on forever dea

[nyphp-talk] call_user_func equivalent in Javascript?

2006-10-19 Thread Cliff Hirsch
Is there an equivalent to call_user_func equivalent in Javascript? I’d rather not use eval for security purposes.   Cliff ___ Pinestream Communications, Inc. Publisher of Semiconductor Times & Telecom Trends 52 Pine Street, Weston, MA 02493 USA

Re: [nyphp-talk] Textarea formatting

2006-10-19 Thread Cliff Hirsch
Ah, hate to be a killjoy, but does that mean you just echo that field back to the screen? Big security hole. The tricky part is how to escape the output while still allowing the special characters that you want. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

[nyphp-talk] Is serializing object/arrays for MySQL reliable?

2006-10-22 Thread Cliff Hirsch
Is serializing/unserializing object/arrays for storage/retrieval in a MySQL db truly reliable? It would be awfully handy, but the PHP manual notes list various issues that make me wary.   Cliff ___ Pinestream Communications, Inc. Publisher of Semiconductor

Re: [nyphp-talk] Is serializing object/arrays for MySQL reliable?

2006-10-23 Thread Cliff Hirsch
Thanks. Sounds like it would be wise to go with a more conventional approach. -Original Message- Subject: Re: [nyphp-talk] Is serializing object/arrays for MySQL reliable? Hi Cliff, Cliff Hirsch wrote on Sunday, October 22, 2006 7:08 AM: > Is serializing/unserializing object/arrays

[nyphp-talk] Processing, please wait logic flow question

2006-10-30 Thread Cliff Hirsch
then redirect when the script is completed? Or does the client-side JavaScript display the “processing” page while the server script goes about its business?   Cliff ___ Pinestream Communications, Inc. Publisher of Semiconductor Times & Telecom Trends 52 Pine St

Re: [nyphp-talk] Passing parameters with the click of a button.

2006-10-31 Thread Cliff Hirsch
If you don't need the initial server-side script to use the variable until the form in the new window is submitted, you can also use JavaScript to copy the variable from the old window into the new Window. For example, you can copy it into a hidden input field. -Original Message- From: [EM

Re: [nyphp-talk] Processing, please wait logic flow question

2006-10-31 Thread Cliff Hirsch
completed? Or does the client-side JavaScript display > the "processing" page while the server script goes about its business? > > Cliff > I saw everything I wanted to know about this over on Joe's blog: http://www.josephcrawford.com/2006/09/28/php-upload-progress-exte

Re: [nyphp-talk] mysql_real_escape_string WAS: Mysql question!

2006-10-31 Thread Cliff Hirsch
I just read the same thing in Cal's book and was going to ask the group about this. While prepared statements sound nice in theory, there are many of us that still hack together "old-fashioned" queries. And what does "ultimately unnecessary" mean anyway? Consumes more mips than its worth? -Ori

Re: [nyphp-talk] mysql_real_escape_string WAS: Mysql question!

2006-10-31 Thread Cliff Hirsch
my arguments are a bit thin and it may really just like that: "ultimately unecessary" as long as the string was addslashed. David K. Cliff Hirsch wrote: > I just read the same thing in Cal's book and was going to ask the group > about this. While prepared statements

Re: [nyphp-talk] rtrim broken?

2006-11-01 Thread Cliff Hirsch
>> DUH! The problem was between keyboard and chair as so often. I find my best breakthroughs and epiphanies are solved while driving, playing tennis (incredibly distracting and detrimental to the tennis game), and performing other mindless activities away from the keyboard. _

Re: [nyphp-talk] mysql_real_escape_string WAS: Mysql question!

2006-11-02 Thread Cliff Hirsch
> Don't forget, it's not just humans behind web browsers that we have to worry about. Those dreaded Romulans and Klingons... ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online ht

[nyphp-talk] Smart variable syntax question

2006-11-08 Thread Cliff Hirsch
  Any ideas? David Mintz…hint, hint….   Cliff Hirsch ___ Pinestream Communications, Inc. Publisher of Semiconductor Times & Telecom Trends 52 Pine Street, Weston, MA 02493 USA Tel: 781.647.8800, Fax: 781.647.8825 ht

Re: [nyphp-talk] Smart variable syntax question

2006-11-08 Thread Cliff Hirsch
Behalf Of Donald J Organ IV Sent: Wednesday, November 08, 2006 6:09 PM To: NYPHP Talk Subject: Re: [nyphp-talk] Smart variable syntax question there has to be some type of evaluate function in smarty because you want to evaluate $params[1] so i would start by looking for an evaluate function

Re: [nyphp-talk] Smart variable syntax question

2006-11-09 Thread Cliff Hirsch
learning that readability and maintainability is often worth the hit. Cliff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Mintz Sent: Thursday, November 09, 2006 2:43 PM To: NYPHP Talk Subject: Re: [nyphp-talk] Smart variable syntax question Jeez, I

Re: [nyphp-talk] So who's using Ajax anway?

2006-11-09 Thread Cliff Hirsch
You can return xml or text, and that text can be an "innerhtml, json, or anything else you can dream up. For simply stuff I just return plain text strings, "innerhtml stuff" or even just a few "switches" and text in the text response for further Javascript processing. AHAH (async HTML & HTTP) inste

Re: [nyphp-talk] So who's using Ajax anway?

2006-11-10 Thread Cliff Hirsch
I believe the JSON extension is built into PHP 5.2 and turned on be default.   Cliff   -Original Message- csnyder wrote: On 11/9/06, David Mintz <[EMAIL PROTECTED]> wrote:  OK then, it's all settled: the X in AJAX actually stands for "whatever."  

Re: [nyphp-talk] So who's using Ajax anway?

2006-11-10 Thread Cliff Hirsch
ynchronous XMLHttpRequest where it truly makes sense and the consequences are fully understood. Cliff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of csnyder Sent: Friday, November 10, 2006 12:32 PM To: NYPHP Talk Subject: Re: [nyphp-talk] So who's u

Re: [nyphp-talk] So who's using Ajax anway?

2006-11-10 Thread Cliff Hirsch
Very true. And my next car purchase has $6/gallon gas in mind. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Downs Sent: Friday, November 10, 2006 1:13 PM To: NYPHP Talk Subject: Re: [nyphp-talk] So who's using Ajax anway? Cliff Hirsch

Re: [nyphp-talk] So who's using Ajax anway?

2006-11-10 Thread Cliff Hirsch
And regarding media, for an image heavy page, aren't most images cached by the local browser anyway? As long as the user isn't flushing his porn. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of csnyder Sent: Friday, November 10, 2006 1:28 PM To: NYPHP Talk

Re: [nyphp-talk] PHP Development on the Road (Advice Needed)

2006-11-12 Thread Cliff Hirsch
So that means you'll work for less than $15 an hour? You're hired, as long as you aren't spending too much time in that head shop. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of edward potter Sent: Sunday, November 12, 2006 1:52 PM To: NYPHP Talk Subject:

Re: [nyphp-talk] OT: Recommendations for web hosting services withextremely good uptimes?

2006-11-16 Thread Cliff Hirsch
. Btw, I just got a quote from Rackspace for $500ish -- don't know about Fanatical support, but they definitely have a Fanatical sales force. I wonder if a little guy like me would get lost among their 10,000 other big customers Cliff -Original Message- From: [EMAIL PROTECTED] [ma

[nyphp-talk] Bandwidth modeling -- extending the hosting question

2006-11-16 Thread Cliff Hirsch
ling tools available? Cliff ___ Pinestream Communications, Inc. Publisher of Semiconductor Times & Telecom Trends 52 Pine Street, Weston, MA 02493 USA Tel: 781.647.8800, Fax: 781.647.8825 http://www.pinestream.com <http://w

Re: [nyphp-talk] Issue with session_destroy()

2006-12-02 Thread Cliff Hirsch
post-check=0, pre-check=0", false); header("Pragma: no-cache"); Cliff On Sat, 02 Dec 2006 12:19:45 -0500, David Krings wrote > Hi, > > you need to set the page to not getting cached by a browser. I > once looked this up and found several sources that claim that the

[nyphp-talk] Does anyone have Ioncube experience?

2006-12-08 Thread Cliff Hirsch
I'm wondering whether anyone has had experience with Ioncube -- good, bad or ugly. Any other unexpected gotchas that I should know about before deploying this in a production enviroment? Cliff -- Pinestream Communications, Inc. Publisher of Semiconductor Times & Telecom Trends 52 Pine Stre

RE: [nyphp-talk] Does anyone have Ioncube experience?

2006-12-08 Thread Cliff Hirsch
Dan: Thanks. Sounds like it's not a showstopper. Certainly not worth abandoning this shopping cart because of it...yet... Cliff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Cech Sent: Friday, December 08, 2006 9:13 AM To: NYPHP Talk Subjec

RE: [nyphp-talk] Zend IDE slooooow

2006-12-12 Thread Cliff Hirsch
and foreground) process I can -- little ones like itunes stuff and Quickbook updaters, but more importantly Apache and MySQL. Does make using the debugger a bit tough though! Running Apache, MySQL, Outlook, FileMaker, Fireworks, Word, etc. while running Zend Studio is a surefire disaster. My two

RE: [nyphp-talk] Zend IDE slooooow

2006-12-12 Thread Cliff Hirsch
I agree that it is probably a memory hog (combined with Java, don't forget), but I do use it successfully on a lowly Pentium III with just 256M of memory. Cliff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Sgro (sk) Sent: Tuesday, December 12,

[nyphp-talk] Zend IDE problems and the Apple MACs as develoment platforms

2006-12-13 Thread Cliff Hirsch
l-based Macbook? Any problems? Good development environment? Any comments regarding the Macbook vs Mackbook pro? Chanukah is only two days away. Cliff ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCo

RE: [nyphp-talk] Zend IDE problems and the Apple MACs as develomentplatforms

2006-12-13 Thread Cliff Hirsch
blems and the Apple MACs as develomentplatforms Hi Cliff, I have been using Zend IDE for a few years now on OS X on a powerbook, and more recently, a Mac Pro and a Macbook Pro. On the Mac Pro, the IDE is lightning fast (as one would expect). On the 2ghz Intel Core Duo Macbook Pro, the IDE is a de

RE: [nyphp-talk] Zend IDE problems and the Apple MACs as develomentplatforms

2006-12-13 Thread Cliff Hirsch
-talk] Zend IDE problems and the Apple MACs as develomentplatforms Cliff, I'm about 3 weeks ahead of you. The MacBook Pro is great! Run it with Parallels and you can develop in both Windoz and OSX (nice for browser output comparison). OSX comes with PHP 4.x so you'll have to upgrade

RE: [nyphp-talk] Zend IDE problems and the Apple MACs asdevelomentplatforms

2006-12-13 Thread Cliff Hirsch
Or you can do what I do for my wintel machine. I bought a case of instant coldpaks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of csnyder Sent: Wednesday, December 13, 2006 6:02 PM To: NYPHP Talk Subject: Re: [nyphp-talk] Zend IDE problems and the Apple

[nyphp-talk] image symbol in browser url address window

2006-12-16 Thread Cliff Hirsch
Ok, this is a little off base, but how do you make an image symbol appear in the url address window in FireFox? I'm guessing it has something to do with this: Cliff ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/ma

Re: PHP_SELF problems (was Re: [nyphp-talk] Holiday Greetings to Everyone...)

2006-12-26 Thread Cliff Hirsch
Changing your ways is rather drastic. At least wait until after New Years to swear off the booze. On Tue, 26 Dec 2006 18:20:40 -0500, Joseph Crawford wrote > Michael, > > Thanks for that information i will change my ways immediately :D > > -- > Joseph Crawford Jr. > Zend Certified Engineer

[nyphp-talk] HTML/CSS div hide/show form problem

2007-01-04 Thread Cliff Hirsch
t the input element cursor attribute picks up the none property (as in cascading) when hidden, but does not revert back to visible when the div display element is changed back to '' or block. Any ideas regarding a solution? Cliff ___ New York

RE: [nyphp-talk] HTML/CSS div hide/show form problem

2007-01-04 Thread Cliff Hirsch
round I used, which appears to work so far, is to set the focus to some input element outside the div before setting the div display property to none. This appears to "carry" the cursor to the focused element. Then, when I expand the div again, I set the focus to an input element inside t

[nyphp-talk] Seeking image graph software suggestions

2007-01-07 Thread Cliff Hirsch
exploring: JpGraph Jpowered ChartDirector PEAR Image_Graph I don't need anything fancy, but would rather not spend the time figuring out how to squeeze an arbitrary number of data points into a few hundred pixels. Happy New Year, Cliff Hirsch ___ Pinestream Comm

RE: [nyphp-talk] PHP 4 Constructor Weirdness

2007-01-08 Thread Cliff Hirsch
echos -- blech single-step through your code using a debugger -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jay Sheth Sent: Monday, January 08, 2007 1:27 PM To: NYPHP Talk Subject: [nyphp-talk] PHP 4 Constructor Weirdness Hi Chris and Scott, thanks for

RE: [nyphp-talk] And the HTML CSS guru is....

2007-01-11 Thread Cliff Hirsch
urther break a whole heck of a lot of html emails. See: http://www.sitepoint.com/newsletter/viewissue.php?id=3&issue=156&format= html#5 Cliff ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006

[nyphp-talk] Escaping MySQL full-text boolean mode search phrase

2007-01-11 Thread Cliff Hirsch
How do I safely escape a search phrase string for a full-text IN BOOLEAN MODE search? Exampe: SELECT * FROM table WHERE MATCH (field) -> AGAINST ('"the phrase"' IN BOOLEAN MODE); If I use mysqli_real_escape_string, "the phrase" would becom

RE: [nyphp-talk] So why is Ajax so fast?

2007-01-12 Thread Cliff Hirsch
ore than 2 seconds when it has to load all those stupid images that we never realize we've accumulated. Cliff -Original Message- From: Chris Snyder I cannot recommend the Firebug extension for FireFox enough. It has a "Net" tab that will show you, in detail, how long each subrequ

RE: [nyphp-talk] So why is Ajax so fast?

2007-01-12 Thread Cliff Hirsch
I feel better now -- my site's not the slowest. CNN -- 200 requests, 516KB, 13.39 seconds. Firebug is very sobering. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cliff Hirsch Sent: Friday, January 12, 2007 12:17 PM To: 'NYPHP Talk&#x

RE: [nyphp-talk] It's 2007, and we haven't talked about Shopping Carts since last year

2007-01-16 Thread Cliff Hirsch
veat -- IonCube and Zend Debugger do not play together. You may also want to look at: http://www.stoneedge.com/default.htm to get a sense of a back-end order management solution that is compatible with a bunch of carts. Cliff ___ New York PHP Community

[nyphp-talk] PHP skiing & boarding poll

2007-01-16 Thread Cliff Hirsch
on in Utah later this winter? Depending upon the response, I'll "look into it." Cliff ___ Pinestream Communications, Inc. Publisher of Semiconductor Times & Telecom Trends 52 Pine Street, Weston, MA 02493 USA Tel: 781.647.8800, Fax: 781.647.8825 h

RE: [nyphp-talk] A tale of 4 scopes

2007-01-17 Thread Cliff Hirsch
I have seen some applications that only use url-based session IDs. I think the PHP INI has a setting for this. If not, why not just attach your own "tab-id" tag to every url. Cliff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth

[nyphp-talk] Content strategy question

2007-01-18 Thread Cliff Hirsch
ivial, but it's not very user friendly. Is there something like a PEAR PDF indexing library that I can use? Appreciate other suggestions for porting the content in a way that isn't too labor intensive? Thanks, Cliff ___ Pinestream Communications, In

RE: [nyphp-talk] show me your best work

2007-01-19 Thread Cliff Hirsch
Amen. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nate Abele Sent: Friday, January 19, 2007 3:08 PM To: talk@lists.nyphp.org Subject: [nyphp-talk] show me your best work My best work is probably CakePHP. http://cakephp.org/ __

[nyphp-talk] Intellectual Monday

2007-01-22 Thread Cliff Hirsch
r how these techniques work in the PHP world. Does anyone use chaining effectively? Is there a PHP equivalent to the prototype concept? Cliff ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presenta

RE: [nyphp-talk] Intellectual Monday

2007-01-23 Thread Cliff Hirsch
getOther()->doSomethingElse(); -Rob csnyder wrote: > On 1/22/07, Cliff Hirsch <[EMAIL PROTECTED]> wrote: > >> I wonder how these techniques work in the PHP world. Does anyone use >> chaining effectively? Is there a PHP equivalent to the prototype >> concept?

[nyphp-talk] IDE help switching from Windows to MAC

2007-01-24 Thread Cliff Hirsch
to make a great MAC development platform? Cliff -- Pinestream Communications, Inc. Publisher of Semiconductor Times & Telecom Trends 52 Pine Street, Weston, MA 02493 USA Tel: 781.647.8800, Fax: 781.647.8825, www.pinestream.com ___ New York PHP Communit

RE: [nyphp-talk] IDE help switching from Windows to MAC

2007-01-25 Thread Cliff Hirsch
Thanks to all the responses so far. I am going to try to catalog my switchover - perhaps it will make a nice phundamental for the group. So far, it has been fairly painless: 1. Native OSX Apache 2. http:// www.entropy.ch/software/macosx/php/ This

RE: [nyphp-talk] IDE help switching from Windows to MAC

2007-01-25 Thread Cliff Hirsch
TECTED] On Behalf Of Joseph Crawford Sent: Thursday, January 25, 2007 8:42 AM To: NYPHP Talk Subject: Re: [nyphp-talk] IDE help switching from Windows to MAC Cliff, I believe i saw a start and stop widget for MySQL, however you can install the startup item so that MySQL starts on boot. If you are go

[nyphp-talk] Zend remote debugger with PHP5.2

2007-02-01 Thread Cliff Hirsch
Is anyone using Zend Studio and the remote debugger with PHP 5.2? I can't get it to work withPHP 5.2, which is very frustrating given that Zend is the driving force behind PHP and 5.2 is supposed to be the 'secure' production worth release of

Re: [nyphp-talk] Zend remote debugger with PHP5.2

2007-02-01 Thread Cliff Hirsch
So far on WINXP on a MAC. Seems like only Zend Platform 3 beta supports PHP5.2, and only with its own Zendcore version of PHP. Welcome to proprietary open source. On 2/1/07 1:08 PM, "Mark Withington" <[EMAIL PROTECTED]> wrote: > Is this on your Mac or Windoz box? > >

Re: [nyphp-talk] Zend remote debugger with PHP5.2

2007-02-01 Thread Cliff Hirsch
On Thu, 1 Feb 2007 13:50:28 -0500, Tom Melendez wrote > On 2/1/07, Cliff Hirsch <[EMAIL PROTECTED]> wrote: > > > > So far on WINXP on a MAC. Seems like only Zend Platform 3 beta supports > > PHP5.2, and only with its own Zendcore version of PHP. Welcome to

[nyphp-talk] Zend Studio PHP5.2 support

2007-02-02 Thread Cliff Hirsch
Well...Zend has responded. The Studio client supports PHP5.1, but remote debugging, which was Studio Server and is now bundled into Zend Platform does not. In other words, Studio DOES NOT support php5.2, unless you are so gifted that you write bug-free code. Or can single-step in your gray matter.

[nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Cliff Hirsch
...this shouldn¹t be so difficult, but it¹s starting to make WindowsXP look better... Cliff ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Cliff Hirsch
On 2/14/07 4:54 PM, "Kenneth Downs" <[EMAIL PROTECTED]> wrote: > Cliff Hirsch wrote: >> Apache/PHP on MAC OSX I asked before, but I¹m still having trouble. I blew >> up the default OSX Apache after trying to switch from Entropy PHP 5.2 to >> 5.1.6 becaus

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Cliff Hirsch
I checked that out. No problems there. On 2/14/07 4:57 PM, "Mark Withington" <[EMAIL PROTECTED]> wrote: > Did you check your "personal" httpd.conf? Should be in the etc/httpd/users > folder. There might be some hocus-pocus going on there > > On 2/14/07, C

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Cliff Hirsch
I got PHP 5.2 running again using Xampp. Think I¹ll just stick with that and wait for Zend supports OSX Intel remote debugging. Any other debugging solutions out there? On 2/14/07 4:59 PM, "Phillip B. Roberts" <[EMAIL PROTECTED]> wrote: > Cliff, > > I don't hav

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Cliff Hirsch
The key is just to make sure that your PATH is pointing to the correct apachectl (even the one in ~/.MacOSX/environment.plist) > > - Jon > I don¹t see that file. Where is it? ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/li

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Cliff Hirsch
als. This entire issue begs the question of what to deploy for production. The latest release with the latest security updates? A stable, known, and tested old release? I'm beginning to understand why so many sites still run PHP 4.x. Cliff On 2/14/07 5:17 PM, "Rob Marscher" <[EMAIL

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Cliff Hirsch
But does MAMP support SSL? Not when I tried it. I got Xampp working, although some extensions appear a bit flakey. But so far, everything works -- SSL, curl, mhash, mcrypt...GD as soon as I get my fonts worked out... Has anyone tried Komodo for the MAC? On Wed, 14 Feb 2007 21:59:45 -0500, Mark Wi

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-15 Thread Cliff Hirsch
Great review. Sounds like I should stick with Zend/XP/Parallels/Mactel for now. Then move to Eclipse or a try mactel version of Zend. On 2/15/07 8:14 AM, "Joseph Crawford" <[EMAIL PROTECTED]> wrote: > Cliff, > > be sure to read this :) > http://www.josephcrawford.co

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-15 Thread Cliff Hirsch
Does it support remote debugging like Zend. Debugging the current page, next page, or next form submission from the browser in "real-time" is so useful. On 2/15/07 11:22 AM, "Joseph Crawford" <[EMAIL PROTECTED]> wrote: > Be sure to read the comments, the only reason Eclipse did not work for > me

Re: [nyphp-talk] PHP/SQL ECommerce Solutions

2007-02-15 Thread Cliff Hirsch
uming...redundant, etc. Issues to be aware of: 1. It is "97%" open-source. The core is encoded using ioncube. 2. Ioncube conflicts with Zend Debugger 3. It performs a license check. Cliff On 2/15/07 11:44 AM, "Jose Villegas" <[EMAIL PROTECTED]> wrote: > Hey Ben, > >

Re: [nyphp-talk] PHP/SQL ECommerce Solutions

2007-02-15 Thread Cliff Hirsch
lf-baked versions, but couldn't find a good example anywhere else. And oscommerce scares me. Didn't find a Zencart equivalent either. Btw, "reskinning" litecommerce now. Major tedium -- feels like a complete waste of time, although I would guess its the same for most any of

[nyphp-talk] Shopping cart -- revisited...again...

2007-02-19 Thread Cliff Hirsch
trivial compared to the cost of the custom code, time, maintenance, aggravation, etc. Happy holiday, Cliff ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com

[nyphp-talk] Dual session operation question

2007-02-21 Thread Cliff Hirsch
wasteful to me. Plus this assumes each script uses identical encryption schemes. His solution was to disable password encryption! Any thoughts? Cliff ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006

Re: [nyphp-talk] /etc/php.ini changes aren't picked up immediately?

2007-02-26 Thread Cliff Hirsch
Yes, you have to restart Apache for changes in php.ini to take effect. On 2/26/07 9:07 AM, "David A. Roth" <[EMAIL PROTECTED]> wrote: > The system: > CentOS 4.4 x86_64 > Linux localhost.localdomain 2.6.9-42.0.8.ELsmp #1 SMP Tue Jan 30 > 12:18:01 EST 2007 x86_64 x86_64 x86_64 GNU/Linux > PHP 4.3.9

[nyphp-talk] Thoughts on using JavaScript with no progressive fall-back

2007-02-26 Thread Cliff Hirsch
people are using today and what percentage of people turn JS off or don¹t have it? Cliff ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your

Re: [nyphp-talk] Thoughts on using JavaScript with no progressive fall-back

2007-02-26 Thread Cliff Hirsch
Willy Sutton reply, [Why do you rob > banks, Willy?] "Cause that's where the money is" > > Why do we write code with no progressive fall-back? "Cause that's where the > money is" > > On 2/26/07, Kenneth Downs <[EMAIL PROTECTED]> wrote: >&g

Re: [nyphp-talk] Thoughts on using JavaScript with no progressive fall-back

2007-02-26 Thread Cliff Hirsch
On 2/26/07 6:28 PM, "csnyder" <[EMAIL PROTECTED]> wrote: > On 2/26/07, Cliff Hirsch <[EMAIL PROTECTED]> wrote: >> >> I'm seeing more and more applications that simply do not work if JavaScript >> is turned off. In fact, I'm looking at purcha

Re: [nyphp-talk] auto generate select tag in html

2007-02-27 Thread Cliff Hirsch
You can write a simple function yourself or use this: http://pear.php.net/package/HTML_Select Cliff On 2/27/07 3:59 PM, "selyah" <[EMAIL PROTECTED]> wrote: > Hello all: > i am designing a form in php and it combines HTML, I have not program in HTML > in a while and n

Re: [nyphp-talk] RegExp Assistance

2007-03-01 Thread Cliff Hirsch
It's so simple! Seriously, I've said it before -- Regex Buddy is awesome. Here's the output: email explanation /^(\w+(?:\.\w+)*)@((?:\w+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z ]{2})?)$/ Match the character "/" literally «/» Assert position at the start of the string «^» Match the regular expre

Re: [nyphp-talk] RegExp Assistance

2007-03-01 Thread Cliff Hirsch
True -- bites. I run it inside Parallels. On 3/1/07 3:25 PM, "Aaron Fischer" <[EMAIL PROTECTED]> wrote: > Looks interesting but it's only offered for Windows. > http://www.regexbuddy.com/index.html > > Any good OS X equivalents out there? > > -Aaron

Re: [nyphp-talk] Thoughts on using JavaScript with no progressive fall-back

2007-03-06 Thread Cliff Hirsch
On Tue, 6 Mar 2007 10:44:34 -0500, csnyder wrote > On 3/5/07, Paul Houle <[EMAIL PROTECTED]> wrote: > > It always seems that it's the gatekeepers of life who run > > funky web browsers. It will be the people at your next job interview, > > the venture capitalists, the thesis advisor, the people on

[nyphp-talk] Open source forum suggestion

2007-03-08 Thread Cliff Hirsch
product. Is phpBB2 the way to go? I though it was known to have security issues. Suggestions? Cliff ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show

Re: [nyphp-talk] Open source forum suggestion

2007-03-08 Thread Cliff Hirsch
Thanks for al the suggestions. Sounds like phpBB is an easy way to go. Vanilla looks interesting too. On 3/8/07 12:51 PM, "Alvaro P." <[EMAIL PROTECTED]> wrote: > I did have that problem on my website, the CAPTCHA, or image > verification, that comes by default doesn't do anything against bots. >

[nyphp-talk] Single sign-on -- one more gotcha

2007-03-28 Thread Cliff Hirsch
ways to deal with this: 1. Integrate the sessions 2. A register shutdown function that ³refreshes² the expiry value in all related sessions. Cliff ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006

[nyphp-talk] DB-based sessions and destructing objects problem

2007-04-02 Thread Cliff Hirsch
DB class is destructed before the session handler? Thoroughly confused... Thoughts? Cliff ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your

Re: [nyphp-talk] PHP Web Frameworks

2007-04-05 Thread Cliff Hirsch
t "scaling issues" means? Database overload? Session problems? Bloated "helpers? Their YAML is compiled and caching is part of the framework, so I'm curious where the pain points are versus say...for example...Cake. Cliff ___ New York

Re: [nyphp-talk] PHP Sessions, Expiration, and all that

2007-05-04 Thread Cliff Hirsch
t;> if(isset($_SESSION["timestamp"])) { >>... dump session if now-timestamp > limit ... >> } >> $_SESSION["timestamp"]=$now; > > Seems like a fine way to do it to me. > > Chris Why not kill the GC function and add a cron job i

[nyphp-talk] Input whitelist validation warning

2007-05-17 Thread Cliff Hirsch
the int number 0. FYI, Cliff ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org

Re: [nyphp-talk] Input whitelist validation warning

2007-05-17 Thread Cliff Hirsch
ng type and PHP will try to force type >> matching. >> >> So the input string ‘securityhole’ will match the int number 0. >> >> FYI, >> Cliff ___ New York PHP Community Talk Mailing List http://lists.nyphp

Re: [nyphp-talk] Difference between isset() and empty() .

2007-05-18 Thread Cliff Hirsch
See: http://www.php.net/manual/en/types.comparisons.php On 5/18/07 8:11 AM, "Shadab Wadiwala" <[EMAIL PROTECTED]> wrote: > Hi !! > > I want to know what's the difference between the functions > isset() and empty() > > I referred the function reference on php.net, but still

Re: [nyphp-talk] Input whitelist validation warning

2007-05-18 Thread Cliff Hirsch
On 5/18/07 4:19 PM, "csnyder" <[EMAIL PROTECTED]> wrote: > On 5/17/07, Cliff Hirsch <[EMAIL PROTECTED]> wrote: > > I just discovered > a hole in a white list validation technique I bored from > a PHP security book > ‹ no, not Chris' book. > >

Re: [nyphp-talk] Input whitelist validation warning

2007-05-18 Thread Cliff Hirsch
On 5/18/07 4:46 PM, "csnyder" <[EMAIL PROTECTED]> wrote: > On 5/18/07, Cliff Hirsch <[EMAIL PROTECTED]> wrote: > >> REFUND!!! The book goes back! > > Damn, no points for honesty in this town. > > >> Here's the condition that caugh

Re: [nyphp-talk] Input whitelist validation warning

2007-05-18 Thread Cliff Hirsch
On 5/18/07 4:46 PM, "csnyder" <[EMAIL PROTECTED]> wrote: > On 5/18/07, Cliff Hirsch <[EMAIL PROTECTED]> wrote: > >> REFUND!!! The book goes back! > > Damn, no points for honesty in this town. Yeah, but your town has 4.2M women and only 3.8M men. h

[nyphp-talk] Config file format and admin suggestions

2007-05-19 Thread Cliff Hirsch
¹t support yaml or a DB-based container. I¹m also curious about how people go about setting available white list values, default values, etc. without hardcoding them. Ideas? Suggestions? Cliff ___ New York PHP Community Talk Mailing List http

Re: [nyphp-talk] Config file format and admin suggestions

2007-05-21 Thread Cliff Hirsch
On 5/19/07 6:42 PM, "Dell Sala" <[EMAIL PROTECTED]> wrote: > On May 19, 2007, at 4:46 PM, Cliff Hirsch wrote: >> My config files are currently a bunch of define statements. I¹m >> going to change the format as I rewrite the admin back-end and am >> looking

[nyphp-talk] Amazing application acceleration solution

2007-05-22 Thread Cliff Hirsch
ol. A drop-in inline appliance that automatically accelerates an application 10x without any coding changes. Yeah, sounds like smoke and mirrors or just caching. But its way more than that. Very cool -- wish they had something like this for php/mysql.

Re: [nyphp-talk] Amazing application acceleration solution

2007-05-22 Thread Cliff Hirsch
On Tue, 22 May 2007 11:03:21 -0400, csnyder wrote > On 5/22/07, Cliff Hirsch <[EMAIL PROTECTED]> wrote: > > > sounds like smoke and mirrors or just caching. But its way more than that. > > Caching is more effective than smoke or mirrors. But okay, what is > it? Cac

[nyphp-talk] POSTDATA and back/resubmit revisited

2007-06-11 Thread Cliff Hirsch
probably needs to be stored in a session to be echo¹d back. My question is, what is the best practice or industry standard practice, if there is one, for handling POST form submissions while addressing the back/resubmit issue? Cliff ___ New York PHP

Re: [nyphp-talk] PHP Form submit

2007-06-11 Thread Cliff Hirsch
n't actually get the form > submission in Safari. It seems to work just fine in any other browser tested. > > any ideas? > > -mike No ideas, but a suggestion. The Aptana IDE has a great help guide that indicates what methods work wit

Re: [nyphp-talk] POSTDATA and back/resubmit revisited

2007-06-11 Thread Cliff Hirsch
On 6/11/07 11:57 AM, "Chris Shiflett" <[EMAIL PROTECTED]> wrote: > Cliff Hirsch wrote: >> Header redirects seem to solve the back/resubmit problem, but create >> duplicate processing on the server side and generally add session >> overhead. For a successful

Re: [nyphp-talk] POSTDATA and back/resubmit revisited

2007-06-11 Thread Cliff Hirsch
On 6/11/07 1:32 PM, "Chris Shiflett" <[EMAIL PROTECTED]> wrote: > Cliff Hirsch wrote: >>> 1. Why is there any duplicate processing? >> >> A Form submission would start by running the front-end controller, >> which loads a whole lot of classes

Re: [nyphp-talk] POSTDATA and back/resubmit revisited

2007-06-11 Thread Cliff Hirsch
This looks like a good starting point: http://en.wikipedia.org/wiki/Post/Redirect/Get >From the wiki, this describes it in depth: http://www.theserverside.com/tt/articles/article.tss?l=RedirectAfterPost It also has a brief explanation of 302 versus 303 codes. Cliff P.S. Why d

Re: [nyphp-talk] POSTDATA and back/resubmit revisited

2007-06-11 Thread Cliff Hirsch
>>> By the way, since writing the article, this technique has been >>> described as a design pattern called PRG (POST, Request, GET). Do any Frameworks incorporate this pattern seamlessly...hint, hint Nate... ___ New York PHP Community Talk Mailing Li

  1   2   3   >