andmf Posted December 4, 2006 Share Posted December 4, 2006 Hi I have the script from this web site which is supposed to crete a guestbook and it does however when I go to add a post to the guestbook it takes me to an error page. Can anyone tell me what other thing I need to change within the script to get it to update correctly?http://userpages.umbc.edu/%7ecanfield/gbdb.txtI changed the $server = 'xxx'; // MYSQL server; $user = 'yyy'; // User to connect to MYSQL server; $password = 'ppp'; // Password; $database = 'ddd'; // The name of the database; $table = 'ttt'; // The name of your database table; and didn't touch the p just like the instructions said and I still receive an error when I try to update the page.$P='gbdb.php'; Link to comment https://forums.phpfreaks.com/topic/29398-guestbook-error/ Share on other sites More sharing options...
chiprivers Posted December 4, 2006 Share Posted December 4, 2006 what is on the error page? Link to comment https://forums.phpfreaks.com/topic/29398-guestbook-error/#findComment-134848 Share on other sites More sharing options...
andmf Posted December 4, 2006 Author Share Posted December 4, 2006 The page cannot be displayed The page you are looking for cannot be displayed because the page address is incorrect. --------------------------------------------------------------------------------Please try the following:If you typed the page address in the Address bar, check that it is entered correctly.Open the lhi5.umbc.edu home page and then look for links to the information you want. HTTP 405 - Resource not allowedInternet Information Services--------------------------------------------------------------------------------Technical Information (for support personnel)More information:Microsoft Support Link to comment https://forums.phpfreaks.com/topic/29398-guestbook-error/#findComment-134850 Share on other sites More sharing options...
andmf Posted December 4, 2006 Author Share Posted December 4, 2006 and this is my webpagehttp://lhi5.umbc.edu/class/flex-606/gbpage.htm Link to comment https://forums.phpfreaks.com/topic/29398-guestbook-error/#findComment-134855 Share on other sites More sharing options...
chiprivers Posted December 4, 2006 Share Posted December 4, 2006 In the script the form links to gbdb.php[code]<form name='myGB' action='gbdb.php' method='post'> [/code]Is that the right file name? Link to comment https://forums.phpfreaks.com/topic/29398-guestbook-error/#findComment-134856 Share on other sites More sharing options...
andmf Posted December 4, 2006 Author Share Posted December 4, 2006 yes it is Link to comment https://forums.phpfreaks.com/topic/29398-guestbook-error/#findComment-134860 Share on other sites More sharing options...
chiprivers Posted December 4, 2006 Share Posted December 4, 2006 Is this hosted on your own machine or on a server? Link to comment https://forums.phpfreaks.com/topic/29398-guestbook-error/#findComment-134942 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.