php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "htaccess"

What are some methods to protect PHP code from being accessed by clients?

One method to protect PHP code from being accessed by clients is to move sensitive code outside of the web root directory, so it cannot be directly ac...

What are the differences between using the Options +Multiviews approach and the RewriteCond %{REQUEST_FILENAME}.php -f approach in hiding the .php extension in PHP URLs?

The issue is how to hide the .php extension in PHP URLs for cleaner and more user-friendly URLs. One approach is using Options +Multiviews in the .hta...

What is the difference between mod_rewrite and PATH_INFO in PHP?

Mod_rewrite is a module in Apache that allows for URL rewriting. It is commonly used to rewrite URLs for cleaner and more user-friendly URLs. PATH_INF...

What potential issue could cause the $PHP_AUTH_USER variable to be empty in a PHP script?

The potential issue that could cause the $PHP_AUTH_USER variable to be empty in a PHP script is that the server configuration may not be set up to pas...

How can RewriteRule be used to parse .jpg files as PHP scripts?

To parse .jpg files as PHP scripts using RewriteRule, you can create a rule in your .htaccess file that redirects requests for .jpg files to a PHP scr...

Showing 1361 to 1365 of 1372 results

‹ 1 2 ... 266 267 268 269 270 271 272 273 274 275 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • Privacy
  • FAQ

© 2025 php.org. All rights reserved.