Jump to content


Photo

webpage problem


  • Please log in to reply
1 reply to this topic

#1 Bee

Bee
  • Members
  • PipPipPip
  • Advanced Member
  • 40 posts

Posted 04 March 2006 - 03:20 PM

Hi,

My php page does not open in explorer, but it works fine in avant browser.

I've created a php webpage that contains a table and inside the table there is a flash animation. The way I did it was by creating three sperate files and included them all in one php file.

my first file shows the table upper part. second file shows flash animation and third shows the lower part of the table.

1.
<?php
?>
<HTML>
    <body>
        <table width="100%" height="134" border="0" cellpadding="2" cellspacing="0">
          <tr> 
                <td></td>
                
                <td width="778" border="1" bgcolor="#EFF8FA">
<?php
?>


2
.<?php
?>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="778" height="626">
     <param name="movie" value="file:///C|/XAMPP/xampp/htdocs/StudentBuyer/Student_Buyer.swf">
      <param name="quality" value="high">
      <embed src="file:///C|/XAMPP/xampp/htdocs/StudentBuyer/Student_Buyer.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="778" height="626"></embed></object>

<?php
?>


3
.<?php
?>
                    </td>
                    
                    <td></td>
              </tr>
            </table>
        </body>
    </HTML>
<?php
?>


this is the file that includes them.
<?php
    include("table_Upper_Part.php"); 
    include("student_buyer_SWF.php"); 
    include("table_Lower_Part.php"); 
?>

this page works perfectly in avant browser on my machine. but it does not open in explorer!
Can any one help please?

thanks,
Bee

#2 Hooker

Hooker
  • Members
  • PipPipPip
  • Advanced Member
  • 193 posts
  • LocationWales, UK

Posted 04 March 2006 - 06:02 PM

im not 100% sure if this'l help but none of the:

(.)<?php
?>

are not nessisary in any of the files but the file that includes them, you only need to use them to surround actual php code.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users