whistle 0 Report post Posted July 24, 2005 There are lots of web hosting provider and some of them are free. How can you know what problem your PHP scripts would involved in when you get a web hosting which supports PHP.I have found 2 problems. One is about the function mail(), the other is about safe mode. Of course, there may be others problems, I hope someone can adds the problem in this thread for more detail discussion.The first question is how I can know the function mail() work properly. If you use function mail() in your PHP scripts, error message may be shown if the server does not support sendmail. The mail() may do nothing if the configuration of the sendmail is not correct. Can anyone provide some simple PHP scripts for testing function mail()?The second question is how I can know whether the server is in safe mode or not? If the server is in safe mode, it will limit the functionalities of your PHP scripts to operate the file system, i.e. directory creation or file creation. Can anyone provide some simple PHP scripts for testing the safe mode? Share this post Link to post Share on other sites
palladin 0 Report post Posted July 24, 2005 Create info.php with <?php phpinfo();?> Next put them on server and run then in web browser.--------------------Practice is when evrything is work but no one know why.Theory is when work nothing but evry one know why.Programmers join Practice with Theory - nothing work and no one know why Share this post Link to post Share on other sites
whistle 0 Report post Posted July 26, 2005 Create info.php with <?php phpinfo();?> Next put them on server and run then in web browser. 165228[/snapback] Thanks for your help. It surprises me, there are so many detail information about the server and my browser. I think that I have a good beginning to study PHP. Share this post Link to post Share on other sites
karlo 0 Report post Posted August 5, 2005 Or, you can also access the PHPINFO via the cPanel.. Share this post Link to post Share on other sites
whistle 0 Report post Posted August 8, 2005 Or, you can also access the PHPINFO via the cPanel.. 170543[/snapback] I have another question related to this topic. How can I know wether my server runs in safe mode or not? This is a big problem if my php scripts try to create directories or files. If I can know it early, I can deserve a lot of efforts for trying somewhere else. You know, time is money. Moreover, I hope to know other limitation of the safe mode. Share this post Link to post Share on other sites
alexia 0 Report post Posted August 9, 2005 Login in your cpanel then view server details link Its easy for more information see this link Hotscripts Have good time Share this post Link to post Share on other sites
acidrain 0 Report post Posted September 6, 2005 From your question:How can I know wether my server runs in safe mode or not?Did you mean php runs in safe mode or not ?You could check whether php runs in safe mode or notby phpinfo step above and find lines ctrl+f "safe_mode" Share this post Link to post Share on other sites