Re: [nyphp-talk] Can't do PHP 'exec' for an rsync command via web server

2012-06-24 Thread Hans Zaunere
> # grep apache /etc/passwd > apache:x:48:48:Apache:/var/www:/sbin/nologin > > You suggesting I change apache to just another user, like this? > apache:x:48:48:Apache:/var/www:/bin/bash Yes, though I'd make its own home directory, /home/apache, and give appropriate rights as needed to the doc roo

Re: [nyphp-talk] Can't do PHP 'exec' for an rsync command via web server

2012-06-24 Thread Hans Zaunere
Often the Apache user isn't created with a home directory etc. Check the passwd file to ensure its a full user with a home and shell? Security is another question :) On Jun 24, 2012 6:52 PM, "David Roth" wrote: > > > On Sun, Jun 24, 2012 at 11:50 AM, Hans Zaunere wrot

Re: [nyphp-talk] Can't do PHP 'exec' for an rsync command via web server

2012-06-24 Thread Hans Zaunere
> I'm developing a small utility web page to run on my own server which is > running CentOS 6.2 and Apache. PHP 5.3.3. > > I tried using from PHP the exec function and also system, but after checking > the results nothing is returned. However, when I ran a little fragment of > this PHP code from th

Re: [nyphp-talk] How To Make "php" show up as "somefile" when running the top command...

2012-06-21 Thread Hans Zaunere
>     When I run any php file from the command line it shows up at > "php" under the COMMAND column on my Mac. I'm not running this on a > server right now, just locally. Oh, Mac... In theory there's BSD under there somewhere, but I don't know what they've done to it. I'd imagine the COMMAND col

Re: [nyphp-talk] How To Make "php" show up as "somefile" when running the top command...

2012-06-21 Thread Hans Zaunere
>     How do i get my PHP file running from the command line to show up > as "SOMENAME" when I execute the top command from the terminal? Right > now it will show up as "php" but I want to be able to distinguish it > from other php  files that may be running. I've seen this done once so > I know it

Re: [nyphp-talk] UTF-8, databases and best practices

2012-05-23 Thread Hans Zaunere
> Yes about point 4: save your PHP file in UTF-8 and add the encoding to > your HTML > > > obvious things that can make you lose hours of deugging This actually brings up a good point/question that I've had. I commonly use HTML 5 boilerplate, and they too have a similar meta tag as above to set

Re: [nyphp-talk] UTF-8, databases and best practices

2012-05-23 Thread Hans Zaunere
Hi Eugenio, > I need to distribute an application that potentially can be used with > many different DBMSs (such as MySQL, PostgreSQL, SQLite, Microsoft SQL > Server). The charset used in the databases can be ANY. > > I would like to always output UTF-8 text when possible and my > questions are a

[nyphp-talk] EC2 vs Rackspace Cloud WAS: What Distro?

2012-05-18 Thread Hans Zaunere
> Nothing since I left. But when I was on them my box was being super > slow. My cursor would take forever to blink every now and then when I > was coding in VIM. I called RS customer support and nobody had a solid > answer for me or explanation. I just had to wait it out. After three > times of th

Re: [nyphp-talk] What Distro?

2012-05-18 Thread Hans Zaunere
> > Dudes, I've an Amazon AWS account and I just got a Rackspace account, now I > > need to configure a Linux server for a LAMP stack. In AWS I've installed > > Debian, but somebody suggested me Gentoo because of the smaller footprint, > > what's your suggestion? > > Personally, I stick to CentOS

Re: [nyphp-talk] Web browser quality

2012-05-12 Thread Hans Zaunere
ole release-early/release-often mantra is a good one, stemming from open source. Now, unfortunately, it appears to have become more of a marketing tool for releasing poor quality software. H > On May 11, 2012, at 5:19 PM, David Krings wrote: > > > On 5/11/2012 3:36 PM, Hans Zaunere wro

Re: [nyphp-talk] Web browser quality

2012-05-11 Thread Hans Zaunere
> Here is my OSX user experience, I was using Firefox for > inspect/debugging web page, it's good but too over-bloated with > functionalities and plugins. Agreed, and it seems to be getting worse, which is sad. > I recently found my nirvana in Chrome, clean and fast. It's fast, but apparently be

Re: [nyphp-talk] Web browser quality

2012-05-11 Thread Hans Zaunere
> Firefox is probably one of the better browser out there still. If you > are experiencing crashes, this most likely indicates corrupted profile - > - this occurs often during upgrades, but there many factor why it would > go corrupt. Try creating a new profile and see how this affects it. That'

[nyphp-talk] Web browser quality

2012-05-11 Thread Hans Zaunere
Hi all, So, in a mix of rant-and-feedback-gathering - is it just me, or have browsers largely gone downhill in the last few months? Chrome: freezes continually with 1mb view source. Seems more worried about trying to get me to login to the mothership and track my social networks, than actually

Re: [nyphp-talk] un-escape db content using php or ADOdb functions

2012-05-02 Thread Hans Zaunere
Hi, > Hi, > I've read your interesting article: > http://www.nyphp.org/phundamentals/5_Storing-Data-Submitted-Form-Displaying- Database Ahh, an oldie but a goodie :) > I have a couple of questions about the function fix_magic_quotes: > 1) Why do you disable magic_quotes_gpc and magic_quotes_syba

[nyphp-talk] Web and Mobile Video Codecs

2012-04-26 Thread Hans Zaunere
Hi all, Thought this would be useful in unraveling the "web" of video "standards" out there: http://www.appleinsider.com/articles/12/03/14/mozilla_considers_h264_video_s upport_after_googles_vp8_fails_to_gain_traction.html --- H. Zaunere ___ New Yor

Re: [nyphp-talk] PHP on IIS on Win 2008 talking to a SQLServer?

2012-04-13 Thread Hans Zaunere
> > The mongo install process on Windows is a bit messed up - I think the > > --reinstall option will work, though I've had to fiddle with it before as > > Mongo seems to do some silly things.  That said, I've never run mongo in > > production on Windows (and probably never will) so a quick setup h

Re: [nyphp-talk] PHP on IIS on Win 2008 talking to a SQLServer?

2012-04-13 Thread Hans Zaunere
Hi Justin, all, > Good set of instructions but a two comments. > > PHP 5.4.0 does not have an MSI installer and when I asked on PHP-WIN > it was indicated that there were no plans to continue it. If you add > phpmanager (http://phpmanager.codeplex.com) to IIS it will let you > register PHP as a F

Re: [nyphp-talk] PHP on IIS on Win 2008 talking to a SQLServer?

2012-04-13 Thread Hans Zaunere
Hi Leam, > I've been asked to look at PHP on IIS on WIN 2008 talking to a > SQLServer. Having been in FOSS for so long I have no idea on this. Is > it reasonably doable? Would PHP on Apache on WIn 2008 be a better > solution in terms of ease of use and setting up? See attached for the notes I use

Re: [nyphp-talk] Next Meeting Poll and PHP Usage Statistics

2012-04-09 Thread Hans Zaunere
Anyone want to give feedback on which talk for this month (below)? Come on - we can't all know everything already :) H > And now to collect some statistics of our own. NYPHP speaking super-star > Anthony Ferrara will be returning in the coming months, and we have the > opportunity to pick from

[nyphp-talk] Next Meeting Poll and PHP Usage Statistics

2012-04-03 Thread Hans Zaunere
patterns http://blog.ircmaxell.com/2012/03/handling-plugins-in-php.html PHP's internals, as a primer guide http://blog.ircmaxell.com/2012/03/phps-source-code-for-php-developers.html Please let's discuss on-list or send your +1 vote for a particular talk. --- Hans Zaunere / Ne

Re: [nyphp-talk] talk Digest, Vol 61, Issue 11

2011-11-19 Thread Hans Zaunere
Sorry folks, he has been removed. H > -Original Message- > From: talk-boun...@lists.nyphp.org [mailto:talk-boun...@lists.nyphp.org] > On Behalf Of Jeremy Mikola > Sent: Thursday, November 17, 2011 12:21 PM > To: NYPHP Talk > Cc: dy...@me.com > Subject: Re: [nyphp-talk] talk Digest, Vol 6

[nyphp-talk] Oct. Call for Speakers

2011-10-07 Thread Hans Zaunere
Hi all, We're currently open for people to present at our Oct. general meeting (Oct. 25th). If you'd like to present, please contact me directly. Regards, H ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/list

Re: [nyphp-talk] Backups of session files

2011-10-04 Thread Hans Zaunere
> I'm curious whether it's worthwhile to backup PHP session stores. I would say no... the nimble session and lethargic backup/restore models just don't fit in my opinion. > At first I thought, why do that? But then I figured that if the session > can last a long time (e.g. 60 minutes) AND if a r

Re: [nyphp-talk] Call for Presentation

2011-04-13 Thread Hans Zaunere
> I'll be in town the 26th, if you still are looking for a speaker... > I'm sure I can find something interesting to talk about :) Sounds good to me - John, shoot me a blurb and optional bio to me off-list and I'll get you locked in - first come first serve. H _

[nyphp-talk] Call for Presentation

2011-04-13 Thread Hans Zaunere
Hi all, We're looking for a presentation for our General NYPHP Meeting (occurring April 26th at 6:30pm at IBM). NYPHP general meetings are: -- technical, non-sales, developer orientated -- review of interesting technology, techniques, etc. Thanks, H _

Re: [nyphp-talk] DO NOT Pay with your phone using FaceCash

2011-03-27 Thread Hans Zaunere
used by others on their own servers to send their own mail. I believe you - which is why I addressed my reply to Aaron :) H > > Aaron, this is not an appropriate posting. This is not a list for > > advertising. > > > > Thank you. > > > > --- > &

Re: [nyphp-talk] DO NOT Pay with your phone using FaceCash

2011-03-27 Thread Hans Zaunere
Aaron, this is not an appropriate posting. This is not a list for advertising. Thank you. --- Hans Zaunere / Bootup/ New York PHP Managing Member / www.bootup.io / www.nyphp.org > FaceCash > Pay with your phone using Fa

[nyphp-talk] For Review - PHP 5 CMS Framework Development - 2nd Edition

2010-09-25 Thread Hans Zaunere
-book copy. --- Hans Zaunere / Bootup/ New York PHP Managing Member / www.bootup.io / www.nyphp.org ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation

[nyphp-talk] FW: [TriPUG] Rasmus at Digg

2010-08-17 Thread Hans Zaunere
Some interesting points in the talk, also here: http://talks.php.net/show/digg H > I haven't watched the whole thing yet, but for those of you interested > in PHP, this may be fun. > > http://about.digg.com/blog/rasmus-lerdorf-php-performance > > The first part is historical context, apparent

[nyphp-talk] FW: August 4th: Tools: dynaTrace AJAX Edition with Angreas Grabner

2010-07-27 Thread Hans Zaunere
All - looks like an interesting talk that's relevant on a daily basis... check out the link for details and to RSVP. H > On August 4th at 6PM we'll have a special guest - Andreas Grabner from > dynaTrace team! > > Andreas will come to NY to talk about dynaTrace AJAX Edition and their > next, 2.0

Re: [nyphp-talk] phpMyAdmin and MySQL DB Backup

2010-07-24 Thread Hans Zaunere
> Recently, I have had a DB dump/backup (created using the phpMyAdmin > interface) fail because there is a single table in this db that needs > this exception written into the backup file output: "SET > SQL_MODE="NO_AUTO_VALUE_ON_ZERO";" > > It seems, the phpMyAdmin interface does not have an opt

[nyphp-talk] Getting Closure - on PHP Closures and 5.3

2010-07-16 Thread Hans Zaunere
Hi, So we're working on our meeting for July (announcement coming soon), at which I'll be taking some time to discuss the three key new features of PHP 5.3. Closures - great for Javascript, but for PHP? In a non-callback-centric synchronous language such as PHP, what else can we use this "syntac

Re: [nyphp-talk] A FBJS like Ajax proxy?

2010-05-31 Thread Hans Zaunere
> 2.The guy that gave the hiphip talk said "we don't open source more > stuff because we don't know what people find useful" So does anyone > know the right channel to make such a request. http://www.facebook.com/macvicar H ___ New York PHP User

Re: [nyphp-talk] Plagiarism Checker in PHP

2010-05-14 Thread Hans Zaunere
> Actually turnitin.com, a website where students turn in schoolwork, > checks for plagiarism and from what I understand does a pretty good > job. They compare both student-to-student and student-to-literature. > I'm not sure how they pull it off, probably a proprietary algorithm > that tries to ma

Re: [nyphp-talk] Plagiarism Checker in PHP

2010-05-02 Thread Hans Zaunere
> Hi Friends, Hi, > I am developing blogger website using PHP & MySQL. And, I would like > add the feature of Plagiarism Checker. > > If any one posted an article in my website, that article must be unique > and original. > > Could you please tell / suggest me how to develop Plagiarism Checker

[nyphp-talk] The Largest Web Sites

2010-04-16 Thread Hans Zaunere
Looks like an excellent resource - http://royal.pingdom.com/2010/04/14/peeking-behind-the-scenes-of-the-worlds- largest-sites/ H ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.o

Re: [nyphp-talk] Adding indexes

2010-03-23 Thread Hans Zaunere
> > One caveat to this is that mysql will only use one index per table in > > your query. > > I've never heard that before. Do you have a citation from the manual on > MySQL's website, please? It's thrown around through some of the links Rob mentioned, but it's true and notorious issue with inde

Re: [nyphp-talk] Mar 23 Meeting

2010-03-22 Thread Hans Zaunere
Hello, > I'm very interested in the topic for tomorrow's meeting (Coding for > Mobile Web Applications) -- but can't attend due to work. Will the > presentation be posted anywhere? Yes, likely the presentation slides will be posted in the archives: http://www.nyphp.org/PHP-Presentations

Re: [nyphp-talk] HipHop C++ "transformer" for PHP

2010-02-04 Thread Hans Zaunere
> Check out this article for the run down (who HipHop is aimed at): > > http://terrychay.com/article/hiphop-for-faster-php.shtml And some additional links that were posted by our friends over at Boston PHP: > It's real confirmation that PHP is a great language for web programming > > http://de

Re: [nyphp-talk] Inspiration for projects.

2010-02-04 Thread Hans Zaunere
> In addition to what others said... Write unit tests for PHP. Fix bugs > in PHP's C source code. Knock out documentation bugs for PHP. +1 for unit testing for PHP. We held a successful testfest in May and had planned on making it a more frequent occurrence (it's actually fun - really). While

Re: [nyphp-talk] MyISAM vs InnoDB

2010-02-04 Thread Hans Zaunere
> I'm sure we've all heard one version or another of which was faster. > Among the people I've spoken to in person the consensus was MyISAM. But It depends on what "faster" means. MyISAM has about a third of the storage/RAM/processing footprint. And because it doesn't do multi-versioning and row

Re: [nyphp-talk] Internet by Numbers 2009

2010-01-23 Thread Hans Zaunere
> > > Very interesting - > > > > > > http://royal.pingdom.com/2010/01/22/internet-2009-in-numbers/ > > > > > > What would be great is a decade analysis... > > > > And the 80% spam rate is depressing. > > s/depressing/surprisingly low/ Interesting you should mention that: http://www.net-security.o

[nyphp-talk] Internet by Numbers 2009

2010-01-22 Thread Hans Zaunere
Very interesting - http://royal.pingdom.com/2010/01/22/internet-2009-in-numbers/ What would be great is a decade analysis... H ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.or

Re: [nyphp-talk] IIS a dysfunctional kludge?

2010-01-14 Thread Hans Zaunere
> >>Oh my :) > > > >That applies to IIS, right? I just have to ask the question: can't > >you just use a real web server that actually works, like, let's say, > >Apache? I 'work' with IIS at work and it is a totally dysfunctional > >kludge. > > I have a client who is setting up a server and is goi

Re: [nyphp-talk] IIS 7, trigger_error, and Large File Uploads

2010-01-04 Thread Hans Zaunere
> >>> Oh my :) > >> > >> That applies to IIS, right? I just have to ask the question: can't you just > >> use a real web server that actually works, like, let's say, Apache? I 'work' > >> with IIS at work and it is a totally dysfunctional kludge. > > > > We're actually porting away from Apache to m

Re: [nyphp-talk] IIS 7, trigger_error, and Large File Uploads

2010-01-03 Thread Hans Zaunere
> > Oh my :) > > That applies to IIS, right? I just have to ask the question: can't you just > use a real web server that actually works, like, let's say, Apache? I 'work' > with IIS at work and it is a totally dysfunctional kludge. We're actually porting away from Apache to meet various requirem

[nyphp-talk] IIS 7, trigger_error, and Large File Uploads

2010-01-03 Thread Hans Zaunere
Oh my :) I'm developing an application running under IIS 7 using FastCGI and PHP 5.3. I've used the recommended installation procedures from MSFT for getting things setup using their Web Platform installer. 1. When I call trigger_error, where does the error go? When I have display_errors on, it

[nyphp-talk] How Programming Language Fanboys See Each Other's Language

2009-12-22 Thread Hans Zaunere
Just thought this would put a nice tie on the new year :) http://www.bootup.io/img/auximg/developers-as-seen-by.jpg H ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Pa

[nyphp-talk] mailing lists

2009-12-12 Thread Hans Zaunere
> > What's with all the spam "porn" solicitation email?? > > Hmm, not sure actually - looking into it now. Sorry about that folks - 8 years and nothing like that - although oddly, we've had two similar incidents in as many weeks... and going through mbox files isn't too fun. Mailman might be sho

Re: [nyphp-talk] [nyphp-jobs] spam

2009-12-12 Thread Hans Zaunere
> What's with all the spam "porn" solicitation email?? Hmm, not sure actually - looking into it now. H ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation

Re: [nyphp-talk] [JOB] Senior Web Developer (Portsmouth, NH)

2009-12-02 Thread Hans Zaunere
All - please post open positions to the NYPHP-Jobs list: http://www.nyphp.org/Mailing-Lists Thank you, H > -Original Message- > From: talk-boun...@lists.nyphp.org [mailto:talk- > boun...@lists.nyphp.org] On Behalf Of Greg Rundlett (freephile) > Sent: Wednesday, December 02, 2009 5:26 P

Re: [nyphp-talk] MongoDB slides

2009-11-22 Thread Hans Zaunere
Hi, > I had attended the excellent presentation by Kristina Chodorow on > MongoDB a few weeks ago. I couldn't find a link to the slides on this > page: > http://www.nyphp.org/PHP-Presentations/145_Recovering-Mongos-MongoDB-PHP > > Please let me know if the slides were posted online somewhere. Ch

Re: [nyphp-talk] Valudating common field types

2009-10-26 Thread Hans Zaunere
> Thanks for the feedback. Right, So many cases to handle in there. I > will also add minimum 2 characters to the list. That might not be correct, especially for Asian lastnames/etc... oh, minimum of 2, but you get my meaning... what if you will want to support a middle initial? :) End of

Re: [nyphp-talk] Valudating common field types

2009-10-26 Thread Hans Zaunere
Hi, > This is my first post to this NYPHP mailing list. So hello to everyone > and thanks for the thorough discussions which help a beginner developer > like me. Hi Yogesh and welcome. > I have a simple question. I want to validate first and last name. I > assume that these are probably most com

[nyphp-talk] FW: Websockets class

2009-10-22 Thread Hans Zaunere
All, I'm forwarding this on behalf of the Java group because it could be a nice class and will cover some of "web 3.0" :) (and Frank from NYJavaSIG was able to get us a discount). H > HTML5 Communications Workshop > > One day hands-on workshop about using the new HTML5 network stack for "real-ti

Re: [nyphp-talk] virtualization options...

2009-10-18 Thread Hans Zaunere
Hi, > I'd like a free tool that allows me to run a linux virtual machine on > my windows laptop so I can do development on it, ftp and ssh to it, and > run various services on it like apache and procmail... > > I know these tools (apache and procmail) are available for windows, but > I *need* a l

Re: [nyphp-talk] developer's machine specs -- recomendations?

2009-10-18 Thread Hans Zaunere
Hi, > Who here is happy with their current development machine? Would you > care to share your hardware specs? I got a new system last year (wha, this year flew by). Basically a Dell desktop with the Q6600 and 8gb RAM. I had 4gb RAM originally which was fine, but later upgraded so that I could

[nyphp-talk] ConFoo - Call for Papers

2009-09-30 Thread Hans Zaunere
Hi all, Our friends to the north are working on what appears to be a bigger/better PHP Quebec conference. They are actively looking for speakers and have personally invited NYPHP members to submit talks, etc. Please see additional information below, and be sure to check out their site, www.confo

Re: [nyphp-talk] Yahoo Special Presentation - Topic Selection

2009-09-25 Thread Hans Zaunere
>>>    * Get any Web Data as if you are using SQL: a YQL quick-start guide >>>    * Accessibility: What, Why, How? >>>    * Mobile Data: how to avoid the latency trap when using web services Thanks all, Mobile Data it is. H ___ New York PHP Users Grou

Re: [nyphp-talk] Yahoo Special Presentation - Topic Selection

2009-09-25 Thread Hans Zaunere
alk- > boun...@lists.nyphp.org] On Behalf Of Hans Zaunere > Sent: Wednesday, September 23, 2009 7:00 PM > To: 'NYPHP Talk' > Subject: [nyphp-talk] Yahoo Special Presentation - Topic Selection > > Hi all, > > As a precursor to the Yahoo Hack Day (free event, see > http://ican

[nyphp-talk] Yahoo Special Presentation - Topic Selection

2009-09-23 Thread Hans Zaunere
le Data: how to avoid the latency trap when using web services Thank you to Yahoo and Tom for making this possible, and we look forward to your response. --- Hans Zaunere / Managing Member / New York PHP ___ New York PHP Users Group Community Talk Ma

Re: [nyphp-talk] Database, table, and column naming schemes

2009-09-14 Thread Hans Zaunere
> Here's my input on this same topic from a couple weeks ago on this > list: > http://lists.nyphp.org/pipermail/talk/2009-August/028910.html Wow, seems like we've got a new PHundamentals article already in the works :) H ___ New York PHP User Group Co

Re: [nyphp-talk] Short Tags deprecated?

2009-08-31 Thread Hans Zaunere
> > Yeah something like this could be handy, certainly. I typically push/adapt > > an object into the template which is property overloaded. Then something > > like: > > > > FirstName?> > > I'm afraid that this is getting us back to magic_quotes_gpc: Negative - magic_* is global type behavior t

Re: [nyphp-talk] OOP, Frameworks, ONLAMP, and NYPHP

2009-08-31 Thread Hans Zaunere
Good morning, > > So Bev, you taking the lead? > > > > Leam > > Hi Leam, > > I'm not sure. I sent an email to Hans saying I'd be happy to help in > whatever capacity I can, so I'm waiting hear back from him. Sorry, I need to call roto router on my inbox... > Do you want to help too? If so, I t

Re: [nyphp-talk] Need help understanding NULL

2009-08-29 Thread Hans Zaunere
> I don't usually use NULL values for anything because no matter how much > I read I can't figure out the purpose of it. So far this hasn't been a > problem for me, but I figure it's going to trip me up sooner or later. NULL is just a type - a type that can only ever be one thing - NULL > I've re

Re: [nyphp-talk] OOP, Frameworks, ONLAMP, and NYPHP

2009-08-29 Thread Hans Zaunere
> > Regarding PHundamentals, it's certainly been a great resource over the years > > thanks to the time and effort put into it, and the quality/participation of > > the list members. > > > > It has, obviously, stalled and become a bit outdated itself. Picking them > > back up would be a great thin

Re: [nyphp-talk] Short Tags deprecated?

2009-08-29 Thread Hans Zaunere
> > Absolutely, some type of shorthand is needed, which is exactly why they > > exist in the first place. I think the issue with removing > one could decide what to actually replace it with. It'll come, wait for > > it... > > Well you're at it, how about a version of htmlspecialchars() built i

Re: [nyphp-talk] Short Tags deprecated?

2009-08-28 Thread Hans Zaunere
> > It's snippets like these, imho, that justify the deprecation/removal > > of short open tags. ... > On the other hand, if I ever have to hack the php source to enable > short tags, I'll change them to [; and ;] so I can stop wearing down > my pinkie on the shift key. Absolutely, some type of sh

Re: [nyphp-talk] Short Tags deprecated?

2009-08-28 Thread Hans Zaunere
> I think there is some discrepancy with this ini directive. In the > study book "Zend PHP5 Certification Guide" form PHP|Architect, It > states that the short tags are deprecated. I am not seeing any other > references to short tags being deprecated. In fact in the > documentation for the Zend

Re: [nyphp-talk] OOP, Frameworks, ONLAMP, and NYPHP

2009-08-28 Thread Hans Zaunere
Hi Leam, > More timing...or synchronicity... > > As we discuss the learning path and stages, I've heard that ONLAMP will > not really continue. I mentioned ONLAMP's aged articles to you a few > months ago and was all hyped about upgrade and reform. ONLAMP has helped > me in several ways and it's

[nyphp-talk] PHP Conference - VOTE NOW

2009-08-10 Thread Hans Zaunere
Hello, As some may have heard, CodeWorks is coming to NYC in October - we'll post more details as their available but suffice it to say, that each local stop on the CodeWorks road show allows one local speaker. Over on the Org list, I've asked folks to submit abstracts, and now we have a chance t

Re: [nyphp-talk] Broken Link Checker

2009-08-10 Thread Hans Zaunere
> Right. I don't want 401. Do you know which php function can be used > to check that? http://us.php.net/curl http://us.php.net/manual/en/book.http.php http://us.php.net/manual/en/wrappers.http.php ... depending on your version of PHP and what's available on the server. The first or last opti

Re: [nyphp-talk] table structure for "friend" relationships

2009-07-31 Thread Hans Zaunere
All, > > I'm thinking the multi-table joins performed twice for each search > > will make more of a hit in performance (and maintenance) than > > writing two rows for each relationship and then always being able to > > search only once. > > I've used code like that successfully for 4 years. I'm n

Re: [nyphp-talk] SSH2_CONNECT

2009-07-30 Thread Hans Zaunere
> Are you sure? yah, pretty much - if you want to connect to a server using ssh, then this is the way to go... > The scenario is I'm running a php script but I want to switch linix > users? > > Do I have to use ssh2? I would have to go off the server and come back > in just to switch users? Wh

Re: [nyphp-talk] SSH2_CONNECT

2009-07-30 Thread Hans Zaunere
> If I'm on a server already what function can I use to connect as > another user? Seems like a reasonable choice: http://us2.php.net/manual/en/function.ssh2-connect.php Then you'll probably want: http://us2.php.net/manual/en/function.ssh2-auth-password.php H

Re: [nyphp-talk] SSH2_CONNECT

2009-07-30 Thread Hans Zaunere
> Does anyone know if you need a library for SSH2_CONNECT? > > If so, which one? http://us2.php.net/manual/en/ssh2.installation.php Most (all?) unix systems should have the required libs already. H ___ New York PHP User Group Community Talk Mailing

Re: [nyphp-talk] About the site structure article

2009-07-30 Thread Hans Zaunere
> That's the strategy I use ... I sure hope that's not unsafe > > Hello everyone. > First of I wanna say hi, since it's my first contribution here. > Also I'm not from NY, but Norway. Found your site trough google > > Now, back on topic: > It's a very nice, short and

Re: [nyphp-talk] Meeting tonight: Can anyone record audio/video?

2009-07-28 Thread Hans Zaunere
> Sorry for the last minute request, but is there anyone who can volunteer > to bring along some sort of A/V device so we can record tonight's > presentation? It'd be great to get someone with a good camera, but we do have justin.tv setup for next week's meetup. If worse comes to worse, we can us

Re: [nyphp-talk] Caching, proxies, sharding and other scaling questions

2009-07-24 Thread Hans Zaunere
> > http://highscalability.com/ > > Yes, I forgot about that great site. And I'm sure many on this list have experience in this field too... > We're toying with using memcache but the $M question is: how many memcache > servers will we need? Is it just a case of testing-tweaking-testing or are

Re: [nyphp-talk] JSON and MVC

2009-07-20 Thread Hans Zaunere
> In a prior engagement, we were using XUL as the view and JSON as the > communication protocol. This was nice, since the entire user interface > resided on the user's desktop (as a Firefox Add-on), all we needed to > transmit was the data. Of course, you need to be using HTML, so > transpose the

Re: [nyphp-talk] JSON and MVC

2009-07-15 Thread Hans Zaunere
> > So I think I see what you're saying. Keep all markup (aside from > > perhaps the initial request) off the server. > > > > I thought about this, and played around with it a bit. There are a > > couple of problems, or at least contradictions... > > > > -- everyone I talk to says do as much as y

Re: [nyphp-talk] JSON and MVC

2009-07-15 Thread Hans Zaunere
> > The Javascript then takes each element from the array and manipulates the > > DOM as appropriate. Why not just stuff things in innerHTML you may ask? > > Because that's not granular enough, and should the user be interactive with > > that particular element, the user has just lost his current

Re: [nyphp-talk] JSON and MVC

2009-07-15 Thread Hans Zaunere
tual rendering and output of the data in the format needed for JSON. I don't see any examples from the above links on how the template/data output is actually handled - have you seen any examples of this? H > On Wed, Jul 15, 2009 at 10:31 AM, Hans Zaunere > wrote: > > Hello, &g

[nyphp-talk] JSON and MVC

2009-07-15 Thread Hans Zaunere
Hello, As I work with and need to support JSON applications more and more, I quickly remember why the mantra "don't use javascript" from yesteryear was in place. Worse, perhaps, is how the browser and server need to interface with each other in complex JSON based applications. We're all familiar

Re: [nyphp-talk] [OT] Managed hosting on the east coast?

2009-07-01 Thread Hans Zaunere
> Taking a long hard look at Peer 1, wondering what the rest of you > think about them as a managed hosting provider. I need a relatively > common infrastructure (firewall, loadbalancer, webservers, database > servers) need and am scrambling to find desirable suitors. > > Any advice from the NYPHP

Re: [nyphp-talk] oci8 bind error

2009-07-01 Thread Hans Zaunere
t; upper > case (you can use mixed case but it is not fun). > > Eric > > > > SolutionOne > Eric Gewirtz > 162 Turk Hill Road > Brewster NY, 10509 > Phone: 845-729-7800 > FAX:845-279-5502 > > > >-Original Message- > >From: talk-bo

Re: [nyphp-talk] oci8 bind error

2009-07-01 Thread Hans Zaunere
Hello, > Warning: oci_bind_by_name(): ORA-01036: illegal variable name/number in > /appl/wideacc/CustMast/in/OCIpreptest.php on line 23 > Below is the test code I'm running; > > > //Connect to the Database > $dbUser = 'c1'; > $dbPSWD = p1'; > $db = 'db1'; > $con = oci_connect($dbUser, $dbPSW

Re: [nyphp-talk] where in filesystem to install php application

2009-07-01 Thread Hans Zaunere
> Perhaps this is one of those things that doesn't matter a helluva lot, > but: when you have a freshly installed Debian-style LAMP (actually > Ubuntu server 9.04) and you are looking for a place in the filesystem > to install your PHP application files -- where do you like to put them? > /usr/loc

Re: [nyphp-talk] Trying to decide between MDB2 and PHP PDO

2009-06-25 Thread Hans Zaunere
> >> Wait, are you advocating //against// prepared statements? > > > > Not at all, but when using mysql, you should emulate them.  I am > > actually all for "prepared" style queries, if I ever see > > "mysqli_real_escape_string" in someone's code, I immediately write the > > person off as clueless.

Re: [nyphp-talk] Trying to decide between MDB2 and PHP PDO

2009-06-25 Thread Hans Zaunere
> Hi, I work with Kevin. Our application needs to run on both mySQL and Oracle > so we are looking for portability. We currently are using PEAR DB and we are > looking into moving to MDB2 or PDO so we thought it would be a good idea to > test performance before we make a decision. Amazing what you

Re: [nyphp-talk] Old articles on OnLAMP at O'Reilly

2009-05-27 Thread Hans Zaunere
> Yikes! > > http://www.onlamp.com/php/ > > If I see correctly, the oldest articles there are from 2006! Any of you > smart PHP folk want to add some resume bullets and post a few things to > keep us in the communal lime-light? Hmm... here is from 2000? http://www.onlamp.com/pub/q/all_php

Re: [nyphp-talk] PHP 5.3 add_x_header Broken

2009-05-22 Thread Hans Zaunere
> > However, when the X-PHP-Originating-Script header is added, it's prefixed > > with a \r\n. This thus breaks some email clients, especially when sending > > from a Unix host where all the other headers are separated by only a \n. > > Well, last I looked, the mail format RFC says the headers ar

[nyphp-talk] PHP 5.3 add_x_header Broken

2009-05-21 Thread Hans Zaunere
Hello, I wanted to check to see if anyone else had been seeing this issue before reporting a bug. In PHP 5.3, there's the mail.add_x_header configuration setting. When On, which is the default with the preferred/production php.ini, it adds the X-PHP-Originating-Script email header for tracking p

Re: [nyphp-talk] [0T] Verizon FIOS -- comments?

2009-05-20 Thread Hans Zaunere
> > That is the part that I still don't get as a foreigner. Why is most of the > > infrastructure here in the US in such a bad state? > > That is the price we pay for things getting invented over here. Radio > is another example. First time I saw a car radio in Switzerland and > the name of the so

Re: [nyphp-talk] Test fest?

2009-05-19 Thread Hans Zaunere
Hi Paul, > The London PHP User group recently held a Test Fest at IBM in the > London on the 9th of May and one of the organisers was Zoe of IBM > (UK).You could take a peek at her blog > http://zoomsplatter.blogspot.com/2009/02/php-testfest-2009.html and > maybe ask her advice on what you should

Re: [nyphp-talk] Test fest?

2009-05-18 Thread Hans Zaunere
Hi, > I've never been to one of these before, what is expected on the laptop > I'll bring? A working AMP stack or just an editor? Hop over to the Org list: http://lists.nyphp.org/mailman/listinfo/org Subscribe and check the archives. I'll also be posting another note tomorrow, but basically j

Re: [nyphp-talk] NYPHP SIGs

2009-05-16 Thread Hans Zaunere
> What's the deal with the NYPHGP SIGs? i.e. can anyone create a SIG? Is > there a process involved? Or votes? Or what? Basically, yeah, any SIGs are welcome. What are you thinking? We just want to make sure there isn't too much overlap with existing SIGs, and that we don't dilute the lists too

Re: [nyphp-talk] Switch-Case v. if/else

2009-05-14 Thread Hans Zaunere
> Does anyone know how the PHP Interpreter pulls switch/case statements > together? Does it emulate a C compiler and, for larger case sets, > build a huge if/else cascade? Does it do this always? Is there any way Since PHP isn't really compiled, there are some inefficiencies when compared with s

Re: [nyphp-talk] WAMP (minus the M) forking question - also open to other ideas

2009-04-30 Thread Hans Zaunere
Hi, > Hi experienced and talented community of which I have been trolling for > a few years! > > I have a question for all of you and I hope this makes sense. > > First, the background. I am coding a PHP Web application that has to > call a external program, however, because only one instance of

Re: [nyphp-talk] PHP hosting and standard tool-chain for newbie?

2009-04-27 Thread Hans Zaunere
> > The Protype vs JQuery debate strikes me as religious. Both are class acts, > > take your pick. > > The fact that JQuery doesn't have JSON encoding/decoding built in makes > me think Prototype has their act together a bit more. For what it's worth, I'm a YUI fan. http://developer.yahoo.com/yu

  1   2   3   >