Jump to content

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


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?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.