Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Issues with back ticks operator

Posted on 2008-10-09
7
Medium Priority
?
187 Views
Last Modified: 2010-04-21
Hi,

I am running a small application using php using the backtick operator (``). when I run the application outside PHP it runs fine and dumps the output in an output file in 1 minute

However when I run it from PHP, It keeps going forever. Also it does create the output files but does not write to it.

I went to process explorer and saw that the application executable is being run as a process under svchost.

It looks like windows or PHP is locking it.

Can anyone help ? Thanks a ton in advance
0
Comment
Question by:anshuma
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 25

Expert Comment

by:Marcus Bointon
ID: 22685563
This is probably a permissions problem. In each case it's running as a different user, so check that the PHP user has sufficient privileges for where it's writing to.
0
 

Author Comment

by:anshuma
ID: 22686768
Hi Squinky,

The folder its writing to has the following permissions

everyone - full control

regards
-anshu
0
 

Author Comment

by:anshuma
ID: 22687058
Hi Squinky,

Is there some kind of log that I can see. Which will tell me what could be the issues

thanks
-anshu
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 25

Accepted Solution

by:
Marcus Bointon earned 2000 total points
ID: 22700872
I would have thought that any security violations would be logged somewhere, but I don't know exactly where. I'm not really the one to ask about Windows sysadmin...
0
 

Author Comment

by:anshuma
ID: 22705887
Thanks Squinky. it was the Application pool permissions in IIS.

you rock. thanks a ton
0
 

Author Closing Comment

by:anshuma
ID: 31504854
Thanks a ton
0
 
LVL 25

Expert Comment

by:Marcus Bointon
ID: 22707049
Thanks - that was my 1,000th question answered too!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question