Jump to content

[SOLVED] get server operating system


obay

Recommended Posts

1. is there to know a way to know what operating system the server currently executing a php file is running? how do i do that in php?

 

2. how do i get the path to the mysql/bin folder of that server.. because for example i want to use this code in my php file:

 

shell_exec("mysqldump --allow-keywords --opt -uroot mydb > mydump.sql")

 

but i need to specify the path to mysqldump

 

help??

Link to comment
https://forums.phpfreaks.com/topic/68803-solved-get-server-operating-system/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.