#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2007
    Posts
    85
    Rep Power
    7

    Htaccess rewrite dog


    Hi. Can someone please write me rewrite rule for htaccess for this link
    PHP Code:
    http://www.mysite.com/orderconfirmation.php?email=<?php echo "$email"?>&link=<?php echo "$link"?>&7letterword=<?php echo "$sevenletterword"?>&name=<?php echo "$name"?>&surname=<?php echo "$surname"?>
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2006
    Posts
    15
    Rep Power
    0
    you didn't provide how you wanted it to work or anything so here is one way...change it however you want. Also I am assuming you have rewrite turned on in your htaccess file so if not be sure to turn it on.

    Code:
    RewriteRule ^(.*)-(.*)-(.*)-(.*)-(.*).html$ ./orderconfirmation.php?email=$1&link=$2&7letterword=$3&name=$4&surname=$5

IMN logo majestic logo spyfu logo threadwatch logo seochat tools logo