We help IT Professionals succeed at work.

problem with running php files

MnInShdw
MnInShdw asked
on
265 Views
Last Modified: 2007-08-23
If I start my php scripts with
--------------
<?
--------------
the browser shows the contents of php file and the web server doesn't execute the script.

But if I start them with
--------------
<?php
--------------
everything works perfectly and I receive the expected results.

the site is running on a Windows Server 2003 with IIS6.0 and php5.2.3
I believe there should be something wrong with settings of IIS6 or php.ini

any kind of advice is much appreciated.


Comment
Watch Question

b0lsc0ttIT Manager
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
IT Manager
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
thanks for all the comments :)
b0lsc0ttIT Manager
CERTIFIED EXPERT

Commented:
Your welcome!  Thanks for the fun question.  I'm glad I could help.  Thanks for the grade and points too.

bol
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.