Permalink
Browse files

More removal of $_SESSION stuff\!

  • Loading branch information...
kamron committed Jul 29, 2012
1 parent 52ada34 commit aadb4fda4947447c2476757b8ce9ad4b9a4ca95c
Showing with 2 additions and 6 deletions.
  1. +2 −6 smsrequest.php
View
@@ -1,6 +1,6 @@
<?php
require ('./query.php');
-// Allows me do debug!
+// Allows me to debug!
error_reporting(E_ALL);
ini_set("display_errors",1);
@@ -16,14 +16,10 @@
if($state = 'MORE' && strcasecmp( 'MORE' , $query )==0) // Set back to QUERY after a MORE
{
$message=$results[0].' '.$results[1];
- $state = 'QUERY';
- $_SESSION['query']='';
}
else //
{
$message=$results[0]." ".$results[1];
- $_SESSION['query'];
- $state = 'MORE';
}
}
@@ -41,5 +37,5 @@
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
?>
<Response>
- <sms><?php echo $message;?><<?php if(count($results)>1) echo ' Text MORE for more results.'; ?>/sms>
+ <sms><?php echo $message;?><?php if(count($results)>1) echo ' Text MORE for more results.'; ?></sms>
</Response>

0 comments on commit aadb4fd

Please sign in to comment.