User Profile

Collapse

Profile Sidebar

Collapse
tromboneman
tromboneman
Last Activity: Sep 5 '07, 12:54 AM
Joined: Aug 5 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • tromboneman
    replied to IE incompatibilities with AJAX
    Okay, I just figured out the problem. It was one, simple line in my PHP file.

    [PHP]header("Cache-Control: no-cache");[/PHP]

    Thanks!
    See more | Go to post

    Leave a comment:


  • tromboneman
    replied to IE incompatibilities with AJAX
    Thank you for your reply. This is the javascript that is making the request.

    Code:
    function checktype(sender)
      {
    
      
      //Make the AJAX object
      if(xmlHttp==null)
      {
      //alert("new object");
      try
        {
        // Good, you are using a great browser
        xmlHttp=new XMLHttpRequest();
        }
      catch (e)
        {
        // Do yourself a
    ...
    See more | Go to post

    Leave a comment:


  • tromboneman
    replied to IE incompatibilities with AJAX
    Does anyone have any ideas? I still haven't been able to figure out what is wrong. Should have I posted this in the PHP forum?
    See more | Go to post

    Leave a comment:


  • tromboneman
    started a topic IE incompatibilities with AJAX

    IE incompatibilities with AJAX

    Hi!

    I haven't been coding in Javascript/PHP very long, but this is the first thing some time and Google can't solve. Through my hours of debugging, I have narrowed the problem down to (unsurprisingly ) Internet Explorer. I have a HttpXML request being sent to the the file manager.php. Here is the contents of manager.php:

    Code:
    <?php
    /*This page manages the typing/not-typing ajax light in area.php*/
    $sender=$_GET["sender"];
    ...
    See more | Go to post

  • tromboneman
    replied to PHP Server-based variables/flags
    in PHP
    Okay, thank you. I just assumed there would be a way to store temporary variables in memory. Thank you for your help!
    See more | Go to post

    Leave a comment:


  • tromboneman
    replied to PHP Server-based variables/flags
    in PHP
    Thank you for your reply

    What I have done is created an AJAX-based application which sends off an int to the server. 0 queries the bit, 1 is set the bit to true, and 2 sets the bit to false. The bit is queried every 300 milliseconds by every client connected to the server. All of these clients need to have access to the same bit. So what I was wondering is if there is any way to do this other than through text files. Maybe there...
    See more | Go to post

    Leave a comment:


  • tromboneman
    started a topic PHP Server-based variables/flags
    in PHP

    PHP Server-based variables/flags

    Hello!

    I have been working on a php script. In the script, fast reading/writing is necessary to a variable on the server side. It is a one bit flag. Right now, I have been using a text file to write the value 0 or 1 to it, but it isn't very efficient. I was wondering if there is a better way to do this other than the text file or a database. I don't want to add the extra requirement of a database to my program.

    ...
    See more | Go to post
No activity results to display
Show More
Working...