timgetback Posted August 3, 2006 Share Posted August 3, 2006 Hey..... guys i know ive been a pain in da ass. but i got one more major quesion. I used the code: [code] <?php phpinfo() ?> [/code]to figure out why my phpmailer wasnt working and why it kept changing mail() to array().. What i found is in the diable_fuctions section.. the mail function was listed. Also register globals are off. My questions is how do i turn register_globals on and how to i enable the mail() function.. im using a free hosting site called trap17.net its really good but back to the point i need to enable the mail() function cause its crucial to my site project. Link to comment https://forums.phpfreaks.com/topic/16401-solved-turn-on-register_global-and-edit-diable_functions-or-enable-functions/ Share on other sites More sharing options...
kenrbnsn Posted August 3, 2006 Share Posted August 3, 2006 You do NOT want to turn on register_globals. With register_globals enabled, you code is much more vulnerable to security problems.If you're on a free hosting service, then they have disallowed the mail function for reasons which are probably in error. Speak to their tech support people.Ken Link to comment https://forums.phpfreaks.com/topic/16401-solved-turn-on-register_global-and-edit-diable_functions-or-enable-functions/#findComment-68261 Share on other sites More sharing options...
onlyican Posted August 3, 2006 Share Posted August 3, 2006 a lot of companies are blocking the mail function now because of spamming, which affects the servers as well you know Link to comment https://forums.phpfreaks.com/topic/16401-solved-turn-on-register_global-and-edit-diable_functions-or-enable-functions/#findComment-68278 Share on other sites More sharing options...
timgetback Posted August 3, 2006 Author Share Posted August 3, 2006 Thanks alot.... i ditched that hosting service and found another one thanks alot... Link to comment https://forums.phpfreaks.com/topic/16401-solved-turn-on-register_global-and-edit-diable_functions-or-enable-functions/#findComment-68309 Share on other sites More sharing options...
onlyican Posted August 3, 2006 Share Posted August 3, 2006 I did not say your hosting company has, and some hosting comapnies can make exceptionsALL have alternatives Link to comment https://forums.phpfreaks.com/topic/16401-solved-turn-on-register_global-and-edit-diable_functions-or-enable-functions/#findComment-68310 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.