04272005 1605 GMT-6
You want to have someone fill in the page, reload itself upon submit,
check itself, and then direct the data to a asp page? Right.
This is what I do:
<?php
$error = array();
if(isset($_POST['whatever'])){
$problem = FALSE;
if(empty($_POST['name'])){
$problem = TRUE;
$error[] = "Please enter your name.";
}
if(!$problem) {
do other stuff here
like put into asp code data
}
}
else {
<--- here is where I put the page to load. -->
resubmit to itself and the above will check script.
}
?>
Another way to do this would be to just load all the data into a session
and then call that session data with ASP.
Now, Im assuming that ASP can call PHP session data somehow?
Something like this maybe:
<asp (however this is done)
<?PHP
$data = $_SESSION['data']
?>
// post to asp data
$data ....
?>
Wade
[Non-text portions of this message have been removed]
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/