php-general Digest 9 Apr 2009 16:16:07 -0000 Issue 6058

2009-04-09 Thread php-general-digest-help
php-general Digest 9 Apr 2009 16:16:07 - Issue 6058 Topics (messages 291261 through 291302): Re: How about a saveXHTML for the DOM? 291261 by: Michael Shadle 291275 by: Michael A. Peters 291276 by: Michael Shadle 291277 by: Michael Shadle 291278 by:

php-general Digest 10 Apr 2009 05:28:25 -0000 Issue 6059

2009-04-09 Thread php-general-digest-help
on my computer? Peter __ Information from ESET NOD32 Antivirus, version of virus signature database 3997 (20090409) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ---End Message--- ---BeginMessage--- Hello, I have an array including 2000 records

Re: [PHP] Re: PHP and Send Mail

2009-04-09 Thread Michael A. Peters
9el wrote: On Thu, Apr 9, 2009 at 7:19 AM, Shawn McKenzie nos...@mckenzies.net wrote: Alejandro Esteban Galvez wrote: Hi!, I am making a web system and i need known how send a mail using PHP Hi, Use PHPmailer or PEAR:mail() I second PHPmailer. It rocks! -- PHP General Mailing List

Re: [PHP] convert video files to FLV

2009-04-09 Thread Tom Sparks
there are shared-host that have ffmpeg like http://www.cirtexhosting.com/shared.shtml tom_a_sparks Please avoid sending me Word or PowerPoint attachments. but instead use OpenDocument File Formats or use OpenOffice http://en.wikipedia.org/wiki/OpenDocument

Re: [PHP] opening utf-8 files - chinese mb characters

2009-04-09 Thread Per Jessen
Andrew Ballard wrote: A bit off topic, but Ctrl+I no longer brings up the Page Info in Firefox like it used to -- at least on my Windows computers. (It opens the bookmark list in the sidebar.) Does it do differently under Linux? On FF 2.0.0.6 Ctrl-I brings up the info page - perhaps 3.0

Re: [PHP] opening utf-8 files - chinese mb characters

2009-04-09 Thread Per Jessen
Merlin Morgenstern wrote: I use windows right click for this. Actually I isolated the problem, but still I can't figure out how to solve it. The page is not utf-8, but ugb2312. I am already sending the header through php: header(Content-Type: text/html; charset=ugb2312); And with

Re: [PHP] How about a saveXHTML for the DOM?

2009-04-09 Thread Michael A. Peters
Michael Shadle wrote: On Wed, Apr 8, 2009 at 8:58 PM, Michael A. Peters mpet...@mac.com wrote: Yes it should - I believe php 6 is suppose to be much better at native UTF8. At least according to some blog I read somewhere (IE don't believe me without reservation, it's third hand knowledge at

Re: [PHP] How about a saveXHTML for the DOM?

2009-04-09 Thread Michael Shadle
On Thu, Apr 9, 2009 at 12:25 AM, Michael A. Peters mpet...@mac.com wrote: I did a little reading on the issue and I don't think php 6 will fix it. The issue is with libxml2 - it mutilates utf8 when exporting to html and php function wraps the libxml2 function. The solution? I don't know -

Re: [PHP] How about a saveXHTML for the DOM?

2009-04-09 Thread Michael Shadle
On Thu, Apr 9, 2009 at 12:25 AM, Michael A. Peters mpet...@mac.com wrote: I did a little reading on the issue and I don't think php 6 will fix it. The issue is with libxml2 - it mutilates utf8 when exporting to html and php function wraps the libxml2 function. not to mention i swore i tried

Re: [PHP] How about a saveXHTML for the DOM?

2009-04-09 Thread Benjamin Hawkes-Lewis
On 9/4/09 04:55, Michael A. Peters wrote: IE (still) does not properly support XHTML. It will render an XHTML page sent with the text/html mime type - but that's actually a standards violation. Is it? What standard is it violating? XHTML Documents which follow the guidelines set forth in

Re: [PHP] Increase your monthly income!

2009-04-09 Thread Richard Heyes
Get paid for your opinion! Y'know, I really think I should... -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated March 28th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP and Send Mail

2009-04-09 Thread Jay Blanchard
[snip] And not one RTFM? [/snip] It is because I wasn't online at the time of the crime. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Increase your monthly income!

2009-04-09 Thread abdulazeez alugo
Date: Thu, 9 Apr 2009 12:02:29 +0100 From: rich...@php.net To: tyrellmaccoll1...@gmail.com CC: php-general@lists.php.net Subject: Re: [PHP] Increase your monthly income! Get paid for your opinion! Y'know, I really think I should... -- Richard Heyes emphasisRichard/empahsis

Re: [PHP] How can I echo a javascript var in an email subject line? Possible?

2009-04-09 Thread tedd
At 1:00 PM -0500 4/8/09, Terion Miller wrote: Thought I would go ahead and post a bit more on this, so here is my wordcount little function on the textarea of the form: -snip- or do I need to define the variable? think I'm starting to confuse myself lol The reason why you are starting to

Re: [PHP] codeigniter 'secure, non-secure content' pop up message in IE7

2009-04-09 Thread Yannick Mortier
2009/4/9 9el le...@phpxperts.net: -- Forwarded message -- From: Sabrina Akter lizzeel...@gmail.com Date: Thu, Apr 9, 2009 at 1:12 AM Subject: codeigniter 'secure, non-secure content' pop up message in IE7 To: phpexpe...@yahoogroups.com Hello Experts, I badly need your

Re: [PHP] codeigniter 'secure, non-secure content' pop up message in IE7

2009-04-09 Thread Jan G.B.
2009/4/9 Yannick Mortier mvmort...@googlemail.com: 2009/4/9 9el le...@phpxperts.net: -- Forwarded message -- From: Sabrina Akter lizzeel...@gmail.com Date: Thu, Apr 9, 2009 at 1:12 AM Subject: codeigniter 'secure, non-secure content' pop up message in IE7 To:

RE: [PHP] Re: PHP and Send Mail

2009-04-09 Thread Bob McConnell
From: Michael A. Peters 9el wrote: On Thu, Apr 9, 2009 at 7:19 AM, Shawn McKenzie nos...@mckenzies.net wrote: Alejandro Esteban Galvez wrote: Hi!, I am making a web system and i need known how send a mail using PHP Hi, Use PHPmailer or PEAR:mail() I second PHPmailer. It rocks! Just be

Re: [PHP] Increase your monthly income!

2009-04-09 Thread Richard Heyes
I actually thought you were going to point out to our guest that this is a mailing list for PHP-related issues only. And we're not here to get paid for our opinions are we??? I won't blame anybody going for the offer though but the point remains, this is a PHP-Mailing list. Wow, someone is

Re: [PHP] Increase your monthly income!

2009-04-09 Thread VamVan
I believe there is some kind of filter for SPAM emails and emails not related to PHP. Question is: How come some emails still make it to this list? Anyone to shed some light on this topic? Thanks, V

RE: [PHP] Increase your monthly income!

2009-04-09 Thread abdulazeez alugo
Date: Thu, 9 Apr 2009 14:29:25 +0100 Subject: Re: [PHP] Increase your monthly income! From: rich...@php.net To: defati...@hotmail.com CC: tyrellmaccoll1...@gmail.com; php-general@lists.php.net I actually thought you were going to point out to our guest that this is a mailing list

RE: [PHP] Increase your monthly income!

2009-04-09 Thread abdulazeez alugo
Date: Thu, 9 Apr 2009 19:04:13 +0530 From: vamsee...@gmail.com To: rich...@php.net CC: defati...@hotmail.com; tyrellmaccoll1...@gmail.com; php-general@lists.php.net Subject: Re: [PHP] Increase your monthly income! I believe there is some kind of filter for SPAM emails and emails not

[PHP] preg_match and multibyte

2009-04-09 Thread Merlin Morgenstern
Hello, I am trying to extract a number out of a string that is in utf-8 and contains chines characters. This unfortunatelly does not work: preg_match('{(\d+)}', $details, $m); $number = $m[1]; I also tried to utf8decode it, but still, no luck. Does anybody

[PHP] Escape Data In/Out of db

2009-04-09 Thread tedd
Hi gang: I'm gathering information from a user, storing that data in a db, and then showing it back to the user. It's a simple process and can bee seen here in this address book demo (not real people): http://php1.net/a/edit-db-demo I gather information from the user via a $_POST[]; like

Re: [PHP] preg_match and multibyte

2009-04-09 Thread tedd
At 4:18 PM +0200 4/9/09, Merlin Morgenstern wrote: Hello, I am trying to extract a number out of a string that is in utf-8 and contains chines characters. This unfortunatelly does not work: preg_match('{(\d+)}', $details, $m); $number = $m[1]; I also tried

Re: [PHP] preg_match and multibyte

2009-04-09 Thread Merlin Morgenstern
tedd wrote: At 4:18 PM +0200 4/9/09, Merlin Morgenstern wrote: Hello, I am trying to extract a number out of a string that is in utf-8 and contains chines characters. This unfortunatelly does not work: preg_match('{(\d+)}', $details, $m); $number = $m[1]; I also tried to

[PHP] Connecting to dBase using ODBC on Mac OS X

2009-04-09 Thread Rahul S. Johari
Ave, Does anyone have any knowledge on connecting a FoxPro table (.dbf, dbase) using ODBC on a Mac OS X? I've been googling but not much is turning up. Some information is available on ODBC Connections using PHP ... very little on Mac OS X ... and absolutely none to do with a FoxPro

Re: [PHP] Increase your monthly income!

2009-04-09 Thread Govinda
Quite frankly, I asked myself that same question earlier but I thought Dan was in charge of such stuffs. He's been very quiet on a lot of things lately. Hey guys, does anyone know where Dan's been? i'm guessing he's gone on a short course or maybe AWOL. pretty sure he has answered this

Re: [PHP] Escape Data In/Out of db

2009-04-09 Thread Jan G.B.
2009/4/9 tedd t...@sperling.com: Hi gang: -.- I'm gathering information from a user, storing that data in a db, and then showing it back to the user. It's a simple process and can bee seen here in this address book demo (not real people): http://php1.net/a/edit-db-demo I gather

Re: [PHP] Increase your monthly income!

2009-04-09 Thread Daniel Brown
On Thu, Apr 9, 2009 at 11:01, Govinda govinda.webdnat...@gmail.com wrote: Quite frankly, I asked myself that same question earlier but I thought Dan was in charge of such stuffs. He's been very quiet on a lot of things lately. Hey guys, does anyone know where Dan's been? i'm guessing he's

Re: [PHP] Increase your monthly income!

2009-04-09 Thread Richard Heyes
In the history of email, the only better SPAM blocking stuff has been a pair of scissors applied to the power cord. Wearing insulating gloves I would add... -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated March 28th) -- PHP

[PHP] Caching

2009-04-09 Thread דניאל דנון
I started caching some of the static files on my application, I was wondering - Lets say I have an article on my website and I *want* to cache it. How will I cache it AND will be able to make my visitors re-cache it if it has been changed? I read how to do that on static pages, but couldn't find

Re: [PHP] Increase your monthly income!

2009-04-09 Thread Daniel Brown
On Thu, Apr 9, 2009 at 11:33, Richard Heyes rich...@php.net wrote: In the history of email, the only better SPAM blocking stuff has been a pair of scissors applied to the power cord. Wearing insulating gloves I would add... You always were the one to see the Big Picture[tm]. ;-P --

[PHP] Newbie: handling instance values on a attribute of the same class.

2009-04-09 Thread MEM
Hi all, Ok. Here is a code that I'm studying: class Connection extends PDO { private $dsn = 'mysql:dbname=testes;host=127.0.0.1'; private $user = 'root'; private $password = ''; public $handle = null; function __construct( ) { try { if (

Re: [PHP] difficult select problem

2009-04-09 Thread PJ
Jim Lucas wrote: PJ wrote: Hi Jim, Sorry I could not gat back to you on your suggestion. I've been under the weather for a couple of days but am almost over it. Your suggestion does not work... yet. I'll insert comments questions below... Jim Lucas wrote: PJ wrote: I've searched the

Re: [PHP] Re: PHP and Send Mail

2009-04-09 Thread Michael A. Peters
Bob McConnell wrote: *snip* Just be aware that it does have a few bugs you may need to work around or patch. The SourceForge tracker is at http://sourceforge.net/tracker/?group_id=26031atid=385707. I submitted two reports last year against 1.73 which the tracker says were summarily closed with

Re: [PHP] Escape Data In/Out of db [solved]

2009-04-09 Thread tedd
At 5:03 PM +0200 4/9/09, Jan G.B. wrote: You might want to use htmlspecialchars($str, ENT_QUOTES) OUT from db to html and mysql_real_escape_string(stripslashes($_POST['yourself'])); IN to db from html Thanks, that worked. Cheers, tedd -- --- http://sperling.com

[PHP] Hello, I have a question about php array max number

2009-04-09 Thread PeterDu
Hello, I have an array including 2000 records in database, but when fetch all of them, why just get 1500 records? Does that depend on my computer? Peter __ Information from ESET NOD32 Antivirus, version of virus signature database 3997 (20090409) __ The message

Re: [PHP] codeigniter 'secure, non-secure content' pop up message in IE7

2009-04-09 Thread 9el
On Thu, Apr 9, 2009 at 6:56 PM, Jan G.B. ro0ot.w...@googlemail.com wrote: 2009/4/9 Yannick Mortier mvmort...@googlemail.com: 2009/4/9 9el le...@phpxperts.net: -- Forwarded message -- From: Sabrina Akter lizzeel...@gmail.com Date: Thu, Apr 9, 2009 at 1:12 AM Subject:

Re: [PHP] difficult select problem

2009-04-09 Thread PJ
OK, so I owe you a big one :-* Your code works... now, I'm faced with a horrendous problem and that is to make sense of it all :-) What I seem to get from this exercise is that I don't need the ordinals at all. Uuuuh... that's interesting. I get it. So now, I can update my bookInsert script

Re: [PHP] opening utf-8 files - chinese mb characters

2009-04-09 Thread Shawn McKenzie
Per Jessen wrote: Andrew Ballard wrote: A bit off topic, but Ctrl+I no longer brings up the Page Info in Firefox like it used to -- at least on my Windows computers. (It opens the bookmark list in the sidebar.) Does it do differently under Linux? On FF 2.0.0.6 Ctrl-I brings up the info

Re: [PHP] difficult select problem

2009-04-09 Thread Andrew Ballard
On Thu, Apr 9, 2009 at 1:39 PM, PJ af.gour...@videotron.ca wrote: [snip] Now the silly questions = often I am curious what effect the differences in code will have on performance. For instance, why are you using author.last_name LIKE '{$Auth}%' rather than LEFT('$Auth') ? As I have mentioned,

Re: [PHP] opening utf-8 files - chinese mb characters

2009-04-09 Thread Andrew Ballard
On Thu, Apr 9, 2009 at 1:53 PM, Shawn McKenzie nos...@mckenzies.net wrote: Per Jessen wrote: Andrew Ballard wrote: A bit off topic, but Ctrl+I no longer brings up the Page Info in Firefox like it used to -- at least on my Windows computers. (It opens the bookmark list in the sidebar.) Does

[PHP] Hello, I have a question about php array max number

2009-04-09 Thread PeterDu
Hello, I have an array including 2000 records in database, but when fetch all of them, why just get 1500 records? Does that depend on my computer? Peter __ Information from ESET NOD32 Antivirus, version of virus signature database 3997 (20090409) __ The message

Re: [PHP] Hello, I have a question about php array max number

2009-04-09 Thread Bastien Koert
signature database 3997 (20090409) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Could be the memory limit on the server, could be the query only

Re: [PHP] difficult select problem

2009-04-09 Thread PJ
Andrew Ballard wrote: On Thu, Apr 9, 2009 at 1:39 PM, PJ af.gour...@videotron.ca wrote: [snip] Now the silly questions = often I am curious what effect the differences in code will have on performance. For instance, why are you using author.last_name LIKE '{$Auth}%' rather than

[PHP] unknown number of inputs

2009-04-09 Thread PJ
I have a script with $_POST and form to load data with text input. Situation: enter name of author(s) for book. I have the script set up to enter first_name, last_name for Author1 and the same for Author 2. Check if entry 1 exists then proceed accordingly Check if entry 2 exists then proceed

[PHP] Re: unknown number of inputs

2009-04-09 Thread Shawn McKenzie
PJ wrote: I have a script with $_POST and form to load data with text input. Situation: enter name of author(s) for book. I have the script set up to enter first_name, last_name for Author1 and the same for Author 2. Check if entry 1 exists then proceed accordingly Check if entry 2 exists

[PHP] Re: Hello, I have a question about php array max number

2009-04-09 Thread Jonesy
On Thu, 9 Apr 2009 10:08:12 -0700, PeterDu wrote: Hello, I have an array including 2000 records in database, but when fetch all of them, why just get 1500 records? Does that depend on my computer? Well, at least you hi-jacked a thread that did not pertain to PHP and put it back On Topic!

[PHP] Please Help Me ASAP

2009-04-09 Thread kunal sharma
Hello, I'm building my own website without any knowledge of PHP, i'm almost done with that..as my website works fine on my local server i:e WAMPSERVER 2.0, but the same code is not working on server...n i'm rilli 'd of coz of that... The error is :PHP Parse error: syntax error, unexpected

Re: [PHP] Please Help Me ASAP

2009-04-09 Thread Jason Pruim
Jason Pruim On Apr 9, 2009, at 11:03 PM, kunal sharma usang...@gmail.com wrote: Hello, I'm building my own website without any knowledge of PHP, i'm almost done with that..as my website works fine on my local server i:e WAMPSERVER 2.0, but the same code is not working on server...n i'm

Re: [PHP] Re: unknown number of inputs

2009-04-09 Thread Jim Lucas
Shawn McKenzie wrote: PJ wrote: I have a script with $_POST and form to load data with text input. Situation: enter name of author(s) for book. I have the script set up to enter first_name, last_name for Author1 and the same for Author 2. Check if entry 1 exists then proceed accordingly Check

Re: [PHP] Escape Data In/Out of db [solved]

2009-04-09 Thread Jim Lucas
tedd wrote: At 5:03 PM +0200 4/9/09, Jan G.B. wrote: You might want to use htmlspecialchars($str, ENT_QUOTES) OUT from db to html and mysql_real_escape_string(stripslashes($_POST['yourself'])); The above tells me that you probably need to look at your magic quotes setting. Typically,

[PHP] A Tool For Building PHP Web Apps

2009-04-09 Thread Paul M Foster
Here's a hairbrained idea I was kicking around. I object to the idea of including 15 or 30 files in a PHP application just to display one page on the internet. It makes the coding faster, but it makes the display slower and seems silly to me. So what if you had a tool or a set of tools where you

RE: [PHP] A Tool For Building PHP Web Apps

2009-04-09 Thread Asher Snyder
This might be what you're looking for: http://www.roadsend.com/home/index.php -Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: Friday, April 10, 2009 1:28 AM To: php-general@lists.php.net Subject: [PHP] A Tool For Building PHP Web Apps Here's a hairbrained