You are here: a debug technique enquiry « PHP Programming Language « IT news, forums, messages
a debug technique enquiry

Posted by vito on 06/03/06 13:15

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация