is the html code you have listed below the file "register_new_member.php"?
Is it in the same directory as the previously successful script?

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] Behalf Of Michael T. Peterson
Sent: Tuesday, February 10, 2004 9:48 PM
To: [EMAIL PROTECTED]
Subject: [PHP] [Q] Problems invoking a PHP script - Have no hair left to
pull - Please help [:-)


I have a registration form which collects some data then, when the user
clicks the submit button sends the data to a second page (a PHP script).
The problem I'm having is getting my webserver (apache) to invoke the PHP
scrip to process the data. What's so baffling about this is that I've
already written another, similar facility ( a login form which sends user
supplied info to php script for authentication).  The login app works great.
The registration app doesn't even tho' the registration app is semantically
and syntactally identical to the login app.

I think what's happening is I'm missing something really simple.  Does
anyone have any suggestions as to what I need to be looking for?  I've been
at this for about 5 hours now and am going crazy looking at this [very
simple] code.

Finally, in my php.ini file "display_errors" is set to ON (But no errors are
displayed or written to error log).

Here's the form code fragment in the file member_registration_form.html:
    ...
    <form name="member_registration_form" method="post"
action="register_new_member.php">
    ...

And here's the preamble and the PHP block in the file,
register_new_member.php:

    <html>
    <head>
    <title>New member registration</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <body>
    <hr>
    <h1>Registration Results</h1>
    <hr>

    <?php
        print( "Hello world.");                // <<<<<< This doesn't get
executed.
    ?>
    </body>
    </html>

Again, no are any errors displayed or logged.  Any help would be greatly
appreciated.

Cheers,

Michael

--
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