Jan Eden wrote:
Vladimir D Belousov wrote on 03.03.2005:
Vladimir D Belousov wrote:
just try:
$q->start_form(-method=>"POST");
I'm wrong, sorry. Can I see your .htaccess in part of ModRewrite
directives?
Sure (abbreviated):
RewriteEngine on
RewriteBase /
RewriteRule ^news/?$ cgi-bin/show.pl?id=2310
RewriteRule ^public/?$ cgi-bin/show.pl?id=2
RewriteRule pages/([0-9]+) cgi-bin/show.pl?id=$1
Thanks again,
Jan
From perldoc CGI:
start_form() will return a <form> tag with the optional method, action
and form encoding that you specify. The defaults are:
method: POST
action: this script
enctype: application/x-www-form-urlencoded
See the SCRIPT_NAME variable from environment.
I think that value is established to /cgi-bin/show.pl?id=1234
--
Vladimir D Belousov
HiTech solutions for business
http://businessreklama.ru
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>