|
|
|
|
![]() ![]() |
Jul 24 2005, 03:43 PM
Post
#1
|
|
|
Newbie [Level 3] ![]() ![]() ![]() Group: Members Posts: 42 Joined: 18-July 05 Member No.: 9,574 |
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? |
|
|
|
Jul 24 2005, 09:55 PM
Post
#2
|
|
|
Member [Level 3] ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 92 Joined: 28-June 05 Member No.: 8,782 |
Create info.php with
CODE <?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 |
|
|
|
Jul 26 2005, 06:33 PM
Post
#3
|
|
|
Newbie [Level 3] ![]() ![]() ![]() Group: Members Posts: 42 Joined: 18-July 05 Member No.: 9,574 |
QUOTE(palladin @ Jul 25 2005, 05:55 AM) 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. |
|
|
|
Aug 5 2005, 10:27 AM
Post
#4
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 618 Joined: 30-October 04 From: Philippines Member No.: 2,049 |
Or, you can also access the PHPINFO via the cPanel..
|
|
|
|
Aug 8 2005, 05:17 AM
Post
#5
|
|
|
Newbie [Level 3] ![]() ![]() ![]() Group: Members Posts: 42 Joined: 18-July 05 Member No.: 9,574 |
QUOTE(karlo @ Aug 5 2005, 06:27 PM) 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. |
|
|
|
Aug 9 2005, 09:11 PM
Post
#6
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 310 Joined: 9-February 05 From: Italian Member No.: 3,677 |
Login in your cpanel then view server details link
for more information see this link Hotscripts Have good time |
|
|
|
Sep 6 2005, 10:21 AM
Post
#7
|
|
|
Newbie ![]() Group: Members Posts: 4 Joined: 6-September 05 Member No.: 11,551 |
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 not by phpinfo step above and find lines ctrl+f "safe_mode" |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 12th October 2008 - 03:16 AM |