Michael,

Thanks for your effort. I tried that and the email error at the bottom
disappeared. However, the following messages (I include only a few) still
appear:

Notice: Undefined variable: referers in
D:\inetpub\reservationhouse\formmail.php on line 112
Notice: Undefined variable: banlist in
D:\inetpub\reservationhouse\formmail.php on line 115

A new message appear at the bottom:

Warning: Cannot add header information - headers already sent by (output
started at D:\inetpub\reservationhouse\formmail.php:112) in
D:\inetpub\reservationhouse\formmail.php on line 324

This is our own ISP so we can change whatever we need to.

Your first paragraph requires a comment. I read all the articles on the site
of the originator - that is the first thing to do, is'nt it? It would be a
little bit silly not to do that first! Secondly, as far as I understand
mailing lists are for people requiring assistance, whatever the definition
of the subscriber. Anyway, thanks for the help - it is much appreciated.

Regards,

Marius
.
Michael Davey <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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 Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to