Warning: require_once(C:\wamp\www ours\connection.php) [function.require-once]: failed to open stream: Invalid argument in C:\wamp\www\tours\header.php on line 2
Fatal error: require_once() [function.require]: Failed opening required 'C:\wamp\www ours\connection.php' (include_path='.;C:\php5\pear') in C:\wamp\www\tours\header.php on line 2
could any one help me please !
this is the code of the index.php
Expand|Select|Wrap|Line Numbers
- <?php session_start(); ?>
- <table width="1000" height="377" border="1">
- <tr>
- <td height="56" colspan="2"><?php include("header.php"); ?></td>
- </tr>
- <tr>
- <td width="215"> <?php include("left_menu.php"); ?> </td>
- <td width="769">
- Bordered on one side by the Mediterranean and on the other by two parallel mountain ranges, Lebanon seems a country suspended between the sky and the sea. Despite its small area (10,452 square km), this is a land resplendent in its diverse geography, landscape, culture and history. </td></tr>
- </table>
Expand|Select|Wrap|Line Numbers
- <?php
- require_once("C:\wamp\www\tours\connection.php");
- Database::connect();
- ?>
- <?php
- if($_SESSION[user_id]){ ?>
- <a href="logout.php">logout</a>
- <?php }
- else{
- ?>
- <form name="login" action="">
- <table><tr><td width="714">
- <table >
- <tr><td>Email</td><td><input type="text" name="email"/></td></tr>
- <tr><td>Password</td><td><input type="password" name="password" /></td></tr>
- <tr><td colspan="2"><input type="submit" value="Login" /> </td></tr>
- </table>
- </td>
- <td width="161">
- Not a Member? <a href="register.php">Register</a>
- </td>
- </tr></table>
- </form>
- <?php } ?>