Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 7 of 7
  1. #1

    Default .htaccess // php

    iv written a php script and to go with a .htaccess rewite file

    PHP Code:
    Options +Indexes
    RewriteEngine on
    RewriteRule 
    ^sigs/(.*).pngindex.php?name=$
    would mean that url/sigs/<name>.png would use the url url.php?name=<name>

    i need to make it so url/sigs/<quests>/<name.png would use the url url.php?name=<name>&quests=<quests> anyone got anyideas?

  2. #2
    Join Date
    Feb 2005
    Location
    Leicestershire / Sheffield
    Posts
    685
    Tokens
    0

    Default

    This is not tested:

    but change the bottom to something like:

    RewriteRule ^sigs/(.*)/(.*).png$ index.php?name=$2&quests=$1

  3. #3

    Default

    Quote Originally Posted by Eric30 View Post
    This is not tested:

    but change the bottom to something like:

    RewriteRule ^sigs/(.*)/(.*).png$ index.php?name=$2&quests=$1
    that just leaves the space where it is blank

  4. #4
    Join Date
    Feb 2005
    Location
    Leicestershire / Sheffield
    Posts
    685
    Tokens
    0

    Default

    Quote Originally Posted by MegaEdition View Post
    that just leaves the space where it is blank
    :S What?

  5. #5

  6. #6
    Join Date
    Feb 2005
    Location
    Leicestershire / Sheffield
    Posts
    685
    Tokens
    0

    Default

    Works for me?

  7. #7

    Default

    fixed it d.w u was write im just bad at spelling =]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •