Re: [PHP] allow_url_fopen & allow_url_include

2009-03-02 Thread Kaushal Shriyan
On Tue, Mar 3, 2009 at 12:21 PM, Kaushal Shriyan wrote: > On Tue, Mar 3, 2009 at 11:52 AM, Chris wrote: > >> Kaushal Shriyan wrote: >> >>> Hi, >>> >>> I have enabled allow_url_fopen & allow_url_include in php.ini file. >>> is it a security issue ? >>> >> >> allow_url_fopen means you can fetch pag

Re: [PHP] allow_url_fopen & allow_url_include

2009-03-02 Thread Kaushal Shriyan
On Tue, Mar 3, 2009 at 11:52 AM, Chris wrote: > Kaushal Shriyan wrote: > >> Hi, >> >> I have enabled allow_url_fopen & allow_url_include in php.ini file. >> is it a security issue ? >> > > allow_url_fopen means you can fetch pages: > > $page = file_get_contents('http://www.example.com'); > > This

Re: [PHP] allow_url_fopen & allow_url_include

2009-03-02 Thread Chris
Kaushal Shriyan wrote: Hi, I have enabled allow_url_fopen & allow_url_include in php.ini file. is it a security issue ? allow_url_fopen means you can fetch pages: $page = file_get_contents('http://www.example.com'); This is ok to enable - all it does is fetch the page. It does not execute t

[PHP] allow_url_fopen & allow_url_include

2009-03-02 Thread Kaushal Shriyan
Hi, I have enabled allow_url_fopen & allow_url_include in php.ini file. is it a security issue ? please help me understand about its implications. Thanks and Regards Kaushal

Re: [PHP] How should I ....--its a date/timestamp issue

2009-03-02 Thread Frank Stanovcak
"Paul M Foster" wrote in message news:20090219022913.gl18...@quillandmouse.com... > On Wed, Feb 18, 2009 at 05:25:16PM -0600, Terion Miller wrote: > > > >> What about just accepting any date in to the system, and defaulting >> to >> the current date if any numptys/users try to set on

Re: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-03-02 Thread Andrew Ballard
On Mon, Mar 2, 2009 at 6:36 PM, Ashley Sheridan wrote: > On Mon, 2009-03-02 at 09:30 -0600, Boyd, Todd M. wrote: >> > -Original Message- >> > From: Andrew Ballard [mailto:aball...@gmail.com] >> > Sent: Saturday, February 28, 2009 12:05 AM >> > To: a...@ashleysheridan.co.uk >> > Cc: Boyd, T

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread mike
On Mon, Mar 2, 2009 at 3:25 PM, Michael A. Peters wrote: > And more and more people are using something like noscript to block it > because XSS hacks are out of control. It is too easy to publish a website > and too many web developers only care about their own data, they don't care > about prote

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread mike
On Mon, Mar 2, 2009 at 3:29 PM, Ashley Sheridan wrote: > There are a lot of free FTP Java applets out there, which you could > easily integrate with a web page and your hosting. You'll have the > advantage of a familiar interface, multiple uploads, queues, and > progress bars. Worst case scenario

Re: [PHP] retrieve multiple select

2009-03-02 Thread Michael A. Peters
PJ wrote: Well, I think 60+ checkboxes get kind of garbagy I bet it is easier to select the fields you want from 4 columns of 15 checkboxes than from a big long list of 60 in a select. But you might be right. I don't design for a living. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-03-02 Thread Chris
There isn't a BOTTOM, the solution looks something like this: SELECT * FROM (SELECT TOP 10 * FROM (SELECT TOP 20 * FROM table WHERE clause ORDER BY col) AS temp ORDER BY col DESC) as temp2 ORDER BY col It's an awful mess, but was the only way I found to select results x to y in a reliable mann

Re: [PHP] retrieve multiple select

2009-03-02 Thread Michael A. Peters
PJ wrote: Michael A. Peters wrote: PJ wrote: Well, I think 60+ checkboxes get kind of garbagy I bet it is easier to select the fields you want from 4 columns of 15 checkboxes than from a big long list of 60 in a select. But you might be right. I don't design for a living. Neither do I; it'

Re: [PHP] retrieve multiple select

2009-03-02 Thread PJ
Shawn McKenzie wrote: > PJ wrote: > >> Shawn McKenzie wrote: >> >>> PJ wrote: >>> PJ wrote: > I'm sure this has been hashed over and over on the web, only I can't > find anything that makes sense or the explanations given have been > erroneous. > Th

Re: [PHP] retrieve multiple select

2009-03-02 Thread PJ
Michael A. Peters wrote: > PJ wrote: > >> Well, I think 60+ checkboxes get kind of garbagy > > I bet it is easier to select the fields you want from 4 columns of 15 > checkboxes than from a big long list of 60 in a select. > > But you might be right. I don't design for a living. > Neither do I; it

RE: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-03-02 Thread Ashley Sheridan
On Mon, 2009-03-02 at 09:30 -0600, Boyd, Todd M. wrote: > > -Original Message- > > From: Andrew Ballard [mailto:aball...@gmail.com] > > Sent: Saturday, February 28, 2009 12:05 AM > > To: a...@ashleysheridan.co.uk > > Cc: Boyd, Todd M.; PHP General list > > Subject: Re: [PHP] Re: How importa

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Ashley Sheridan
On Mon, 2009-03-02 at 15:02 -0800, mike wrote: > Yes you can do it with only javascript but you'll need server > components to deal with large files ... Which the OP does not have > access to. Post and file limits could become an issue. > > Not to mention flash and java penetration is huge. I

Re: [PHP] retrieve multiple select

2009-03-02 Thread Shawn McKenzie
PJ wrote: > Shawn McKenzie wrote: >> PJ wrote: >>> PJ wrote: I'm sure this has been hashed over and over on the web, only I can't find anything that makes sense or the explanations given have been erroneous. This is what I am trying: Choose Categories... History

Re: [PHP] multiple categories

2009-03-02 Thread PJ
Paul M Foster wrote: > On Mon, Mar 02, 2009 at 11:50:15AM -0500, PJ wrote: > > >> I have a list of some 60 categories for a book database and am wondering >> what would be the best approach for inserting and selecting the data. >> My choices are to >> (1.)simply use one field in a books table an

[PHP] vcl for php / delphi for php

2009-03-02 Thread Shawn McKenzie
Anyone ever used these? I've run across them in the past when searching and just saw them again today when I was searching for some stuff. The vcl for php "framework" lacks any kind of good docs/tutorial and the IDE looks like it is replicating a .net approach by using PHP/AJAX in the vcl stuff (

Re: [PHP] retrieve multiple select

2009-03-02 Thread PJ
Shawn McKenzie wrote: > PJ wrote: >> PJ wrote: >>> I'm sure this has been hashed over and over on the web, only I can't >>> find anything that makes sense or the explanations given have been >>> erroneous. >>> This is what I am trying: >>> >>> Choose Categories... >>> History >>> Temples >>> Phara

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Michael A. Peters
mike wrote: Yes you can do it with only javascript but you'll need server components to deal with large files ... Which the OP does not have access to. Post and file limits could become an issue. Not to mention flash and java penetration is huge. I think flash is on something like 96% of brow

Re: [PHP] Javascript question

2009-03-02 Thread Michael A. Peters
Boyd, Todd M. wrote: Before some of you newbies feel like being heroes and jump all over me: I KNOW THIS IS A PHP-RELATED LIST. IF YOU DON'T LIKE MY QUESTION, DON'T ANSWER IT. Now that that's out of the way... I have a Javascript question (and maybe a Browser/DOM question) for you folks. I'm no

Re: [PHP] multiple categories

2009-03-02 Thread Paul M Foster
On Mon, Mar 02, 2009 at 11:50:15AM -0500, PJ wrote: > I have a list of some 60 categories for a book database and am wondering > what would be the best approach for inserting and selecting the data. > My choices are to > (1.)simply use one field in a books table and enter the categories for > each

Re: [PHP] retrieve multiple select

2009-03-02 Thread PJ
Michael A. Peters wrote: > PJ wrote: >> I'm sure this has been hashed over and over on the web, only I can't >> find anything that makes sense or the explanations given have been >> erroneous. >> This is what I am trying: >> >> Choose Categories... >> History >> Temples >>

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread mike
Yes you can do it with only javascript but you'll need server components to deal with large files ... Which the OP does not have access to. Post and file limits could become an issue. Not to mention flash and java penetration is huge. I think flash is on something like 96% of browsers now..

RE: [PHP] Javascript question

2009-03-02 Thread Boyd, Todd M.
> -Original Message- > From: Michael A. Peters [mailto:mpet...@mac.com] > Sent: Monday, March 02, 2009 4:42 PM > To: Boyd, Todd M. > Cc: PHP General list > Subject: Re: [PHP] Javascript question > > Boyd, Todd M. wrote: > > Before some of you newbies feel like being heroes and jump all ove

Re: [PHP] www.soongy.com

2009-03-02 Thread mike
That's the good thing about this, it does not require any hosting changes. It's just text being sent via POST just like a normal form submit, the PHP code portion just accepts the data and assembles the file based off of it. The Gears stuff is all client side, so it requires no server side stuff.

RE: [PHP] Javascript question

2009-03-02 Thread Boyd, Todd M.
> -Original Message- > From: Robert Cummings [mailto:rob...@interjinn.com] > Sent: Monday, March 02, 2009 4:18 PM > To: Boyd, Todd M. > Cc: PHP General list > Subject: Re: [PHP] Javascript question > > On Mon, 2009-03-02 at 16:11 -0600, Boyd, Todd M. wrote: > > Before some of you newbies f

Re: [PHP] Javascript question

2009-03-02 Thread Robert Cummings
On Mon, 2009-03-02 at 16:11 -0600, Boyd, Todd M. wrote: > Before some of you newbies feel like being heroes and jump all over me: > > I KNOW THIS IS A PHP-RELATED LIST. IF YOU DON'T LIKE MY QUESTION, DON'T > ANSWER IT. > > Now that that's out of the way... I have a Javascript question (and > mayb

Re: [PHP] A puzzler (well, for me at least)

2009-03-02 Thread Robert Cummings
On Mon, 2009-03-02 at 22:30 +0100, Jochem Maas wrote: > Robert Cummings schreef: > > On Thu, 2009-02-26 at 15:50 +0100, Ondrej Kulaty wrote: > >> Your answer is neither relevant nor funny. :-| > > > > It was very relevant. You cannot easily ascertain the time at which a > > particular line of scri

[PHP] Javascript question

2009-03-02 Thread Boyd, Todd M.
Before some of you newbies feel like being heroes and jump all over me: I KNOW THIS IS A PHP-RELATED LIST. IF YOU DON'T LIKE MY QUESTION, DON'T ANSWER IT. Now that that's out of the way... I have a Javascript question (and maybe a Browser/DOM question) for you folks. I'm not sure this is anything

RE: [PHP] retrieve multiple select

2009-03-02 Thread Boyd, Todd M.
> -Original Message- > From: Shawn McKenzie [mailto:nos...@mckenzies.net] > Sent: Monday, March 02, 2009 3:41 PM > To: php-general@lists.php.net > Subject: Re: [PHP] retrieve multiple select > > Shawn McKenzie wrote: > > Michael A. Peters wrote: > >> PJ wrote: > >>> I'm sure this has been

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Shawn McKenzie
Nitsan Bin-Nun wrote: > I have just been wondering for the 20 zillion time why does people always > stick together "20" and "zillion"? you can't just use "zillion times"? is > that not enough for you? Actually, instead of 20 zillion I would say 2 bazillion, or .2 gazillion. Now if I really wanted

Re: [PHP] retrieve multiple select

2009-03-02 Thread Shawn McKenzie
Shawn McKenzie wrote: > Michael A. Peters wrote: >> PJ wrote: >>> I'm sure this has been hashed over and over on the web, only I can't >>> find anything that makes sense or the explanations given have been >>> erroneous. >>> This is what I am trying: >>> >>> Choose Categories... >>> Hi

Re: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-03-02 Thread Chris
Wait, wait, wait... I know SQL Server doesn't have "LIMIT", but haven't you guys ever used "TOP"? As in... select top 10 * from some_table where some_column = 'some_value'; FWIW you have to do a similar thing in oracle. select * from table where rownum <= 5; <-- get 5 rows. to use a limit

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Michael A. Peters
Nitsan Bin-Nun wrote: I have just been wondering for the 20 zillion time why does people always stick together "20" and "zillion"? you can't just use "zillion times"? is that not enough for you? My server can handle 19 zillion multiple submits. ;) -- PHP General Mailing List (http://www.php.

Re: [PHP] A puzzler (well, for me at least)

2009-03-02 Thread Jochem Maas
Robert Cummings schreef: > On Thu, 2009-02-26 at 15:50 +0100, Ondrej Kulaty wrote: >> Your answer is neither relevant nor funny. :-| > > It was very relevant. You cannot easily ascertain the time at which a > particular line of script is processed. You especially cannot ascertain > the specific ti

Re: [PHP] retrieve multiple select

2009-03-02 Thread Shawn McKenzie
Michael A. Peters wrote: > PJ wrote: >> I'm sure this has been hashed over and over on the web, only I can't >> find anything that makes sense or the explanations given have been >> erroneous. >> This is what I am trying: >> >> Choose Categories... >> History >> Temples >>

Re: [PHP] retrieve multiple select

2009-03-02 Thread Shawn McKenzie
PJ wrote: > PJ wrote: >> I'm sure this has been hashed over and over on the web, only I can't >> find anything that makes sense or the explanations given have been >> erroneous. >> This is what I am trying: >> >> Choose Categories... >> History >> Temples >> Pharaohs an

Re: [PHP] Re: retrieve multiple select

2009-03-02 Thread PJ
Shawn McKenzie wrote: > PJ wrote: > >> I'm sure this has been hashed over and over on the web, only I can't >> find anything that makes sense or the explanations given have been >> erroneous. >> This is what I am trying: >> >> Choose Categories... >> History >> Temples >>

Re: [PHP] retrieve multiple select

2009-03-02 Thread Michael A. Peters
PJ wrote: I'm sure this has been hashed over and over on the web, only I can't find anything that makes sense or the explanations given have been erroneous. This is what I am trying: Choose Categories... History Temples Pharaohs and Queens Cleopatra Mu

[PHP] Re: retrieve multiple select

2009-03-02 Thread Shawn McKenzie
Shawn McKenzie wrote: > PJ wrote: >> I'm sure this has been hashed over and over on the web, only I can't >> find anything that makes sense or the explanations given have been >> erroneous. >> This is what I am trying: >> >> Choose Categories... >> History >> Temples >>

Re: [PHP] retrieve multiple select

2009-03-02 Thread PJ
PJ wrote: > I'm sure this has been hashed over and over on the web, only I can't > find anything that makes sense or the explanations given have been > erroneous. > This is what I am trying: > > Choose Categories... > History > Temples > Pharaohs and Queens > Cl

[PHP] Re: retrieve multiple select

2009-03-02 Thread Shawn McKenzie
PJ wrote: > I'm sure this has been hashed over and over on the web, only I can't > find anything that makes sense or the explanations given have been > erroneous. > This is what I am trying: > > Choose Categories... > History > Temples > Pharaohs and Queens > Cl

Re: [PHP] www.soongy.com

2009-03-02 Thread Michael A. Peters
Gevorg Harutyunyan wrote: Hi Michael, Thanks for info. I use shared hosting and reason that they don't allow that extension is that uploadprogress is still in beta. I tried both apc and uploadprogress on my local PC and solutions that they provide are very good for me. I will be happy to cha

[PHP] retrieve multiple select

2009-03-02 Thread PJ
I'm sure this has been hashed over and over on the web, only I can't find anything that makes sense or the explanations given have been erroneous. This is what I am trying: Choose Categories... History Temples Pharaohs and Queens Cleopatra Mummies f

Re: [PHP] www.soongy.com

2009-03-02 Thread Gevorg Harutyunyan
Hi Michael, Thanks for info. I use shared hosting and reason that they don't allow that extension is that uploadprogress is still in beta. I tried both apc and uploadprogress on my local PC and solutions that they provide are very good for me. I will be happy to change hosting provider and if you

Re: [PHP] Object Context Question in object->object->variable SOLVED

2009-03-02 Thread Sancar Saran
On Monday 02 March 2009 20:50:56 Sancar Saran wrote: > Hello list. > > I'm trying to implement someting on OO way. > > I got 2 classes > > class a { > var $config = array(); > var $b = ''; > > function __construct { >$this->b = new b($this->config); > } > > } > > class b { > var $conf

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Nitsan Bin-Nun
I have just been wondering for the 20 zillion time why does people always stick together "20" and "zillion"? you can't just use "zillion times"? is that not enough for you? On Mon, Mar 2, 2009 at 10:26 PM, Michael A. Peters wrote: > mike wrote: > >> On Mon, Mar 2, 2009 at 7:45 AM, Boyd, Todd M.

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Michael A. Peters
mike wrote: On Mon, Mar 2, 2009 at 7:45 AM, Boyd, Todd M. wrote: Gears will allow you to do a lot of things. So will site-proprietary Firefox extensions that go well outside the realm of basic client-server interaction via webpages. I was under the impression that Gears requires a local ins

Re: [PHP] www.soongy.com

2009-03-02 Thread mike
one thing to note is the php-apc upload progress won't scale past one server as far as i know. if you have multiple webservers you'll be stuck. you'd need some sort of ajax thing to actually check how many bytes the file has written to, for example. you also need to know how large the file is, w

[PHP] Re: [PHP-DB] How important is your Express or Web Edition database? Please weigh in--

2009-03-02 Thread Waynn Lue
Yeah, that's definitely true. I've just been bitten too many times by a design that ended up being not flexible enough. :) Waynn On 2/28/09, Ashley Sheridan wrote: > On Sat, 2009-02-28 at 16:08 -0800, Waynn Lue wrote: >> Plus, last time I checked, adding an enum required a full rebuild of >> the

Re: [PHP] www.soongy.com

2009-03-02 Thread Michael A. Peters
Gevorg Harutyunyan wrote: Hi guys I need to create file upload progress bar using PHP and AJAX. I found two Pecl extensions that support that may be used: "uploadprogress" and "php-apc". I asked my shared hosting provider to add that extensions, but my request was declined, because "uploadprogre

RE: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Boyd, Todd M.
> -Original Message- > From: mike [mailto:mike...@gmail.com] > Sent: Monday, March 02, 2009 12:59 PM > To: Boyd, Todd M. > Cc: PHP General list > Subject: Re: [PHP] upload progress (was www.soongy.com) > > On Mon, Mar 2, 2009 at 7:45 AM, Boyd, Todd M. wrote: > > > Gears will allow you to

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread mike
On Mon, Mar 2, 2009 at 7:45 AM, Boyd, Todd M. wrote: > Gears will allow you to do a lot of things. So will site-proprietary Firefox > extensions that go well outside the realm of basic client-server interaction > via webpages. I was under the impression that Gears requires a local > installati

[PHP] Object Context Question in object->object->variable

2009-03-02 Thread Sancar Saran
Hello list. I'm trying to implement someting on OO way. I got 2 classes class a { var $config = array(); var $b = ''; function __construct { $this->b = new b($this->config); } } class b { var $config = array(); function foo() { switch($this->config['bar']) { } } }

Re: [PHP] multiple categories

2009-03-02 Thread PJ
Andrew Ballard wrote: > On Mon, Mar 2, 2009 at 11:50 AM, PJ wrote: > >> I have a list of some 60 categories for a book database and am wondering >> what would be the best approach for inserting and selecting the data. >> My choices are to >> (1.)simply use one field in a books table and enter t

Re: [PHP] multiple categories

2009-03-02 Thread Andrew Ballard
On Mon, Mar 2, 2009 at 11:50 AM, PJ wrote: > I have a list of some 60 categories for a book database and am wondering > what would be the best approach for inserting and selecting the data. > My choices are to > (1.)simply use one field in a books table and enter the categories for > each book sep

[PHP] multiple categories

2009-03-02 Thread PJ
I have a list of some 60 categories for a book database and am wondering what would be the best approach for inserting and selecting the data. My choices are to (1.)simply use one field in a books table and enter the categories for each book separated by a comma (or whatever) as a text field and th

Re: [PHP] Just a test

2009-03-02 Thread PilotPig Sales Division
On Mon, Mar 2, 2009 at 11:14, Richard Heyes wrote: > > Nope. Email addresses. I think. Ah, yes, but remember --- you don't necessarily have to be subscribed to send an email to the list (as evidenced by this very email). -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.

Re: [PHP] Just a test

2009-03-02 Thread Richard Heyes
>    No, but coincidentally, the month that happens, your hosting goes > up to $46.2M US per month, and you're locked into a contract for a > minimum of three lifetimes.  Weird. Bummer. That makes it almost worth going back to 1and1. Almost. >    Are you using a dynamic signature, is that what yo

Re: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-03-02 Thread Andrew Ballard
On Mon, Mar 2, 2009 at 10:30 AM, Boyd, Todd M. wrote: >> -Original Message- >> From: Andrew Ballard [mailto:aball...@gmail.com] >> Sent: Saturday, February 28, 2009 12:05 AM >> To: a...@ashleysheridan.co.uk >> Cc: Boyd, Todd M.; PHP General list >> Subject: Re: [PHP] Re: How important is y

Re: [PHP] Re: New Horizon! scam

2009-03-02 Thread Ed Curtis
Alan Bell wrote: that would appear to be a scam of some sort, not sent by Alan Lord at all, he can spell electronic and generally speaks English. Alan. Alan Lord wrote: New Horizon! i would like to introduce a good company who trades mainly in electornic products. Now the company is under sa

RE: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Boyd, Todd M.
> -Original Message- > From: mike [mailto:mike...@gmail.com] > Sent: Monday, March 02, 2009 12:17 AM > To: Gevorg Harutyunyan > Cc: tedd; German Geek; php-general@lists.php.net > Subject: Re: [PHP] www.soongy.com > > I have a basic demo here. The code is not at it's best, you have to > hit

RE: [PHP] Re: How important is your Express or Web Editiondatabase? Please weigh in--

2009-03-02 Thread Boyd, Todd M.
> -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: Saturday, February 28, 2009 4:14 AM > To: Andrew Ballard > Cc: Boyd, Todd M.; PHP General list > Subject: Re: [PHP] Re: How important is your Express or Web > Editiondatabase? Please weigh in-- > > I abs

RE: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-03-02 Thread Boyd, Todd M.
> -Original Message- > From: Andrew Ballard [mailto:aball...@gmail.com] > Sent: Saturday, February 28, 2009 12:05 AM > To: a...@ashleysheridan.co.uk > Cc: Boyd, Todd M.; PHP General list > Subject: Re: [PHP] Re: How important is your Express or Web Edition > database? Please weigh in-- > >

[PHP] RE: New Horizon!

2009-03-02 Thread Alan Lord
Please ignore the previous "New Horizon" message. It is spam and looks like someone managed to hack into my hotmail account. If you wish to, please update your records and use a...@lordies.co.uk in future. Cheers Al _ Free photo

[PHP] Re: New Horizon! scam

2009-03-02 Thread Alan Bell
that would appear to be a scam of some sort, not sent by Alan Lord at all, he can spell electronic and generally speaks English. Alan. Alan Lord wrote: New Horizon! i would like to introduce a good company who trades mainly in electornic products. Now the company is under sales promotion,all

Re: [PHP] Get a list of column field names from a MS Access table

2009-03-02 Thread Andrew Ballard
On Sun, Mar 1, 2009 at 12:39 AM, Paul M Foster wrote: > On Sat, Feb 28, 2009 at 06:54:25PM -0500, Andrew Ballard wrote: > >> On Sat, Feb 28, 2009 at 6:08 PM, Paul M Foster >> wrote: >> > On Sat, Feb 28, 2009 at 12:41:12AM +, Ashley Sheridan wrote: >> > >> >> On Fri, 2009-02-27 at 16:58 -0500,

[PHP] New Horizon!

2009-03-02 Thread Alan Lord
New Horizon! i would like to introduce a good company who trades mainly in electornic products. Now the company is under sales promotion,all the products are sold nearly at its cost. They provide the best service to customers,they provide you with original products of good quality,and what i

Re: [PHP] Just a test

2009-03-02 Thread Daniel Brown
On Mon, Mar 2, 2009 at 09:17, Richard Heyes wrote: > > I see. You won't be wanting any of billion dollar empire when I make > it then. Ho hum. No, but coincidentally, the month that happens, your hosting goes up to $46.2M US per month, and you're locked into a contract for a minimum of three

Re: [PHP] Just a test

2009-03-02 Thread Richard Heyes
2009/3/2 Daniel Brown : > On Mon, Mar 2, 2009 at 05:55, Richard Heyes wrote: >> >> This is just a test to see who here still thinks I'm a dork. > >    I still do, Richy. I see. You won't be wanting any of billion dollar empire when I make it then. Ho hum. -- Richard Heyes HTML5 Canvas graphing

Re: [PHP] Just a test

2009-03-02 Thread Daniel Brown
On Mon, Mar 2, 2009 at 05:55, Richard Heyes wrote: > > This is just a test to see who here still thinks I'm a dork. > > -- > Richard Heyes > > HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: > http://www.rgraph.org (Updated February 28th) I still do, Richy. -- daniel.br...@par

Re: [PHP] Re: preg_match and dates

2009-03-02 Thread Michael A. Peters
Peter Ford wrote: Michael A. Peters wrote: I have absolutely no control over the source file. The source file is an xml file (er, sort of, it doesn't follow any particular DTD) and has a tag called VERBATIM_DATE in each record - looks to be required in their output as every record so far has it

Re: [PHP] preg_match and dates

2009-03-02 Thread Michael A. Peters
Per Jessen wrote: Michael A. Peters wrote: What I'm trying to do is write a preg matches for each case I come across - if it matches the preg, it then parses according to the pattern to get me an acceptable -MM-DD (not sure how I'll deal with the season case yet ... but I'm serious, that ki

[PHP] Just a test

2009-03-02 Thread Richard Heyes
-- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated February 28th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: preg_match and dates

2009-03-02 Thread Peter Ford
Michael A. Peters wrote: > I have absolutely no control over the source file. > > The source file is an xml file (er, sort of, it doesn't follow any > particular DTD) and has a tag called VERBATIM_DATE in each record - > looks to be required in their output as every record so far has it, but > w/o

Re: [PHP] preg_match and dates

2009-03-02 Thread Per Jessen
Michael A. Peters wrote: This is what I have so far - $pattern[] = "/^([0-9]{1,2})[\s-]([A-Z][a-z]*)[\s-]([0-9]{4,4})$/i"; $clean[] = "\\3-\\2-\\1"; $pattern[] = "/^([A-Z][a-z]*)[\s-]([0-9]{4,4})$/"; $clean[] = "\\2-\\1-01"; $foo = preg_replace($pattern, $clean, $verb_date); If I were yo

Re: [PHP] Re: Browser timeout

2009-03-02 Thread Dotan Cohen
2009/3/2 Rick Lim : > Try > set_time_limit (0); > While technically that would work, the user would likely cancel the request, or send it multiple times, in 40 seconds. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج

Re: [PHP] preg_match and dates

2009-03-02 Thread Per Jessen
Michael A. Peters wrote: > What I'm trying to do is write a preg matches for each case I come > across - if it matches the preg, it then parses according to the > pattern to get me an acceptable -MM-DD (not sure how I'll deal > with the season case yet ... but I'm serious, that kind of thing i

[PHP] preg_match and dates

2009-03-02 Thread Michael A. Peters
I have absolutely no control over the source file. The source file is an xml file (er, sort of, it doesn't follow any particular DTD) and has a tag called VERBATIM_DATE in each record - looks to be required in their output as every record so far has it, but w/o a DTD hard to know - time of day

RE: [PHP] Re: Browser timeout

2009-03-02 Thread Rick Lim
Try set_time_limit (0); -Original Message- From: Ondrej Kulaty [mailto:kopyto...@gmail.com] Sent: Sunday, March 01, 2009 11:19 PM To: php-general@lists.php.net Subject: [PHP] Re: Browser timeout 40 seconds is not very long execution time for timeout, if you have some loop in the scrip