I hate to continue to bother YA with these MySQL questions but I'm trying to learn and tutorials can teach you but may not have answers to problems you may encounter. I have two different pages on my website that run php. One is a page that updates the administration table in MySQL and adds a user generated message to the message field. It's a simple way for users to comment on the service if it were real. That runs great on a WAN connection to the site.
The other php page handles user account registration. The odd thing is, the database INSERTs information perfectly as per entered by the user; After which the user is to be met with a confirmation welcome to the site text. There is one image on the page and everything else is text.
When a friend of mine attempted to register from the town he lives in, the registration worked great but the page never displayed the correct contents. It remained white and eventually, Firefox threw the "Connection to the server was reset" message.
How is it possible for the same php file to update the server and then go to the next line of code where the text is to be displayed to the user and fail?
If anyone has any ideas on how or why this is happening I'd greatly appreciate the knowledge.
Also, the page does exactly what it was scripted to do within my LAN even on different PC's. On the WAN, however, it fails to display text, yet updates the server.
Thanks for the answers.
My page is already set up and working properly as far as updating the database is concerned. I'm actually using mysqli_connect instead of mysql_connect due to my software versions. My problem isn't with updating the server, it's with showing the confirmation text that is in the same php file as the lines of code that update the server database.
The other php page handles user account registration. The odd thing is, the database INSERTs information perfectly as per entered by the user; After which the user is to be met with a confirmation welcome to the site text. There is one image on the page and everything else is text.
When a friend of mine attempted to register from the town he lives in, the registration worked great but the page never displayed the correct contents. It remained white and eventually, Firefox threw the "Connection to the server was reset" message.
How is it possible for the same php file to update the server and then go to the next line of code where the text is to be displayed to the user and fail?
If anyone has any ideas on how or why this is happening I'd greatly appreciate the knowledge.
Also, the page does exactly what it was scripted to do within my LAN even on different PC's. On the WAN, however, it fails to display text, yet updates the server.
Thanks for the answers.
My page is already set up and working properly as far as updating the database is concerned. I'm actually using mysqli_connect instead of mysql_connect due to my software versions. My problem isn't with updating the server, it's with showing the confirmation text that is in the same php file as the lines of code that update the server database.