Critical Error/Warning


I get the following error messege when trying to link to the members folder from a file in my root directory.

Warning: main(phpautomembersarea/members): failed to open stream: No such file or directory in /home/.ilytria/servehags/ on line 24

Warning: main(): Failed opening ‘phpautomembersarea/members’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/.ilytria/servehags/ on line 24

Here is my coding for the script

<? echo'

Right Column

'; include_once "user.php"; echo '

Results of Last Poll

Do you like this site\'s new layout?

No 4 40%
Yes 6 60%
TOTAL 10 100%

For now just click on this link to register, for some reason I can\'t get it to work very good.

'; include_once "phpautomembersarea/members"; echo '

'; ?>

And you can see the error here


This function call is being used incorrectly.

See the include function:
“The include() statement includes and evaluates the specified file.”

You didn’t specify a file. You’re specifying a directory. A file would be

include_once "phpautomembersarea/members/index.php"Also, you can not use URLs because it is not allowed anymore.

:cool: Perl / MySQL / HTML+CSS