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 3 of 3
  1. #1
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default Dynamically editing .htaccess

    Is it possible without fopen or do you need to use ftp functions?

    Thread moved from design and development by --ss-- (Forum Super Moderator): Please post in the correct section .
    Last edited by --ss--; 28-03-2008 at 04:27 PM.
    How could this hapen to meeeeeeeeeeeeeee?lol.

  2. #2
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    This is in the wrong forum, there is now a "help" forum.

    I am pretty sure this is not possible. the .htaccess is read before the PHP is parsed, due to it being with Apache.

    due to this, you not going to be able to edit it dynamicly as it is not parsed as PHP.

    You would most likely have to update it manually, with fopen, fwrite (not sure if it will open .htaccess or not..)

    Just experiment with it, that is usually the key to everything.

    You could always Google: dynamic htaccess php

    If anything doesn't want to work, try doing it with PHP's FTP functions.

    Hoped that helps!

  3. #3
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    Ok thanks, also loving the new forum additions =)
    How could this hapen to meeeeeeeeeeeeeee?lol.

Posting Permissions

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