Re: [PHP] CSS vs. Tables OT

2007-04-20 Thread Seak, Teng-Fong
Richard Lynch wrote: > On Tue, April 17, 2007 10:15 pm, Paul Novitski wrote: > >> At 4/17/2007 07:53 PM, Robert Cummings wrote: >> >>> On Tue, 2007-04-17 at 21:28 -0500, Anna V wrote: >>> I've never never had used tables for layouts (I worked on pretty complicated projects

[PHP] 0x9f54 is an invalid Big5 character! (was Re: [PHP] Re: 0x9f54)

2007-04-12 Thread Seak, Teng-Fong
OK, I took your problem from the other end. I tried to see what you're trying to store. I entered your 0x9F54 in a text file (using binary editor) and opened it in Firefox. Guess what! When the encoding is set to Big5, I just got a "?". But if I switch to Big5-HKSCS, I've got the "麁" c

Re: [PHP] Re: PHP Directory List Script Files over 2 GB

2007-04-11 Thread Seak, Teng-Fong
Robert M wrote: Does anyone else have any other ideas how to resolve this, I have tried multiple different methods all failed. Does the 2 GB limitation using filesize have an alternate method of producing the output. ? Thank you Logan for trying. I think you'd better file a bug report to PH

Re: [PHP] Re: 0x9f54

2007-04-11 Thread Seak, Teng-Fong
Man-wai Chang wrote: > how do you do string comparison in utf-8? say the user entered a chinese > string the browser and you need to search for the string in the MySQL > table using PHP. > How? Of course in the usual PHP way! (Be warned that we're getting more and more off-topic. This is

Re: [PHP] Re: 0x9f54

2007-04-11 Thread Seak, Teng-Fong
OK, I've spent five minutes to try to understand what you're doing. There're something I don't understand: 1. You use dbase_open("/home/bt/canton.DBF",0); which seems that you open a database file directly. Well, I don't do like this. I use mysql_connect("localhost", "username", "some_passwor

Re: [PHP] Re: 0x9f54

2007-04-10 Thread Seak, Teng-Fong
Seak, Teng-Fong wrote: > Anyway, you should look at the positive side of using Unicode > instead of the dinosaur encoding, sorry, I mean Big5 :p Hard drives > (and RAM) nowadays are getting real big, string size should be > I wanted to mean: string size should NOT b

Re: [PHP] Re: 0x9f54

2007-04-10 Thread Seak, Teng-Fong
Man-wai Chang wrote: >> On the other hand, I remember you talked about the type of that >> column to be char(2). Have you specified what encoding it's using? >> Moreover, I hope you're not using legacy encoding like Big5 or GB. Use >> Unicode (UTF-8) if your database is a brand new one. >>

Re: [PHP] Re: 0x9f54

2007-04-02 Thread Seak, Teng-Fong
Man-wai Chang wrote: >>> MySQL? MSSQL? PgSQL? >>> Tijnema >>> >> It seems he wanted to insert a Chinese character with that hex value. >> > > Yes... I tried the insert with PHP, including the use of > mysql_real_escape_string(), but MySQL still gave me a blank only. Well, this

Re: [PHP] 0x9f54

2007-03-29 Thread Seak, Teng-Fong
Tijnema ! wrote: > On 3/29/07, Man-wai Chang <[EMAIL PROTECTED]> wrote: >> Anyone knew how to insert this value into a char(2) column? > > Ok, what are you trying to do? you post a message with a single line, > and we need to help you? > I don't even think this is PHP related. You are trying to ins

Re: [PHP] Timezone offset

2007-03-29 Thread Seak, Teng-Fong
Chris wrote: > Seak, Teng-Fong wrote: >> UK's timezone is GMT (+) while most other western European >> countries like Spain, France, Germany, etc are in GMT +1000. > > I'm sure you mean +0100 - +10 is Australia and other places ;) > Oh yes, of course

Re: [PHP] Timezone offset

2007-03-28 Thread Seak, Teng-Fong
Satyam wrote: > - Original Message - From: "Chris Boget" <[EMAIL PROTECTED]> >> My server's timezone is set to "(GMT) Greenwish Mean Time : Dublin, >> Edinburgh, Lisbon, London". > > There you have why, you set it to GreenwiSh, which is kind of > Greenwich but not quite. > > I think that be

[PHP] Re: [PHP-WIN] Re: [PHP] Re: Question on virus/worms

2007-03-15 Thread Seak, Teng-Fong
Seak, Teng-Fong wrote: > No, I don't deserve anything because, as I've written in the > original post (but I suppose you didn't notice), the website is > outsourced and made by a 3rd company. Well, I've just realised (and checked) that I forgot to mention

[PHP] Re: [PHP-WIN] Re: [PHP] Re: Question on virus/worms

2007-03-15 Thread Seak, Teng-Fong
Stut wrote: > Seak, Teng-Fong wrote: >> But after I've spent some time reading the log files, I've finally >> found out how the hackers managed to achieve worm infiltration. >> >> Actually, they're using an URL like this: >> http://my-domain.

Re: [PHP] PHP 5.2 + IE 7 = HTTP 304 in login procedure [SOLVED]

2007-03-14 Thread Seak, Teng-Fong
Richard Lynch wrote: > I wonder if the changes that allow for Interntional domain names, with > various Unicode characters I don't even know how to get out of my > keyboard, *ALSO* made _ suddenly be legal... > > Just a hypothesis. > > I gotta say that Apache being current on RFCs and IE being brok

Re: [PHP] php and javascript error

2007-03-07 Thread Seak, Teng-Fong
Ed Curtis wrote: > Németh Zoltán wrote: >> 2007. 03. 7, szerda keltezéssel 10.59-kor Ed Curtis ezt írta: >> >>> I've just run into this problem this morning >>> >>> >> onclick="javascript:window.open('web_forward.php?address=>> $web_url; ?>&agent=&real_company_name=>> $real_company_name; ?>', '

Re: [PHP] Opinion on on-line payment and banking gateway

2007-03-06 Thread Seak, Teng-Fong
Jochem Maas wrote: > tell him this: "never ever ever ever so much as accept a creditcard number > as input to any of his scripts let alone store it somewhere - leave that to > the payment provider who has the expertise, secure (hopefully) system and > massive > liability fund to be able to deal wi

Re: [PHP] Re: Opinion on on-line payment and banking gateway

2007-03-06 Thread Seak, Teng-Fong
Mark wrote: > Seak, Teng-Fong wrote: > >> I'm not a PHP programmer. I ask this question for a friend of >> mine. So I'm not sure if I'm using the correct terms. He's making an >> e-commerce website and he doesn't know much about how to val

[PHP] Opinion on on-line payment and banking gateway

2007-03-06 Thread Seak, Teng-Fong
I'm not a PHP programmer. I ask this question for a friend of mine. So I'm not sure if I'm using the correct terms. He's making an e-commerce website and he doesn't know much about how to validate credit card, or how to make transactions. What he needs is called "banking gateway", right?

[PHP] Re: Question on virus/worms

2007-03-02 Thread Seak, Teng-Fong
Robert Cummings wrote: > Did you bother to google any of them? I just punched PHP/BackDoor.gen > into Google and got a wealth of information. Yes, of course! But what I can see there aren't far from useless (cf what I write below). Stut wrote: > Seak, Teng-Fong wrote: >>

Re: [PHP] Config language support

2007-02-28 Thread Seak, Teng-Fong
[EMAIL PROTECTED] wrote: > > Seak, Teng-Fong wrote: >> Why still use Big5, this pre-historical encoding? Come on, we're in >> the 21st century. You should use Unicode! >> > Hello, > > Due to some of DB data still stored with big5... > > Edward

Re: [PHP] Config language support

2007-02-28 Thread Seak, Teng-Fong
Why still use Big5, this pre-historical encoding? Come on, we're in the 21st century. You should use Unicode! [EMAIL PROTECTED] wrote: > Dear all, > > How to config the default Character Set and Collation with big5 ? > > Edward. > -- * Zoner PhotoStudio 8 - Your Photos perfect, sh

Re: [PHP] New Menu Bar - Can people test it for me?

2007-02-24 Thread Seak, Teng-Fong
Yup, that's nice. As others had told you, it doesn't work in IE6. On the other hand, the first time your page is loaded (or when the download speed is low), and when the mouse pointer is on "General", it takes quite some time to draw the menu bar background. And that gives the feeling

[PHP] Question on virus/worms

2007-02-08 Thread Seak, Teng-Fong
My company's got a web site using PHP. But the server is actually an IIS 5 sitting inside a Win2K server. So naturally, I'm using php dll filter. (Please don't tell me to use Apache because we need IIS for other services). This server also has got an anti-virus installed (McAfee to be exact