Topic: Turning my new site into a php project (Read 1365 times)
Chicken-run Manager
Posts: 9
62 credits Members referred : 0
« on: Oct 06, 2007, 11:39:31 pm »
Hi I am setting up a new site for beginner guitarists.
I have it written in html and this is fine, but I want to intergrate user management into the site with member access areas, login, registration etc.
From my experience with php, I am thinking that the best start for this project is to set up an index.php page that calls the necessary funtions such as, header, content, login/register etc.
Can anyone point me in the right direction for getting started?
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #7 on: Oct 07, 2007, 12:31:03 pm »
there is a manual file included, maybe its easier to start with the example files and then add your own html code to those files. rename only the files where you need to add php code.
Chicken-run Manager
Posts: 9
62 credits Members referred : 0
« Reply #8 on: Oct 07, 2007, 12:46:33 pm »
Yeah thanks, I found the manual file, I set up database and changed config environment and then created the classes and access_user folder as instructed.
Still can't get the example to work. I think I have a problem with either hierachy or paths.
Hierachy: I placed the 'classes' folder in public_html (above) my test folder.
Paths: I really dont know what I am doing, but here is the extract from my db_config file:
Code:
// use this pathes and/or define the pathes for the "standard" pages define("CLASS_PATH", dirname($_SERVER['PHP_SELF'])."/home/musicoll/public_html/test2"); // the location where the class is executed $sec_path = "/home/musicoll/public_html/classes/access_user/"; // a second location where the scripts should be define("APPLICATION_PATH", $sec_path);
Chicken-run Manager
Posts: 9
62 credits Members referred : 0
« Reply #16 on: Oct 08, 2007, 01:09:48 pm »
I followed your advice for a Drupal system and have now installed 'Dragonfly' on my site. Still lots of work, but you are right, it is handy having all that php written automatically for me.
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7192