Hi,
I am using drupal 4.7 with clean URLs running. I have created a page node with a php script in it that loads different data depending on a variable that is sent to it. I am currently linking to this node using a combo of a clean and non clean URL. (i.e. www.mysite.com/myscript?myvariable=test). I need the variable to be passed in the URL and not using a form post. This works fine when I code links to this page within a node's content, however it does not when I use the drupal menu system. The question mark and equals symbols in the URL get converted to %3 therefore users get sent to a 404 error page. Is there a way to make this work with the menu system?
Also can anyone give input into how I could make this page node use totally clean URLs, (i.e. www.mysite.com/myscript/myvariable/test). I tried this before but was getting 404 errors because the URL alias was not in drupal. Any help would be greatly appreciated.
Ano1
Comments
Me too.
I would like the answer to this question too.
Me too too!
Me too too!
If using
If using www.mysite.com/myscript/myvariable/test
can you get the variables with $arg() ?
The problem is that this
The problem is that this will produce a 404 page not found.
e.g. if we have
www.example.com/mypage?variable=1
that works fine
but when we do
www.example.com/mypage/1
that's when we get the 404...