If it is a unix/linux box use the .htaccess file and define the settings
yourself.    Please this file in the document root for your site... Assuming
the system will allow you to do so...

/dkm

----- Original Message -----
From: "David J Jackson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 11, 2002 12:12 PM
Subject: [PHP] Remote Hosting: Trouble shooting


> 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>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to