Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

More removal of $_SESSION stuff\!

  • Loading branch information...
commit aadb4fda4947447c2476757b8ce9ad4b9a4ca95c 1 parent 52ada34
@kamron kamron authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 smsrequest.php
View
8 smsrequest.php
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.