php info()

Status
Not open for further replies.

zubair12

Banned
Messages
631
Reaction score
0
Points
0
Can someone explain what is this?????


I am using mybb and facing that problem....
 

Attachments

  • 1.JPG
    1.JPG
    20.2 KB · Views: 35

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
phpinfo() is disabled like mail() is currently. I don't know why anyone would need phpinfo() because it just dumps the php configuration to the user. There's nothing else it can do.

I suppose you could buffer the output, do a search for some element within the output, delete everything that was supposed to be output, and then create some different output, but it really sounds inefficient considering there are many better ways to check if the function works. You'll probably have to dig through the source and fix it yourself.
 

Smith6612

I ate all of the x10Pizza
Community Support
Messages
6,517
Reaction score
48
Points
48
phpinfo() is simply a PHP command to find out what is running in the PHP environment on your server. As garret stated it is disabled, so for now you'll need to work your way around the error or just ignore it.
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
php mail (not mail() ) could also refer to the usage of fsockopen() to create a connection to your own SMTP server, but you're right that mail() is the standard way of sending mail. I think the fsockopen() method has never been banned, although you cannot fsockopen() anything outside of x10.
 
Status
Not open for further replies.
Top