473,505 Members | 16,800 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Get exception everytime I try to do this.

I'm trying to run a command that is ran in the background and is
released from php. This was working code but when I upgraded to 4.3.8
it stopped working with an exception. Below is the code I'm working
with.
$exec = "D:/inetpub/bgrun.exe c:/progra~1/real/helixp~1/producer.exe -i
D:/inetpub/liquid/content/".$HTTP_POST_VARS['mixid'].".mp3 -o
D:/inetpub/liquid/content/".$HTTP_POST_VARS['mixid'].".rm -ad \"28k\"";

$WshShell = new COM("WScript.Shell");
$oExec = $WshShell->Run($exec, 0, false);
I've went through the code and it's definitly coming from these lines.
nothing has change except for the version of php. Any help would be
apreciated greatly.

peace

troy

Jul 17 '05 #1
2 1424
Hi Troy,

What is the exception that you are getting? Please post the exact error
message!

Thanks,
--Kartic

Jul 17 '05 #2
Here is the error I get.
PHP has encountered an Access Violation at 018952DF

Thanks,

Troy

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1598
by: Dan | last post by:
I am back yet again :) I am encountering an Exception that has me scratching my head. I have two forms. Form A launches Form B in response to the user clicking a button. The Constructor for Form...
6
9945
by: Kevin Jackson | last post by:
Let's say we log exceptions to the windows application event log using the Exception Management Application Block. Is there a pattern that can be used so the exception is logged only once and not...
1
998
by: Tom | last post by:
Hi I have a method which insert data to DB. The data can be inserted. However, it returns to the login.aspx everytime. There is an exception to be thrown. But, I do not know what is the...
2
1185
by: mateenation | last post by:
Hey All, I am having this exception-- Server Error in '/networklogin' Application. Error authenticating user. Logon failure: unknown user name or bad password everytime an unauthorized user...
0
6492
by: neuraljay | last post by:
hi everyone. I am trying to build a jsp using webwork, hibernate and mysql. And right now I am doing its unit testing. Everytime I run the test I am getting this error: Error JDBC exception on...
0
7307
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7370
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7021
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7478
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3177
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1532
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
409
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.