On Sun, 2004-02-08 at 13:58, Paul Furman wrote:
> OK thanks, I made this:
>
> <?php
> # jpeg-comment-public.php
> include ("C:/_Paul/web/phplib/action/jpeg-comment.php");
> ?>
>
> but now the hidden one isn't aware of any variables.
>
> "Forbidden
> You don't have permission to access
> Notice: Undefined variable: thumb_num in
> C:/_Paul/web/phplib/action/jpeg-comment.php on line 4
Where are these variables coming from? The action in your form should
be a url that points to the script you want to process the form. In
that script you access the form variables by $_POST['variable_name'].
IE:
form.html:
<form method="post" action="process.php">
<input type="text" name="comment" />
</form>
process.php:
<?php
echo $_POST['comment'];
?>
--
Adam Bregenzer
[EMAIL PROTECTED]
http://adam.bregenzer.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php