RE: [PHP] Please Help Me ASAP

2009-04-09 Thread abdulazeez alugo
> Date: Fri, 10 Apr 2009 08:33:10 +0530 > From: usang...@gmail.com > To: php-general@lists.php.net > Subject: [PHP] Please Help Me ASAP > > 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 WAMPS

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 id

[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 c

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,

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 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 ent

Re: [PHP] Please Help Me ASAP

2009-04-09 Thread Jason Pruim
Jason Pruim On Apr 9, 2009, at 11:03 PM, kunal sharma 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 rilli 'd of c

[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

[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

[PHP] Re: unknown number of inputs

2009-04-09 Thread Shawn McKenzie
PJ wrote: > I have a script with $_POST and 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 the

[PHP] unknown number of inputs

2009-04-09 Thread PJ
I have a script with $_POST and 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 accordingl

Re: [PHP] difficult select problem

2009-04-09 Thread PJ
Andrew Ballard wrote: > On Thu, Apr 9, 2009 at 1:39 PM, PJ 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 h

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

2009-04-09 Thread Bastien Koert
NOD32 Antivirus, version of virus > 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] 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 was

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 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 it do di

Re: [PHP] difficult select problem

2009-04-09 Thread Andrew Ballard
On Thu, Apr 9, 2009 at 1:39 PM, PJ 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, it is not important

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 th

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 t

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. wrote: > 2009/4/9 Yannick Mortier : > > 2009/4/9 9el : > >> -- Forwarded message -- > >> From: Sabrina Akter > >> Date: Thu, Apr 9, 2009 at 1:12 AM > >> Subject: codeigniter 'secure, non-secure content' pop up message in IE7 > >> To: phpex

[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 was

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 http://ancientst

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 . I submitted two reports last year against 1.73 which the tracker says were summarily closed wit

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:

[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 ( $this

Re: [PHP] Increase your monthly income!

2009-04-09 Thread Daniel Brown
On Thu, Apr 9, 2009 at 11:33, Richard Heyes 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 -- daniel.br

[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 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 Ge

Re: [PHP] Increase your monthly income!

2009-04-09 Thread Daniel Brown
On Thu, Apr 9, 2009 at 11:01, Govinda 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 gone >> on a short cou

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

2009-04-09 Thread Jan G.B.
2009/4/9 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

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 q

[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 dBase

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

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 to

[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 thi

[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 kn

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 ema

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 > > maili

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 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] 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 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 aware

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

2009-04-09 Thread Jan G.B.
2009/4/9 Yannick Mortier : > 2009/4/9 9el : >> -- Forwarded message -- >> From: Sabrina Akter >> 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

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

2009-04-09 Thread Yannick Mortier
2009/4/9 9el : > -- Forwarded message -- > From: Sabrina Akter > 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 help. My developed site's some pa

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 co

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 > Richard I a

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 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] 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 Appe

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 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 saveXML and it

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 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 - but perhaps

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 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 best) afaik you'