IE 6.0.2 displays php script txt - Opera executes php script

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
c2497
Forum Newbie
Posts: 10
Joined: Wed Aug 06, 2003 8:18 pm

IE 6.0.2 displays php script txt - Opera executes php script

Post by c2497 »

Does anyone know why IE 6.0.28 would just display a php file script as text when the file is called as an form action whereas Opera (version 7.11) properly executes the php file when called by a form.php?

I'm writing a feedback form that is php and calls the sendfeedback.php
script in this manner (right now on my c: drive as I have not uploaded to a host yet.)

<form action="sendfeedback.php" method="POST">

Thanks for your help!
c2497
Forum Newbie
Posts: 10
Joined: Wed Aug 06, 2003 8:18 pm

my register_globals = Off re ie vs opera

Post by c2497 »

By the way re this problem - register_globals = Off

Although I don't totally understand what this means to me.

Thanks.
c2497
Forum Newbie
Posts: 10
Joined: Wed Aug 06, 2003 8:18 pm

register globals with IE

Post by c2497 »

I wonder if my problem could be related to php global variables not working with IE.

Any thoughts?

Thanks!
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

which browser is used to request a document should not have an effect on how the webserver treats the file (as php script or as plain document).
Does the simple script

Code: Select all

<?php phpinfo(); ?>
work regardless of the browser?
Post Reply