473,657 Members | 2,380 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_VA RS['mixid'].".mp3 -o
D:/inetpub/liquid/content/".$HTTP_POST_VA RS['mixid'].".rm -ad \"28k\"";

$WshShell = new COM("WScript.Sh ell");
$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 1432
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
1608
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 B takes 5 parameters but none of them complicated ( three short strings and two booleans ). Form B does have several controls on it (around 148 when you count in group boxes, labes and menus). However, I have forms with far more that load...
6
9960
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 everytime up through the call chain? Is there anything a caller can key off of to check to see if it should also log the exception?
1
1015
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 exception? How can I show it? The following is my code. try {
2
1189
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 tries to log in my public bool IsAuthenticated(String domain,String usrname,String pwd)methold is throwing an exception when it has to return a "false" here's the copy of my code-- public bool IsAuthenticated(String domain,String...
0
6511
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 Hibernate data access; nested exception is org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update org.springframework.orm.hibernate3.HibernateJdbcException: JDBC exception on Hibernate data access; nested exception is...
0
8394
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8306
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8732
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
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 we have to send another system
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1615
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.