php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "PHP script"

What are some ways to determine if a PHP script is executed directly by a user or included in another script?

When a PHP script is executed directly by a user, it typically has access to the $_SERVER['SCRIPT_FILENAME'] variable, which contains the full path of...

Is it possible to pass the output of one PHP script as arguments to another PHP script using STDIN?

Yes, it is possible to pass the output of one PHP script as arguments to another PHP script using STDIN. One way to achieve this is by using the `proc...

What is the best way to call a second PHP script from within a PHP script without using HTTP?

When calling a second PHP script from within a PHP script without using HTTP, the best way is to use the `include` or `require` function to directly i...

How can you execute a specific script when a certain number of users is reached in a PHP online script?

To execute a specific script when a certain number of users is reached in a PHP online script, you can use a counter to keep track of the number of us...

What are the potential pitfalls of using include to call a PHP script for image creation within another PHP script?

One potential pitfall of using include to call a PHP script for image creation within another PHP script is that the included script may output unwant...

Showing 21 to 25 of 10000 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1999 2000 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.