Jump to content

[SOLVED] error: URL file-access is disabled in the server configuration in line 5


tips

Recommended Posts

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.

<?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);

?>

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.