OK - couple of things first:

a) The PHP mailing list is for programmers of PHP looking for help making
their own scripts - not for people who want support for implementing someone
else's script.  There is a link on the site where I found a copy of your
script offering support, this is where you should have gone first.

b) This is a mailing list, and as such replies should be made to the list -
not to individuals who subscribe the list.

c) You still didn't send the source code for the form - I had to go and look
for it myself on the net.

> Hi Michael,
>
> Our client uses the formmail.php script. He said to me that he
> used it as is
> with his previous ISP - it was not necessary for him to change anything.
> I configured the php.ini in the NTWin directory correctly. As a test I do
> not add anything to the email field (on the form) but it does not make any
> difference in the errror message.
>
> The page can be found at www.reservationhouse.co.za and then the
> link on the
> lefthand side: bookings and information.

However, the problem appears to be quite simple - if you create a simple
script like the one below and run it on your server, you should see a
setting called "register_globals".  This setting need to be "On" for your
script to work.  Newer versions of PHP disable this by default as it
compromises both speed and security.

List config script:

<?
        phpinfo();
?>


If you are leasing space, you will probably not have access to the php.ini
file to make this change.  You can however specify php settings in a file
named ".htaccess" placed in your root web directory, eg:

.htaccess:
php_value register_globals On

regards,

Mikey


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

Reply via email to