Re: [PHP-DB] character problem with mssql

2003-12-06 Thread Nikos Gatsis
If problem is in your database use htmlentities(). It while translate all
characters to HTML entities (check PHP manual).
Else you should check web page's character code.
Nikos

> Hi;
>
> I use php and mssql. I have got a character problem. I must use turkish
> chracters. When I select datas from database it works true and I can see
> turkish characters but when I want to insert new datas to database it set
> wrong character.
>
> For example "ÞÝ" characetrs look like "?" How can I solve this problem? My
> data type is char 100.
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Subject: International Addresses and Telephones

2003-12-06 Thread Neil Smth
Did you try 
http://www.bitboost.com/ref/international-address-formats.html#Formats, 
found as first hit by simply googling for "international address formats" ?!?!

Cheers - Neil.

At 07:23 05/12/2003 +, you wrote:
Message-ID: <[EMAIL PROTECTED]>
From: "Rankin, Randy" <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Date: Thu, 4 Dec 2003 10:05:54 -0600
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="_=_NextPart_001_01C3BA80.7EBEA770"
Subject: International Addresses and Telephones
I have a form which captures US addresses ( address, city, state ) and
telephone numbers ( 10 digit ) and am writing this data to a MySQL table. I
need to expand this to capture non-US info, so I was hoping for some
guidance on forms and table structures. I have googled this to death and
still haven't come up with anything.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DB] PHP - RH Linux - Interbase

2003-12-06 Thread Todd Cary
I am looking for someone that is running RH 9 Linux with Php & Interbase...

Todd

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DB] PHP - RH Linux - Interbase

2003-12-06 Thread Glen Webber
Hi Todd,

I'm running interbase, php,...  on deb.
Happy to help if I can.
Whats the issue your dealing with?
G/

Todd Cary wrote:
I am looking for someone that is running RH 9 Linux with Php & Interbase...

Todd
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DB] PHP - RH Linux - Interbase

2003-12-06 Thread Todd Cary
Glen Webber wrote:
Hi Todd,

I'm running interbase, php,...  on deb.
Happy to help if I can.
Whats the issue your dealing with?
G/

Todd Cary wrote:

I am looking for someone that is running RH 9 Linux with Php & 
Interbase...

Todd
Glenn -

I greatly appreciate the offer to help.  Linux is NOT my usual OS, but I 
do have 30 yrs experience (not to impress you, but just to let you know 
that I have a pretty good understanding of programming - at least Delphi ).

I just just installed Fedora and there appears to be a problem running 
rpm with rpm's created on other versions of Linux, so i may need to put 
RH 9 back on and wait.  So, with that out of the way, here is where I 
get confused:

1) How to remove the pre-installed version of php with all of the 
dependencies.

2) Should I even do that?

3) If I configure the compile with "--with-interbase=/opt/interbase 
--with-apxs", what do I need to do to Apache so that it knows where to 
get the Interbase information, or do I need to do anything?

4) Though I have PHP and Interbase running on another Linux 9 box, I 
lost the paper that told me how to do it.  That install used an 
Interbase.so file that someone gave me.

5) Hopefully, you have the patience to get me cleared up on what I need 
to do *and* this time I will put the notes in a safe place !!

Todd

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DB] HELP!

2003-12-06 Thread Akmal
I'm trying to create a guestbook and... I'm having trouble getting a certain
amount of entries per page. Please help, a snippet of a code would be nice.
Thanks!

-Akmal-


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.547 / Virus Database: 340 - Release Date: 02/12/2003

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] HELP!

2003-12-06 Thread Tyler Lane
Why don't you post the code you are trying to work with and we could 
help you from that point on.

Akmal wrote:
I'm trying to create a guestbook and... I'm having trouble getting a certain
amount of entries per page. Please help, a snippet of a code would be nice.
Thanks!
-Akmal-

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.547 / Virus Database: 340 - Release Date: 02/12/2003
--
Tyler Lane <[EMAIL PROTECTED]>
Lyrical Communications
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DB] PHP - RH Linux - Interbase

2003-12-06 Thread jeffrey_n_Dyke

Hey Todd.

I'm no guru...but have some familarity with these packages.  i think you
could remove the php rpm with rpm --erase php* and then recompile.  being
from other OS's myself, mainly solaris, i find it easier to build my own,
mainly b/c i know when it works and when it does not.(still a RH newbie)
but you don't have to remove it..  another option is to just install a new
version of PHP in another location.

when you configure PHP, use the two flags you mentioned and PHP *usually*
will modify the apache config file (httpd.conf) during `make install`.  If
it does not you need to make sure that the following lines are in
httpd.conf

LoadModule php4_modulelibexec/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php

if you have apache in a special location(other then /usr/local) make sure
you give php the full path to apxs (--with-apxs=/path/to/apache/bin/apxs)

You should not need to tell apache where interbase is, only PHP will need
to know.

Hope this helped.
Jeff


   

  Todd Cary

  <[EMAIL PROTECTED]To:   [EMAIL PROTECTED]
  
  are.com> cc: 

   Subject:  Re: [PHP-DB] PHP - RH Linux - 
Interbase   
  12/06/2003 08:21 

  PM   

   

   





Glen Webber wrote:
> Hi Todd,
>
> I'm running interbase, php,...  on deb.
> Happy to help if I can.
> Whats the issue your dealing with?
>
> G/
>
> Todd Cary wrote:
>
>> I am looking for someone that is running RH 9 Linux with Php &
>> Interbase...
>>
>> Todd

Glenn -

I greatly appreciate the offer to help.  Linux is NOT my usual OS, but I
do have 30 yrs experience (not to impress you, but just to let you know
that I have a pretty good understanding of programming - at least Delphi ).

I just just installed Fedora and there appears to be a problem running
rpm with rpm's created on other versions of Linux, so i may need to put
RH 9 back on and wait.  So, with that out of the way, here is where I
get confused:

1) How to remove the pre-installed version of php with all of the
dependencies.

2) Should I even do that?

3) If I configure the compile with "--with-interbase=/opt/interbase
--with-apxs", what do I need to do to Apache so that it knows where to
get the Interbase information, or do I need to do anything?

4) Though I have PHP and Interbase running on another Linux 9 box, I
lost the paper that told me how to do it.  That install used an
Interbase.so file that someone gave me.

5) Hopefully, you have the patience to get me cleared up on what I need
to do *and* this time I will put the notes in a safe place !!

Todd

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php