Re: [PHP] Howto search in SQL for a specific character?

2005-11-30 Thread Ciprian Constantinescu
The ' character has to be escaped. Try using \' Gustav Wiberg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi I'm sorry but this didn't work either? If I replaced the ' with for example an a it worked /G - Original Message - From: Stephen Johnson [EMAIL PROTECTED]

[PHP] Re: How do i display a neat table of returned mysql data?

2005-11-30 Thread Ciprian Constantinescu
First of all this is not automatic. You can do this with a foreach loop. If you want nice presentations, you might as well try http://smarty.php.net Dave Carrera [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi List, I have some mysql table data that i would like to display back

Re: [PHP] GD2 Question

2005-11-30 Thread Ciprian Constantinescu
Not efficient, because the actual size on the disk depends on the filesystem. I don't think you can find out before writing it to the disk Jochem Maas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Karuna wrote: Hi. Is possible to calculate the filesize of image that will result

[PHP] [pgsql] connectivity problem

2004-07-18 Thread Ciprian Constantinescu
I have the following code [CODE] ?php $dbconn3 = pg_connect(host=somehost port=5432 dbname=adatabase user=postgres); ? [/CODE] And when i run the script I get Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: FATAL: missing or erroneous pg_hba.conf file I

Re: [PHP] [pgsql] connectivity problem

2004-07-18 Thread Ciprian Constantinescu
longer than any hour. That's relativity. [A. Einstein, 1938] http://jurgenstroo.com This one time, at band camp, Ciprian Constantinescu said: I have the following code [CODE] ?php $dbconn3 = pg_connect(host=somehost port=5432 dbname=adatabase user=postgres); ? [/CODE] And when

[PHP] Re: PHP and MySQL Installation on Apache for Windows

2004-07-16 Thread Ciprian Constantinescu
PHP doesn't detect anything. You need to have your mysql server running and you try with mysql_connect() or mysql_pconnect() to see if you can connect to the server Sean Vasey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does anyone know how to get PHP to detect MySQL after it has

[PHP] Re: Encrypting passwords from page to page -mcrypt question

2004-07-16 Thread Ciprian Constantinescu
Why don't you try POST instead of GET? This way the password will not be visible in the URL. Scott Taylor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I would like to go from page to page, submitting the password through a GET query string. Of course I wouldn't want to do this

[PHP] Re: [Q] PHP 101 -- How to check for session existence?

2004-07-15 Thread Ciprian Constantinescu
I think it would be better to use Apache facility of authentication through Mysq l Michael T. Peterson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] To protect certain web pages on my site, I am using the following code inserted at the very beginning (top) of the page: ?php

[PHP] Re: [mysql]Problem with PHP5

2004-07-15 Thread Ciprian Constantinescu
I have included the extension. Now I get Unable to load dynamic library 'C:\php\ext\php_mysql.dll' - The specified procedure could not be found I have in Windows\System32 the file libmysql.dll. I have also put it in the php\ext directory without any result. -- PHP General Mailing List

[PHP] [mysql]Problem with PHP5

2004-07-14 Thread Ciprian Constantinescu
I have installed PHP5 and i get the following error from a script that was working on PHP4 Fatal error: Call to undefined function mysql_pconnect() in D:\htdocs\cdalex\Connections\listacon.php on line 9 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] php .vs cgi app..

2004-07-14 Thread Ciprian Constantinescu
As I know, if you run PHP as a module for Apache is faster than running as CGI. Also Python scripts can be run as a module(faster) or as CGI. The main disadvantage for Python as a module is that you don't get all the facilities of CGI. -- PHP General Mailing List (http://www.php.net/) To