Jump to content

Database help.


Recommended Posts

login

<?php
require_once('conf.php')

session_start();

postdata / check credentials

 

conf.php

<?php
   $webusr = test
   $webpwd = pwd
?>

How come i get an error under the require_once('conf.php') line? conf.php is in the same directory as login.

 

//With requireonce loading the page does login.php get the values of $webusr, and $webpwd?

Link to comment
https://forums.phpfreaks.com/topic/164607-database-help/
Share on other sites

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.