Jump to content

GET request Problem


graham23s

Recommended Posts

Hi Guys,

 

I'm not sure if this is an .htaccess problem or my php, i have my site pages rewritten like:

 

Options +FollowSymLinks
RewriteEngine on
RewriteRule contact-us contact-us.php?
RewriteRule home index.php?
RewriteRule login login.php?
RewriteRule privacy-policy privacy-policy.php?
RewriteRule shopping-cart shopping-cart.php?
RewriteRule sitemap sitemap.php?
RewriteRule terms-of-service terms-of-service.php?

 

On my cart page i was trying to remove items, normally i would do: shopping-cart.php?action=remove, i assume because i have rewritten the URLs i don't have access to the $_GET so i tried shopping-cart/?action-remove but no luck

 

any help would be appreciated

 

thanks guys

 

Graham

Link to comment
https://forums.phpfreaks.com/topic/201847-get-request-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.