|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Hi all
Can anybody know how to execute Db2 CLP(like Update dbm cfg..) commands from a webpage using PHP script.I succeded executing system commands like db2icrt thru webpage using "system" or "Backtick" or "exec" function.Also how to initialize command line environment thru webpage.db2cmd.exe is not executed by any of the exection fns mentioned above.Im using DB27.0,Apache server and WinNT. Bye |
|
#2
|
||||
|
||||
|
The easiest way would be to execute the command through the db2 command window.
You can do this the same way that you would call a command through a regular command window except that you have to give the path to the correct command window. I would probably build a little .bat file and send that to the db2cmd |
![]() |
| Viewing: Dev Shed Forums > Databases > DB2 Development > Executing DB2CLP commands from a webpage |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|