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
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
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
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
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/>
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
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;
}
7 matches
Mail list logo