php-windows Digest 26 Nov 2008 19:04:30 -0000 Issue 3541

Topics (messages 29080 through 29081):

PHP not passing CLI script arguments
        29080 by: Darren

IE Explorer Problems.
        29081 by: Allen Wayne Best

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 ---
Hi,

I have a folder of PHP scripts, which I have added to my PATH var in XP so i can access them elsewhere in the command prompt. *.php files are also set to open with the PHP cli app.

But when doing this, my scripts no longer have any arguments passed into $argv. Only the script name in $argv[0].

Has anyone managed to do this before, or have I missed anything?

Darren

--- End Message ---
--- Begin Message ---
Good morning,

I am having a problem with a client web page when a user looks at the page 
using IE 7. (I commented the lines below with a "hash space" to show the 
firefox source. The IE source is shown commented with "hash hash space" where 
the "hash hash hash space" lines are the lines being incorrectly processed.

This looks like an IE 7 bug, but I have not found any documentation on the web 
for this problem. Has any one seen this, and found a work-around?

You can see this page at http://www.ramblerparts.com/catalog.php. Select, for 
example, 1968, Rambler American, All. When the next page comes up, click on 
any of the part images.

The page source in Firefox shows (correctly) as:

# <!DOCTYPE HTML PUBLIC "-\/\/W3C\/\/DTD HTML 4.01\/\/EN">
# <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
# <title>PAINT</title>
# <link rel=stylesheet href=background.css type=text/css>
# </head>
# <body background="./graphics/background.jpg">
# <table align="center" width="90%">
# <tr colspan=1>
# <td rowspan=1>
# </td>
# <td>
# <table align="center" width="90%">
# <tr>
# <td align="center">
# 
# <img src="./graphics/online.gif" alt="Parts Online Catalog">
# </td>
# </tr>
# </table>
# 
# </td>
# </tr>
# <tr>
# <td colspan=2>
# <div align=center>
# <table width="90%" nowrap>
#       <tr nowrap>
#       <td align=center nowrap width="90%">
# <a href=/><img src="./graphics/button-home.jpg" border="0" 
alt="Home"></a></td>
#       </tr>
# 
#       </td>
#       </tr>
# </table>
# 
# </div>
# </td>
# </tr>
# </table>
# 
# <!-- import contents begins here -->
# submit - PAINT;01-0015.jpg<br><div 
class="center"><b><h3>PAINT</h3></b></div><br>
# <img src="01-0015.jpg" alt="PAINT">
# 
# <!-- import contents ends here -->
# <br><br>
# <div class=center>
# &copy; Galvin's Rambler Parts - 2004
# </div>
# <div class=footnote>
# Version: 1.7 <br>Last Revised: 2005/12/18
# 
# </div>
# </body>
# </html>

whereas when the page is viewed with IE 7, it looks like:

## <!DOCTYPE HTML PUBLIC "-\/\/W3C\/\/DTD HTML 4.01\/\/EN">
## <html>
## <head>
## <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
## <title><IMG src=\"01-0015.jpg\" width=60></title>
## <link rel=stylesheet href=background.css type=text/css>
## </head>
## <body background="./graphics/background.jpg">
## <table align="center" width="90%">
## <tr colspan=1>
## <td rowspan=1>
## </td>
## <td>
## <table align="center" width="90%">
## <tr>
## <td align="center">
## <img src="./graphics/online.gif" alt="Parts Online Catalog">
## </td>
## </tr>
## </table>
## 
## </td>
## </tr>
## <tr>
## <td colspan=2>
## <div align=center>
## <table width="90%" nowrap>
##      <tr nowrap>
##      <td align=center nowrap width="90%">
## <a href=/><img src="./graphics/button-home.jpg" border="0" 
alt="Home"></a></td>
##      </tr>
## 
##      </td>
##      </tr>
## </table>
## 
## </div>
## </td>
## </tr>
## </table>
## 
## <!-- import contents begins here -->
### submit - <IMG src=\"01-0015.jpg\" width=60><br><div 
class="center"><b><h3><IMG src=\"01-0015.jpg\" width=60></h3></b></div><br>
### <img src="" alt="<IMG src=\"01-0015.jpg\" width=60>">
### <!-- import contents ends here -->
## <br><br>
## <div class=center>
## &copy; Galvin's Rambler Parts - 2004
## </div>
## <div class=footnote>
## Version: 1.7 <br>Last Revised: 2005/12/18
## 
## </div>
## </body>
## </html>


Allen Wayne Best, esq.

--- End Message ---

Reply via email to