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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting core vars

Status
Not open for further replies.

sirugo

Programmer
Aug 1, 2000
162
SE
I want to change the core variable for SMTP without accessing the php.ini directly.
Is there a function to do that? For environmental variables I can use putenv(), for example.

I cannot access the machine itself now but I can upload a script via FTP that changes it if I only know which function to use!

 
Thanks, I already solved it.

One hour ago I found the solution with ini_set just as you said but I also realized that the setting dies after the script has executed. No problem. Next week I'll change it on the server and until then it works this way.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top