Jump to content

Firefox works...IE does not...ARGHHHHH!


phatgreenbuds

Recommended Posts

So I have no idea why, but the two part code below works in firefox perfectly, but using IE I get a page cannot be displayed...

 

        
<form method="post" action="channel.php" enctype="multipart/form-data">
<select name="channel">
              
<option value="ot1"> Episode 1</option>
<option value="ot2"> Episode 2</option>
<option value="ot3"> Episode 3</option>
</select>
<input type="submit" name="submit" value="submit">
</form>

 

<?php
if (isset($_POST['channel'])) {
$chan = $_POST['channel'];
header( "Location: mms://www.somesite.com/$chan" );
} else {
echo "CRAP!";
echo "<br>";
}
?>

 

It would be really clever if I could get it to use a single page instead but I would be happy if I could just get this to work in IE right now.

Link to comment
https://forums.phpfreaks.com/topic/101493-firefox-worksie-does-notarghhhhh/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.