Search found 6 matches

by keef
Mon Aug 29, 2005 2:50 pm
Forum: PHP - Code
Topic: PHP5 not displaying echo commands
Replies: 9
Views: 1223

I do beleive safe mode is off. I checked the php.ini, but then I removed php5 and tried to reinstall php4. I got php4 installed, but I couldn't get it to work with apache. So I reinstalled php5 and got everything back to how I had it before. However I didn't check the php.ini file after reconfigurin...
by keef
Mon Aug 29, 2005 9:00 am
Forum: PHP - Code
Topic: PHP5 not displaying echo commands
Replies: 9
Views: 1223

Here is the section of code that is not working. Everything else works fine: echo '<pre>' . "\n" . 'ping ' . $ping_count . ' ' . $ping_ip_addr . "\n\n"; system('ping ' . $ping_count . ' ' . $ping_ip_addr); // Ping IP address. echo '</pre>' . "\n" . '<p>Ping complete.</p...
by keef
Mon Aug 29, 2005 8:52 am
Forum: PHP - Code
Topic: PHP5 not displaying echo commands
Replies: 9
Views: 1223

Well I am at work now and I can't get back into my home network. I had to tighten my firewall because some jerk is running a brute force against one of my servers. So I will try your suggestions when I get home. Thanks in advance for you help, I worked on this problem for hours over the weekend. I a...
by keef
Mon Aug 29, 2005 8:39 am
Forum: PHP - Code
Topic: PHP5 not displaying echo commands
Replies: 9
Views: 1223

Thanks I will try that now and see what happens.
by keef
Mon Aug 29, 2005 7:08 am
Forum: PHP - Code
Topic: PHP5 not displaying echo commands
Replies: 9
Views: 1223

Here is the code (which works fine on all kinds of other servers just not my new Fedora Core 4 box running php5) <?php ini_set('display_errors', 1); ini_set('error_reporting', E_ALL); // Address error handling. ini_set('display_errors', 1); error_reporting(E_ALL ^ E_NOTICE); // Obtain POST data. $pi...
by keef
Mon Aug 29, 2005 6:53 am
Forum: PHP - Code
Topic: PHP5 not displaying echo commands
Replies: 9
Views: 1223

PHP5 not displaying echo commands

Hello, I have script that takes a host supplied by the viewer and pings it. This script works fine on two servers I have running PHP4, but will not work at all on another server that is running PHP5. I Have checked all the conf files (php.ini, httpd.conf etc.. etc...). I have installed all the packa...