Permissions, print, phpinfo

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bogdan
Forum Commoner
Posts: 27
Joined: Wed May 31, 2006 10:07 am
Location: Timisoara, Ro

Permissions, print, phpinfo

Post by bogdan »

Hi, long time no posting but I've been reading "none the less"(spelling?).
Sorry for posting in here, was unsure of the proper place to put it.

Ok, the problem:
I have some code taht I have tested and seems to work. Uploaded the code to a remote server and I have this problem:
index_test.php has a this code inside:

Code: Select all

<?php
print "0 #####<br>\n";
phpinfo();
print "1 #####";
?>
What I get is the prints, but no phpinfo().
Cheers,
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Try using function_exists() against ini_get(), ini_set() and more importantly phpinfo().
bogdan
Forum Commoner
Posts: 27
Joined: Wed May 31, 2006 10:07 am
Location: Timisoara, Ro

Post by bogdan »

Thank you. phpinfo seems not to be there, duh me newby.
Post Reply