I get logged on when I hit the"logon" button on the custom site page. It temporarily redirect me to the VB login.php page and recognizes me and says welcome in the VB splash screen.
It then redirects me back to the page I logged in from with the same login box as if I haven't logged on. If I run the code below on it's own it works properly and takes me back to the page I used for logon and welcomes me without the login text boxes.
1) Any idea what might be causing this,
2) Can you specify where it should redirect to if you don't want to be redirected to the logon page again?
Thanks
Quote:
<?php
$curdir = getcwd ();
chdir('/home/XXX/public_html');
require_once('/home/XXX/public_html/global.php');
chdir ($curdir);
?>
<html>
<body>
This is a heading<br />
This is some more stuff <br />
And another line<br />
You get the idea<br />
Just place stuff as you normally would with HTML<br />
I use CSS to style and position on my site fwiw<br />
<br />
How about we put the login box right under here?<br />
<br />
<?php
require_once('/home/XXX/public_html/test/login_inc.php');
?>
</body>
</html>
|