Welcome to WebmasterWorld Guest from 23.22.220.37

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

strange file on server - phpinfo.php

can someone explain

     
4:46 pm on Jan 24, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 4, 2002
posts: 1785
votes: 2


One of my clients just found a phpinfo.php file on his server that shouldn't be there. I don't read php. Can someone tell me what this file does?

<?
phpinfo();
?>

5:11 pm on Jan 24, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Mar 9, 2006
posts:75
votes: 0


its a stadard bit of code that displays the php config on the site may be a develper put it there?

if there is no development going on then id start to double chck my logs and the site just to make sure the site hasnt been hacked.

7:02 pm on Jan 24, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 4, 2002
posts: 1785
votes: 2


Thanks,

There is development going on by someone what isn't totally trusted so thanks for explaining.

8:25 pm on Jan 24, 2008 (gmt 0)

Administrator

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
posts:15755
votes: 0


[php.net...]

Outputs a large amount of information about the current state of PHP. This includes information about PHP compilation options and extensions, the PHP version, server information and environment (if compiled as a module), the PHP environment, OS version information, paths, master and local values of configuration options, HTTP headers, and the PHP License.

Because every system is setup differently, phpinfo() is commonly used to check configuration settings and for available predefined variables on a given system.

phpinfo() is also a valuable debugging tool as it contains all EGPCS (Environment, GET, POST, Cookie, Server) data.

9:07 pm on Jan 24, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 4, 2002
posts: 1785
votes: 2


Thanks for the added info.
10:40 pm on Jan 24, 2008 (gmt 0)

Administrator

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
posts:15755
votes: 0


just a question

why would you have someone that isn't trusted develop something?

seems odd

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members