Try changing
PHP Code:
chdir(http://community.thinkteen.co.uk);
to
PHP Code:
chdir('http://community.thinkteen.co.uk');
Quote:
Originally Posted by snunhuck
Adding PHP Code:
PHP Code:
<?php
$curdir = getcwd ();
chdir(http://community.thinkteen.co.uk);
require_once('http://community.thinkteen.co.uk/global.php');
chdir ($curdir);
?>
breaks the page's layout.
Example here:
http://members.thinkteen.co.uk (original page)
http://members.co.uk/m2.php (Page broken + no login box)
|