Posted by josh.23.french on 11/03/06 22:08
> I get up to "/blog/" and that's it. It seems the rest is cut off. $_SERVER['PHP_SELF'] only returns the current dir/scriptname.ext, not the query string. You could say: $preview (@$_GET['preview']) ? $_GET['preview'] : false; if($preview){ //Include JS }; or if((!$isWPAdmin) xor ($preview)){ //Include JS };
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming