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. Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment 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... Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.