PDA

View Full Version : linking with vbulletin functions


nas38d
06-30-2011, 12:59 AM
I am trying to incorporate the log in function on a couple of my own pages. I have my file on the same server as all my vbulletin documents and it is coming up with errors. I was wondering if anyone knows what I am doing wrong or a better way to do it

require_once "/forums/includes/functions_login.php" ;

Here is what the page says when it is uploaded

"


Warning: require_once(/forums/login.php) [function.require-once]: failed to open stream: No such file or directory in /home/fantasysportsearch/fantasysportsearch.com/test2.php on line 28

Fatal error: require_once() [function.require]: Failed opening required '/forums/login.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/fantasysportsearch/fantasysportsearch.com/test2.php on line 28

"
does anyone know what i am missing to cause this error?

Jack.D
06-30-2011, 12:37 PM
try ../forums/includes/functions_login.php