|
Posted by Justin Koivisto on 03/23/06 19:02
universalbitmapper wrote:
> Hi,
> I'm trying a simple form.html that call a .html script that begins
> with:
>
> <?php
> header("This is a test");
> ?>
>
> When I click on the link, I get blank page.
>
> I tried every combination of .html and .php as extensions, none works.
>
> I checked the >Tools>Config>advanced menus in IE6, I can't find where
> could be some filter to prevent the headers from displaying.
>
> *************************************************************
> I say without reservation, we ain't getting no hi-higher
> It's a girl Mrs Walker it's a girl
> *************************************************************
>
form.html can be normal HTML code as you would normally do. for the form
action, set it to a php file:
<form action="something.php" ...
If you use the post method, in something.php try this:
<?php
echo '<pre>';
print_r($_POST);
echo'</pre>';
?>
If you use the get method, change "_POST" to "_GET". All that does is
display the array structure of the submitted information. It should give
you some insight on how you will need to handle the data.
HTH
--
Justin Koivisto, ZCE - justin@koivi.com
http://koivi.com
Navigation:
[Reply to this message]
|