This commit is contained in:
Kasper Rynning-Tønnesen
2014-08-08 18:36:03 +02:00
parent a4cce13a58
commit 28c9164fb6

View File

@@ -1,6 +1,3 @@
<script>
console.log("utenfor if")
</script>
<?php
if(isset($_POST['thisUrl']))
{
@@ -10,10 +7,6 @@
$data = json_decode($file);
unset($file);//prevent memory leaks for large json.
//insert data here
?>
<script>
console.log("in save.php");
</script><?php
if($data[0] == $string)
{
array_push($data, $string);
@@ -26,5 +19,5 @@
{
echo "You're a bad boy";
}
die();
die();
?>