Created
March 22, 2012 03:35
-
-
Save girvan/2155438 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
require('header_tpl.php'); //relative path, indicated by $sopily->template_dir | |
?> | |
<h1>Demo</h1> | |
url is <?=$url?> <br> | |
url with modifier <?=$_escape($url)?> <br> | |
url with multiple modifier: <?=sopily($url,Array('default'=>'http://www.sopili.net >_<|||','escape'))?> <br> | |
url with multiple modifier2: <?=sopily($url,'default','http://www.sopili.net')?> <br> | |
url with multiple modifier3: <?=$_escape($url)?> <br> | |
<? | |
require('footer_tpl.php'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment