[nyphp-talk] CakePHP and Routing to Specific URLs

2009-05-01 Thread Randal Rust
OK, so I'm almost done with getting the basics of this site done so that we can switch to the new server next week, but I have one pressing issue. I have PHPMyAdmin installed on the server at this address: http://www.example.com/phpmyadmin/ When I try to access it, I get this: ==

Re: [nyphp-talk] CakePHP and Routing to Specific URLs

2009-05-01 Thread Randal Rust
On Fri, May 1, 2009 at 5:25 PM, Randal Rust wrote: > OK, so I'm almost done with getting the basics of this site done and you can ignore my request about the routing. i figured it out. i had updated the .htaccess under the /app/ folder, not the root of the directory. -- Randal Rust R.Squared C

Re: [nyphp-talk] Mobile Phone Detection

2009-05-01 Thread John Campbell
2009/5/1 Peter Sawczynec : > I was wondering if anyone on the list has a favorite, most-bulletproof > "User-Agent, CSS, browser sensing" strategy for sensing mobile phones > and/or individual carrier mobile phone environments. > > I am interested in a combined JavaScript / CSS @media or even a PHP

Re: [nyphp-talk] Mobile Phone Detection

2009-05-01 Thread Peter Sawczynec
I think sensing mobile in general and at least about a Top 5 individual phone types would be good. A lot of really old info online on this topic. Here are a couple of 2009 article references for this topic. A List Apart provides solid writeup: http://alistapart.com/articles/returnofthemobilestyl

Re: [nyphp-talk] Mobile Phone Detection

2009-05-01 Thread Kenneth Downs
I experimented with this and discovered simply looking at the display size did me pretty well. Not many desktops have a 200x200px display :) Peter Sawczynec wrote: I was wondering if anyone on the list has a favorite, most-bulletproof "User-Agent, CSS, browser sensing" strategy for sensing mob

[nyphp-talk] Mobile Phone Detection

2009-05-01 Thread Peter Sawczynec
I was wondering if anyone on the list has a favorite, most-bulletproof "User-Agent, CSS, browser sensing" strategy for sensing mobile phones and/or individual carrier mobile phone environments. I am interested in a combined JavaScript / CSS @media or even a PHP route. Also, has anyone used WURFL

Re: [nyphp-talk] Help with a CakePHP View

2009-05-01 Thread Randal Rust
On Fri, May 1, 2009 at 9:14 AM, Nate Abele wrote: > This may or may not fix your problem, but your query syntax is wrong. Thanks, Nate. Yes, after really digging around, including an attempt to upgrade, I figured out there was a syntax issue. I was able to get it working for now, but at least I

Re: [nyphp-talk] Help with a CakePHP View

2009-05-01 Thread Nate Abele
Date: Thu, 30 Apr 2009 11:10:16 -0400 From: Randal Rust To: NYPHP Talk Subject: [nyphp-talk] Help with a CakePHP View [snip] $whereClause = '`District`.`id` = "' . $this->mrClean->sql($this->passedArgs[0]) . '"'; $this->set('district', $this->District->find($whereClause)); $this->passedArgs[0

Re: [nyphp-talk] Help with a CakePHP View

2009-05-01 Thread Randal Rust
On Thu, Apr 30, 2009 at 4:17 PM, Daniel Convissor wrote: > But what's the difference between the two types of records? It ended up, for now at least, not having anything to do with the SQL queries. After working from the end of the process back to the very beginning, I found that the error was h