further - Does HTACCESS block $_POST ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux