Jump to content

n000bie

Members
  • Posts

    81
  • Joined

  • Last visited

    Never

Everything posted by n000bie

  1. I think you forgot to add px there >> top: 140;
  2. I saw this tutorial http://www.w3schools.com/ajax/ajax_server.asp, copied it and just changed it from ASP to PHP xmlhttp.open("GET","test.php",true); but it does not work in my php file i just have those lines <?php $text = "hello world..."; echo $text; ?> what am i doing wrong ?
  3. I am trying to protect a folder (admin) through htaccess but it gives 500 internal server error i got this code RewriteEngine on RewriteRule ^systems$ index_systems.php htpasswd -cb osc_users admin admin123 chmod 644 osc_users cd /testsite/administrator and this one is from .htaccess inside admin folder AuthName "admin" AuthType Basic AuthUserFile /mysite/osc_users require valid-user Any help ?
  4. I have this in my .htaccess file RewriteEngine on RewriteBase / RewriteRule index_systems.php system.php I got this folder in localhost and all php files are inside this folder http://localhost/sjli Why this code is not working ? Can anyone help me please...
  5. @godwisam I pasted all the codes RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} -f [NC,OR] RewriteCond %{REQUEST_FILENAME} -d [NC] RewriteRule .* - [L] RewriteRule ^consulting+$ index.php?consulting=$0 I get a error it says 500 internal server error and this message Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. I renamed all files extension to .php but there is only header and footer includes. Is this the reason for the error . I am confused.
  6. Can I use mod rewrite for html files also ? i got a page named http://www.mysite.com/page_consulting.html i want to rename it to http://www.mysite.com/consulting Is it possible ?
×
×
  • 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.