Jump to content
php.lv forumi

nestrādā captcha viena slasha dēļ htaccess'ā


Jay Kay

Recommended Posts

Čau!

 

Man ir kontaktforma, kura tiek includota, ja index.php?page=contacts〈=lv&t=3 jeb arī/contacts/lv/3.

RewriteRule ^([^/]*)/([^/]*)/([^/]*)$ /index.php?page=$1〈=$2&t=$3 [L]

 

šajā includotajā contact-formā ir iekļauta ģenerēta captcha bilde kā <img>, kura parādās tikai tad, ja augstāk redzamajam rewrite rūlim tiek pielikts slash(/) beigās => ^([^/]*)/([^/]*)/([^/]*)/$

 

vai kādam, lūdzu, ir idejas, kādā veidā panākt, lai darbotos arī bez slash'a beigās?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...