Reply to Re: Help rendering Javascript?

Your name:

Reply:


Posted by josh.23.french on 11/03/06 22:11

> 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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация