I am trying to run some php and java with in a page that has the extension of .aspx I am forced to use this because of the way the site is... But I would like to use a nice php / java mouse over that calls on a page and displays that content only when the mouse is over...
Here is the code I am trying to use in colors.aspx
Expand|Select|Wrap|Line Numbers
- <?php
- $filein = 'help.html';
- // ----------------------------------------
- // Read help file into variable $help_text
- // ----------------------------------------
- $help_text = "";
- if ($fd = fopen ($filein, "r")) {
- $help_text = fread($fd, filesize ($filein));
- fclose ($fd);
- }
- if ($help_text == '')
- $help_text = 'No help text available';
- $help_text=htmlentities($help_text);
- $help_text=str_replace(array("\n", "\r"), array("",""), $help_text);
- echo '<a align="right" href="#" onmouseout="javascript:hideTooltip()" onmouseover="javascript:showTooltip(event,\''.$help_text.'\');return false"><img src="http://test.valoriprecast.com/images/ProductImages/Colors/thumbs/Blanco Smooth.jpg" border="0"></a>';
- ?>
I have PHP install on MS Server03 and set it up as IIS ISAPI extension. However it seems there must be something more I must do to make this work....
I tried almighty Google for answers and I keep reading something about AddType. However they are saying to add this in the .htaccess file, which my site does not use.
Any help would be greatly appreciated!
Thank you,
Chris