php-windows Digest 14 Feb 2001 00:56:46 - Issue 444
Topics (messages 5542 through 5559):
Re: assigning variable names on the fly, backed myself in to a corner
5542 by: Darvin Andrioli
5544 by: Asendorf, John
5556 by: Ignatius Teo
5557 by: Ignatius Teo
Re: Ho
It is only the ' charactor there has a "problem" you have to excape any special
character before inserting.
the text Joe's should be inserted like this"
INSERT INTO table1 (int_field, char_field) VALUES (1, 'Joe''s')
A single quote is escaped by an extra single quote.
- Frank
>I trying to in
I believe that the next PHP version will correct a lot of the COM bugs in
the current version.
Alain
On Tue, Feb 13, 2001 at 05:43:29PM -0400, Dario Carnelutti wrote:
> Hi i have a problem with PHP using a dll that i have created
>
> the dll have this structure
> class (PROCESS)
> ob
Tm8gcHJvYnMgSm9obi4gSSdsbCB0YWtlIHRoYXQgaW4gbm9uLXNlcXVlbnRpYWwgc21hbGwgVVMg
ZGVub21pbmF0aW9ucywgdGhhbmtzISA6LSkgQW5kIG9mIGNvdXJzZSBEYXJ2aW4gY2FuIGhhdmUg
aGFsZi4NCg0KSWduYXRpdXMNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9t
OiBBc2VuZG9yZiwgSm9obiBbbWFpbHRvOkpBc2VuZG9yZkBsY291bnR5LmNvbV0NCj4
T29wcy4ueWVwLiBUaGFua3MgZm9yIHBvaW50aW5nIHRoYXQgb3V0Li4udGhhdCdzIHdoYXQgSSBt
ZWFudC4NCg0KSWduYXRpdXMNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9t
OiBEYXJ2aW4gQW5kcmlvbGkgW21haWx0bzpkYXJ2aW4uYW5kcmlvbGlAY2FyaWNlc2UuaXRdDQo+
IFNlbnQ6IFR1ZXNkYXksIDEzIEZlYnJ1YXJ5IDIwMDEgMjI6NTINCj4gVG86ICdJZ25
Have you tried addslashes () on the input lines before the insert?
Conover, Ryan wrote:
> I trying to insert some data into a MSSQL Server 7.0 database from Php. Some
> of the data has various characters ', > . How can I tell SQL Server to
> treat these characters as part of the input.
>
> Rya
Hi i have a problem with PHP using a dll that i have created
the dll have this structure
class (PROCESS)
object(CAT)
void(FILTER)
then, when i do this:
$pro=new COM("ENGINE.PROCESS"); it works fine
if i print any property it works but when i try to use the void filter
it
in mysql i'd treat them as a char or varchar i would assume it would be the
same in MSSQL
-Original Message-
From: Conover, Ryan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 9:32 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] INSERT into MSSQL Server
I tryin
I trying to insert some data into a MSSQL Server 7.0 database from Php. Some
of the data has various characters ', > . How can I tell SQL Server to
treat these characters as part of the input.
Ryan Conover
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECT
>What shoul I write in config.inc.php as host?
The name of the remote machine (eg whatever.mysite.net) or its IP address.
You also need to check in the mysql privilege tables that your own IP
address is allowed to talk to mysql. This may be tricky without phpmyadmin
running first though - you will
in your lib.inc.php
put localhost as the host value
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
TECHNOLOGY age
@ WORK.."
--
PHP Windows Mailing List (h
Manuela.
I tried this for a while, and found that it was actually a problem at one of my
ISP's end that they were unable to resolve, so I gave up and installed
phpmyadmin on my remote site as well (its not very big if you pare down the
unwanted bits).
You may have the same problem
Tom
Manuela wr
I have installed mysql on my remote host and phpmyadmin on my local machine,
(which seems good, reading your posts on this NG :-) )
If I try to open index.php I get the following error:
Warning: MySQL Connection Failed: Host '' is not allowed to connect to this
MySQL server in lib.inc.php on line
Hallo!
I got this problem, I can't insert a image to the pdf
document. I useing " pdf_place_image
($pdfdoc, "test.gif", 100, 100, 1); "
Is it anybody got a tip..
Best regards.
//Glenn
80.000 svenskar har nu gratis e-post på Sve
> I'm not much of an NT expert, so forgive me if this is a silly question.
> But if the regular internet user doesn't have rights, and I make a web
page
> to do these functions, how do I get at it via the internet as a different
> user that does have rights? Do you have to be sitting at the machi
I'm not much of an NT expert, so forgive me if this is a silly question.
But if the regular internet user doesn't have rights, and I make a web page
to do these functions, how do I get at it via the internet as a different
user that does have rights? Do you have to be sitting at the machine to
ta
That's the ticket. Thanks a million!
-
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Ipsa scientia potestas est
> -Original Message-
> From: Darvin Andrioli [mai
This is the error that appeared:
Warning: SQL error: [INTERSOLV][ODBC InterBase driver][InterBase]conversion
error from string "BLOB", SQL state S1000 in SQLExecDirect in
c:/homepages/message/post.php on line 7
> Easier to diagnose if you tell us what the error was?
>
> Winston Valenzuela wrote
Ignatius wrote:
> try assigning it to another variable first:
> for
> $tag = "$tag_num$i";
> $type = "tag_type$i";
> $sql = VALUES (..., $tag, $type);
The last statement must be:
$sql = VALUES (..., $$tag, $$type);
so you get the value of the variable na
php-windows Digest 13 Feb 2001 11:47:07 - Issue 443
Topics (messages 5534 through 5541):
Re: Do I need the API?
5534 by: Christopher Derr
Accessing Shares with the dir class
5535 by: Cameron Just
Re: IIS Manipulation
5536 by: David Harrison
Re: [PHP] Run a script
Is anybody out there using php4 with sybase-ct
support under windows?
I need some help... I don't find the sybase
client libraries.
--
Torsten
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
>Hallo!
>I want to have PHP support on more then one site, I
>want to have it on every website on my web server. The
>website have difrent root folder under my D: partition
>and i can only get PHP support off one website. Can
>anybody help me to config the
>php.ini file soo it works
>
Leave doc_
Hallo!
I want to have PHP support on more then one site, I
want to have it on every website on my web server. The
website have difrent root folder under my D: partition
and i can only get PHP support off one website. Can
anybody help me to config the
php.ini file soo it works
Best regards.
/
23 matches
Mail list logo