Mercurial > hg > ywww
comparison php/read/sendToFriend.php @ 49:a67bf725e87b
put both paths in include_path and depend on that
| author | Charlie Root |
|---|---|
| date | Wed, 16 Jan 2019 13:42:15 -0500 |
| parents | 077b0a0a3e6d |
| children |
comparison
equal
deleted
inserted
replaced
| 48:da133c130c1d | 49:a67bf725e87b |
|---|---|
| 1 <?PHP | 1 <?PHP |
| 2 | 2 |
| 3 if( !empty($_POST) ){ | 3 if( !empty($_POST) ){ |
| 4 | 4 |
| 5 include "../../../private/db.php"; | 5 include "db.php"; |
| 6 | 6 |
| 7 //echo $_POST["xml"]; | 7 //echo $_POST["xml"]; |
| 8 //echo print_r($_POST); | 8 //echo print_r($_POST); |
| 9 $xml = new SimpleXMLElement(stripslashes($_POST["xml"])); | 9 $xml = new SimpleXMLElement(stripslashes($_POST["xml"])); |
| 10 | 10 |
