Please be careful when writing scripts that use the 
varname -> variable auto mapping
<input name="xxxx">

echo $xxxx


this looks like it will be disabled by default, and generally discouraged in newer 
releases of PHP, due to the security issues..

I think some of the better discussions revolved around 
using this type of variable prefixing to get variables out of HTTP_POST_VARS.. (and 
GET)

extract($HTTP_POST_VARS, EXTR_PREFIX_ALL, "post_");

regards

alan

>----- Original Message -----
> From: Martin Hierling <[EMAIL PROTECTED]>
> To: Midgard Userliste <[EMAIL PROTECTED]>
> Sent: Thu, 23 Aug 2001 11:49:39 +0200
> Subject: [midgard-user] Re: strange thing - http_post_vars is gone!
> 
> Hello,
> 
> after a terrific night, i finally found the bug. 
> 
> <form action="/script" > dont work, <form action="/script/" > did the job. 
> I think there is an internal rewrite (apache) that kills the var data. 
> 
> so, after that, i will get a big cup of coffee and rest a while.
> 
> greetings 
> Martin
> 
> -- 
>   mailto: `echo [EMAIL PROTECTED] | sed 's/[NOSPAM]//g'`
> ----------------------------------------------------------------
>   Fire, Mr. Worf! [Worf picks up extinguisher]
> ----------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to