[PHP] Problem about insert some chinese into MySQL db

2003-07-05 Thread Erick
There will have some error of words I tried addslashes(stripslashes($String)) But also can't work -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem about insert some chinese into MySQL db

2003-07-05 Thread Erick
> What errors? Can't display those words. -- "Jason Wong" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D :[EMAIL PROTECTED] > On Saturday 05 July 2003 16:10, Erick wrote: > > There will have some error of words > > What errors? > > > I tried addslashe

[PHP] How can I change the timezone?

2003-05-28 Thread Erick
I am in Hong Kong and the server is in US. I can't change the server setting. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can I change the timezone?

2003-05-28 Thread Erick
How to do this? -- "Jay Blanchard" <[EMAIL PROTECTED]> ???:[EMAIL PROTECTED] [snip] I am in Hong Kong and the server is in US. I can't change the server setting. [/snip] How about getting the server time and then adding or subtracting from that to get the appropriate time? http://us2.php.n

Re: [PHP] How can I change the timezone?

2003-05-28 Thread Erick
Thank you. I added 43200 then slove this problem. -- "Jay Blanchard" <[EMAIL PROTECTED]> ???:[EMAIL PROTECTED] [snip] How to do this? [snip] I am in Hong Kong and the server is in US. I can't change the server setting. [/snip] How about getting the server time and then adding or subtracti

[PHP] How to optimize this MySQL command?

2003-06-04 Thread Erick
$resultb = mysql_query("SELECT id,mid FROM bt_message where ch='$ch' ",$db); while ($result = mysql_fetch_array($resultb)) { $result2b = mysql_query("SELECT nick FROM bt_member where id ='$result[mid]' ",$db); $result2 = mysql_fetch_array($result2b); . } Can combine together? -- PHP Ge

Re: [PHP] How to optimize this MySQL command?

2003-06-04 Thread Erick
ber.nick FROM bt_member, bt_message > WHERE bt_member.id=bt_message.mid AND bt_message.ch='$ch'", $db); > $result2 = mysql_fetch_array($resultb); > . > > > -Original Message- > From: Erick [mailto:[EMAIL PROTECTED] > Sent: 04 June 2003 13:12 > To: [E

[PHP] Re: Is "gd" present?

2003-06-04 Thread Erick
just use phpinfo() ? -- "Todd Cary" <[EMAIL PROTECTED]> ???:[EMAIL PROTECTED] > Is there a way to check within an application if the "gd" library has > been installed? > > Todd > -- > > Is there a way to c

[PHP] Comparing two dynamic dates

2002-03-11 Thread Erick
and I want to show the next date on which the event occurs, without just listing the next few months. Can anyone help? Erick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PCRE Problem

2002-06-13 Thread Erick Lee
$string = [b]Test[/b] I want to change it to $string = Test How?

[PHP] How can I get IP of ppp0?

2003-09-05 Thread Erick Okasaki
Hello List, How can I get IP Address from my connection ppp0 or ppp1 in Linux? What 's the function? thanks Erick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[Fwd: Re: [PHP] How can I get IP of ppp0?]

2003-09-05 Thread Erick Okasaki
Sorry if I was not clear enough but it's a php question because I want get IP Address from connection ppp0 (in Linux) with some function in PHP! thanks Erick Original Message Hardly what you call a php question. just type ifconfig -a Erick Okasaki wrote: Hello List,

[PHP] load balancing with php/apache?

2001-01-13 Thread Erick Papadakis
hello people this might be a very silly question, but folks in my company have now started asking some enterprise questions like "sure, we'll do php but how about load balancing?" i have a feeling that this can be achieved with some caching on apache? how can i achieve this

[PHP] PHP & FDF on Linux PPC

2001-01-15 Thread Erick Schmidt
Has anyone configured PHP to work with FDF on a PPC box? If so, do you have any helpful hints that may get me up and running. Thanks for the help. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

[PHP] random no. between two numbers?

2001-01-16 Thread Erick Papadakis
hi, in php, how can i generate a random no. but between two numbers? for example, i need to generate any integer, randomly, between 1 and 1000. thanks a lot! regards/erick __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http

[PHP] Php and FDF

2001-01-17 Thread Erick Schmidt
I am looking for a good start to get php working with the FDF toolkit. I am running php on SuSE for the PowerPC. Any help at all will greatly be appreciated. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] newbie: xslt help!

2001-01-23 Thread Erick Papadakis
ks in advance/erick __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] Stripping HTML selectively?

2001-03-02 Thread Erick Papadakis
Hello, need some help. i need to take an HTML file that is written by a user in a very bad format, for instance: Hi! and get the following: Hi! i tried to look at "strip_tags" but then it only returns me: Hi! thanks in advance/erick --- Outgoing mail is certi

Re: [PHP] Stripping HTML selectively?

2001-03-03 Thread Erick Papadakis
! Parsed text: Hi! Thanks/erick --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.230 / Virus Database: 111 - Release Date: 25-Jan-01 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Is PHP ready for XML?

2001-03-05 Thread Erick Papadakis
would I go about doing it - recommended way? - What if I needed to add a new tag to all the BOOKS in the XML file. For instance, 2390737-380973 How would I do this for all the books in my XML file? I'd appreciate any help! Thanks! Erick. --- Outgoi

[PHP] problem with include/require

2001-03-10 Thread Erick Papadakis
the "class_include.phpi", but this gives me a runtime error. i think it must be some configuration problem? i would appreciate if someone can tell me how to do this! cheers/erick --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Ver

Re: [PHP] problem with include/require

2001-03-11 Thread Erick Papadakis
avoid this, and only include the "c:\apache\htdocs"? Yes, I know that I can make a common INCLUDES folder, but come on lets be practical. It is a lot cleaner if we can have an include folder INSIDE the software-specific folder. Any ideas would be greatly appreciated! Thanks/Eri

[PHP] Caching in php?

2002-02-06 Thread Erick Papadakis
hello, i used asp and it seems there is an application object which can help in caching of data. (e.g., http://www.aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=142). is this possible using php? what can i do to use caching on my website which is totally database driven? thanks/erick

[PHP] reading microsoft word document text in php?

2001-03-21 Thread Erick Papadakis
hello, i need to read a microsoft Word document on the server through my file system. is there a way i can read the text of a word document? thanks/erick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] reading microsoft word document text in php?

2001-03-23 Thread Erick Papadakis
hi david, thanks for the response! would u also know how i can read some excel and powerpoint files? thanks/erick > If youu are on a *nix system, there is a package called mswordview, or > alternatively you could check the www.htdig.org site for document parsers > (catdoc.pl and pa

Re: [PHP] reading microsoft word document text in php?

2001-03-23 Thread Erick Papadakis
actually, i am not sure how i can use this to convert an uploaded word or pdf file into plain text and then do somethign with that text? can someone please help? thanks/erick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

[PHP] PHP_SELF problems!

2001-03-23 Thread Erick Papadakis
can disable this, and make the PHP SELF same as the original? thanks/erick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] reading microsoft word, excel, pdf document text

2001-03-25 Thread Erick Papadakis
s and suggestions! thanks/erick __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [PHP] reading microsoft word, excel, pdf document text

2001-03-25 Thread Erick Papadakis
hi renike, thanks for that link, but looks like that tutorial will only work on windows machines (because of COM objects)? i am on a linux box. cheers/erick --- Reinke Bonte <[EMAIL PROTECTED]> wrote: > Hey Erick, > > unfortunately I know little about this myself, but &

Re: [PHP] login without database

2001-04-01 Thread Erick Papadakis
Does this work on Windows machines? WHat is the $PHP_AUTH_USER and where does it come from? What should my access.inc.php look like? I saw the PHP_AUTH_USER on the www.php.net website but looks like it is only possible on PHP module, not pHP CGI? Thanks in advance - "Romeo Manzur" <[EMAI

Re: [PHP] mail(): "\r\n" gives extra empty line between each line in Outlook

2001-04-01 Thread Erick Papadakis
I am not sure what you want to do, but you could try this: $myText = nl2br($dataFromSubmittedTextBox); Then $myText will have the correct values. Cheers --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.237 / Virus Database

[PHP] regexp question - extracting wanted ascii characters only?

2001-04-04 Thread Erick Papadakis
Hi, I need to do a simple thing. I want to read a binary file (e.g., microsoft word, excel etc) and then extract only the text from it. I am using simple fopen() and fread() and when I print out the contents of the file, it returns me the text but apart from the text, there is some junk which is

[PHP] field values in multipart/form

2001-07-13 Thread Erick Calder
Hi, I'm running PHP 4.0.4pl1 on a RedHat 7.0 box. I have the following problem: when using ENCTYPE="multipart/form" for a , PHP receives the values of fields with a prepended \n e.g. with: if I enter "Hello" into the field and submit the form I get: / Hello/ what's the deal?? I've rea

RE: [PHP] Regex Help

2001-07-13 Thread Erick Calder
Sheridan, I didn't test this in PHP, I'm more familiar with the Perl Regex, but this might work for you, play with it: /mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 9:04 AM To: [EMAIL PROTECTED] Subject:[PHP] Regex Help I am trying to write a script that needs a list of a

[PHP] automatic deallocation

2001-07-28 Thread Erick Calder
I've searched through the manuals and newsgroups but haven't found an answer. maybe someone on this list can tell me whether PHP will automatically de-allocate filehandles and database connections upon script termination? i.e. do I always need to call fclose() and mysql_close() before the script

[PHP] END block

2001-07-28 Thread Erick Calder
is there an equivalent to Perl's END block? i.e some way to automatically run certain code when a page is about to end? 1k thx - e -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

RE: [PHP] :(

2001-07-29 Thread Erick Calder
your code works for me. it would be helpful to know how your code doesn't work. does it pop the window at all? couple of suggestions: use "onClick" instead of "onclick" - if I recall correctly case matters in Javascript event names depending on your browser. also, you don't need to use the "java

[PHP] wish list

2001-08-01 Thread Erick Calder
does anybody know how to submit a feature request? I can't do it via the bug reporting mechanism. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PR

[PHP] wish list?

2001-08-01 Thread Erick Calder
does anybody know how to submit a feature request? I can't do it via the bug reporting mechanism. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PR

RE: [PHP] wish list?

2001-08-01 Thread Erick Calder
ugust 01, 2001 1:18 PM To: Erick Calder; [EMAIL PROTECTED] Subject:RE: [PHP] wish list? > -Original Message- > From: Erick Calder [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 2:24 PM > To: [EMAIL PROTECTED] > Subject: [PHP] wish list? > > >

[PHP] How APC Work?

2009-10-30 Thread Erick Couto
Hi, How *APC* – Alternative *PHP* Cache store data on cache? memory? file system? i´m developing a PHP application with many requests for read/write on APC stored variables, im scared with future slow down with many IO on APC. Thanks, Erick Couto

[PHP] Rendering problem (IE browser on windows + php on linux host)

2007-11-03 Thread Erick Paquin
n IE. Thought this might be an apache/php config problem on my ubuntu server so I tried to compare both my php.ini + apache config file and nothing works so far. Any Ideas? Erick P. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Rendering problem (IE browser on windows + php on linux host)

2007-11-03 Thread Erick Paquin
n IE. Thought this might be an apache/php config problem on my ubuntu server so I tried to compare both my php.ini + apache config file and nothing works so far. Any Ideas? Erick P. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] sharing PHP sessions between web servers using NFS

2009-06-22 Thread [moderação] Erick Couto
you can use memcached for php sessions.. it´s simple, transparent, and configurated on php.ini too. i have used it for a long time. 2009/6/22 Per Jessen Randy Paries wrote: > > > Hello, > > I have three web servers (in a lvs cluster) > > in the cluster they all think they are www.mydomain.com >