Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to read the same values the phpinfo(); provides from whithin a scr

Status
Not open for further replies.

JPFSanders

Technical User
Nov 16, 2005
45
ES
Hi,

I'm trying to figure out how to read to a variable some of the info phpinfo(); outputs, in particular I would like to read the value for "sendmail_path" that can be seen on the output of the phpinfo();

I'm sure it is pretty simple, and I'm almost ashamed to ask, but so far I haven't managed to find how to do it, and I have spend quite some time looking in google.

Thanks in advance.
 
Hi

That is a php.ini setting, so :
Code:
[navy]$sendmail_path_as_seen_in_phpinfo[/navy][teal]=[/teal][COLOR=darkgoldenrod]ini_get[/color][teal]([/teal][green][i]'sendmail_path'[/i][/green][teal]);[/teal]

Feherke.
 
Many thanks feherke,

I knew it was missing something simple and obvious.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top