Another way to do this is to have a form element with an odd name and value
that you can check for before processing the post. This is not too secure if
someone knows the name and value though. In that case you can use the
referer _and_ a unique element name and value that is related to the
refere
Does it have any effect on performance in either case if a file is
completely done in PHP(1) or interspersed with PHP(2).
(1)
";
...
?>
(2)
...
...
Also, and this is personal preference, which is easier to read/debug?
James
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
I use ODBC on a Win2K system to connect to a MS-SQL database. I use a stored
procedure in the database to add a record to a table. The stored procedure
returns a result code that is either the records ID or a -1 indication that
the record was not added. How do I check the return result in PHP usin
3 matches
Mail list logo