php-windows Digest 30 Sep 2007 07:13:54 -0000 Issue 3338

Topics (messages 28505 through 28507):

PHP SYSTEM() on IIS
        28505 by: chris chia

Re: IE7/PHP-debugging?
        28506 by: TG

What's the difference between <? ?> and <?php ?> ???
        28507 by: Abhishek Dutta

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Hi all,I have a Windows server being run and logged in with an admin user A 
with all the necessary services running on the server.Our IIS has Anonymous 
Access of root network domain user B.  And when I run a PHP script to use it 
SYSTEM() function to run the command 'whoami' in the shell (for e.g 
SYSTEM('whoami'))user A is provided. This means that PHP is running the process 
(system) under the same user. This is what we want.  However if we run a 
SYSTEM('example.perl'), the child process (perl) is running as user SYSTEM.How 
can I make PHP run this process as user A instead of SYSTEM? I have asked for 
advice from Windows IIS developer and was told that it is not a problem from 
IIS server.I was told that ASP or ASP.net can change the ownership of any 
process running on the server, so anyone has any idea how I can approach this 
problem?  Regards,Chris
_________________________________________________________________
Get the new Windows Live Messenger!
http://get.live.com/messenger/overview

--- End Message ---
--- Begin Message ---
In addition to what was mentioned (which I think will only end up showing you 
the raw HTTP error and not any kind of meaningful PHP errors in this case), 
maybe there's a few other things you can try.

Not IE-centric, but in Firefox you can use FireBug along with FirePHP to get 
more detailed information about internal issues you may have with PHP.

Also, if I recall, Zend's server side component along with a browser plugin 
can give you some profiling and efficiency information.

But before all that, it sounds like you're having issues loading the page in 
general.  Which could be all kinds of issues that aren't PHP related.

Try making a simple script like:
<?php
echo "hello";
?>

Or your classic phpinfo() script to verify that PHP is running properly on 
your server.

If that works, try going to the script that's not working, making sure your 
test scripts work in that folder (maybe it's a permissions issue or 
something) and if that all checks out... then try putting exit()/die() 
codes in your script to stop it at various points to see how far it gets 
before it fails the way you're describing.

You should get output or blank pages until you hit the bad spot.

-TG

----- Original Message -----

> Hello
> 
> I'm having troble viweing a page. I get the fault "Webbsidan kan inte
> visas" which can be translated with "The webpage can not be viewed". 
> When I reload the page the system I've created it renders perfectly.
> 
> This would be likely to depend on a logical fault in the code, BUT the
> thing is that the system only behaves like this in Internet Explorer.
> I've tested the system in Opera and Firefox and there it is no problems.
> I've also tested to setting diffrent time-outs but that doesn't seem to
> be the issue.
> 
> My question: IS there anyone who knows about some utility to check
> what's going wrong in IE together with PHP-applications? Would be happy
> to have that utility because IE itself doesn't explan anything about
> errors... 
> 
> 
> Best regards
> /Gustav Wiberg

--- End Message ---
--- Begin Message ---
Hello.
I just did a 'manual' installation of php on my winxp. A very weird (maybe)
problem encountered. It doesn't 'recognize' <? ?> tags. but it recognizes
<?php ?> tags. Clueless. Someone please help me out.
regards
Abhisek

--- End Message ---

Reply via email to