Re: [PHP] Japanese character validation

2003-11-07 Thread - Edwin -
Hi, On 2003.11.7, at 18:20 Asia/Tokyo, umesh wrote: ...[snip]... As there are fields called Last First Name (Kanji) and Last First name (Kana) on my forms. Its the need of the application. It would be great, If I could do that. Let's say you can do that.

Re: [PHP] Japanese character validation

2003-11-07 Thread - Edwin -
On 2003.11.7, at 18:37 Asia/Tokyo, Marek Kilimajer wrote: ...[snip]... Are Kanji and Kana chracter sets? Kan - Chinese + ji - character kana: (quoted from the American Heritage Dictionary) 1. Japanese syllabic writing. The characters are simplified kanji and are usually used with

Re: [PHP] How to support Multi Lingual characters

2003-11-07 Thread - Edwin -
Hi, On 2003.11.7, at 20:09 Asia/Tokyo, K. Praveen Kumar wrote: Dear Umesh, Thanks for your quick reply. Let me explain the scenario: We have an application in English. The data will be stored in MySQL database. If some body enter the data using Japanese keyboard (Japanese language) that

Re: [PHP] SQL Injections

2003-11-07 Thread - Edwin -
Just to add... On 2003.11.8, at 00:04 Asia/Tokyo, Chris Shiflett wrote: --- Shaun [EMAIL PROTECTED] wrote: does anyone know of a function i can include in my scrpits to ensure all $_POST values sent from a page don't include any SQL? It's only important that the data sent from the client will

Re: [PHP] Japanese character validation

2003-11-07 Thread - Edwin -
Hi, On 2003.11.8, at 00:42 Asia/Tokyo, Lew Mark-Andrews wrote: Howdy, I have accept input from the user and check if the input is japanese character only, for example : If name is accepted , I need to check if its any of the Hiragana, Katakana or Kanji. Hmm... why would you like to do that?

Re: [PHP] On OS X (10.2) where is php installed?

2003-11-07 Thread - Edwin -
Hi, On 2003.11.8, at 01:51 Asia/Tokyo, Adam wrote: All, Forgive me for the simplistic question, I'm not much of a Unix, Apache, or PHP wiz. I'm running Mac OS X 10.2 on a 12 PB. I've installed PHP 4.3.0 from Marc Lynric's site (http://www.entropy.ch). However, I cannot actually find the

Re: [PHP] the function of the @ symbol?

2003-11-04 Thread - Edwin -
Hi, On Tue, 4 Nov 2003 02:42:33 -0500 Leevy, Joffrey L [EMAIL PROTECTED] wrote: Hi all: I have been searching through several books to find out what the @ character represents. An example used in code: if (@$first == no). Could anyone please explain the function of @

Re: [PHP] Style.css

2003-11-04 Thread - Edwin -
On Tue, 4 Nov 2003 12:09:05 +0530 PHPLover [EMAIL PROTECTED] wrote: I am going throught the CVS of PHP and happened to see the Style.css file. I found that background-color of body,html is set to White instead of #ff which i feel is not a valid CSS. Am i right ? Check it here:

Re: [PHP] PHP and java

2003-10-30 Thread - Edwin -
On Wed, 29 Oct 2003 19:27:36 -0600 David Miller [EMAIL PROTECTED] wrote: I have written PHP code to upload and download files to my server through my browser. On the local side I have generated a java applet to do a few things that I just can't do with a browser. There are some

Re: [PHP] Echo issue RESOLVED!

2003-10-30 Thread - Edwin -
(Just FYI) On Wed, 29 Oct 2003 23:03:55 +0100 Ryan A [EMAIL PROTECTED] wrote: If I have said it once I have said it a thousand times..MAC's are evil. Step away from it and leave the darkness behind.come towards the light and thePC ...[snip]... Too bad for you... Just by reading

Re: [PHP] Echo issue RESOLVED!

2003-10-30 Thread - Edwin -
On Thu, 30 Oct 2003 02:47:47 -0500 Leif K-Brooks [EMAIL PROTECTED] wrote: - Edwin - wrote: Just by reading this - http://www.apple.com/macosx/ esp. these last two sections: * Solid as a rock * Developer's dream would give people reason to consider and even switch... Mac OS X

Re: [PHP] Japanese entry into MySQL and into emails

2003-10-30 Thread - Edwin -
On 2003.10.30, at 18:46 Asia/Tokyo, Eugene Lee wrote: On Thu, Oct 30, 2003 at 10:36:37AM +0100, Marek Kilimajer wrote: : : Unless you want to do string manipulation you don't need mbstring. You : only need to pay atention to these details: : 1. Set charset to kanji for your html pages using :

Re: [PHP] Japanese entry into MySQL and into emails

2003-10-30 Thread - Edwin -
Hi, On 2003.10.30, at 18:11 Asia/Tokyo, Dave G wrote: PHP Gurus, Hello, I'm new to this list. I'm very much new to PHP, so my questions will be very basic. I have two things I need to do in Japanese: 1. Store people's names in kanji in my MySQL database. To this

Re: [PHP] quotes in php.ini

2003-10-29 Thread - Edwin -
Hi, On Wed, 29 Oct 2003 02:10:49 -0500 Leif K-Brooks [EMAIL PROTECTED] wrote: Curt Zirzow wrote: Try reversing the quotes: error_prepend_string = font color='#ff'; Not valid XHTML (not sure if it's even valid HTML). Why not? - E -

Re: [PHP] quotes in php.ini

2003-10-29 Thread - Edwin -
On Wed, 29 Oct 2003 03:22:54 -0500 Leif K-Brooks [EMAIL PROTECTED] wrote: - Edwin - wrote: Why not? Because that's what the standard says. Interesting. Where? - E - __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http

Re: [PHP] quotes in php.ini

2003-10-29 Thread - Edwin -
On Tue, 28 Oct 2003 22:05:56 -0800 Evan Nemerson [EMAIL PROTECTED] wrote: On Tuesday 28 October 2003 11:59 pm, - Edwin - wrote: Hi, On Wed, 29 Oct 2003 02:10:49 -0500 Leif K-Brooks [EMAIL PROTECTED] wrote: Curt Zirzow wrote: Try reversing the quotes: error_prepend_string

Re: [PHP] quotes in php.ini

2003-10-29 Thread - Edwin -
On Wed, 29 Oct 2003 03:29:13 -0500 Leif K-Brooks [EMAIL PROTECTED] wrote: - Edwin - wrote: Interesting. Where? www.w3.org ? Sorry, *won't* find it there... In fact, a quick Google search gives you this: http://www.w3.org/TR/REC-html32 [quote] Attribute values can be quoted using

Re: [PHP] quotes in php.ini

2003-10-29 Thread - Edwin -
On Tue, 28 Oct 2003 22:28:12 -0800 Evan Nemerson [EMAIL PROTECTED] wrote: On Wednesday 29 October 2003 12:30 am, - Edwin - wrote: On Tue, 28 Oct 2003 22:05:56 -0800 Evan Nemerson [EMAIL PROTECTED] wrote: On Tuesday 28 October 2003 11:59 pm, - Edwin - wrote: Hi, On Wed, 29

Re: [PHP] Upgrading GD...

2003-10-28 Thread - Edwin -
On Tue, 28 Oct 2003 01:26:05 -0500 Leif K-Brooks [EMAIL PROTECTED] wrote: Ryan Thompson wrote: Just a thought. Try using phpinfo() to find out the compile options. Use that and just add the GD compile options after upgrading GD. That's usually how I go about adding a new module. I can

Re: [PHP] How to deal with XML?

2003-10-28 Thread - Edwin -
On Tue, 28 Oct 2003 01:29:35 -0500 Leif K-Brooks [EMAIL PROTECTED] wrote: Robert Cummings wrote: PHP docs are SGML as far as I can remember. How so? PHP isn't XML, SGML, HTML, or anything else besides PHP. ? He's talking about the DOCS and *not* PHP... ;) - E -

Re: [PHP] Upgrading GD...

2003-10-28 Thread - Edwin -
On Tue, 28 Oct 2003 02:57:08 -0500 Leif K-Brooks [EMAIL PROTECTED] wrote: - Edwin - wrote: That should do it. (Unless, of course, you encounter some configure or make problems.) And of course, I did: configure: error: Cannot find rfc822.h. Please check your IMAP installation. Okay

Re: [PHP] there has to be a better way...

2003-10-22 Thread - Edwin -
On Wed, 22 Oct 2003 03:10:44 -0500 jsWalter [EMAIL PROTECTED] wrote: [snip] There must be a better way to do this. [/snip] http://www.php.net/manual/en/function.parse-ini-file.php ? - E - __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo!

Re: [PHP] data type conversion in mysql using php

2003-10-21 Thread - Edwin -
Hello, On Tue, 21 Oct 2003 11:45:30 +0530 (IST) Uma Shankari T. [EMAIL PROTECTED] wrote: Hello, Is it possible to update the float value of mysql to varchar field by using php ?? 'Not sure if I understood the question correctly but if you want to change the column type of a float

Re: [PHP] cache control with javascript

2003-10-21 Thread - Edwin -
On Mon, 20 Oct 2003 14:44:50 -0400 Joshua Minnie [EMAIL PROTECTED] wrote: Does anybody know how I can make force a javascript file (written in PHP) to be cached if the user agent allows it? Here is the situation: I am creating a dropdown menu system that contains a customer list, loaded

Re: Re[4]: [PHP] Re: Tom-Re: [PHP] session hijacking

2003-10-21 Thread - Edwin -
Hi, On Tue, 21 Oct 2003 14:02:58 +1000 Tom Rogers [EMAIL PROTECTED] wrote: Hi, Tuesday, October 21, 2003, 1:40:20 PM, you wrote: OMH One other thing.. What's the difference in $$ for a site to be OMH https rather than http?? Cos you need to get a verisign cert OMH or something?? Just

Re: [PHP] gmdate problem

2003-10-21 Thread - Edwin -
Hi, On Tue, 21 Oct 2003 12:44:38 +0800 [EMAIL PROTECTED] wrote: Hi all, Having some problem with 'gmdate' here. However, the time doesn't match with the current time on the system. What could be the problem? Do I have to set any timezone or stuff like that?...Hope to get

Re: [PHP] mailing labels from databases

2003-10-21 Thread - Edwin -
Hello, On Mon, 20 Oct 2003 22:48:20 -0700 Dennis Gearon [EMAIL PROTECTED] wrote: ...[snip]... Is it possible to set postions of characters, lines, tables, etc in PDF via: pixels page percentages absolute distances using PHP? - http://www.php.net/manual/en/ref.pdf.php - E -

Re: [PHP] Test Connection - fsockopen()

2003-10-21 Thread - Edwin -
On Tue, 21 Oct 2003 00:04:14 -0700 Jason Williard [EMAIL PROTECTED] wrote: I am trying to create a remote status page for my website. So far, I have found the fsockopen() function and used the example code to create the following basic script: ?php $fp = fsockopen (xxx.xxx.xxx.xxx, 80,

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread - Edwin -
Hi, On 2003.10.21, at 23:42 Asia/Tokyo, Marco Tabini wrote: Nice work, if the list admin would add a link to this archive in the footer (or the header) it would be even useful for new subscribers who don't know of its existence. Well, one of my original ideas was to have a process that would

Re: [PHP] cache control with javascript

2003-10-21 Thread - Edwin -
On 2003.10.21, at 22:28 Asia/Tokyo, Joshua Minnie wrote: The it that you were asking about was the server. The javascript file is actually a PHP file that produces the JavaScript that I need. I only have one access to a database and a while loop to generate the code. Here is the code

Re: [PHP] Attempt at putting greedy htmlspecialchars on a diet

2003-10-09 Thread - Edwin -
Hi, (Long time...) On Sat, 04 Oct 2003 21:01:46 -0400 Gerard Samuel [EMAIL PROTECTED] wrote: - Edwin - wrote: Far east languages are not necessarily in this form: #n; So, running htmlspecialchars() on, say, Japanese characters would do NO harm since , , ', , are NOT Japanese

Re: [PHP] attach file with mail() function??

2003-10-09 Thread - Edwin -
Hi, On Sun, 05 Oct 2003 20:36:51 -0500 John Nichel [EMAIL PROTECTED] wrote: Jason Wong wrote: On Monday 06 October 2003 07:34, Roy W wrote: Is there a way to attach a file with the mail() function? Yes. Is there a way to have PHP print out Hello World? Yes. You need a

Re: [PHP] [O|T] XML/XHTML

2003-10-09 Thread - Edwin -
Hi, On Mon, 6 Oct 2003 05:54:03 -0400 Becoming Digital [EMAIL PROTECTED] wrote: A friend asked me to recommend a good XML/XHTML reference or guide. I was able to point him to a number of websites, but he said that he would prefer a book. Sadly, I don't know of any, so I'm hoping some of

Re: [PHP] email certain people

2003-10-09 Thread - Edwin -
On Thu, 9 Oct 2003 22:42:19 -0400 Davy Campano [EMAIL PROTECTED] wrote: I forgot to mention that I want the email addresses to be appear on the webpage from a mySQL database. I already have the emails entered into a database, and I have written the page that grabs each email from the

Re: [PHP] Appropriate Content

2003-10-09 Thread - Edwin -
Hi, On 09 Oct 2003 01:04:06 -0400 Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2003-10-09 at 01:12, Chris Shiflett wrote: --- Evan Nemerson [EMAIL PROTECTED] wrote: Robert had the courtesy to put [ANNOUNCMENT] in the header. Yes, a courtesy which is appreciated by many. :-)

Re: [PHP] storing japanese in mysql (or pgsql)

2003-10-02 Thread - Edwin -
On Wed, 1 Oct 2003 09:10:05 -0700 Chris W. Parker [EMAIL PROTECTED] wrote: - Edwin - mailto:[EMAIL PROTECTED] on Tuesday, September 30, 2003 7:00 PM said: What exactly do you mean by extended characters? And, do you mean all *other* characters are inserted properly? Anyway,... I

Re: [PHP] Variables not passed on localhost setup

2003-10-02 Thread - Edwin -
Hi, On Thu, 2 Oct 2003 09:26:37 +0200 Angelo Zanetti [EMAIL PROTECTED] wrote: with regard to register_globals being off, what kind of security implications are there? And what would you define as badly/poorly written php code? Here's a (simple) example:

Re: [PHP] Help with treeview

2003-10-02 Thread - Edwin -
Hi, On Thu, 2 Oct 2003 15:18:48 +1000 Stephen [EMAIL PROTECTED] wrote: Does anyone know how to implement a treeview style display in PHP? Hmm... what exactly do you mean by treeview? Anyway, *I think* this is more of a Javascript/HTML question... So, find a site that uses treeview then study

Re: [PHP] CURL + https

2003-10-02 Thread - Edwin -
Hi, On Wed, 1 Oct 2003 14:14:11 +0200 Yonatan Ben-Nes [EMAIL PROTECTED] wrote: well when i try to work with curl through the shell it work fine without any problems more then that when i use the curl with php at my server to another page at my server its working fine also, just when i

Re: [PHP] Attempt at putting greedy htmlspecialchars on a diet

2003-10-02 Thread - Edwin -
On Thu, 2 Oct 2003 01:54:43 -0500 Eugene Lee [EMAIL PROTECTED] wrote: On Wed, Oct 01, 2003 at 02:46:14PM -0400, Gerard Samuel wrote: : : When I say that I don't know what characters Im expecting. : Im not talking about normal html entities, like amp; nbsp lt; : Im talking about

Re: [PHP] Attempt at putting greedy htmlspecialchars on a diet

2003-10-02 Thread - Edwin -
But, On Wed, 01 Oct 2003 14:46:14 -0400 Gerard Samuel [EMAIL PROTECTED] wrote: ...[snip]... When I say that I don't know what characters Im expecting. Im not talking about normal html entities, like amp; nbsp lt; Im talking about chinese/japanese/korean/taiwanese alphabet, numbers (even

Re: [PHP] Attempt at putting greedy htmlspecialchars on a diet

2003-10-02 Thread - Edwin -
On Thu, 2 Oct 2003 03:58:48 -0500 Eugene Lee [EMAIL PROTECTED] wrote: On Thu, Oct 02, 2003 at 05:15:32PM +0900, - Edwin - wrote: : : On Thu, 2 Oct 2003 01:54:43 -0500 Eugene Lee [EMAIL PROTECTED] wrote:: : There's two issues: input and output. : : HTML character references address

Re: [PHP] File question

2003-10-01 Thread - Edwin -
Hi, I'm no genius ;) but... ketvin [EMAIL PROTECTED] wrote: Dear geniuses, A simple question here, i have a file, says, list.txt it is a simple text file and simple field like: aa , bb , cc , dd now i want to use php script to read that list.txt file, and put the

Re: [PHP] Generate Receipt Number

2003-10-01 Thread - Edwin -
Hi, Just to add... Larry E. Ullman [EMAIL PROTECTED] wrote: I am doing a receipt system whereby it can auto generate a unique receipt number for each receipt. It will be an increment of number eg.01, 02, 03, and so on.Wonder how should I go about doing this

Re: [PHP] PNGs PHP feedback

2003-10-01 Thread - Edwin -
(Sorry if this is becoming OT...) Eugene Lee [EMAIL PROTECTED] wrote: (about M$IE and PNG) On Wed, Oct 01, 2003 at 11:31:46AM +0900, - Edwin - wrote: : : Curt Zirzow [EMAIL PROTECTED] wrote: : : It does have a problem reading alpha channels in the pngs though.: : Quite true. (I

Re: [PHP] File question

2003-10-01 Thread - Edwin -
Hi Raditha, Raditha Dissanayake [EMAIL PROTECTED] wrote: Hi Edwin, Didn't you read the disclaimer? you could be in serious trouble. ...[snip]... Disclaimer? No, not really. I've been sleeping for a long time... Maybe, you can tell me... - E

Re: [PHP] File question

2003-10-01 Thread - Edwin -
Hehe... - Edwin - [EMAIL PROTECTED] wrote: Hi Raditha, Raditha Dissanayake [EMAIL PROTECTED] wrote: Hi Edwin, Didn't you read the disclaimer? you could be in serious trouble. ...[snip]... Disclaimer? No, not really. I've been sleeping for a long time... Maybe, you can tell me

Re: [PHP] getting image width,height

2003-10-01 Thread - Edwin -
Hi, Fatih Olcer [EMAIL PROTECTED] wrote: how can i get the image width and height ? http://www.php.net/function.getimagesize ? Or, is this a trick question? :) - E - __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/

Re: [PHP] PNGs PHP feedback

2003-10-01 Thread - Edwin -
On Wed, 1 Oct 2003 03:03:42 -0500 Eugene Lee [EMAIL PROTECTED] wrote: ...[snip]... Yep, M$ has halted development of IE for the Mac for a while. But except for your regularly scheduled security fixes, M$ has halted development of IE for Windoze as well! ?? That's new! ('Must have been

Re: [PHP] Submit button

2003-09-30 Thread - Edwin -
Hi, Nitin [EMAIL PROTECTED] wrote: Never mind, but could you state the reason? Just guessing here... ...[snip]... --- Nitin [EMAIL PROTECTED] wrote: img src=image.gif alt=Submit onClick=document.entry.submit() This is a great example of what not to do. ...because it relies on

Re: [PHP] storing japanese in mysql (or pgsql)

2003-09-30 Thread - Edwin -
Hi, Chris W. Parker [EMAIL PROTECTED] wrote: (I posted this to another list yesterday without response, so if it looks familiar, that's why.) Hi. I'm working on a small study aid for myself (and anyone else that wants to use it) and I could really use the ability to store Japanese

Re: [PHP] PNGs PHP feedback

2003-09-30 Thread - Edwin -
Hi, Eugene Lee [EMAIL PROTECTED] wrote: On Tue, Sep 30, 2003 at 02:40:42AM -0400, Joe Harman wrote: : : I am looking for some guidance... I am using PHP to make dynamic : buttons... Is the PNG image format a pretty safe thing to go with... : Standard wise? PNG support in M$ IE is still

Re: [PHP] PNGs PHP feedback

2003-09-30 Thread - Edwin -
Hi, Curt Zirzow [EMAIL PROTECTED] wrote: [snip] It does have a problem reading alpha channels in the pngs though. [/snip] Quite true. (I forgot that part...) Though it seems like it's not a problem for the IE on Macs... ...and then I thought IE's problems were all about security and

Re: [PHP] PHP coders spare time [OT}

2003-09-28 Thread - Edwin -
And while checking other parts of the site... Robert Cummings [EMAIL PROTECTED] wrote: On Sun, 2003-09-28 at 21:50, Curt Zirzow wrote: And what they do with it... http://zirzow.dyndns.org/html/mlists/php_general/ *heheh* Most popular threads is funny, in the #3 slot is non-php issue.

Re: [PHP] Japanese on a page

2003-09-18 Thread - Edwin -
Chris W. Parker [EMAIL PROTECTED] wrote: - Edwin - mailto:[EMAIL PROTECTED] on Tuesday, September 16, 2003 5:53 PM said: This japanese page thing was a project I started at home so now that I'm at work I'll do my best to respond using my memory (good luck, me!). Did you check

Re: Re[2]: [PHP] MySQL timestamp to desired date function

2003-09-18 Thread - Edwin -
Hi, Tom Rogers [EMAIL PROTECTED] wrote: [snip] what database are you using? [/snip] See Subject line? Or, is this a trick question? :) (Sorry, couldn't resist :) ) - E - __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/

Re: [PHP] Session data getting lost

2003-09-18 Thread - Edwin -
Hi, Rich Gray [EMAIL PROTECTED] wrote: Well a functon that doesn't work under certain conditions should be deprecated IMO Interesting comment... However, there are TONS of functions that wouldn't work unless the module/extension were enabled during compilation/runtime. A couple of examples:

Re: [PHP] URL variables parsing error?

2003-09-18 Thread - Edwin -
Hi, [EMAIL PROTECTED] wrote: Hi all, I use RedHat9.0 with Apache 2.0.40 PHP 4.2.2 and I have problem with parsing URL variables... I use this URL: http://my.domain.mine/index.php?var1=value1var2=value2 and this is my index.php ?php echo var1: $var1 ; echo var2: $var2 ;

Re: [PHP] Protecting a file via PHP.

2003-09-16 Thread - Edwin -
Hi, Steve Jackson [EMAIL PROTECTED] wrote: I just read this: http://zend.com/zend/trick/tricks-august-2001.php To protect a file via PHP. Didn't really read this but... What does this part mean in the serving the files part: define('FILEDIR', '/mnt/dos/'); Do I define the

Re: [PHP] Using 'print END'

2003-09-16 Thread - Edwin -
Hi, Rudi Starcevic [EMAIL PROTECTED] wrote: Hi, When printing like this: print END Hello world END; Is it at all possible to use a function in the output ? For example: print END; strtolower(Hello World) END; So far I've been unable to make it function work. Hmm... I don't

Re: [PHP] Japanese on a page

2003-09-16 Thread - Edwin -
Hi, Chris W. Parker [EMAIL PROTECTED] wrote: - Edwin - mailto:[EMAIL PROTECTED] on Monday, September 15, 2003 9:45 PM said: Or, you can just declare it inside you're head tags (as mentioned previously). Also, depending on the charset you're using, you might need shift_jis instead

Re: [PHP] Japanese on a page

2003-09-15 Thread - Edwin -
Hi, On Fri, 12 Sep 2003 12:24:33 -0700 Chris W. Parker [EMAIL PROTECTED] wrote: (now to the entire list) Mark McCulligh mailto:[EMAIL PROTECTED] on Friday, September 12, 2003 11:48 AM said: I am trying to create both an English and Japanese version of a site. The English done and

Re: [PHP] abreviating echo commands

2003-09-15 Thread - Edwin -
Hi, Kris Yates [EMAIL PROTECTED] wrote: Hello.. I forget where but I found some source awhile back that abbreviated echo. It was something like ?=$var;? which worked the same as ? echo $var; ?. Maybe it was ?\=$var;?.. Obviously I dont remember.. which is why I am asking.. :) Does

Re: [PHP] Re: PHP|Con insane pricing

2003-09-15 Thread - Edwin -
Hi, John W. Holmes [EMAIL PROTECTED] wrote: Jeremy Brand, B.S. wrote: Thanks to everyone for their responses, though I still have not found a way to get to the conference at a reasonable price (what I consider reasonable). If anyone has any comments other than justifying the price

Re: [PHP] mail + regex + somethoughts

2003-07-03 Thread - Edwin -
Hi, Shivanischal A [EMAIL PROTECTED] wrote: Hi friends, I was just wondering about this. Whenver we reply to the posts here, we just click on the reply button and fire off our messages. This results in long messages (fresh content + earlier content) within a single mail. Now, the question

Re: [PHP] mysql detect

2003-07-03 Thread - Edwin -
[EMAIL PROTECTED] wrote: helo all , what command in linux , to see default direcktory instalation mysql database dan mysql library RPMs? $ rpm -ql package-name - E - __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo!

Re: [PHP] Optional form variables (IDEA?)

2003-07-03 Thread - Edwin -
Hello, Miranda, Joel Louie M [EMAIL PROTECTED] wrote: Hello, im doing a form that when you pass it will generate a preview report. My problem is some fields are optional the optional fields are 5. And for those fields I need to make it fit when it generate what idea or codes can you suggest?

Re: [PHP] Browscap

2003-07-03 Thread - Edwin -
Milan Reznicek [EMAIL PROTECTED] wrote: Hi everybody, I'm trying to get_browser() function, but everytime I get from my apache could not open browscap.ini for reading. Does someone know how to correct it, or is there any other way how to determine users browser type and OS without using

Re: [PHP] Re: mail + regex + somethoughts

2003-07-03 Thread - Edwin -
Hello, Shivanischal A [EMAIL PROTECTED] wrote: Hi Edwin, Let me restate my question... I'm now replying to ur mail. I've left ur message to me untouched. (whatever follows '- Original Message - '). What i want is that some SERVER-SIDE SCRIPT should be able to identify

Re: [PHP] Removed the bundled MySQL client library. (Sterling)

2003-07-01 Thread - Edwin -
On Tue, 1 Jul 2003 23:51:09 -0400 Vincent Bouret [EMAIL PROTECTED] wrote: I found this in the ChangeLog of PHP5: Removed the bundled MySQL client library. (Sterling) What does that mean? We can't access MySQL anymore from PHP? Check this thread:

Re: [PHP] which GD

2003-06-30 Thread - Edwin -
Hi, Andrew McCombe [EMAIL PROTECTED] wrote: Hi My hosting company has disabled phpinfo(). How can I find out which version of GD they have installed? http://www.php.net/manual/en/function.gd-info.php ? Or, you could just ask them ;) - E -

Re: [PHP] Securing PHP code

2003-06-29 Thread - Edwin -
Hello, Doug Essinger-Hileman [EMAIL PROTECTED] wrote: On 25 Jun 2003 at 16:42, Dan Joseph wrote: Store that file outside the docroot. That way there is no chance they can get it from the web site. I myself use an ini file that is no where near the docroot, and use parse_ini_file()

Re: [PHP] Securing PHP code

2003-06-29 Thread - Edwin -
Doug Essinger-Hileman [EMAIL PROTECTED] wrote: [snip] This leads to the following output: Warning: Error parsing /mydirectory/mysql.ini on line 4 in Unknown on line 0 Array ( [host] = spore.org [uid] = myuserid [passwd] = mypassword) The error message still remains, though now the

Re: [PHP] A simpler question involving http_user_agent

2003-06-29 Thread - Edwin -
Brian J. Celenza [EMAIL PROTECTED] wrote: Would anyone happen to know what http_user_agent would be if the user is visitng from an internet enabled cell phone (e.g. sprint pcs phone or similar)? Try Google or the archives. Maybe this will help:

Re: [PHP] php.net's custom 404 scripts

2003-06-29 Thread - Edwin -
Hello, Justin French [EMAIL PROTECTED] wrote: Hi all, I used to have a bookmark for how php.net's custom 404/redirect/search script worked, but I can't find it now, and can't see it on php.net... has anyone got a link? Not sure if it was on zend.com or php.net. Not sure what exactly

Re: [PHP] Japanese text not displaying correctly.

2003-06-29 Thread - Edwin -
On Fri, 27 Jun 2003 18:12:29 -0700 Dennis Browne [EMAIL PROTECTED] wrote: E-, Thanks for the reply ... echoing just the Japanese characters displays just fine with both Netscape 4.7+ and IE 5+. With the include (both saved as utf8) is where the problem occurs. I have seen posts about

Re: [PHP] Full Text Search of M$ Office Documents

2003-06-29 Thread - Edwin -
Hi, Feroze Md. Arif [EMAIL PROTECTED] wrote: Hi, I am looking for a solution that will allow full text search of M$Office files (Word, Powerpoint, EXCEL), PDF, HTML and Text files. I am working on a project that involves uploading of the above files to a server. After uploading, the

Re: [PHP] mysql_connect(): '/tmp/mysql.sock' error

2003-06-26 Thread - Edwin -
Hello, Jean-Christian IMbeault [EMAIL PROTECTED] wrote: I've installed PHP from source and MySQL 4.0.9 from rpm on my RH 9 machine. When I try and connect from php using mysql_connect() I get the following error: Warning: mysql_connect(): Can't connect to local MySQL server through

Re: [PHP] Japanese text not displaying correctly.

2003-06-26 Thread - Edwin -
Hello, [EMAIL PROTECTED] (Dennis browne) wrote I want to display Japanese text on my site and am having many problems. I am using Linux Redhat 8, PHP 4.2. Basically what I have is a file page.php with the following code: page.php: html head meta http-equiv=Content-Type

Re: [PHP] Japanese text not displaying correctly.

2003-06-26 Thread - Edwin -
Dennis Browne [EMAIL PROTECTED] wrote: You are correct ... I did not save the files as utf-8. After doing so (to both page.php and lng_page_ja.php). The problem is there is still odd characters on line 1 of the web page after rendering. I believe it is because of the signature on the utf8

Re: [PHP] mysql_connect(): '/tmp/mysql.sock' error

2003-06-26 Thread - Edwin -
Jean-Christian IMbeault [EMAIL PROTECTED] wrote: [snip] The problem was that the installation instructions for MySQL for vague and confusing. I started trying to install from rpm and that didn't work. I then installed from the binary and that was hell too. All the problems stemmed from the

Re: [PHP] Cookoo clock

2003-06-26 Thread - Edwin -
Sparky Kopetzky [EMAIL PROTECTED] wrote: I am in New Mexico and my php system is telling via date() that my timezone is BST (British standard time) and not MST (Mountain Standard Time). Any clue as to why it's doing this?? Maybe because your php system is in a BST timezone? Where's the

Re: [PHP] Sessions Question

2003-06-26 Thread - Edwin -
Bob Irwin [EMAIL PROTECTED] wrote: Aside from the fact that bad code can obviously make sessions hackable, what does everyone think about the security of sessions? I rely on them fairly heavily for low-mid range security on some of my scripts, but if I was to do something that involved

[PHP] Sending output to audio device from PHP

2003-06-09 Thread Edwin Boersma
to send the sources. Any input would be appreciated. Cheers, Edwin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to force a refresh?

2003-03-13 Thread - Edwin
There is an HTML solution, but I can't remember offhand what it is. meta http-equiv=refresh content=1;url=http://where2go.after; / ? - E __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- PHP General Mailing List

Re: [PHP] how to force a refresh?

2003-03-13 Thread - Edwin
Or, just: meta http-equiv=refresh content=1 / ...if the same page. Note: 1 is the number of seconds... - E __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] removing appended chars - please help, quite urgent

2003-03-13 Thread - Edwin
Hi, Adriaan Nel [EMAIL PROTECTED] wrote: Do any1 know how I can check for spaces here, and remove them if present http://www.php.net/manual/en/function.trim.php ? http://www.php.net/manual/en/function.rtrim.php ? http://www.php.net/manual/en/function.lrim.php ? - E

Re: [PHP] PHP/HTML table layout?

2003-03-13 Thread - Edwin
Hi, Bev [EMAIL PROTECTED] wrote: [snip] I wanted to fixed sized cells and that when I type do not increase/decrease the surronding cells.Can this be done? [/snip] Try having your table with a fixed width as well: Ex. table width=600 then with your columns: td width=100/td td

Re: [PHP] RSS

2003-03-13 Thread - Edwin
Hi, Sebi [EMAIL PROTECTED] wrote: Hi, Does some one know where I can find a RSS parser exmple? I think you can find one here: http://www.google.co.jp/search?q=PHP+RSS+parserie=UTF-8oe=UTF-8hl= enlr= ;) - E __ Do You Yahoo!? Yahoo!

Re: [PHP] Writing a fileparser

2003-03-13 Thread - Edwin
Hi, Alexander Gruber [EMAIL PROTECTED] wrote: Hi together, iエm currently working on a php script to read a txt file into a mysql database. but i have several problems i donエt know how to fix. the file looks like the following example: category 1

Re: [PHP] http-https-http redirection causes browser to show alert dialog

2003-03-13 Thread - Edwin
Hi, Jean-Christian Imbeault [EMAIL PROTECTED] wrote: [snip] Is there a way around this? The messages are annoying at best and probably scary to users ... [/snip] This is a browser issue and is actually a security feature. Unless the users themselves turn it off, the messages would appear

Re: [PHP] Splitting a string

2003-03-13 Thread - Edwin
Hi, Christopher J. Crane [EMAIL PROTECTED] wrote: [snip] If that number start with a S, I want to strip it off. [/snip] Why don't you just check whether the first character is an S then return only the rest of the string if it is? Like: ?php $my_string = 'S12345'; if ($my_string{0} ==

Re: [PHP] PHP/HTML table layout?

2003-03-13 Thread - Edwin
Chris Hewitt [EMAIL PROTECTED] wrote: [snip] I'd suggest you consider not having fixed width cells. [/snip] Good idea esp. if you can do better without having one. But sometimes, you really just need to have one ;) - E __ Do You Yahoo!?

Re: [PHP] Splitting a string

2003-03-13 Thread - Edwin
Hi, David Rice [EMAIL PROTECTED] wrote: $str = S12345; $str1 = ltrim($str,S); Good idea but you'd have problem if you have $str = SS12345; and you only want to get rid of the first one... - E __ Do You Yahoo!? Yahoo! BB is Broadband by

Re: [PHP] form/text area input problem

2003-03-13 Thread - Edwin
Hi, Poon, Kelvin (Infomart) [EMAIL PROTECTED] wrote: [snip] I am just looking for a more efficient way of solving this, can anyone give me any idea? [/snip] I think you'll save yourself from so much trouble if: 1. You just leave those long text. If they didn't press ENTER, it means that

Re: [PHP] Problems (Apache + PHP) and conection to Oracle8i

2003-03-13 Thread - Edwin
Hi, Jaime Villarroel Valdera [EMAIL PROTECTED] wrote: I have problems to pass HTML content that contains accentuated characters from a form (editor) to an Oracle9i database ... through PHP. I'm not sure what you meant exactly by accentuated but if you mean single quotes (') then perhaps

Re: [PHP] form/text area input problem

2003-03-13 Thread - Edwin
Poon, Kelvin (Infomart) [EMAIL PROTECTED] wrote: [snip] the problem is when I display it it would be a one lined paragraph. THe page's format is ruin since this is one long line and the user will have to scroll across to read the paragraph which look pretty bad. I hope you know what i

Re: [PHP] PHP/HTML table layout?

2003-03-13 Thread - Edwin
/body /html - Original Message - From: - Edwin To: Chris Hewitt Cc: Bev ; [EMAIL PROTECTED] Sent: Thursday, March 13, 2003 2:37 PM Subject: Re: [PHP] PHP/HTML table layout? Chris Hewitt [EMAIL PROTECTED] wrote: [snip] I'd suggest you consider

Re: [PHP] PHP Manual w/ Comments?

2003-03-12 Thread - Edwin
Hello, John Nichel [EMAIL PROTECTED] wrote: Wasn't the php manual with user comments available for download at one time? Is it still there and I'm just not seeing it? If it was never there, can I suggest that as an option for the manual download from you good people at PHP? Damn, I'm

[PHP] Re: save to file

2003-03-09 Thread Edwin Boersma
Enough answers, I think? If you want EACH value of $_POST on a new line, then why not implode with \n instead of \t? Now you get only one big line, because you only WRITE one \n. Edwin Ryan Holowaychuk wrote: I am trying to save to a text file. And I have managed to do that part now, but what

<    1   2   3   4   5   6   >