I'm running Firebug 1.2.0a21x on an Ubuntu box and I'm trying to
figure out what I've got wrong with an Ajax call.
I have a program that works correctly, I copied the code made the
necessary changes and it doesn't work. Basically, it's supposed to
send a request for a user login.
If I look at the console in Firebug - the post headers look exactly
right, but on the PHP side, it doesn't seem to be getting anything.
I've compared these to the original code that works. For example,
here's the POST headers from the code that works
relay=userLogin&username=tool&password=iloveit&_=
and here's the POST header from the one that doesn't work
centre=userLogin&username=tool&password=iloveit&_=
Here's the first few lines of the code that works
<?php
if(!isset($resource))$resource = "0";
// session initilization
session_start();
include_once("conf.inc.php");
if($resource != true){
if(isset($_GET['relay'])){$_POST['relay']=$_GET['relay'];}
if(isset($_POST['relay'])){
switch($_POST['relay']){
case "userLogin":
I'm not getting any error messages, I've tried to put some echo
statements in the code, but whenever I do that, it doesn't print
anything out in either the working code or the non-working code. What
can I do to track down this bug?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---