[phpug] OT - JSP/Java enabled web server?

2008-10-07 Thread Michael
Hello. A piece software I am considering deploying requires a server that is "JSP/Java enabled". Can standard Apache 2.2.9 support this, be made to support this, or is a different incarnation of Apache required? Michael --~--~-~--~~~---~--~~ NZ PHP Users Group

[phpug] Re: Comet vs Ajax

2008-10-07 Thread Sid Bachtiar
Well, Facebook and Google have been bringing web based chat back ... in Facebook case ... comet style :) On Tue, Oct 7, 2008 at 7:17 PM, anru chen <[EMAIL PROTECTED]> wrote: > > no point to make your own chat server, unless your do it for fun. > just buy one and implement a front end. > > check t

[phpug] Re: OT - JSP/Java enabled web server?

2008-10-07 Thread Jevon Wright
I don't think you can get Apache to run JSP pages, but you can use Apache Tomcat to serve JSP pages, and configure Apache to route JSP requests through to Tomcat. They're pretty much two separate beasts. Jevon On Tue, Oct 7, 2008 at 8:04 PM, Michael <[EMAIL PROTECTED]> wrote: > > Hello. > > A pi

[phpug] Re: Comet vs Ajax

2008-10-07 Thread lenz
just to prevent you from writing the one million iteration of the chat system again ... there are quite some solutions out there that work already. use a jabber server (ejabberd) and take one of the web frontends that are floating around and integrate it into your system. this gives you the advanta

[phpug] Re: PHP Profiling

2008-10-07 Thread kaller
OMG I must not act like Russel Crowe. I must not act like Russel Crowe. I must not act like Russel Crowe. Read that as Mbit. Actually you can be throttled back to Kb/s by the hoster Principle still applies. ;) On Tue, 7 Oct 2008 17:04:04 +1300, Philip Arndt <[EMAIL PROTECTED]> wrote: > > Oh my

[phpug] OT - Javascript's Rushed Birth + problematic history of CSS

2008-10-07 Thread Grant Paton-Simpson
Hi, A couple of interesting snippets from an interesting interview (http://www.sitepoint.com/article/interview-doug-crockford/): Javascript's rushed birth: Kevin Yank: [It’s] continually surprising to me just how capable a language it is, given where it came from. I mean, one day in the 1990s

[phpug] Re: OT - Javascript's Rushed Birth + problematic history of CSS

2008-10-07 Thread kaller
Agreed, languages used in web development should come with a government health warning. Ever noticed that Opera seems to understand CSS better than most browsers? Could be related to the fact that their tech lead was one of the CSS originators. SQL is even worse, it was created as an IBM proof-o

[phpug] Re: Comet vs Ajax

2008-10-07 Thread Sid Bachtiar
Thanks for the info lenz. The chat system is up and running. It is only for members of a small website, so it is very very simple. At the moment running Ajax polling. I definitely will look at using ejabberd http bindings (may be if the website is getting more members). On Wed, Oct 8, 2008 at 8:4

[phpug] [OT] any recommendation for a crash course in SEO

2008-10-07 Thread Matthew Whiting
Kia ora, I need to do some quick learning on search engine optimisation and wondering if anyone could recommend where to start e.g. useful books, articles or main points from your own experience? Cheers Matt --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups

[phpug] [OT] How are you going to set up IE6/7/8?

2008-10-07 Thread matt_thomson
I used to use multiple IE's for 6/7, until I launched a site that I had only tested in the multiple IE-IE6. It turned out the site was fine in multiple IE, and broken in the real IE6, and I only found out after customer complaints. So then I used two hard drive partitions, with two XP's, which wa

[phpug] Re: [OT] any recommendation for a crash course in SEO

2008-10-07 Thread Nicolaas Thiemen Francken - Sunny Side Up
Hey Matt This is how I see it: Create original content (no repeats) drizzled in keywords that you would like to focus on (e.g. put them, in alts, titles, headings, URLs, paragraphs, links, etc...) and you can't go wrong. Next, make sure that your code validates (w3.org). Once you have done this,

[phpug] Re: [OT] How are you going to set up IE6/7/8?

2008-10-07 Thread Paul Bennett
I've heard of people having a lot of luck with VMWare / virtualisation. That may be a better way to go than multiple machines ;) Paul --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com T

[phpug] Re: [OT] How are you going to set up IE6/7/8?

2008-10-07 Thread Dalibor Andzakovic
VMWare server. Image for each browser/os combo. dali From: nzphpug@googlegroups.com [EMAIL PROTECTED] On Behalf Of matt_thomson [EMAIL PROTECTED] Sent: Wednesday, 8 October 2008 11:18 a.m. To: NZ PHP Users Group Subject: [phpug] [OT] How are you going t

[phpug] Re: [OT] How are you going to set up IE6/7/8?

2008-10-07 Thread Craig Boxall
We use virtualisation here at Pixel Fusion. Some of us are using VMWare, others Parallels. I've just blown my virtual disks away but I'll be doing the following VMs: XP with IE6, FF2 XP with IE7, FF3, Chrome Vista with IE7 Vista with IE8 Ive only decided this because recently we did some testi

[phpug] Re: [OT] How are you going to set up IE6/7/8?

2008-10-07 Thread Dave Lane
I just use KVM or Virtual Box (both free and open source) on Linux with a single install of Windows XP replicated with IE6 on one, and IE7 on the other. VMWare is ok too, but harder to maintain on Linux. I will be thrilled when the day comes that we can safely ignore the poor sods who still thin

[phpug] Re: [OT] How are you going to set up IE6/7/8?

2008-10-07 Thread Chris Hope
I stopped using multi IEs some time back because it doesn't actually render correctly, as you have discovered yourself. I personally have several VMWare Virtual Machines running Windows XP with a different version of Internet Explorer running in each. That's pretty much all I have installed in each

[phpug] Re: OT - Javascript's Rushed Birth + problematic history of CSS

2008-10-07 Thread Hamish Campbell
But would the web be what it is if it wasn't so badly organised? On Oct 8, 10:11 am, <[EMAIL PROTECTED]> wrote: > Agreed, languages used in web development should come with a government > health warning. > Ever noticed that Opera seems to understand CSS better than most browsers? > Could be relat

[phpug] Re: [OT] How are you going to set up IE6/7/8?

2008-10-07 Thread Rob
IE Tester works fine for me http://www.my-debugbar.com/wiki/IETester/HomePage windows only thou On Wed, Oct 8, 2008 at 11:35 AM, Dave Lane <[EMAIL PROTECTED]> wrote: > > I just use KVM or Virtual Box (both free and open source) on Linux with > a single install of Windows XP replicated with IE6

[phpug] Re: [OT] How are you going to set up IE6/7/8?

2008-10-07 Thread matt_thomson
How much does running virtual machines slow down a pc, I have a 2Gig athlon with 1 gig of Ram, will I have to upgrade? Also, does anyone know microsofts reasoning for IE6 not prompting users to upgrade. I used Windows Media Player 10 for about a year, because I don't like v11, and every week or 2

[phpug] [Technically OT] - ...order by $PostedDate DESC issue...

2008-10-07 Thread Karl
Gidday gurus... Yes, technically this is a MySQL problem, but I figure this is my closest source of an answer, so I beg your indulgence and assistance... While overhauling an old site, I noticed that they had been sorting the results of an SQL query by $PostedDate, which was in the

[phpug] Re: [Technically OT] - ...order by $PostedDate DESC issue...

2008-10-07 Thread Jochen Daum
Hi, I would - add a column of date or datetime - write a conversion script (or strtotime may eat it) - drop the existing column. Done. Kind Regards, Jochen automatem . software solutionsEMAIL WEB PHONE MOBILE [EMAIL PROTECTED] <[EMAIL PROTECTED]> WWW.AUTOMATEM.CO.NZ

[phpug] Re: - ...order by $PostedDate DESC issue...

2008-10-07 Thread ctx2002
translate dd-mm-yy to unixtime stamp, then order by that unixtime stamp. you can do it within one SQL statement. regards, anru On Oct 8, 2:04 pm, "Karl" <[EMAIL PROTECTED]> wrote: >     Gidday gurus... > >     Yes, technically this is a MySQL problem, but I figure this is my closest > source o

[phpug] Re: - ...order by $PostedDate DESC issue...

2008-10-07 Thread Karl
Thanks Anru... an interesting sounding solution... How does one go about translating strings within an SQL statement please? (Unashamed QueryN00b) Cheers... *** REPLY SEPARATOR *** On 7/10/2008 at 6:09 p.m. ctx2002 wrote: >translate dd-mm-yy to un

[phpug] RE: CodeScan PHP Trial and Developer Download Version Available NOW

2008-10-07 Thread Chip Dawson
Jochen and James We appreciate that you have posted Peter Benson's presentation from the other night on the PHP User Group site, highlighting the urgency and importance of implementing Security investigation strategy at the PHP source level. Can you and James please notify the group of our Eval

[phpug] Re: [OT] How are you going to set up IE6/7/8?

2008-10-07 Thread Katie Graham
A couple of days ago I started using Virtual PC - seems to be working fine so far. On Wed, Oct 8, 2008 at 11:18 AM, matt_thomson <[EMAIL PROTECTED]> wrote: > > I used to use multiple IE's for 6/7, until I launched a site that I > had only tested in the multiple IE-IE6. It turned out the site was

[phpug] Re: - ...order by $PostedDate DESC issue...

2008-10-07 Thread ctx2002
mysql has STR_TO_DATE function, check out http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_str-to-date, then use UNIX_TIMESTAMP(), select SELECT UNIX_TIMESTAMP( STR_TO_DATE(dateStr, '%m/%d/%Y')) as myDate order by myDate. regards On Oct 8, 2:35 pm, "Karl" <[EMAIL P

[phpug] NZ Bandwidth costs

2008-10-07 Thread Skimmer
Hi Group, I am doing some research into NZ bandwidth charges by website hosts and comparing them to overseas. Hopefully the results will put pressure on your own hosts to re-evaluate their charges. Could you please if you have the time, let me know what company your website(s) is hosted with and

[phpug] Re: - ...order by $PostedDate DESC issue...

2008-10-07 Thread chris burgess
MySQL won't be able to guess whether dates like 1-04-06 are 2001-06-04 or 2004-06-01 or ... This is pretty ugly, but to interpret that I believe you'll need to give MySQL a hand by telling it which bits go where. Something like, SELECT CONCAT('20',RIGHT(datestr,2),'-',LEFT(RIGHT(datestr,5),2),'-'

[phpug] Re: NZ Bandwidth costs

2008-10-07 Thread Jochen Daum
Hi, is this local or international bandwidth. Costs are quite different. In fact, some ISPs will tell you an amount of included national charges, which they won't even charge you for, if they don't get charged themselves. As far as I understand, NZ ISP still transfer traffic between each other wit

[phpug] Re: OT - JSP/Java enabled web server?

2008-10-07 Thread lasc
Jboss , Tomcat or Geronimo On Oct 7, 8:04 pm, Michael <[EMAIL PROTECTED]> wrote: > Hello. > > A piece software I am considering deploying requires a server that > is "JSP/Java enabled". > > Can standard Apache 2.2.9 support this, be made to support this, or is a > different incarnation of Apache

[phpug] Re: OT - JSP/Java enabled web server?

2008-10-07 Thread lasc
and you can still use Apache for fronted(but for what if nginx exist) On Oct 8, 3:50 pm, lasc <[EMAIL PROTECTED]> wrote: > Jboss , Tomcat or Geronimo > > On Oct 7, 8:04 pm, Michael <[EMAIL PROTECTED]> wrote: > > > Hello. > > > A piece software I am considering deploying requires a server that > >

[phpug] Re: NZ Bandwidth costs

2008-10-07 Thread Jochen Daum
Hi, ok, my stats: Company WebDrive Dedicated server National: Free $150GB International: 10Gb free, then $6.50 per GB ex GST Kind Regards, Jochen automatem . software solutionsEMAIL WEB PHONE MOBILE [EMAIL PROTECTED] <[EMAIL PROTECTED]> WWW.AUTOMATEM.CO.NZ

[phpug] Re: NZ Bandwidth costs

2008-10-07 Thread Gareth Pearce
Good question I'm really only after total inbound bandwith only, which I'm assuming is a total of domestic and international unless the company splits this out and shows as two seperate items then I'll take both figures. Gareth Pearce. On Oct 8, 3:47 pm, "Jochen Daum" <[EMAIL PROTECTED]> wr

[phpug] Re: - ...order by $PostedDate DESC issue...

2008-10-07 Thread Karl
Thanks Chris... you explained the crux of the problem quite well... and thanks Anru for your pointers... In the end, after 3 extra-strength panadol and a large glass of Lift+, I decided to go with Jochen's idea... which should, I hope, also allow for a much more coherent database to br