silentweed Posted April 6, 2007 Share Posted April 6, 2007 Hi, I have a login.html page with a username and password field. When the submit button is clicked the username and password entered is POSTED to a login.php page on Server A. This php page then checks the username/password against a mySQL database. If the username/password is not valid the script exits() and the user is told that he has entered incorrect login details. However if a user enters valid details I want the login.php script to call another page called message.php. This message.php page will simply return a letter "A" or "B" to members.php page. The member.php page should then display this letter to the user. Is this possible? i.e a php page calling another php page (which returns a value to the calling page) and then the calling page returning the result passed back to it to the user? Thanks in advance... Link to comment https://forums.phpfreaks.com/topic/45954-php-page-calling-another-php-page-before-being-served/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.