Search results

  1. T

    htaccess auto_prepend

    Thanks for testing it out. I also did so on the network here at my school and it worked fine just like you said. I guess it must be the server config-my site is hosted here on x10hosting. oh well i'll have to do it the old fashioned way it seems :sad:. Thanks for helping me figure this out.
  2. T

    htaccess auto_prepend

    # -FrontPage- Options +FollowSymlinks IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* #AddType application/x-httpd-php .php .htm .html php_value auto_prepend_file full/path/to/root/includes/common.php <Limit GET POST> order deny,allow deny from all allow from all </Limit>...
  3. T

    Use PHP to add Content to page through Admin

    The easiest to do this, if I'm understanding right what it is you're trying to accomplish, to grab the page's content from the database and store it in an associative array. If you are using basic mysql functions this will be something like: $query="mysql query"; $result=mysql_query($query)...
  4. T

    htaccess auto_prepend

    I have tried it both with and without quotes but neither worked :dunno: Is there a variable that's similar to PhP's $_SERVER[document_root'] ? I tried looking for this but couldn't find anything on it Edit: well i used $_SERVER[document_root'] to get the full path and appended that output to...
  5. T

    Need Help With My Login

    hmmm, seems to be working fine while visited it in both firefox and chrome. Are there any additional steps you took to get to the error? i will be going to bed shortly so sorry if i take a while to respond...
  6. T

    Php

    php.net provides all the functions with excellent descriptions of how they work. I use it every time I need a reminder of how a function works or what is available. As for a tutorial they don't really have that so i would check w3schools as KSclans says for that. Once you know the language...
  7. T

    htaccess auto_prepend

    I am trying to get my common functions file (lets call it foo.php) to auto prepend to each of my pages so I don't have to add an include path to the top of each page. I know it can be done using php_value auto_prepend but I am getting a "500 Internal Server Error" whenever I try to do this. I...
Top