php-windows Digest 20 Dec 2004 13:36:55 -0000 Issue 2513
Topics (messages 25176 through 25177):
Re: Step by Step on Using PHP5 with mySQL 4.1.17
25176 by: S Kang
Escaping quotes in form validation
25177 by: S.D.Price
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 Mick,
Overwrite existing libmysQL.dll to c:\php\libmySQL.dll from C:\Program
Files\MySQL\MySQL Server 4.1\bin\libmySQL.dll.
Good luck :)
Mick wrote:
Hi,
I have installed PHP5.03 to my Win2k workstation. I will be connecting
to a mySQL 4.17 database on my workstation and eventually our Windows
2003 server running IIS.
I know that mysqli needs to be configured to work on my workstation.
If someone could point me to a page with step by step instructions or
tell me how to:
a) Which DLL's and files have to be located, copied and where they are
supposed
to go. I have downloaded the latest windows zip of php files so I
should be all set.
b) Changes necessary to php.ini
c) Changes to path statements and which files these paths should be
included in.
d) What do I need to set up PHP to run through IIS.
If there isn't such a page, I promise to compile all these instructions
on a page and publish it.
Thanks in advance,
Michael
--- End Message ---
--- Begin Message ---
Hi can anyone help. I have a news blog system where a user can add news
stories to a database. As part of the data validation I indicate when
the user has not entered data correctly and allow then to re-enter data
in a n error prompt form
However if the user has entered quotes the error prompt form does not
display the information correctly. For example if I enter Steven's news
blog in the original form then either steven (non-escaped quotes) or
steven\ (escaped quotes) will appear in the error prompt form. This is
because the html value attribute is ended prematurely.
I can't find any solution to this, can anyone help?
Thanks
Steve
--- End Message ---