tips Posted February 15, 2009 Share Posted February 15, 2009 does anyone know why this isn't working? http://tsd.akirichan.net/adoptanalleyway2/addcontact.php you can see all other files here: http://tsd.akirichan.net/adoptanalleyway2/ I copied the codes from this http://www.hosting.vt.edu/tutorials/phpmysql/#dbConnect see "putting it all together" (im new at php) If you think you can help me I could give you the username/password to my FTP help greatly appreciated -- this is for a nonprofit organization btw. we plan to hold a citywide clean-up event in SF and I'm trying to create a user registration database for it. Link to comment https://forums.phpfreaks.com/topic/145337-solved-error-url-file-access-is-disabled-in-the-server-configuration-in-line-5/ Share on other sites More sharing options...
Cosizzle Posted February 15, 2009 Share Posted February 15, 2009 whats your include look like? Link to comment https://forums.phpfreaks.com/topic/145337-solved-error-url-file-access-is-disabled-in-the-server-configuration-in-line-5/#findComment-762996 Share on other sites More sharing options...
tips Posted February 15, 2009 Author Share Posted February 15, 2009 <?php // load the database library include('http://tsd.akirichan.net/adoptanalleyway/DB.php'); ini_set('allow_url_fopen', 'on'); $dbtype = "mysql"; $dbuser = "ccdc"; $dbpassword = "empower"; $dbhost = "mysql.tsd.akirichan.net"; $dbname = "workathon"; $connection = $dbtype.'://'.$dbuser.':'.$dbpassword.'@'.$dbhost.'/'.$dbname; $database = DB::connect($connection); ?> Link to comment https://forums.phpfreaks.com/topic/145337-solved-error-url-file-access-is-disabled-in-the-server-configuration-in-line-5/#findComment-763000 Share on other sites More sharing options...
Cosizzle Posted February 15, 2009 Share Posted February 15, 2009 You cant load a php like that. PHP pages are private or hidden in a browser. Try to load it locally Link to comment https://forums.phpfreaks.com/topic/145337-solved-error-url-file-access-is-disabled-in-the-server-configuration-in-line-5/#findComment-763005 Share on other sites More sharing options...
tips Posted February 15, 2009 Author Share Posted February 15, 2009 Nevermind i figured out how to do it without a database, thanks though! =) http://tsd.akirichan.net/guestbook/index.php Do you guys think this is alright or is it somehow less secure without a database? also, is it possible to separate the add a guest form and the lists of guest into different pages Also, any ideas on how to organize my list of guests and their information into a table? Link to comment https://forums.phpfreaks.com/topic/145337-solved-error-url-file-access-is-disabled-in-the-server-configuration-in-line-5/#findComment-763021 Share on other sites More sharing options...
tips Posted February 15, 2009 Author Share Posted February 15, 2009 nevermind! i got everything=) I just want to know if there are security issues with the method I'm using Link to comment https://forums.phpfreaks.com/topic/145337-solved-error-url-file-access-is-disabled-in-the-server-configuration-in-line-5/#findComment-763046 Share on other sites More sharing options...
Cosizzle Posted February 16, 2009 Share Posted February 16, 2009 Well theres always security issues, if you use or dont use a database I dont think it matters. Databases are used to store data and speed up a website Link to comment https://forums.phpfreaks.com/topic/145337-solved-error-url-file-access-is-disabled-in-the-server-configuration-in-line-5/#findComment-763091 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.