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

Link to comment
https://forums.phpfreaks.com/topic/285953-ajax-with-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.