Created
June 2, 2012 18:32
-
-
Save anonymous/2859521 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
var client = new XMLHttpRequest(); | |
client.open('GET', 'maxid.php', false); | |
client.send(null); | |
maxid=client.responseText; | |
JSON.parse(maxid); | |
return maxid; |
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
$wypisz='maxid=>' . 150; | |
echo json_encode($wypisz); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment