Jump to content

spiderwell

Members
  • Posts

    1,008
  • Joined

  • Last visited

Posts posted by spiderwell

  1. I would say your solution is viable.

    Also reading this has made me think of an alternative that might be easier, have a number of txt files, that are essentially .htaccess files but called htaccess.maintenance.txt or htaccess.txt and then you could create a page that lists these files, with a option to choose which one to 'put as the live .htaccess file'

    radio buttons, checkbox, however you want to do it, but the form would pass the name of the file to the processing page, which would read that txt file and rewrite it into the .htaccess file

     

    this would prevent people editing any one file, but it also means you need an example of any htacess file that might relevant stored on the server as a text file.

  2. you read the file and put into a form textarea, and edit it, then post form to a page that will get the new htaccess data and write to the said file.

    to have parts of it non editable might be a bit trickier but of course anything can be done in code  :P

  3. if the user is logged in, its often that some details of the user is stored in the session object. Using that you could prefill the form element of the current user. or use it to identify and then pull user details from the database.

  4. Wait, they're actually using XML with Ajax?  Ugh.  JSON for the win.

    lol, well it works, and they are too busy to re-write, perhaps what they want me for

    or to be a sex slave? just saying

    I'm never the slave.......

  5. its not a whole new language, its just got new stuff. so some browsers support it better than others, but they can all do it, using www.html5test.com you can see how well, and guess what, IE comes last in the list!!

     

     

×
×
  • 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.