php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "*.bat file"

What are the advantages and disadvantages of using a .bat file to execute MySQL commands in PHP?

Using a .bat file to execute MySQL commands in PHP can be advantageous as it allows for the execution of multiple commands in a batch, simplifying the...

How can the start command be utilized within a *.bat file to execute an external program in PHP?

To execute an external program in PHP using the start command within a *.bat file, you can use the shell_exec() function to run the *.bat file. This f...

Is it possible to execute PHP commands directly within a .bat file on Windows without relying on php-cli?

It is not possible to execute PHP commands directly within a .bat file on Windows without relying on php-cli. However, you can create a separate PHP s...

What are some potential reasons for the exec() function not working as expected when calling a *.bat file?

The exec() function may not work as expected when calling a *.bat file due to issues with the file path, permissions, or the command itself. To solve...

How can Cronjobs be used in PHP to replicate the functionality of a *.bat file on a Linux server?

To replicate the functionality of a *.bat file on a Linux server using PHP, you can create a PHP script that performs the desired task and then set up...

Showing 1 to 5 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.