Closed Thread
Results 1 to 4 of 4

Thread: AJAX and PHP

  1. #1
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101

    AJAX and PHP

    I was reading a small guide about AJAX and it was supposed to have an asp file on a server that displays the date and whenever the user types something in a textbox the time updates, but ToastedPenguin doesnt seem to allow ASP, can I use PHP instead?

    I tried but didn't work.. maybe I read something wrong from the tutorial, or it just doesn't work with PHP?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Location
    Amherst, New York, United States
    Posts
    6,277
    Blog Entries
    26
    Rep Power
    20
    Yes you can use PHP. Just make sure the JavaScript requests the php file and not the asp file. Also note, I have an AJAX/PHP tutorial somewhere in these forums.

  4. #3
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101
    Ok thanks found it here:
    http://forum.codecall.net/tutorials-...jax-intro.html

    That is EXACTLY what I wanted to do.. seems like w3schools to me

    Anyways checking it out....

    EDIT:- It turned out that I did nothing wrong.. I just tried running the HTML file locally (duh) I had to upload it to the server.
    Last edited by TcM; 01-15-2008 at 01:53 PM.

  5. #4
    Join Date
    Jul 2006
    Location
    Amherst, New York, United States
    Posts
    6,277
    Blog Entries
    26
    Rep Power
    20
    Quote Originally Posted by TheComputerMaster View Post
    Ok thanks found it here:
    http://forum.codecall.net/tutorials-...jax-intro.html

    That is EXACTLY what I wanted to do.. seems like w3schools to me

    Anyways checking it out....
    I explained it better.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. PHP Vs AJAX
    By Megrisoft in forum AJAX
    Replies: 35
    Last Post: 10-04-2009, 02:02 AM
  2. SQL and AJAX
    By Jubal in forum PHP Development
    Replies: 23
    Last Post: 02-02-2009, 01:45 AM
  3. Ajax Pop-Up
    By Divya in forum AJAX
    Replies: 2
    Last Post: 01-07-2009, 08:06 PM
  4. .Net and Ajax
    By smithcarvo in forum ASP, ASP.NET and Coldfusion
    Replies: 2
    Last Post: 08-29-2008, 02:39 AM
  5. Will Ajax still be Ajax?
    By jessje in forum AJAX
    Replies: 3
    Last Post: 08-08-2008, 08:01 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts