Re: [PHP] Survey: MySQL vs PostgreSQL for PHP
Hi, On Fri, 5 Jul 2002, Lazor, Ed wrote: How many here feel PostgreSQL has surpassed MySQL as the better backend for PHP? This would be based on performance (speed, scalability, etc.) and features. Surely PostgreSQL!!! If you aim is creating a database, then use PostgreSQL. if you want to use a database, for ex. for you web page, use MySQL... (well, use PostgreSQL anyway :-) ) As written on postgresql.org : The best open source database engine BEst regards. -- Devrim GUNDUZ [EMAIL PROTECTED] [EMAIL PROTECTED] Web : http://devrim.oper.metu.edu.tr - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP 4 broken after Apache upgrade
Hi, On Sat, 6 Jul 2002, Chris Garaffa wrote: OK, so I upgraded to Apache 1.3.26 on my RedHat machine after the security stuff last week. Saved my old httpd.conf file, just in case, and I did need it. Unfortunately, neither the old file, nor the new file, nor the new file modified to include PHP support, work. I added: LoadModule php4_module libexec/libphp4.so AddModule libphp4.c AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps to httpd.conf in their proper sections. Also, added index.php as one of the possible index files (along with index.html and index.shtml) I checked libexec/; libphp4.so is there. Then I get this: [root@saturn /]apachectl start Syntax error on line 276 of /usr/local/apache/conf/httpd.conf Cannot add module via name 'libphp4.c'; not in list of loaded modules OK, so I comment out AddModule libphp4.c, and [root@saturn /]apachectl start /usr/local/apache/bin/apachectl start: httpd started [root@saturn /] But then, I load up Internet Explorer, go to my site, and get this: Unhandled File Type dialog box: Internet Explorer doesn't know how to handle the type of file you have selected. You can choose to save this file to your disk or you can configure a Helper Application for this file. MIME Type: application/x-httpd-php File Name: - I downloaded the file via Save File As and it is the php source for index.php. So do I need to reinstal PHP, or am I just missing something in the config file? You need to compile php with apache again, I think. Best regards. -- Devrim GUNDUZ [EMAIL PROTECTED] [EMAIL PROTECTED] Web : http://devrim.oper.metu.edu.tr - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] upgrading phpmyadmin...
Hi, On Tue, 25 Jun 2002, Phil Schwarzmann wrote: Is it pretty easy to upgrade phpmyadmin from 2.1 to the latest version? Anyone run in to any difficulty? Just untar the newest version and edit config.php -- Devrim GUNDUZ [EMAIL PROTECTED] [EMAIL PROTECTED] Web : http://devrim.oper.metu.edu.tr - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] mailing list program?
Hi, I suggest you to use ecartis, which is really powerful and easy to install. www.ecartis.org Best regards, Devrim. -Original Message- From: savaidis [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 22, 2002 3:08 AM To: PHP list Subject: [PHP] mailing list program? Is there any mailing list prorgam for Linux server? I want to have text import possibility of addresses. Thanks Makis -- Devrim GUNDUZ [EMAIL PROTECTED] [EMAIL PROTECTED] Web : http://devrim.oper.metu.edu.tr - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Select-List
Hi, On Wed, 5 Jun 2002, DragosB wrote: How can I check how many options has been selected from a select list? I tried in many ways, but it returns the last option selected. Let's say your select box code is similar to this: SELECT name=day[] size=7 multiple ... /SELECT in PHP form, $number = count ($day); gives you the number of options selected. Regards and best wishes. -- Devrim GUNDUZ [EMAIL PROTECTED] [EMAIL PROTECTED] Web : http://devrim.oper.metu.edu.tr - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] open a new html page
Hi, On Wed, 5 Jun 2002, Renaldo De Silva wrote: is there a simple way to automatically load a new page according to a choice made by a user. If one persons logs in they go to one page, If another peson logs in they go to another page? You could keep the following information in a table of a database, or in a text file and evaluate it whenever you need: - username - page_url if $username logs on, user will go to $page_url. You only must do some coding to get this data from text file or a database. If you have only very very few users, maybe you could place this data in the code. Regards and best wishes. -- Devrim GUNDUZ [EMAIL PROTECTED] [EMAIL PROTECTED] Web : http://devrim.oper.metu.edu.tr - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php