ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-general
php-general
RE: [PHP] Includes
by Rick Emery other posts by this author
Apr 5 2002 2:28PM messages near this date
[PHP] Re: Directory to array to select box... | RE: [PHP] PHP stops execution without error message
Assume the following file is named "this_script.php":
This is all in ONE file.

<?php
if (isset($submit) )
{
	print "$mytext<BR> \n";
	do some other stuff
exit;
}
?> 

<HTML> 
<HEAD> 
</HEAD> 
<BODY> 
<FORM method=post action="./this_script.php"> 
<INPUT type=text name=mytext> <BR>
<INPUT type=submit name=submit value=<Submit"> 
</FORM
</BODY> 
</HTML> 


-----Original Message-----
From: Sebastian A. [mailto:sebi@[...].com]
Sent: Friday, April 05, 2002 4:19 AM
To: PHP General List (PHP.NET)
Subject: [PHP] Includes


Lately I have noticed many scripts that all consist of one file even though
they create the appearance of many pages. For example, you would open
setup.php and a form would appear. Then after you complete the form a new
page appears with the results of your form, however the URL is still
setup.php. So basically you can make complicated forms span only one file
instead of having separate file to gather, display and save the data, how is
this done?


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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved