[PHP-DB] PHP Problem, Special String Character...please help

2004-01-14 Thread Ferry CS
Hai... I have problem with manipulating the string... How to send the string with special character included to the other pages... For example the string Father Son, when I send into other page the display become Father Example special characters are , +, , , etc How to fix it??? Thanks very

Re: [PHP-DB] PHP Problem, Special String Character...please help

2004-01-14 Thread Toby Irmer
I have problem with manipulating the string... How to send the string with special character included to the other pages... Take a look at this http://de2.php.net/urlencode http://de2.php.net/urldecode hth toby -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP-DB] PHP Problem, Special String Character...please help

2004-01-14 Thread brett king
Try using HTMLSPECIALCHAR() function. $title = htmlspecialhtml($title); -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] PHP Problem, Special String Character...please help

2004-01-14 Thread Ferry CS
I already received your help... I really loved it... Thanks very much all... I will try it... _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP Database Mailing

Re: [PHP-DB] PHP Problem, Special String Character...please help

2004-01-14 Thread Muhammed Mamedov
You can encode string before sending it out. Try htmlspecialchars($str, ENT_QUOTES).. before sending string - from PHP manual: The translations performed are: a.. '' (ampersand) becomes 'amp;' b.. '' (double quote) becomes 'quot;' when ENT_NOQUOTES is not set. c..

[PHP-DB] ODBC in PHP4.3.4 crashes when used with Mysql 4

2004-01-14 Thread Nico Sabbi
Hi, I have Mysql-4.0-14, MyODBC 3.51.06 and unixODBC 2.2.0. They are working perfectly together (isql works correctly) but php-4.3.x always crashes when I try odbc_connect() on the same DSN I use with isql (env vars are correctly set). Is this a known bug? This is a bt of a simplified example

Re: [PHP-DB] Database abstraction

2004-01-14 Thread Hans Lellelid
Martin Marques wrote: Mensaje citado por Malte Starostik [EMAIL PROTECTED]: Hi, I've read several posts touching this subject, but I didn't find one that asks a simple question I've been wondering about since I first used PHP and that is also one of the two really really bad things about PHP (the

Re: [PHP-DB] Database abstraction

2004-01-14 Thread Malte Starostik
Hans Lellelid wrote: Martin Marques wrote: Mensaje citado por Malte Starostik [EMAIL PROTECTED]: Hi, I've read several posts touching this subject, but I didn't find one that asks a simple question I've been wondering about since I first used PHP and that is also one of the two really

Re: [PHP-DB] PHP Problem, Special String Character...please help

2004-01-14 Thread Olwen Williams
If you are sending this as a query string to another page you want rawurlencode or urlencode rather than htmlspecialchars brett king wrote: Try using HTMLSPECIALCHAR() function. $title = htmlspecialhtml($title); -- Olwen Williams See my BB site http://www.bandbclub.com and my new site

Re: [PHP-DB] Re: PHP Java problem

2004-01-14 Thread Donovan Hutchinson
Thanks Justin, thats a handy function. I've been testing my code and found that it works up until I start passing objects into methods. This is the code I'm using to set up some objects (they are being passes variables that have been settype()'d): $sessioniser = new Java('com.SessionManager',

RE: [PHP-DB] Re: php includes

2004-01-14 Thread mayo
thx justin and aleks I don't have access to the php.ini file, its on a remote host. I asked if they had a directory to put the includes. They don't. I solved the problem (for this client) by placing everything in one directory. They're only about 20-25 files so it really doesn't matter (except

Re: [PHP-DB] How to print doc

2004-01-14 Thread Cal Evans
Agreed. It is possible to print things on the server side. I made the (incorrect) assumption that he wanted to control client-side printing from PHP. Let me know how I may be of service, =C= * Cal Evans * http://www.eicc.com * We take care of your IT, * So you can take care of your business. *

[PHP-DB] Access and PHP problem

2004-01-14 Thread Jason Hawkins
Hi, I am trying to INSERT into a MSAccess database using PHP 4.3 - I have a problem when I enter a name like O'Donnell. In mysql I would normally just backslash the single quote but this doesn't work with MSAccess. is there a fix for this?? Thanks in adv. Jason -- PHP Database Mailing List

[PHP-DB] Can I use PHP with SSL to connect to mySQL?

2004-01-14 Thread Daevid Vincent
I see that mySQL has SSL support: http://www.mysql.com/doc/en/Secure_connections.html And PHP has some SSL support, but do the mysql() functions work transparently with SSL? It seems there would have to be a flag for this mysql_connect() that turned on SSL.

Re: [PHP-DB] Can I use PHP with SSL to connect to mySQL?

2004-01-14 Thread John W. Holmes
Daevid Vincent wrote: I see that mySQL has SSL support: http://www.mysql.com/doc/en/Secure_connections.html And PHP has some SSL support, but do the mysql() functions work transparently with SSL? It seems there would have to be a flag for this mysql_connect() that turned on SSL.