|
Posted by Dana Cartwright on 06/03/06 17:17
"vito" <vitogen2003@yahoo.com.tw> wrote in message
news:e5s213$2eg2$1@justice.itsc.cuhk.edu.hk...
> Dear all,
>
> when i add
>
> include('abc.php');
>
> in the last line of 'def.php',
>
> the codes in abc.php were once executed. now after series of changes
> (including setting php.ini), i don't know which one makes a bug.
>
> here is the starting lines of abc.php:
>
>
> <?php
> // indicate test version or public version.
> // 0: prompt 1: test 2: Web
> $type = 2;
>
> print "<h2>Welcome to this page</h2>\n";
>
> exit;
>
> ...
>>
>
> the print is to see if it works or not but it even doesn't print out.
> permission of abc.php hasn't been changed and every time i run def.php,
> the timestamp of abc.php shows an update accordingly.
>
> What can i do in abc.php to debug?
>
> thanks a lot.
Start by fixing the syntax at the end of the file. It's "?>" not simply
">".
Navigation:
[Reply to this message]
|