Re: [nyphp-talk] OT: 2600

2006-11-16 Thread Ben Sgro (sk)
Yes, 2004 was awesome. Everyone! That's very cool! Infact I do: In association with 2600: The Hacker Quarterly, Steven Rambam will finally deliver his talk entitled, "Privacy is Dead." As you may recall, this was originally scheduled for the middle of HOPE Number Six but wound up being cancelled

Re: [nyphp-talk] OT: 2600

2006-11-16 Thread Jon Baer
Hmmm .. now do it *in* PHP ... http://forum.skype.com/index.php?showtopic=47585 :-) BTW, anyone know when they will be rescheduling the talk from this year's HOPE on privacy? - Jon On Nov 16, 2006, at 2:16 PM, csnyder wrote: > On 11/16/06, Michael Hernandez <[EMAIL PROTECTED]> wrote: > >> W

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

2006-11-16 Thread edward potter
Attended them all. Getting a bit crazed now. The best was '04. After the RNC came to town and we all got ourselves arrested. Emmanuel too. :-) ed On 11/16/06, Ben Sgro (sk) <[EMAIL PROTECTED]> wrote: > Another 2600 reader! Pleased to meet you! > > Have you ever attended HOPE? > > - Ben > > (S

Re: [nyphp-talk] Help with error statement

2006-11-16 Thread Paul
Hmm... Did not think that this would be that difficult. Though I know I looked at it for several day before posting here. Sorry for all posts. The last solution did not work either. There is an if statement but no else. Sorry I am unsure where it would go. Also for some reason the chan

Re: [nyphp-talk] Help with error statement

2006-11-16 Thread Rob Marscher
Gotcha. Try this: $zips = $z->get_zips_in_range('07732', '10', _ZIPS_SORT_BY_DISTANCE_ASC, true); $row_count++; foreach ($zips as $key => $value) { //find all locations within range using returned zipcode values $sql_events = mysql_query("SELECT * FROM area36 WHERE zipcode ='$key'") o

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

2006-11-16 Thread Cliff Hirsch
Every service provider asks me, how much RAM do you want? How much bandwidth do you need? My standard answer is that on the first day, the application will have one user - me. After that, it's anyone's guess. Any thoughts on ways to estimate bandwidth requirements? Are there any modeling tools

Re: [nyphp-talk] OT: 2600

2006-11-16 Thread Chris Shiflett
Michael Hernandez wrote: > When this thread reveals methods of using PHP to get free > phone calls I'll *really* start paying attention http://futurephone.com/'); ?> Is that close enough? :-) Chris -- Chris Shiflett http://shiflett.org/ ___ New York

Re: [nyphp-talk] OT: 2600

2006-11-16 Thread csnyder
On 11/16/06, Michael Hernandez <[EMAIL PROTECTED]> wrote: > When this thread reveals methods of using PHP to get free phone calls > I'll *really* start paying attention :) hahaha Oh you didn't know about the phreak() function in php 5.2? ___ New York P

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

2006-11-16 Thread Cliff Hirsch
3tera has a solution that they offer to hosting companies that goes way beyond this. In fact, MT could even be using it. Check out: http://www.3tera.com http://www.thegridlayer.com http://www.utilityserve.com/ This may be the future, but for whom -- you or the service provider? The benfit is obvi

Re: [nyphp-talk] Help with error statement

2006-11-16 Thread Paul
The problem with this is that the count is always greater than zero. The count($key) will always equal at least one. The one being the orignating zipcode that you searched since even if you searched 1 mile, you would still have one originating zipcode. If there is a location at that orig

[nyphp-talk] executing php in the output buffer

2006-11-16 Thread Mark Withington
I'm retrofitting a simple templating system. Ends up that I've got PHP in the output buffer that needs to get executed prior to sending to the browser. I'm using the callback function within ob_start command (e.g. ob_start(runphp);). Anyone had any experience doing this (or better ideas)? Than

[nyphp-talk] http post request relative links

2006-11-16 Thread Rob Notwicz
I'm making a post request to an https site using PEAR HTTP_Client. The site redirects me and the redirected page returns a response as a relative link, and so I end up getting back http://locahost/ rather than https://[site]/ and so end up with a 404 error. Does anyone know how I can get

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

2006-11-16 Thread Mark Armendariz
Wow, MT's grid server is incredibly interesting. Been using MT for years with few to no complaints on any level. Anyone have experience with the new service? Mark > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Morgan Craft > Sent: Thursday, Nove

Re: [nyphp-talk] OT: 2600

2006-11-16 Thread Morgan Craft
The B&N on Madison Ave and 46th street (Midtown) has it tucked in the computer magazine section. I know the B&N back home in Ohio doesn't carry it. So probably isn't in all the B&Ns -Morgan Brian Dailey wrote: > Thanks for the recommendation! I'll check that out. Does any B&N carry > 'haki

Re: [nyphp-talk] Help with error statement

2006-11-16 Thread Rob Marscher
Sorry... I looked at it a little too quickly... You need to put your if statement outside the foreach. That was the issue. $zips = $z->get_zips_in_range('07732', '10', _ZIPS_SORT_BY_DISTANCE_ASC, true); if(isset($zips) && count($key) > 0) //find all locations within range using returned zipcode

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

2006-11-16 Thread Morgan Craft
Hearing good things about Media Temples new 'Grid Server'. From what they are advertising the grid system should balance sites across all servers instead of clustering with the possibility of no downtimes. http://www.mediatemple.net/webhosting/gs/ -Morgan Tom Melendez wrote: > Hey Folks, > >

Re: [nyphp-talk] OT: 2600

2006-11-16 Thread Brian Dailey
Thanks for the recommendation! I'll check that out. Does any B&N carry 'haking' or is there a particular location I need to look for it? - Brian Ben Sgro (sk) wrote: > Hey Brian, > > HOPE is great. I went in both 04 and 06. I've been reading 2006 since '97. > > I feel the technical level hasn

Re: [nyphp-talk] OT: 2600

2006-11-16 Thread Michael Hernandez
On Nov 16, 2006, at 12:13 PM, Ben Sgro (sk) wrote: > Hey Brian, > > HOPE is great. I went in both 04 and 06. I've been reading 2006 > since '97. > > I feel the technical level hasn't kept pace with my own expertise > as I've > aged, but its a refreshing read. > > I recently stumbled on a new

Re: [nyphp-talk] Help with error statement

2006-11-16 Thread Paul
If I do as I think you suggested here: On Nov 16, 2006, at 11:35 AM, Rob Marscher wrote: > You want to use mysql_num_rows - > http://us3.php.net/manual/en/function.mysql-num-rows.php - after your > query. You can then do an if statement to check if mysql_num_rows ! > = 0 > before doing the while

Re: [nyphp-talk] OT: 2600

2006-11-16 Thread Ben Sgro (sk)
Hey Brian, HOPE is great. I went in both 04 and 06. I've been reading 2006 since '97. I feel the technical level hasn't kept pace with my own expertise as I've aged, but its a refreshing read. I recently stumbled on a new magazine at B&N, 'haking', a European publication. Very technical with s

Re: [nyphp-talk] Help with error statement

2006-11-16 Thread Rob Marscher
You want to use mysql_num_rows - http://us3.php.net/manual/en/function.mysql-num-rows.php - after your query. You can then do an if statement to check if mysql_num_rows != 0 before doing the while loop: $sql_events = mysql_query("SELECT * FROM area36 WHERE zipcode ='$key'") or die (mysql_err

Re: [nyphp-talk] OT: 2600

2006-11-16 Thread Brian Dailey
No! Don't respond off-list, unless you CC me. :D Whilst I am not an official subscriber, I catch up at Borders when I can. - Brian Ben Sgro (sk) wrote: > Another 2600 reader! Pleased to meet you! > > Have you ever attended HOPE? > > - Ben > > (Sorry to hijack this thread, you can respond off

[nyphp-talk] Help with error statement

2006-11-16 Thread Paul
I have the start of a zipcode radius locator. It seems to work but the problem I am having is creating an error statement if no locations are found. At first it made sense to check for retuned zipcode values. The problem being one zipcode will always be returned the one that is used for

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

2006-11-16 Thread Ben Sgro (sk)
Another 2600 reader! Pleased to meet you! Have you ever attended HOPE? - Ben (Sorry to hijack this thread, you can respond off list if you want) - Original Message - From: "edward potter" <[EMAIL PROTECTED]> To: "NYPHP Talk" Sent: Wednesday, November 15, 2006 5:07 PM Subject: Re: [nyp

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

2006-11-16 Thread Tom Melendez
Hey Folks, I'd like to offer my (brief, I promise) opinion on this having been on both sides of the fence (offering and evaluating an SLA). I also want to note that I am coming into the middle of this thread, so I may have missed the initial requirements. We all want 100% uptime, which as Ken sa

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

2006-11-16 Thread Brian Dailey
I'm originally from Tennessee. Where I lived, broadband was unavailable. Dialup was painfully slow, so I ended up using Verizon's wireless network as my primary connection (while at home). I have found it to be great to use, but I've also heard some horror stories about nightmarishly large cell

[nyphp-talk] LDAP -- trouble inserting records

2006-11-16 Thread Randal Rust
I am working on writing the code (with PHP LDAP functions) to insert records into a directory. I have been working for about five hours now, trying to insert a new organization, but to no avail. I continue to get an error (65) from this block of code, and I cannot figure out why. Any ideas?

Re: [nyphp-talk] cake url question

2006-11-16 Thread Marcin Szkudlarek
For people struggling with the same problem, I managed to do it like Jon suggested. I can say that Cake is a very flexible and easy to use framework. Thanks for your help! Marcin On 02/11/06, Jon Baer <[EMAIL PROTECTED]> wrote: Hard to say without seeing your routes.php, can you post? - Jon

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

2006-11-16 Thread Peter Sawczynec
RE: Employing wireless broadband internet for PHP web dev or server management on the road (via laptop or PDA)? a) Have you ever used Verizon Wireless Broadband (or similar) for internet access (via your laptop or PDA) throughout a major city metro area or even around the country? b) If yes