[PHP] Re: PHP Sessions || Problems with AOL, Safari, etc.

2006-10-28 Thread sit1way
Hey all. I run a members-only hockey report that relies on Session variable(s) to grant/deny access to members-only site content. Generally members have no trouble accessing members-only content once logged-in to the site; however, since we have a few thousand members, I frequently receive tec

Re: [PHP] Re: LAMP || Apache Cache PHP Source File...

2006-10-15 Thread sit1way
Hi Ed. H, does mod_proxy perform file caching? It appears to just redirect urls to and from a proxy server. I'm already doing this on my Windoze test box: # redirect domain.com/lookup requests to Site Builder Controller RewriteCond %{REQUEST_URI} !\.+ RewriteRule ^/(.*) /controller\.ph

[PHP] Re: LAMP || Apache Cache PHP Source File...

2006-10-15 Thread sit1way
Hey All. Like many intermediate (and higher) level programmers, I've written a LAMP based CMS application to develop sites for my clients. Until recently I had major version control issues; i.e. when making a change/enhancement to one site, none of the other sites would get updated. Now I've g

[PHP] Re: Separate PHP Code From HTML || Pros & Cons?

2006-10-07 Thread sit1way
Hey all. I've built a simple, yet effective PHP based CMS, one that I use in all sites I develop. Unfortunately, from site-to-site, functionality may be different; i.e. I often have to extend the original CMS to account for custom client needs, which means grabbing the most recent version of m

[PHP] Re: Set Variable = Long HTML String?

2006-10-07 Thread sit1way
Hey all. I'm overhauling my PHP based CMS and want to know how to set a variable equal to an HTML string, but without having to escape all the quotes! Example: $var = " News Options doc_path ?>admin/news/add/1/>Add doc_path ?>admin/news/update/1/>

[PHP] Re: PHP5 || Catch Error & Send POST Vars...

2006-10-05 Thread sit1way
Hey all. Loving Try Catch error handling in PHP5! Got a problem though: I'd like to catch errors and send POST vars to my error display page. So: try { $r = new query($sql); if(!$r) { throw new Exception($err); } } catch (Exception $e) { $this->err_msg = $e->getMessag

[PHP] Re: How to Set Object Array Value || In $this->$name[] Format...

2006-10-05 Thread sit1way
Hey all. I've got a simple object method that sets object vars based on a passed array: ** function set($arr) { foreach($arr as $name => $value) { if(is_array($this->name)) { $this->$name[] = $value; }