Jump to content

Maverickb7

Members
  • Posts

    112
  • Joined

  • Last visited

    Never

Everything posted by Maverickb7

  1. Hi people... I'm trying to create a cms to run a site of mine and have come across a problem. I have a file called settings.php that contains a bunch of settings in the following format. I example of how the file looks follows: [code=php:0] <?php $SETTINGS_PATH = "/home/public_html/settings"; $TEMPLATE_PATH = "/home/public_html/templates"; $ATEMPLATE_PATH = "/home/public_html/templates"; $DB_NEWSTAB="newszv"; $LANGUAGE_FILE="en_language"; ?> [/code] What I would like to know is what the best method would be for editing these settings via http within a admincp. I'm just starting with php so a simple and effective method would be appreciated. If anyone could show me a tutorial or provide me with some code that does this for me that would be great as this is something I would really like to add.
  2. Actually the url is behind a password protected area. Just try copying a large url into a textarea and you'll see what I'm talking about.
  3. Yeah sorry about that I meant textarea. I'll give that a try. Does not work.
  4. does anyone know how I could make the words wrap when inputted within a textfield. Sometimes I have a long url and it makes a horizontal scrollbar appear making it look somewhat ugly. Does anyone know how I can avoid this?
  5. Still no help? c'mon people :( lol I've been looking everywhere for a solution with no luck. :(
  6. I have one follow-up question if anyone could be so kind to answer it. Does anyone know what code I would use to have all items starting with numbers to be listed as #?
  7. Thanks for the help. I got it working great. :)
  8. Hi, I was wondering if someone could point me in the right direction. I'm trying to have my mysql content listed on a single page in alphabetical with "A B C D E F ect.." at the top of the page. You click A and you'll get all items starting with A. Does anyone know of a tutorial I could use to learn how to do this?
  9. Yeah this is actually a really good question. I'm pretty new to PHP myself and I'm very interested in learning how to do this as well.
×
×
  • 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.