Remote Hosting: Trouble shooting

From: Date: Sat, 11 May 2002 16:12:36 +0000
Subject: Remote Hosting: Trouble shooting
Groups: php.general 
Request: Send a blank email to php-general+get-97133@lists.php.net to get a copy of this message
Let's see if I can keep this short and simple. I'm having to problems with a hosting service. 1. index.php isn't being read as default index. 2. Form aren't working (see a below mail_call.php). 2A.The mail_call.php works on my localbox (apache-2.0.36 +PHP4.2.0) 2B. Hosting company,for reason they didn't make clear are running apche.2.0.35 and PHP4.2.0?RC4? The SA at the hosting company assured me that DirectoryIndex was correctly configured for both the top level site index and VirturalHost? My question is what can I do from a PHP scripting standpoint to *help* the hosting company troubleshoot this issue? This has been going on now for almost a month. TIA, David Jackson ------ Mail_call.php ----- <html> <head><title>MailCall: Don't forget the stamp!</title></head> <body> <pre> <?php print "<pre>"; print $_POST['from']; print $_POST['mail_to']; print $_POST['sub_ject']; print $_POST['comments']; print "</pre>"; ?> <?php mail( $_POST['mail_to'],$_POST['sub_ject'],$_POST['comments'], "From:$_POST[from]\r\n". "X-Mailer: PHP/" . phpversion() ) ?> </pre> </body> </html>

« previous php.general (#97133) next »