php-windows Digest 10 Jan 2008 14:00:33 -0000 Issue 3394
Topics (messages 28694 through 28695):
Issues trying to connect to DB2 via PHP
28694 by: McCallister, Jason
Strange error in a very simple PHP file
28695 by: Jacob Kruger
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 found the solution.
This is from a DB2 UDB security document:
"Beginning in DB2 UDB Version 8.2, additional security was added to DB2
UDB in the Windows environment. A new option exists as part of the DB2
UDB installation to create two additional groups in the operating
system, DB2USERS and DB2ADMNS. Once these groups are created, only user
accounts that are members of these groups will have access to the DB2
UDB files on the system (including commands as well as user data files
created by DB2 UDB)."
The fix:
On your Windows server, go to >Control Panel >Administrative Tools
>Computer Management
On the tree view, go to >Computer Management (Local) >System Tools
>Local Users and Groups >Groups
Right-click on DB2USERS and select Properties
Add the users that will be accessing the DB2 Drivers. This will most
likely be the ID that is running the IIS server.
Blue Cross Blue Shield of Florida, Inc., and its subsidiary and affiliate
companies are not responsible for errors or omissions in this e-mail message.
Any personal comments made in this e-mail do not reflect the views of Blue
Cross Blue Shield of Florida, Inc. The information contained in this document
may be confidential and intended solely for the use of the individual or entity
to whom it is addressed. This document may contain material that is privileged
or protected from disclosure under applicable law. If you are not the intended
recipient or the individual responsible for delivering to the intended
recipient, please (1) be advised that any use, dissemination, forwarding, or
copying of this document IS STRICTLY PROHIBITED; and (2) notify sender
immediately by telephone and destroy the document. THANK YOU.
--- End Message ---
--- Begin Message ---
Hi there
In a very simple .php file where you're basically supposed to enter a
password to then log-on to the backend of a site, I'm getting a very strange
error:
Parse error: syntax error, unexpected $end in
C:\wamp\www\blindza\admin\index.php on line 43
Line 43 actually only has the text "</html>" on it (without the quotes).
In the rest of that file, there's literally just a small bit of code that
basically starts a session right at the top of the code/scripting, checks to
see if you've entered the correct password into the relevant field (if
you've actually submitted the form at all), and then basically tries to do a
redirect of sorts, but the page won't even display any of the HTML, let
alone let you try to actually submit the form since the first time I even
try to load/view the page, all it spits out is that error message.
Any thoughts on this?
FWIW, I'm running the WAMP server, and have tried editing that file using
the PHP coder IDE, TextPal, Notepad++, Notepad etc. etc. to see if there was
maybe some sort of invalid character somewhere, but I haven't found anything
yet even if I tell one or two of the editors to as such display 'all'
characters.
Thanks in advance
Jacob Kruger
Blind Biker
Skype: BlindZA
'...Fate had broken his body, but not his spirit...'
--- End Message ---