Public Function responsemsg () {$postStr = $GLOBALS ["Http_raw_post_data"]; if (!empty ($POSTSTR)) {$POSTOBJ = simplexml_load_string ($postStr, ' simplexmlelement ', libxml_nocdata); $fromUsername = $POSTOBJ->fromusername; $toUsername = $POSTOBJ->tousername; $keyword = Trim ($postObj->content); $time = time (); $TEXTTPL = "
%s
%s
%s
link
<! [cdata[public platform Developer's Lake]]>
5839907284805129867
陈坤的公众号这段时间大火,大家..
http://israel.duapp.com/web/photo.php
"; if ($keyword = = "?" | | $keyword = = "? ") {$resultStr = sprintf ($TEXTTPL, $fromUsername, $toUsername, $time); Echo $resultStr; }}else{echo ""; Exit } }
I'm going to go up there without a reply.
Reply to discussion (solution)
Development has not been done.
The usual problem is to see if it can be executed into the IF logic.
You up question mark, received is a question mark.
Development has not been done.
The usual problem is to see if it can be executed into the IF logic.
You up question mark, received is a question mark. Development..... There is no way to debug it looks like.
Public Function responsemsg () {$postStr = $GLOBALS ["Http_raw_post_data"]; if (!empty ($POSTSTR)) {$POSTOBJ = simplexml_load_string ($postStr, ' simplexmlelement ', libxml_nocdata); $fromUsername = $POSTOBJ->fromusername; $toUsername = $POSTOBJ->tousername; $keyword = Trim ($postObj->content); $time = time (); $TEXTTPL = "
%s
%s
news
1
<![ cdata[[Apple product information query]]>
0
"; if ($keyword = = "?" | | $keyword = = "? ") {$resultStr = sprintf ($TEXTTPL, $fromUsername, $toUsername, $time); Echo $resultStr; }}else{echo ""; Exit } }
Not with pictures or graphics.
PHP is available for debugging.
You can write some of the content you want to read in a TXT file.
So you can read it, which is equivalent to logging.
PHP is available for debugging.
You can write some of the content you want to read in a TXT file.
So you can read it, which is equivalent to logging. Good way to score for you.