RE: [PHP] Safari and PDF

2011-11-15 Thread Tamara Temple
On Tue, 15 Nov 2011 19:04:42 -0500, HallMarc Websites sent: On the face of it, if you are writing a PHP application for others to use, *forcing* a particular behaviour on them (on *their* own machine) is probably not a good idea. Why not let the user deal with this as they see fit? One can

Re: [PHP] Re: Sniping on the List

2011-11-15 Thread Tamara Temple
On Tue, 15 Nov 2011 21:40:59 -0600, Shawn McKenzie sent: On 11/14/2011 11:51 AM, George Langley wrote: Am concerned over the number of posts that appear to be from people... ... You're messing with the wrong guy! You forgot your punctus percontavius. ⸮ -- PHP General Mailing List (http://

[PHP] Re: Sniping on the List

2011-11-15 Thread Shawn McKenzie
On 11/14/2011 11:51 AM, George Langley wrote: > Am concerned over the number of posts that appear to be from people > trying to over-inflate their self-importance. If you are the world's > best coder, then help those of us who aren't. If you happen to know a > better way to do something that I'm st

RE: [PHP] Safari and PDF

2011-11-15 Thread HallMarc Websites
And in conclusion; sorry, I get uppity after a long day LOL. It's as I already thought; the answer is NO. So here is what I will do for any of you looking for an answer and stumbling across my slight rant, I will detect if it is Safari 5.1.x and then just remove the view link and leave them with

Re: [PHP] Think I found a PHP bug

2011-11-15 Thread Jim Lucas
On 11/15/2011 2:58 PM, Tim Streater wrote: > On 15 Nov 2011 at 22:34, Geoff Shang wrote: > >> The bug is that if a server's timezone is set to Europe/London and you >> don't set an explicit timezone in your script, if it's winter time in >> the UK, PHP thinks the timezone is UTC instead of Europ

RE: [PHP] Safari and PDF

2011-11-15 Thread HallMarc Websites
> On the face of it, if you are writing a PHP application for others to use, > *forcing* a particular behaviour on them (on *their* own machine) is > probably not a good idea. Why not let the user deal with this as they see fit? > One can go way too far trying to ensure a uniform experience among u

Re: [PHP] Safari and PDF

2011-11-15 Thread Tamara Temple
On Tue, 15 Nov 2011 22:36:58 +, Ashley Sheridan sent: On Tue, 2011-11-15 at 23:15 +0100, Matijn Woudt wrote: On Tue, Nov 15, 2011 at 11:08 PM, HallMarc Websites wrote: > I'm sure everyone here is aware that the latest Mac OS and Safari 5.1.x do not support opening PDFs in the browser w

Re: [PHP] Think I found a PHP bug

2011-11-15 Thread Tim Streater
On 15 Nov 2011 at 22:34, Geoff Shang wrote: > The bug is that if a server's timezone is set to Europe/London and you > don't set an explicit timezone in your script, if it's winter time in > the UK, PHP thinks the timezone is UTC instead of Europe/London. I find I need to do this: date_defau

Re: Re: [PHP] Safari and PDF

2011-11-15 Thread Tim Streater
On 15 Nov 2011 at 22:36, Ashley Sheridan wrote: > I always thought that opening a PDF inside the browser was a rubbish > idea anyway. I've uninstalled Adobe Reader from my work machine now and > the world is a happier place! Well I'd rather it displays in the browser initially, which it does bu

[PHP] Think I found a PHP bug

2011-11-15 Thread Geoff Shang
Hi, A couple of weeks ago, I discovered what I'm pretty sure is a PHP bug. In addition, I looked in the PHP changelog and I haven't seen any mention of a fix for it. I'm writing here because I was wondering if anyone else can confirm it and what to do about it. The bug is that if a server'

Re: [PHP] Safari and PDF

2011-11-15 Thread Ashley Sheridan
On Tue, 2011-11-15 at 23:15 +0100, Matijn Woudt wrote: > On Tue, Nov 15, 2011 at 11:08 PM, HallMarc Websites > wrote: > > I'm sure everyone here is aware that the latest Mac OS and Safari 5.1.x do > > not support opening PDFs in the browser window with Acrobat Reader plugin > > anymore. It is n

Re: [PHP] RSS Feed

2011-11-15 Thread Tamara Temple
On Tue, 15 Nov 2011 20:30:29 +, Christopher Lee sent: Hello All, I am interested in importing RSS Feed content into a MySQL database and displaying the aggregated content on a website. I am thinking of developing the website within a CMS type framework (i.e. Drupal). If anyone can

Re: [PHP] Safari and PDF

2011-11-15 Thread Matijn Woudt
On Tue, Nov 15, 2011 at 11:08 PM, HallMarc Websites wrote: > I'm sure everyone here is aware that the latest Mac OS and Safari 5.1.x do > not support opening PDFs in the browser window with Acrobat Reader plugin > anymore. It is now necessary to open them with Preview instead. My question > is

[PHP] Safari and PDF

2011-11-15 Thread HallMarc Websites
I'm sure everyone here is aware that the latest Mac OS and Safari 5.1.x do not support opening PDFs in the browser window with Acrobat Reader plugin anymore. It is now necessary to open them with Preview instead. My question is this, does anyone know if it is possible to force Safari to use Prev

RE: [PHP] RSS Feed

2011-11-15 Thread Christopher Lee
Hello Matijn, Thank you for the response and the link. I had not tried Google but, instead, reached out to the list first. Thought I would get people who have developed similar tools with success..:-) I will certainly reference the link and give this try. Best, Christopher -Original Mes

Re: [PHP] RSS Feed

2011-11-15 Thread Matijn Woudt
Hi, Have you tried google? I tried and top hit was this one: http://stackoverflow.com/questions/1501394/writing-an-rss-feed-to-mysql-using-php I guess that's all you need. Matijn On Tue, Nov 15, 2011 at 9:30 PM, Christopher Lee wrote: > Hello All, > > I am interested in importing RSS Feed cont

Re: [PHP] Sniping on the List

2011-11-15 Thread Govinda
> > You should have seen some of the lambasting that used to pass as > discourse back when this list had traffic. :] I have to (humbly) admit that I for one like it that this list has less traffic now because it gives the illusion that I am keeping up ;-) -Govinda -- PHP General Mail

[PHP] RSS Feed

2011-11-15 Thread Christopher Lee
Hello All, I am interested in importing RSS Feed content into a MySQL database and displaying the aggregated content on a website. I am thinking of developing the website within a CMS type framework (i.e. Drupal). If anyone can refer me to any resources in this area then that would be great. I

Re: [PHP] Sniping on the List

2011-11-15 Thread Eric Butera
On Mon, Nov 14, 2011 at 12:51 PM, George Langley wrote: >        Am concerned over the number of posts that appear to be from people > trying to over-inflate their self-importance. >        If you are the world's best coder, then help those of us who aren't. > If you happen to know a better way

RE: [PHP] Sniping on the List

2011-11-15 Thread Steven Staples
> -Original Message- > From: Tamara Temple [mailto:tamouse.li...@tamaratemple.com] > Sent: November 15, 2011 1:33 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Sniping on the List > > On Tue, 15 Nov 2011 12:24:17 -0600, tamouse mailing lists > sent: > > On Tue, Nov 15, 2011 at 1

Re: [PHP] Sniping on the List

2011-11-15 Thread Tamara Temple
On Tue, 15 Nov 2011 12:24:17 -0600, tamouse mailing lists sent: On Tue, Nov 15, 2011 at 12:12 PM, Tedd Sperling wrote: PS: I know it's not Friday, but this question came up in class yesterday and I thought maybe all of you might like to guess why null is Wednesday? Wait.. What?? $ p

Re: [PHP] Sniping on the List

2011-11-15 Thread tamouse mailing lists
On Tue, Nov 15, 2011 at 12:12 PM, Tedd Sperling wrote: > PS: I know it's not Friday, but this question came up in class yesterday and > I thought maybe all of you might like to guess why null is Wednesday? Wait.. What?? $ php -r 'echo date("l",NULL),"\n";' Wednesday Cos: $ php -r 'echo date("

Re: [PHP] Sniping on the List

2011-11-15 Thread Tedd Sperling
On Nov 14, 2011, at 12:51 PM, George Langley wrote: > Am concerned over the number of posts that appear to be from people > trying to over-inflate their self-importance. > If you are the world's best coder, then help those of us who aren't. If > you happen to know a better way to do

Re: [PHP] problem with sending AT command in php

2011-11-15 Thread Richard Quadling
On 15 November 2011 15:12, Mike Mackintosh wrote: > > > On Nov 15, 2011, at 8:25, Richard Quadling wrote: > >> On 15 November 2011 11:50, a dehqan wrote: >>> \n is for Linux >>> \r is for Windows >>> >>> On 11/14/11, Richard Quadling wrote: On 12 November 2011 20:02, a dehqan wrote: >

Re: [PHP] problem with sending AT command in php

2011-11-15 Thread Mike Mackintosh
On Nov 15, 2011, at 8:25, Richard Quadling wrote: > On 15 November 2011 11:50, a dehqan wrote: >> \n is for Linux >> \r is for Windows >> >> On 11/14/11, Richard Quadling wrote: >>> On 12 November 2011 20:02, a dehqan wrote: dio_write($handle, 'AT') & dio_write($handle, "AT") make fire

Re: [PHP] problem with sending AT command in php

2011-11-15 Thread Richard Quadling
On 15 November 2011 11:50, a dehqan wrote: > \n is for Linux > \r is for Windows > > On 11/14/11, Richard Quadling wrote: >> On 12 November 2011 20:02, a dehqan wrote: >>> dio_write($handle, 'AT') & dio_write($handle, "AT") make firefox times out >>> on Waiting for localhost ... . >>> But dio_wr

[PHP] Using SimpleXMLIterator with a Iterator Filter.

2011-11-15 Thread Richard Quadling
Hi. I can never seem to get the SPL right in my head. So, I hope someone can help. I have many XML streams that I can use SimpleXMLIterator on. Each streams is structured slightly differently. Some streams contain unused data and may or may not hold the data at the same level in the stream. I

Re: [PHP] problem with sending AT command in php

2011-11-15 Thread a dehqan
\n is for Linux \r is for Windows On 11/14/11, Richard Quadling wrote: > On 12 November 2011 20:02, a dehqan wrote: >> dio_write($handle, 'AT') & dio_write($handle, "AT") make firefox times out >> on Waiting for localhost ... . >> But dio_write($handle, "AT\n") makes it prints AT exactly the sam