Jump to content

ajax with php


anatak

Recommended Posts

I read a basic ajax tutorial and could get it to work more or less.

all the files that the ajax loads are .html files.

 

The Ajax index file is also a .html file.

Will it be possible to load php files with ajax ? And is is also possible to have a index.php file instead of the current index.html file ?
I would like to have a login page and after logging in the site should track the session

 

The login page will have to display a message if the user is already logged in or made a mistake in logging in (bad username / password combination)

The login page would be the only php page that has to be loaded. If having to load 2 different types of pages (html and php) is not possible are there any drawbacks at renaming all the html files into php files ?

 

thank you

Edited by anatak
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.