RE: [PHP] Change 'key' names of an associative array.

2001-05-15 Thread Altunergil, Oktay
, Oktay; [EMAIL PROTECTED] Subject: RE: [PHP] Change 'key' names of an associative array. have you tried http://www.php.net/manual/en/function.strtoupper.php -jack -Original Message----- From: Altunergil, Oktay [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 4:15 PM To: [EMAIL

[PHP] Change 'key' names of an associative array.

2001-05-15 Thread Altunergil, Oktay
I have been trying to convert a MySQL application to Oracle. Oracle needs the field names to be upper case. For this reason even if I can fetch the result row, I can't access it by $row[name] because I have to do $row[NAME]. Is there a way to change the the key name to upper case, without makin

RE: [PHP] detecting HTML tags

2001-05-15 Thread Altunergil, Oktay
Look into regular expressions. -Original Message- From: bill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 10:40 AM To: [EMAIL PROTECTED] Subject: [PHP] detecting HTML tags Is there a way to detect the presence of HTML tags? I don't want them stripped out, I just want to know

[PHP] PHP based Job Search/Board package ( like Monster.com)

2001-05-15 Thread Altunergil, Oktay
Hi , I'm going to create a local PHP job list. Before starting to code it however, I would like to know if some such package is already available as open source. Does anybody know of any job list, job board, employmen listing software prefereably in PHP? THanks. Oktay ALtunergil -- PHP Gener

RE: [PHP] PHP Editor

2001-05-12 Thread Altunergil, Oktay
There's no extended replace in textpad.. More specifically you can't do extended replace if the files are not all Open. On the other hand there's no , parantheses, bracket maching in HomeSite. I still use HomeSite though :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROT

RE: [PHP] "Free" Database Design Program

2001-05-11 Thread Altunergil, Oktay
There's also the free version of Mascon ( www.scibit.com ) and a free application MySQLFront (www.mysqlfront.de) . The former has some report generation functionality like Crystal Reports. Oktay Altunergil -Original Message- From: scott [gts] [mailto:[EMAIL PROTECTED]] Sent: Friday, May

RE: [PHP] phpjobs.com

2001-05-11 Thread Altunergil, Oktay
I'm looking for a site like that too.. Is there a php-employment kind mailing list? Oktay Altunergil -Original Message- From: Jack Dempsey [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 2:40 PM To: [EMAIL PROTECTED] Subject: [PHP] phpjobs.com anyone know what the deal with it is

RE: [PHP] Documentation

2001-05-11 Thread Altunergil, Oktay
I hate the fact that php.net, phpbuilder.com are down very frequently and mysql.com is slow usually.. It's too bad for our image. Oktay Altunergil -Original Message- From: Philip Olson [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 1:26 PM To: Don Pro Cc: php list Subject: Re: [

RE: [PHP] Book PHP4 Professional WROX & Mail over SMTP

2001-05-11 Thread Altunergil, Oktay
I remember there was somebody who had a mail class and when I asked him to he had added a similar functionality to his class that made it possible to use another smtp domain to send email. I'm very sorry that the above is the only info I have now. It was months ago. Just wanted to let you know th

RE: [PHP] How good is the Interbase/Firebird API?

2001-05-11 Thread Altunergil, Oktay
Following the links you provided I came accross this. (Installing, Configuring and Using Apache, PHP3 and Interbase on Linux.) http://www.synectics.co.za/php3/tutorial/tutorial.html oktay -Original Message- From: Geoff Caplan [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 11:4

RE: [PHP] StripSlashes

2001-05-10 Thread Altunergil, Oktay
You can make the variables into a class and have the object call the same function with all its variables. Or turn magic quotes GPC on (and remove the addslashes() calls) Oktay Altunergil -Original Message- From: Sterling [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 4:12 PM To

RE: [PHP] Variable Variable

2001-05-07 Thread Altunergil, Oktay
http://www.php.net/manual/en/language.variables.variable.php -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Monday, May 07, 2001 4:53 PM To: PHP User Group Subject: [PHP] Variable Variable Hello, I can't find Variable Variable in the php manual. If someone ha

RE: [PHP] PostgreSQL vs. Interbase

2001-05-07 Thread Altunergil, Oktay
The link that goes to interbase's web site in freshmeat.com redirects to http://www.borland.com/interbase/ which does not list the product as free or open source? Is there another version? oktay -Original Message- From: Luke Welling [mailto:[EMAIL PROTECTED]] Sent: Monday, May 07, 2001

RE: [PHP] variable functions: empty/isset/unset invalid?

2001-05-07 Thread Altunergil, Oktay
Though I didn't know about 'variable functions' when answered, this is exactly what I said.. Interesting :) >>$foo is a string not a PHP function which makes 'empty' a string and not a >>function/command. >> >>Am I missing something? >> >>oktay -Original Message- From: Philip Olson [mail

RE: [PHP] Multiple Result sets

2001-05-07 Thread Altunergil, Oktay
If it's anything like MySQL it should return unique result handlers (identifiers).. You can reference them using the result handler if there's such an option.. oktay -Original Message- From: James Crowley [mailto:[EMAIL PROTECTED]] Sent: Monday, May 07, 2001 1:44 PM To: [EMAIL PROTECTED

RE: [PHP] variable functions: empty/isset/unset invalid?

2001-05-07 Thread Altunergil, Oktay
$foo is a string not a PHP function which makes 'empty' a string and not a function/command. Am I missing something? oktay -Original Message- From: Philip Olson [mailto:[EMAIL PROTECTED]] Sent: Monday, May 07, 2001 1:04 PM To: [EMAIL PROTECTED] Subject: [PHP] variable functions: empty/i

RE: [PHP] Sos

2001-05-07 Thread Altunergil, Oktay
Remove both rpms + apache Do a source install. Using redhat is no excuse for installing PHP+MySQL+Apache from rpms. You will be glad you did it when you're done. It's much easier to usually. oktay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, May 07

RE: [PHP] Can not send new Header

2001-05-04 Thread Altunergil, Oktay
You have to send the HEADER before anything is sent to the browser. If you have sent html tags like , etc or anything else the browser will parse, subsequent calls to HEADER stuff will not work. (that is unless you do output buffering of some sort) oktay -Original Message- From: Andy [ma

RE: [PHP] PHP using Forms

2001-05-04 Thread Altunergil, Oktay
The below does the newline and takes care of html tags which might otherwise get parsed by the web browser. # This function is to fix the characters. It replaces all htmlentities with their & kind representation # and converts newlines to html breaks () function fix($string) {

RE: [PHP] Session Problems....HELP!!!!

2001-05-03 Thread Altunergil, Oktay
If you don't use output buffering, the session stuff has to be the first thing in you script. In other words, you should not send anything to the browser before the session functions. In your case you are sending html tags to the browser before the session functions. Rewrite it as the following:

RE: [PHP] Homesite - Windows and CVS

2001-05-03 Thread Altunergil, Oktay
As far as I know there's no such application. We are using WinCVS for the same purpose. I would be interested if you come accross some application that would this though. oktay -Original Message- From: Michael Stearne [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 10:18 AM To: p

RE: [PHP] Going crazy again ...

2001-05-01 Thread Altunergil, Oktay
I was actually interested in the answer to this. I believe one can write in English if one can read English. (PS: It's not my first language either) oktay -Original Message- From: Jimmy Lantz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 3:14 PM To: [EMAIL PROTECTED] Subject: Re

RE: [PHP] HELP !!!!

2001-05-01 Thread Altunergil, Oktay
Try this if you are using Windows. http://www.anse.de/mysqlfront/ This is a Windows GUI for MySQL. It is very well done but it still has some issues. I don't think you will have a problem if all you'll be doing is creating tables , databases etc. You can also try installing phpMyAdmin on the s

RE: [PHP] MySQL for translation ?

2001-04-13 Thread Altunergil, Oktay
Why don't you define all of those in seperate text files and include the correct text file according to the users' preference. You can take a look at how Mantis (it's a ligthning fast and small Bug Tracking tool) does this at http://mantisbt.sourceforge.net Oktay -Original Message- Fro

RE: [PHP] Geeklog or phpSlash?

2001-04-12 Thread Altunergil, Oktay
Do you still need to create a seperate database for phpnuke or did they add functionality to customize the table names.? oktay -Original Message- From: Charlie Llewellin [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12, 2001 2:27 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Geeklog or

RE: [PHP] Can't redeclare already declared function

2001-04-11 Thread Altunergil, Oktay
If you're using php4 you can say include_once("include_file_name.php"); (there's also require_once() ) oktay -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 11:18 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Can't redeclare already declar

RE: [PHP] problem loading php4-document

2001-04-06 Thread Altunergil, Oktay
in .conf/httpd.conf Do the following; # For example, the PHP 3.x module (not part of the Apache distribution - see # http://www.php.net) will typically use: # AddType application/x-httpd-php3 .php3 .php #or whatever extensions. AddType application/x-httpd-php3-source .phps

RE: [PHP] reusing MySQL results

2001-04-04 Thread Altunergil, Oktay
use mysql_data_seek() just like you'd use reset() on an array. from php.net : "mysql_data_seek() moves the internal row pointer of the MySQL result associated with the specified result identifier to point to the specified row number. The next call to mysql_fetch_row() would return that row. "

RE: [PHP] Move data from one MySql table to another?

2001-03-23 Thread Altunergil, Oktay
from the docs; The following will not yet work in MySQL: SELECT * FROM table1 WHERE id IN (SELECT id FROM table2); SELECT * FROM table1 WHERE id NOT IN (SELECT id FROM table2); SELECT * FROM table1 WHERE NOT EXISTS (SELECT id FROM table2 where table1.id=table2.id); . . . MySQL only supports I

RE: [PHP] Array confusion.

2001-03-22 Thread Altunergil, Oktay
You can do this instead.. $month[] = array("Jan","Feb" .."Dec"); $m = 3; $real_m = $m-1 echo "Month= $month[$real_m]; //Mar You can also have PHP assign the first element of the array to index 1 instead of 0.. I think you accomplish that by doing something like $month[] = array(1=>Jan,Feb,M

RE: [PHP] What does a ? do

2001-03-20 Thread Altunergil, Oktay
It's called the 'ternary operator' (taking three arguments and stuff).. and I believe it is the only ternary operator at least in PHP. -Original Message- From: Boget, Chris [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 3:11 PM To: 'Brandon Orther'; PHP User Group Subject: RE: [

RE: [PHP] mail() question

2001-03-20 Thread Altunergil, Oktay
I don't think email messages care about html breaks ""..(unless it's HTML email or something) This is what I always use.. $message = "$Info \n$Phone \n$Email"; You can use the '\n' to also make your HTML sources more readable. -Original Message- From: Clayton Dukes [mailto:[EMAIL PRO

RE: [PHP] mail() question

2001-03-20 Thread Altunergil, Oktay
it's not /n .. it's \n -Original Message- From: Wade DeWerff [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 2:37 PM To: [EMAIL PROTECTED] Subject: [PHP] mail() question is there a way to do this in a mail() ? I need to add the $Phone and $Email variables too the $message, but

RE: [PHP] How to convert '2001032018' -> '2001 03 20 18' ? (Fomating Date)

2001-03-20 Thread Altunergil, Oktay
function sql_to_unix_time($timeString) { return mktime(substr($timeString, 8,2), substr($timeString, 10,2), substr($timeString, 12,2), substr($timeString, 4,2), substr($timeString, 6,2), substr($timeString, 0,4)); } you can use the above funct

RE: [PHP] Re: php editors

2001-03-19 Thread Altunergil, Oktay
Try this. This guy has two versions. One with a debugger. It also does previews if you have PHP installed on your machine. Only WINDOWS though. http://soysal.com/PHPEd/download.php3 -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 4:27 PM T

RE: [PHP] Reading one line, and no more.

2001-03-19 Thread Altunergil, Oktay
http://www.php.net/manual/en/function.file.php Look into this, you might be able to do it using the file() function which reads in a file and populates and array line by line. array file (string filename [, int use_include_path]) Identical to readfile(), except that file() returns the file in

RE: [PHP] OOP question regarding class extension

2001-03-19 Thread Altunergil, Oktay
As far as I know a class can extend multiple classes. What you can't do -in PHP- is two create a class that inherits from multiple parent classes (multiple inheritence). I believe this is available in C++ and Java and others. I also think the reason it is not available in PHP is because inheriting

RE: [PHP] Change POST for GET

2001-03-19 Thread Altunergil, Oktay
You can use urlencode() to preserve the spaces. You don't have to any manual conversions from space to + or something else. -Original Message- From: Chris Lee [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 9:35 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Change POST for GET ses