Jump to content


Photo

$input->get resolves only with trailing slash


  • Please log in to reply
2 replies to this topic

#1 evan

evan

    Jr. Member

  • Members
  • PipPip
  • 42 posts
  • 10

Posted 23 February 2012 - 05:49 PM

Hi all,

My $input->get variables only resolve when I have a trailing slash before the question mark (i.e., "hello.com/?var=1").

Also, $input->URLSegment1 gives me a 404.

I figure these issues are related, and have something to do with my .htaccess config, but I can't seem to figure out what.

On another note, it's very difficult to search for PW variable-specific problems on this forum, as search terms like "input" and "get" aren't allowed. Apologies if this has been addressed before.

Thanks in advance!

-e.

#2 evan

evan

    Jr. Member

  • Members
  • PipPip
  • 42 posts
  • 10

Posted 23 February 2012 - 05:57 PM

Ack, yet again I find my answer immediately after I post it.

Sorry folks! Feel free to delete this thread.

#3 formmailer

formmailer

    Sr. Member

  • Members
  • PipPipPipPip
  • 245 posts
  • 28

  • LocationHudiksvall, Sweden (but originally from The Netherlands)

Posted 24 February 2012 - 01:20 AM

Can you describe what the problem was? It might help others in the future.

/Jasper




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users