Date: 09/30/00
- Next message: Richard Heyes: "[PHP] ini_set() And ini_get()"
- Previous message: Joe Sheble aka Wizaerd: "RE: [PHP] <form method="post" action="<?php echo $PHP_SELF?>">"
- In reply to: Joe Sheble aka Wizaerd: "RE: [PHP] <form method="post" action="<?php echo $PHP_SELF?>">"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, 30 Sep 2000, Joe Sheble aka Wizaerd wrote:
> > I want to use a different .php file to process the form instead
> > of the page the form is on. Does anyone know the correct syntax
> > for this. I have
> > <form method="post" action="<?php echo $PHP_SELF?>">
> >
> > and try using this.
> >
> > <form method="post" action="<?file.php>">
> >
> > but it does not work. Thanks for any suggestions.
>
> Just use:
> <form method="post" action="file.php">
A better way is:
<form method="post" action="<?=basename($PHP_SELF)?>">
Mike
-- Mike Erickson <mee <email protected>> http://www.quidquam.com/ "Of those who say nothing, few are silent." -Thomas Neiel-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Richard Heyes: "[PHP] ini_set() And ini_get()"
- Previous message: Joe Sheble aka Wizaerd: "RE: [PHP] <form method="post" action="<?php echo $PHP_SELF?>">"
- In reply to: Joe Sheble aka Wizaerd: "RE: [PHP] <form method="post" action="<?php echo $PHP_SELF?>">"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

