further - Does HTACCESS block $_POST ?

[email protected] Tue, 22 Apr 2025 08:09:55 +1200
Newsgroups gmane.comp.php.general
Message-ID <CACOt7mGNEKRuP9yvo2BZ8aWL48VVtsJD=2BdjAat6oMEgDakLA@mail.gmail.com>
Off to work soon. But a final test results in interesting results..

HTML:-

<form action="/vyb/index.php" method="post">

<select class="w3-select" name="viewaddress" onchange="this.form.submit()">
<option value="">Home/main office</option>
<option value="909-2-2" >(909-2-2) 88 Newland St, Bondi Junction NSW
2022</option>
</select>

etc....

When i submit the form, it should go to /vyb/index.php and activate
the script...
(i renamed the script to index.php)

HOWEVER - I end up at /vyb/  (no index.php)....

my htaccess:-

Options +FollowSymLinks
RewriteEngine On


RewriteRule ^(.*)$ index.php

END HTACCESS  (ive taken away the NC, L, QSA  etc..

Question: can the htaccess be redirecting the browser & thus losing
the post values ?

Can the redirect occur at htaccess leve - or within the php itself ?
there are 2 x HEADER lines in the php itself - but neither of them go
to /vyb/ url..
(where the script is)





-- 

Gordon.