I'm attempting to access the file config.php from the file memfuncs.php.

Here are the locations of the files:

```
html/config.php
html/resources/loginfuncs.php

```

Here is the code I am trying to use:

loginfuncs.php:

```
<?php
    require('../config.php');
    function checklogin($username, $password){

```

However this does not work and produces the error:

```
[Tue Oct 14 15:17:21.304371 2014] [:error] [pid 4431] [client 127.0.0.1:32980] PHP Fatal error:  require(): Failed opening required '../config.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/pt90/resources/loginfuncs.php on line 2

```

Does anyone know what I'm doing wrong?
Thanks.