php-windows Digest 12 May 2007 06:10:24 -0000 Issue 3225
Topics (messages 27871 through 27872):
Installation Issue - PHP 5.2.2.2 problem and bug in script - XP pro / IIS6
(Win 32)
27871 by: Mark Abrams
PHP and JavaScript
27872 by: sam rumaizan
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
I have a problem with PHP 5.2.2.2 I am on XP Pro with IIS6
I just downloaded and ran php-5.2.2-win32-installer.msi
The installer for IIS (ISAPI) has a bug:
The directory and path are C:\Program Files\PHP
In IIS, ISAPI Filter - I found C:\Program Files\PHP\\php5isapi.dll
//Note the null directory
I corrected ISAPI the directory in IIS
Checked my system path and variable: (OK here)
C:\Program Files\PHP\
PHPRC= C:\Program Files\PHP\
Permissions are : read, write, executables, scripts
- Everything seams to be in order, however, I get error 500 when I
run phpinfo(); to my server. The page runs fine on a remote server.
Any comments please on where to go or to do to fix this problem?
TIA
Mark
--- End Message ---
--- Begin Message ---
Can some one explain to me why this code (Sliding menus) works fine with HTML
but it doesnt work with PHP?
<?php
echo "<SCRIPT TYPE='TEXT/JAVASCRIPT' LANGUAGE=JAVASCRIPT>
<!-- Hide script from older browsers
function toggleMenu(currMenu) {
if (document.all) {
thisMenu = eval('document.all.' + currMenu + '.style')
if (thisMenu.display == 'lock') {
thisMenu.display = 'none'
}
else {
thisMenu.display = 'block'
}
return false
}
else {
return true
}
}
// End hiding script -->
</SCRIPT>
<STYLE TYPE='TEXT/CSS'>
#menu1 {display:none; margin-left:20px}
</STYLE>
</HEAD>
<H3>
<A HREF='page1.html' onClick='return toggleMenu('menu1')'>Update The Record</A>
</H3>
<SPAN ID='menu1'>
<FORM>
<P>
<TEXTAREA name='hetext' rows='10' cols='40'>
Update the record
</TEXTAREA>
<INPUT type='submit' value='Update'><INPUT type='reset'>
</P>
</FORM>
</SPAN>";
?>
---------------------------------
Get the free Yahoo! toolbar and rest assured with the added security of spyware
protection.
--- End Message ---