Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Need Scripts For Testing Server's Limitation
whistle
post 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?
Go to the top of the page
 
+Quote Post
palladin
post 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 cool.gif
Go to the top of the page
 
+Quote Post
whistle
post 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)
Create info.php with

CODE

<?php
  phpinfo();
?>


Next put them on server and run then in web browser.
*



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.
Go to the top of the page
 
+Quote Post
karlo
post 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.. smile.gif
Go to the top of the page
 
+Quote Post
whistle
post 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)
Or, you can also access the PHPINFO via the cPanel.. smile.gif
*



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.
Go to the top of the page
 
+Quote Post
alexia
post 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 tongue.gif Its easy
for more information see this link Hotscripts
Have good time blink.gif
Go to the top of the page
 
+Quote Post
acidrain
post 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"

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Php, Some Easy Scripts(3)
  2. Php Programmers, How Long To Finish Your Scripts?(23)
  3. Php Scripts(2)
  4. Testing Php?(12)
  5. Executing Scripts Without Include() Function(3)
  6. Uploading From Url(9)
  7. I Need Free Scripts(21)
  8. Good Scripts(10)
  9. Good Free Php Scripts(10)
  10. Php Scripts Free For Every One(12)
  11. Password Strength / User Availablity Scripts ?(2)
  12. Running Php Web Scripts On A Local Machine(6)
  13. How Do Scripts Select To Be Placed In Fantastico(2)
  14. Free Web Forum Scripts?(7)
  15. Releasing Wap/php Scripts?(3)
  1. Papular Wap Scripts 4 Your Sites(3)
  2. Phpbb Customization?(7)
  3. Themed Scripts (weekly)(0)
  4. Wamp Packages Needed To Test Scripts(1)
  5. Scripts(5)
  6. Downloading Scripts(2)


 



- Lo-Fi Version Time is now: 12th October 2008 - 03:16 AM