RE: [PHP] Array --> If

2003-11-07 Thread Erik Osterman
Sounds like what you want is the "in_array" function. http://us4.php.net/manual/en/function.in-array.php $cases = array( 5, 15, 30, 60, 90, 120 ); if ( in_array($count, $cases) ) { EXECUTE PAGE } Regards, Erik Osterman http://osterman.com/ -Original Message- From: Jason Willi

Re: [PHP] Adding a log file

2003-11-07 Thread John W. Holmes
Erik Osterman wrote: Consider using this // // STDERR logging function // function warn( $msg, $die = 0 ) { $fp = fopen("php://stderr", 'w') or die("Failed to open STDERR"); fwrite($fp, "[".strftime("%Y-%m-%d %T")."] $msg\n") or die("Failed to write to stderr"); fc

RE: [PHP] advise on new class of mine

2003-11-07 Thread Erik Osterman
It almost sounds like you've not yet drawn out an object map on a piece of paper to see for youself how everything is inter-connected. I'm sure this is the _perfect_ opportunity for using classes, but at the same time will require some good thought now before you go a head and implement it. Good ob

RE: [PHP] Adding a log file

2003-11-07 Thread Erik Osterman
Consider using this // // STDERR logging function // function warn( $msg, $die = 0 ) { $fp = fopen("php://stderr", 'w') or die("Failed to open STDERR"); fwrite($fp, "[".strftime("%Y-%m-%d %T")."] $msg\n") or die("Failed to write to stderr"); fcl

RE: [PHP] *SOLVED* [PHP] problem transferring a variable using POST

2003-11-07 Thread Erik Osterman
I recommend using this function when inserting data directly from a form post into the database. This function automatically escapes the values you input. function Query() { $values = func_get_args (); $statement = array_shift($values); if( sizeof($values) != substr_count(

RE: [PHP] (Semi OT) Number of concurent Users.

2003-11-07 Thread Erik Osterman
Determining level of concurrency of your system will be highly dependent on size of the pages served and the connectivity of the remote clients accessing your site. Linux's performance handling of large numbers of simultaneous connections decays exponentionally. It's a kernel limitation in the way

RE: [PHP] Errors running PHP from command line

2003-11-07 Thread Jake McHenry
> -Original Message- > From: Jonathan Duncan [mailto:[EMAIL PROTECTED] > Sent: Friday, November 07, 2003 7:04 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Errors running PHP from command line > > > I run a php script from my shell prompt and get these errors, > although the script still

RE: [PHP] Multiple attachments in an email

2003-11-07 Thread Erik Osterman
http://www.php.net/mail includes an example of sending emails with multiple attachments. For a more structured approach, try using Mail_Message @ http://opensource.visionp.biz/Mail_Message.120.0.html Regards, Erik Osterman http://osterman.com/ alex at bartl dot net 28-Nov-2002 09:25 /* This

RE: [PHP] reminder service php script

2003-11-07 Thread Chris W. Parker
Ryan A on Friday, November 07, 2003 4:38 PM said: > A while back there was a discussion of a good reminder service > script, I need one now, have searched at hot scripts but because > there are so many scripts there its a bit confusing... OMG! I'm working on this ex

[PHP] reminder service php script

2003-11-07 Thread Ryan A
Hi, A while back there was a discussion of a good reminder service script, I need one now, have searched at hot scripts but because there are so many scripts there its a bit confusing... am still searching there but if any of you remember it, remind me please :-) ( in case you're confused, remind

Re: [PHP] fopen url

2003-11-07 Thread John Hagstrand
Hello Jason, Thanks for your snot. The code you wrote below, > echo fopen("http://www.google.com";, 'r'); > echo fopen("http://news.google.com";, 'r'); I've implmented at this url. http://www.globalscoop.com/gs/feeds/testUrl.php You can see the error I'm getting. Would you take a look? J

[PHP] Errors running PHP from command line

2003-11-07 Thread Jonathan Duncan
I run a php script from my shell prompt and get these errors, although the script still seems to function properly. Any idea why? (PHP Version 4, FreeBSD) localhost # ./scriptfile.php PHP Warning: Function registration failed - duplicate name - textdomain in Unknown on line 0 PHP Warning: Func

RE: [PHP] PHP developers

2003-11-07 Thread Dan McCullough
itmoonlighter.com -Original Message- From: James [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 1:00 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP developers Can anyone recommend a good place where I can find some talented PHP contractors? I'm looking to hire some people for

RE: [PHP]{so far OT it boggles} BTML 2.0 released!!!

2003-11-07 Thread Robert Cummings
On Fri, 2003-11-07 at 17:33, Craig Lonsbury wrote: > > > > Personally, these emails don't help me at all in my search > > for help, or > > helping people with php problems. Could I suggest that you guys maybe > > put a forum up for anybody who wants to bitch about this > > topic? OR maybe > > someo

RE: [PHP]{so far OT it boggles} BTML 2.0 released!!!

2003-11-07 Thread Craig Lonsbury
> > Personally, these emails don't help me at all in my search > for help, or > helping people with php problems. Could I suggest that you guys maybe > put a forum up for anybody who wants to bitch about this > topic? OR maybe > someone could setup a php-arguments list for topics such as these! >

Re: [PHP]{so far OT it boggles} BTML 2.0 released!!!

2003-11-07 Thread Rolf Brusletto
Chris W. Parker wrote: Robert Cummings on Friday, November 07, 2003 1:12 PM said: Yes you're re-iterating your circular arguments. Here's how I see your point of view: Everyone must do it because the majority are doing it (AKA the sheep follows the sheep follows...

RE: [PHP]{so far OT it boggles} BTML 2.0 released!!!

2003-11-07 Thread Chris W. Parker
Robert Cummings on Friday, November 07, 2003 1:12 PM said: > Yes you're re-iterating your circular arguments. Here's how I see your > point of view: > > Everyone must do it because the majority are doing it (AKA the sheep > follows the sheep follows... who's leading

Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread DvDmanDT
Well, if the historians want to read it later, that's their problem... :D J/k, but think about all mess they have to go through when reading the posts with comments in the middle of the mails... In my opinion it's best to read the entire thread anyway, cause ppl trim posts... -- // DvDmanDT MSN:

Re: [PHP] Re: High bandwidth application tips

2003-11-07 Thread CPT John W. Holmes
From: "Richard Baskett" <[EMAIL PROTECTED]> > > * use recent mysql 4.x The new versions have ability to cache results of > > often used queries, and return the results very fast without even touching > > the disk. Note that this is much better for web apps than usual query > > cacheing that many da

Re: [PHP] MX lookup email verification on Windows

2003-11-07 Thread R'twick Niceorgaw
Jason Wong said the following on 11/7/2003 3:25 PM>> On Saturday 08 November 2003 04:14, Matt Palermo wrote: Is there any way to accomplish this without the use of exec() or system() functions? Sure, as PHP is a general purpose programming language just write your own equivalent to nslookup! S

Re: [PHP] Re: High bandwidth application tips

2003-11-07 Thread Richard Baskett
on 11/7/03 12:08, rush at [EMAIL PROTECTED] wrote: > "Luis Lebron" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> I have been coding php for a few years now, but I haven't build a "high >> bandwidth" application. I am currently working on an application for a >> customer that may

RE: [PHP]{so far OT it boggles} BTML 2.0 released!!!

2003-11-07 Thread Robert Cummings
OK, I've decided to be sucked back in for one more response... On Fri, 2003-11-07 at 15:50, Mike Migurski wrote: > > Here's an argument: the correlation between intelligent, active members of Subjective evaluation based on no empirical data and probaby not even on any kind of professional experie

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

2003-11-07 Thread Mike Migurski
>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 installation files on my laptop. > >My web server works. It se

RE: [PHP]{so far OT it boggles} BTML 2.0 released!!!

2003-11-07 Thread Mike Migurski
>> There is evolution and then there is etiquette. Top-posting is not on >> par with proving a theory (flat-earth v spherical-earth) or evolution >> of systems. In as much as it is proper etiquette to trim and >> bottom-post it is rude to be diametric, just as it is rude to fart on >> purpose at a

RE: [PHP]{so far OT it boggles} BTML 2.0 released!!!

2003-11-07 Thread Robert Cummings
On Fri, 2003-11-07 at 15:16, Jay Blanchard wrote: > [snip] > ...evolving systems... > [/snip] > > There is evolution and then there is etiquette. Top-posting is not on > par with proving a theory (flat-earth v spherical-earth) or evolution of > systems. In as much as it is proper etiquette to trim

Re: [PHP] Re: PHP developers

2003-11-07 Thread Steve Magruder - WebCommons.org
Jason Wong wrote: > On Saturday 08 November 2003 01:42, Steve Magruder wrote: > >> At any rate, I recommend avoiding all those job bidding sites... >> can you really trust the guys in far off places who charge $5 an >> hour? > > Well, as long you pay after seeing the completed work then there > rea

Re: [PHP] MX lookup email verification on Windows

2003-11-07 Thread Jason Wong
On Saturday 08 November 2003 04:14, Matt Palermo wrote: > Is there any way to accomplish this without the use of exec() or system() > functions? Sure, as PHP is a general purpose programming language just write your own equivalent to nslookup! Start by reading the chapter "Socket functions". Be

RE: [PHP]{so far OT it boggles} BTML 2.0 released!!!

2003-11-07 Thread Jay Blanchard
[snip] ...evolving systems... [/snip] There is evolution and then there is etiquette. Top-posting is not on par with proving a theory (flat-earth v spherical-earth) or evolution of systems. In as much as it is proper etiquette to trim and bottom-post it is rude to be diametric, just as it is rude

Re: [PHP] MX lookup email verification on Windows

2003-11-07 Thread Matt Palermo
Is there any way to accomplish this without the use of exec() or system() functions? "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Saturday 08 November 2003 03:39, Matt Palermo wrote: > > Does anyone know of a way to perform an MX lookup on a Windows server to > >

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

2003-11-07 Thread Burhan Khalid
- Edwin - wrote: 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 actu

Re: [PHP] MX lookup email verification on Windows

2003-11-07 Thread Jason Wong
On Saturday 08 November 2003 03:39, Matt Palermo wrote: > Does anyone know of a way to perform an MX lookup on a Windows server to > perform an email verification? Any help on this would be great, since I > can only find code for this that will work on *nix servers. Please let me > know if you ca

[PHP] Re: High bandwidth application tips

2003-11-07 Thread rush
"Luis Lebron" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have been coding php for a few years now, but I haven't build a "high > bandwidth" application. I am currently working on an application for a > customer that may have a very large amount of users (10,000 or more > accord

RE: [PHP] question about :: usage

2003-11-07 Thread Chris W. Parker
Eugene Lee on Friday, November 07, 2003 12:00 PM said: > Won't work. $this refers to the instance of an object. Yeah I've decided to just instantiate an object. It's not really a big deal I guess, I just thought it might be a little cleaner to not instantiate. A fr

Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread Robert Cummings
On Fri, 2003-11-07 at 14:54, Jason Wong wrote: > On Saturday 08 November 2003 03:35, Robert Cummings wrote: > > I disagree. > > Yes, I think you disagreed with me last time as well :-) Great to be consistent. > And if you keep doing that I might to forced to start using InterJinn! I think the

RE: [PHP] what is a "global"

2003-11-07 Thread Ryan A
Got it, thanks. For a snob you aint half bad :-D Cheers, -Ryan > http://us4.php.net/language.variables.scope -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] question about :: usage

2003-11-07 Thread Eugene Lee
On Fri, Nov 07, 2003 at 11:28:18AM -0800, Chris W. Parker wrote: : : Anyway... Here is my problem. I have a class called Validate that has a : method called ValidateInput. There is another method in this class : called phonenumber. ValidateInput calls phonenumber at some point like : this $this->p

RE: [PHP] BTML 2.0 released!!!

2003-11-07 Thread Robert Cummings
Actually researhc seems to be showing that our brains process visual information in parallel versus serial. Thus your assertion seems somewhat flawed. And I'm sure you understood my intentional typo of "researhc" since your brain more than likely read it in all at once rather than as a series of ch

Re: [PHP] what is a "global"

2003-11-07 Thread Chris Shiflett
--- Ryan A <[EMAIL PROTECTED]> wrote: > I thought i knew the useage of the "global" keyword in a function but > after reading a pals program i am really confused, i tried > http://php.net/global but that does not give me any results...searched > the list and found some reference to global and the "

RE: [PHP] what is a "global"

2003-11-07 Thread Jay Blanchard
[snip] I thought i knew the useage of the "global" keyword in a function but after reading a pals program i am really confused, i tried http://php.net/global but that does not give me any results...searched the list and found some reference to global and the "scope" of the function but still confus

RE: [PHP] BTML 2.0 released!!!

2003-11-07 Thread Chris W. Parker
Robert Cummings on Friday, November 07, 2003 11:35 AM said: > And while I didn't have to scroll to read this email, I > often have to scroll for longer emails when it is bottom posted. > Which seems kinda silly to me since I've already read the thread. The only reas

Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread Jason Wong
On Saturday 08 November 2003 03:35, Robert Cummings wrote: > I disagree. Yes, I think you disagreed with me last time as well :-) And if you keep doing that I might to forced to start using InterJinn! > I usually trim replies regardless of whether I top or bottom > post. And kudos to you for

RE: [PHP] How to remove new line character?

2003-11-07 Thread Boaz Yahav
How to remove new line / CrLf from a string? http://www.weberdev.com/get_example.php3?count=3577 Sincerely berber Visit http://www.weberdev.com/ & http://www.weberblog.com/ Today!!! To see where PHP might take you tomorrow. Share your code : http://addexample.weberdev.com Search for PHP Code f

[PHP] what is a "global"

2003-11-07 Thread Ryan A
Hi, I thought i knew the useage of the "global" keyword in a function but after reading a pals program i am really confused, i tried http://php.net/global but that does not give me any results...searched the list and found some reference to global and the "scope" of the function but still confused.

Re: [PHP] Japanese character validation

2003-11-07 Thread Eugene Lee
On Sat, Nov 08, 2003 at 01:35:40AM +0900, - Edwin - wrote: : : 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. Japa

[PHP] MX lookup email verification on Windows

2003-11-07 Thread Matt Palermo
Does anyone know of a way to perform an MX lookup on a Windows server to perform an email verification? Any help on this would be great, since I can only find code for this that will work on *nix servers. Please let me know if you can help. Thanks, Matt -- PHP General Mailing List (http://www

Re: [PHP] Japanese character validation

2003-11-07 Thread Eugene Lee
On Sat, Nov 08, 2003 at 02:20:00AM +0900, - Edwin - wrote: : : Besides, there are some issues (for example with Shift_JIS) that : "bothers" (with no easy "solution") even members of the Japanese PHP : Group ML. (Like the recent thread [PHP-users 18803] on : http://www.php.gr.jp/ or : http://ns1.p

Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread Robert Cummings
I disagree. I usually trim replies regardless of whether I top or bottom post. And while I didn't have to scroll to read this email, I often have to scroll for longer emails when it is bottom posted. Which seems kinda silly to me since I've already read the thread. While I'm at it someone did some

Re: [PHP] PHP, SiteSpinner and MS SQL2000

2003-11-07 Thread Burhan Khalid
Rique Gresham wrote: Hi All, What I'm trying to do is query a mssql database using a SELECT statement to get the last report number from a table, increment that number by 1 and have it display in a INPUT box. The data will not INSERT into the database as a new record until one presses the SUBMIT

Re: [PHP] Cell Colour Change!!! HELP

2003-11-07 Thread Burhan Khalid
student wrote: Hi I had somthing like the following in my code which almost works but code use debugging! But what would happen a totally different colour would show Please don't top post. What you need is elseif ($_GET['page']!="compose") { print("#009966") ; }

[PHP] question about :: usage

2003-11-07 Thread Chris W. Parker
Hi yizzle. Anyway... Here is my problem. I have a class called Validate that has a method called ValidateInput. There is another method in this class called phonenumber. ValidateInput calls phonenumber at some point like this $this->phonenumber($input);. In my page I'm trying to use this class wi

Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread Jason Wong
On Friday 07 November 2003 21:12, DvDmanDT wrote: > Oh.. I'm personally trying to avoid not top-posting, cause I think it's > nicer when ppl place the message at the top where I can read it instantly > without scrolling down.. :s So why bottompost? I've said it before, and I'll say it again - the

Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread Burhan Khalid
Marek Kilimajer wrote: Jay Blanchard wrote: [snip] snobs jump in [/snip] What is funny about that is that it is those snobs who folks ask their questions to. It is those snobs who solve problems for others. It is those snobs who have learned and experienced so that others may benefit. Hi,

Re: [PHP] single quotes in database

2003-11-07 Thread Burhan Khalid
Steve Buehler wrote: I am using PHP/MySQL and am having a problem. We have some names and addresses in the database that have single quotes in them. [snipped] mysql_escape_string() stripslashes() addslashes() -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -

Re: [PHP] Re: PHP developers

2003-11-07 Thread Jason Wong
On Saturday 08 November 2003 01:42, Steve Magruder wrote: > At any rate, I recommend avoiding all those job bidding sites... can you > really trust the guys in far off places who charge $5 an hour? Well, as long you pay after seeing the completed work then there really shouldn't be any proble

Re: [PHP] Some Information on A Help Database Application Using PHP and XML

2003-11-07 Thread Burhan Khalid
Peter Hartman (To 1886) wrote: Et al, I'm interested in either designing or participating in a current project which utilizes PHP and XML to create a documentation application. My company (caravelcms.org) has designed a content management system using PHP and we are currently investigating how we

RE: [PHP] PHP, SiteSpinner and MS SQL2000

2003-11-07 Thread Vail, Warren
Rique, With almost any SQL database you can "select max(column) + 1 " (or some such) to get the next available number, but if you plan to have more than one user on the database at the same time, what will you use to prevent them both from getting the same number and attempting to save over each o

[PHP] PHP, SiteSpinner and MS SQL2000

2003-11-07 Thread Rique Gresham
Hi All, What I'm trying to do is query a mssql database using a SELECT statement to get the last report number from a table, increment that number by 1 and have it display in a INPUT box. The data will not INSERT into the database as a new record until one presses the SUBMIT button. PHP 4.3.2 Sit

Re: [PHP] Cell Colour Change!!! HELP

2003-11-07 Thread student
Hi I had somthing like the following in my code which almost works but code use debugging! But what would happen a totally different colour would show In the above example would I assing the variable as such "Lowell Allen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I hav

[PHP] Re: PHP developers

2003-11-07 Thread Steve Magruder
James wrote: > Can anyone recommend a good place where I can find some talented PHP > contractors? > > I'm looking to hire some people for some upcoming projects, and I > don't want to just put an ad in the paper and get a bunch of > responses from barely-qualified people. www.freelancedeveloper.o

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 inst

RE: [PHP] Re: High bandwidth application tips

2003-11-07 Thread Craig Lonsbury
another small tweak is to limit or remove html comments. this doesn't directly speed up code, but makes for less strain on your outbound pipe (good for you) and smaller downloads for the users (think dial-up). i usually try to put my comments in the php code. this reduces the bytes sent, maintain

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? I've

[PHP] Re: trouble with forcing output to be cached

2003-11-07 Thread Ilja Polivanov
The image is already written to a file. i wrote "..CREATION.." as an example, because there is no difference do you write and read, or create. If you pass something through PHP, it will append it's own header HUH :( .. so not so simple ;[ i guess that it is impossible to find a solution here, but

[PHP] Re: single quotes in database

2003-11-07 Thread pete M
also check magic_quotes_runtime in php.ini. This add's slashes to incoming Post/get variables You can change this at tun time with the ini_set() function pete Steve Buehler wrote: I am using PHP/MySQL and am having a problem. We have some names and addresses in the database that have single

Re: [PHP] single quotes in database

2003-11-07 Thread Chris Shiflett
--- Steve Buehler <[EMAIL PROTECTED]> wrote: > I am using PHP/MySQL and am having a problem. We have some names and > addresses in the database that have single quotes in them. For > instance. There is a town around here called "Lee's Summit". Also > names like "O'connel". When I pull from the da

[PHP] Re: Send data Header Response

2003-11-07 Thread pete M
psuedo code index.php code to process form if(no_errors) redirect to another page ?> " > YOur submitting the form to itself so the $_POST variable is available in the form hope it help Pete Jonathan Villa wrote: I would like submit a form to a page, do some processing on that page, then

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

2003-11-07 Thread Adam
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 installation files on my laptop. My web server works. It

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

[PHP] Re: single quotes in database

2003-11-07 Thread jeffrey_n_Dyke
You can use addslashes and stripslashes when inserting and selecting respectively. addslashes will turn your name into O\'connel. and stripslashes will bring it back to the displayable format. check out php.net/addslashes php.net/stripslashes hth Jeff

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 will

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

Re: [PHP] Japanese character validation

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

[PHP] single quotes in database

2003-11-07 Thread Steve Buehler
I am using PHP/MySQL and am having a problem. We have some names and addresses in the database that have single quotes in them. For instance. There is a town around here called "Lee's Summit". Also names like "O'connel". When I pull from the database it skips these because of the quotes.

Re: [PHP] Cell Colour Change!!! HELP

2003-11-07 Thread Lowell Allen
> I have a cell in my view.php which shows up in all my pages of my site. This > is wha tI need to do: > > If the user is on the home page(index.php) then the cell colour should be > blue. > If the user is on the compose page(compose.php) then the cell colour should > be green > If the user in on

Re: [PHP] training material on PHP + MySQL + IIS + Windows 2000

2003-11-07 Thread Miles Thompson
At 11:41 PM 11/7/2003 +0800, Denis L. Menezes wrote: Hello friends, Does anyone have a training course that can be bought or licensed for training PHP and WAMP? Thanks Denis Denis, That's not an easily answered question; each is a major product. Would you want a gloss, or in depth approach? The

[PHP] Cell Colour Change!!! HELP

2003-11-07 Thread student
I have a cell in my view.php which shows up in all my pages of my site. This is wha tI need to do: If the user is on the home page(index.php) then the cell colour should be blue. If the user is on the compose page(compose.php) then the cell colour should be green If the user in on the registration

Re: [PHP] Japanese character validation

2003-11-07 Thread Lew Mark-Andrews
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? I've never really seen >the need for that. It's actua

[PHP] training material on PHP + MySQL + IIS + Windows 2000

2003-11-07 Thread Denis L. Menezes
Hello friends, Does anyone have a training course that can be bought or licensed for training PHP and WAMP? Thanks Denis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP developers

2003-11-07 Thread Lists
Try Prosavvy.com On Fri, 7 Nov 2003, David T-G wrote: > James, et al -- > > ...and then James said... > % > % Can anyone recommend a good place where I can find some talented PHP > % contractors? > > That's been discussed on this list a few times before, so the archives > may be of some help

Re: [PHP] PHP developers

2003-11-07 Thread David T-G
James, et al -- ...and then James said... % % Can anyone recommend a good place where I can find some talented PHP % contractors? That's been discussed on this list a few times before, so the archives may be of some help to you. I'm still looking for reliable and worthwhile places to post mysel

[PHP] Re: To format a number

2003-11-07 Thread zerof
This problem can be veryu simple if you are at Unix like server: http://www.php.net/localeconv [ See also setlocale() ] - zerof - <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] Hi, I have a little problem. I have a number for example 5 and I would it transform in 5,00. I t

[PHP] Re: PHP 4.3.2, HTML and MSSQL2000

2003-11-07 Thread pete M
echo ""; Rique Gresham wrote: Hi All, I'm having trouble with a input box disappearing when using php to generate the input box. I tested this script in a test.htm and worked fine. Does it have something to do with the script being inside the statement? Any help would be appreciated. Thanks

[PHP] Re: COM and PHP.ini

2003-11-07 Thread Mr. Bogomil Shopov
see this page http://purplerain.org/article.php ensure that are you using all necessary settings Regards Bogomil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread Ryan A
Guys, I dont mean to get into your very heartfelt flaming / arguement but can you take this offlist please? Cheers, -Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SQL Injections

2003-11-07 Thread Chris Shiflett
--- 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 not be executed by your database. Depending on which database you use,

Re: [PHP] Cross Site Scripting

2003-11-07 Thread Chris Shiflett
--- Shaun <[EMAIL PROTECTED]> wrote: > Is there a way to filter metacharacters from all $_POST values sent from > pages on my site in an effort to eliminate the majority of XSS attacks? Yes, but it's probably more important that you understand what XSS is and what methods people use to protect aga

Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread Marek Kilimajer
Jay Blanchard wrote: [snip] snobs jump in [/snip] What is funny about that is that it is those snobs who folks ask their questions to. It is those snobs who solve problems for others. It is those snobs who have learned and experienced so that others may benefit. Hi, while we are at it, is

RE: [PHP] PHP 4.3.2, HTML and MSSQL2000

2003-11-07 Thread Jay Blanchard
[snip] Does it have something to do with the script being inside the statement? "; ?> [/snip] Aside from the HTML being badly formed in the echo statment (all attributes should be double-quoted) i.e. echo ""; it would appear that something in your dfltt class may be causing the problem. Th

Re: [PHP] PHP developers

2003-11-07 Thread Brent Baisley
craigslist.org, it's free and I've heard nothing but good things from people looking for, well, just about anything. But it's also a great place to find talent. On Thursday, November 6, 2003, at 12:59 PM, James wrote: Can anyone recommend a good place where I can find some talented PHP contract

[PHP] COM and PHP.ini

2003-11-07 Thread Steve Vernon
(PHP 4.3.0, Windows XP Pro, Office 2000 Pro) Hello, Just playing around with COM, and I got the error below. Searching on google it mentions something about a DLL error. Iv'e enabled dcom in php.ini. What have I missed! Line 2 says $excel = new COM("Excel.Application") or die("Excel could not

[PHP] PHP 4.3.2, HTML and MSSQL2000

2003-11-07 Thread Rique Gresham
Hi All, I'm having trouble with a input box disappearing when using php to generate the input box. I tested this script in a test.htm and worked fine. Does it have something to do with the script being inside the statement? Any help would be appreciated. Thanks "; mssql_free_result($sql_re

[PHP] Re: PHP Themes/Wallpapers

2003-11-07 Thread DvDmanDT
Isn't there things like that on the official php.net site? -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you are using windows, you may be infected by Swen. Please go here to find out more: http://us.mcafee.com/virusInfo/default.asp?id=hel

RE: [PHP] BTML 2.0 released!!!

2003-11-07 Thread Jay Blanchard
[snip] snobs jump in [/snip] What is funny about that is that it is those snobs who folks ask their questions to. It is those snobs who solve problems for others. It is those snobs who have learned and experienced so that others may benefit. -- PHP General Mailing List (http://www.php.net

[PHP] PHP Themes/Wallpapers

2003-11-07 Thread PHPLover
Hi, Wouldn't that be good if PHP is on the desktop. I feel that we can show our support to PHP by putting wallpapers, themes or ICON's. I can't find any themes/wallpapers with PHP logo on the net. If you find any pls let me know Thanks & Regards, ___ PHPLover "Göd döës

Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread Eric Wood
I mainly bottom-post, but sometimes top-post. I love it when snobs jump in and add no meaningful information to the technical subject of the thread (like I'm doing now) but instead get on their soap-box about "you must always bottom post, blah, blah, blah, it messes up my way of reading." And for

RE: [PHP] BTML 2.0 released!!!

2003-11-07 Thread Jay Blanchard
[snip] Well, that's a bit overdue... I don't reverse the order of my posts... But anyway... I guess not everyone (you for example) follow threads like I do... [/snip] If you top post you ARE reversing the order of the post. And everyone does not follow threads the way that you do. Top posting has

Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread DvDmanDT
Well, that's a bit overdue... I don't reverse the order of my posts... But anyway... I guess not everyone (you for example) follow threads like I do... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you are using windows, you may be infecte

[PHP] RE: BTML 2.0 released!!!

2003-11-07 Thread Rob A. Brahier
Some comments in the code would be nice too. It's too much of a bother to decipher code without indentation or comments. -Rob -Original Message- From: Bas [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 10:21 AM To: [EMAIL PROTECTED] Subject: BTML 2.0 released!!! Okay, i a

RE: [PHP] BTML 2.0 released!!!

2003-11-07 Thread Jay Blanchard
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on mailing lists? [snip] Oh.. I'm personally trying to avoid not top-posting, cause I think it's nicer when ppl place the message at the

[PHP] Some Information on A Help Database Application Using PHP and XML

2003-11-07 Thread Peter Hartman (To 1886)
Et al, I'm interested in either designing or participating in a current project which utilizes PHP and XML to create a documentation application. My company (caravelcms.org) has designed a content management system using PHP and we are currently investigating how we can document effectively our va

  1   2   >