Hi. I have some bizarre problem with exec (other any other method) to launch exe's. I am making a game server booking system and the part that is not working is the one with the launching the server itself. Its not connected to the server exe's as far as I know because I can't launch no exe at all. The closes thing I have come is launching the process, but the window does not show up. Here is the code I am using now:
Code: [Select]$commandString = 'start /b notepad.exe';
pclose(popen($commandString, 'r'));I have also tried WshShell.Run and psexec.exe method. All of them yields the same results... nothing. It launches the process (it shows up in the task manager process tab), but does not launch the application itself (does not show up in task managers applications tab) and the window is not visible. I would expect it to run the exe (in this case notepad), but it doesn't. I think it could be something to do with php.ini or somewhere else in the configs. Are there any things I should turn on when I want to launch apps?
Update Database
Hi All,I have a problem with this:Code: [Select]<?phpsession_start();include('../common/dbconnect.php');$stock_id = $_GET['stock_id'];$query='SELECT * FROM users_stocks WHERE user_id ="' .
Tree Menu
Hi guys,Can anyone help me making a tree navigation system? I have a site where I'm allowing users to upload their files to share with each other. They can create folders, but I'm having real
Help with page encoding issue and weird characters
I'm trying to write a screen scraper and when I pull out the lines of the html file that I'm interested in and put them in a variable, I end up with a few extra weird characters in my string that I
Working with Global Variables
hi, I'm not really sure why the following code is returning a "Call to a member function getBanners() on a non-object" error message. Code: var $_model; function display
Checking if a process is running (problems including psapi.dll i think...)
Ok, so all I'm trying to do is check if a program is running...
Number Format
Hi All,
login from external site
Hi my new experience begins, Now what i am trying to do is i make three pages, login.php logout.php index.php . Now if i will not give correct detail i can not see the index.php ,all working perfect
Motivational Posters
Hello,I wonder how can i do them in php. Are there any sample codes that you can show me?thanks in advance
onClick='location.href=index.htm'> not working
Below is my code:echo "<input type='button' value='redirect' onClick='location.href=index.htm'>";what is wrong with the code?? it's not working
Create multiple (n) arrays
Hi there,I have the following need:I have 2 arrays (coming from a databases)Array2 is related to Array1 -Example:Array1Dog, abcCat, bcdHorse, cdeArray2,meat, abcbones, abcfish, bcdgrain, cdegrass,