Bug with URL?
|
180 posts
|
I want to read $_GET varibles. But when I try to load http://site.com/index.html?test=1&test2=2, get an error 404. |
|
316 posts
|
I also have this problem. I think the problem lies in how Frog reads and composes URL’s. Seeing as how our addresses usually look like http://site.com/?articles/2008/10/02/article-name.html, it generally looks like most of that would be a $_GET result. The only solution I could find, was to use the POST for method instead. If the dev’s have a way of enabling us to use GET, that would be really nice. |
|
184 posts
|
I’m sure I read somewhere that was being looked into. I’ve not had the time to look under Frog’s hood properly myself, but perhaps the page URL should apply to everything that doesn’t have a prefix of ‘var_’ for example. Therefor anything with ‘var_’ prepended to it could be presumed to be a passed parameter and not in fact a page or article id!? |
|
1493 posts
|
BlueFrog might have been thinking of this thread, but GET also comes up at the end of this one. Hope that helps for the moment… |
|
184 posts
|
Yes, I recall reading that one. There was in fact another thread that discussed that $_GET was being looked into, but that latter link is new to me … gonna have a play with that hack. |
|
180 posts
|
I have problem with $_SERVER[‘QUERY_STRING’]; URL: http://test1.ru/test/?test=1 Whats wrong? URL_SUFFIX = ‘/’ |
|
180 posts
|
Bug or not, but apache return NOT test/?test=1 Becose in .htaccess index.php?$1 I set in .htacess index.php?QS=$1 And in main.php |
|
9 posts
|
Unfortunately this solution did not work on 0.9.5 for me. Maybe there are other solution? |