Page 1 of 1

Opening in the same page

Posted: Tue Jul 12, 2005 8:27 am
by elsint
Hi,
I want to make authentication in same page. I mean, when the user enters his/her username and password thw whole should not be reloaded. Only the text fields of username and password should change to a welcoming sentence including user's name.

In Delphi selecting "Partial" can make things open in same window but I couldn't make it in PHP.

Anyone know how to?

Posted: Tue Jul 12, 2005 9:42 am
by pickle
I haven't got too deep into this, but XMLHttp sounds just like what you want. Essentially, it uses Javascript to send and receive data from a server. That Javascript can then change the appearance of the page. ~Burrito did a tutorial on the topic - check it out.

Posted: Thu Jul 14, 2005 6:06 am
by elsint
Thanks!
I'll try that.