Created
March 22, 2012 03:41
-
-
Save girvan/2155467 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
<?php | |
if(empty($_SESSION['id'])) //必需要先登入 | |
die('Please Login First'); | |
must_referer("http://admin.tools.sopili.net"); //來源一定要是從 admin.tools.sopili.net 操作 | |
save_post($_POST['content'],$_SESSION['id']); //可以進行儲存的動作 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment