php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "name"

How can the file extension be extracted from a file name in PHP, especially when the file name may contain periods?

When extracting a file extension from a file name in PHP, especially when the file name may contain multiple periods, we can use the pathinfo() functi...

What is the syntax for displaying the name of the function in PHP?

To display the name of a function in PHP, you can use the `__FUNCTION__` magic constant. This constant returns the name of the current function. You c...

How can a user name be passed from one PHP page to another?

To pass a user name from one PHP page to another, you can use sessions. Start a session on the first page, store the user name in a session variable,...

What are the advantages of using a randomly generated file name for uploaded files and storing the original file name in a database?

Using a randomly generated file name for uploaded files adds an extra layer of security by making it harder for malicious users to access sensitive in...

What are the implications of assigning a static file name versus a variable file name in PHP scripts, especially in the context of database interactions?

Assigning a static file name in PHP scripts can lead to potential security risks, as it can expose sensitive information or make the application vulne...

Showing 41 to 45 of 5710 results

‹ 1 2 ... 6 7 8 9 10 11 12 ... 1141 1142 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.