[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] MySQL question

2008-11-03 Thread Michael
I have a table that I select from as follows SELECT x,y,z FROM table WHERE id='$id' I want to break this into 2 tables where 'id' is the 'primary' field and is identical on both tables. How can I SELECT the same x,y,z now from the 2 tables using 1 SQL statement?

[phpug] MySQL question #2

2008-11-03 Thread Michael
Thank you to the people who posted solutions to the last question. :-) To expand on this, is it possible with MySQL to do the following- I have two tables, both with 'productid' as the primary field. I need retrieve a few fields from table 1, but I only need to know if a line exists and has a

[phpug] Re: MySQL question #2

2008-11-03 Thread Michael
it in to the result set? I am wondering if this will give optimised performance. Michael. --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to [EMAIL PROTECTED] -~--~~~~--~~--~--~---

[phpug] Another MySQL question

2008-11-03 Thread Michael
With MySQL is it possible to check if a row exists (that matches a certain criteria) without actually returning any data into the result array? Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email

[phpug] Re: MySQL question 3 (re-explained)

2008-11-03 Thread Michael
Uh, what's the question (I didn't read the other posts). If you want to know how to get the product id for the second query, it will just be the value of the result array with the key 'productid' (assuming you got an associative array from the first query). ie, SELECT count(*) FROM

[phpug] Re: MySQL 5.1 and InnoDB

2008-12-17 Thread Michael
to be complaining. I have made no changes to my.cnf whatsoever. It worked with 5.0.67, and now it (DBD::MySQL) doesn't work with 5.1.30. Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug

[phpug] Re: MySQL 5.1 and InnoDB

2008-12-17 Thread Michael
Admin, the available engines are: CSV, MRG_MYISAM, MEMORY and MyISAM Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug+unsubscr

[phpug] Re: MySQL 5.1 and InnoDB

2008-12-17 Thread Michael
On Thu, 18 Dec 2008 13:43:46 Michael wrote: On Thu, 18 Dec 2008 13:41:43 Dmitry Ruban wrote: Do you have anything suspicious in mysql.log after restarting the service? InnoDB may failed to start that's why it's not active. It's all query logging in /usr/local/var Could this log file

[phpug] Re: MySQL 5.1 and InnoDB

2008-12-17 Thread Michael
Unknown table engine 'InnoDB' at (eval 62) line 166, GEN12 line 18. And according to PHP My Admin, the available engines are: CSV, MRG_MYISAM, MEMORY and MyISAM Michael Did you compile MySQL from source? If so it appears that innodb is no longer compiled by default and you have

[phpug] Re: MySQL 5.1 and InnoDB

2008-12-17 Thread Michael
Unknown table engine 'InnoDB' at (eval 62) line 166, GEN12 line 18. And according to PHP My Admin, the available engines are: CSV, MRG_MYISAM, MEMORY and MyISAM Michael Did you compile MySQL from source? If so it appears that innodb is no longer compiled by default and you have

[phpug] Re: sms gateway

2008-12-18 Thread Michael
brand. (Multitech should also be good though I haven't tried their GSM gateway I am very happy with their fax modems) Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com

[phpug] Re: sms gateway

2008-12-18 Thread Michael
://www.hurl.ws/hfa Clickatell - Been there and I would never use this company again. Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug

[phpug] Re: sms gateway

2008-12-18 Thread Michael
On Fri, 19 Dec 2008 14:08:19 Harvey Kane wrote: I'm with Michael on this - I stopped using Clickatell for commercial projects because clients were whinging non-stop about messages not being delivered to the Telecom network. I switched clients to TNZ and haven't had a problem with delivery

[phpug] Small project offered

2008-12-25 Thread Michael
Could someone who wants to do a small project now contact me off list. Experience required: PHP (CLI), reading files, pattern matching, sanity checking, and writing lists to file. MySQL also required. Further work will be available for a good person. Michael 09 839 1000 extn 4

[phpug] fread() file size limit?

2009-01-01 Thread Michael
I am trying to read a 1.9Gb text file and fread() barfs. How can I fix this situation? I have already upped php.ini memory_limit to 2500Mb. Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug

[phpug] Re: fread() file size limit?

2009-01-01 Thread Michael
regards, Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug+unsubscr...@googlegroups.com -~--~~~~--~~--~--~---

[phpug] PHP script execution time

2009-01-01 Thread Michael
. Anyone know why? Is PHP not really the best language for multi text file content processing? Should I be using C/C++? Or is there something else I should be looking at? The system hardware is fine for the job - Core2 Duo 2GHz with 4Gb of RAM. Michael

[phpug] Re: fread() file size limit?

2009-01-02 Thread Michael
On Fri, 02 Jan 2009 11:01:20 Matthew White wrote: How are you using fread? Something like $contents = fread($handle, filesize($filename)); Yes, like that. Will read the whole thing into memory, which is not something you really want to do as previously noted Well, the system does have

[phpug] PHP and C++

2009-01-04 Thread Michael
). Maybe a dumb question but I needed to ask. Cheers, Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug+unsubscr...@googlegroups.com -~--~~~~--~~--~--~---

[phpug] Re: PHP and C++

2009-01-04 Thread Michael
in an array). The data set is between a few thousand records and over 1-million. Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug+unsubscr

[phpug] OT - Quick Linux question

2009-01-04 Thread Michael
Could anyone running a **Intel Core2 Duo** CPU do 'cat /proc/cpuinfo' at the command line and get back to me with the results please? Thanks, Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug

[phpug] Re: PHP and C++

2009-01-05 Thread Michael
Part 2 to the below - I have commented out the MIME type detection, and while it does speed the process up somewhat, it is still running too slow and still hits a massive slowdown after a few thousand files. (FYI each file is about 10-20kb of text). So there is something wrong and it isn't the

[phpug] Re: PHP and C++

2009-01-05 Thread Michael
regards, Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug+unsubscr...@googlegroups.com -~--~~~~--~~--~--~---

[phpug] Large text file handling

2009-01-06 Thread Michael
to allocate 2023554020 bytes) in /www/scan.php on line 124 Now the fix is probably pretty straight forward - does anyone have any idea please? Thanks in anticipation, Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug

[phpug] Re: Large text file handling

2009-01-06 Thread Michael
On Wed, 07 Jan 2009 15:41:44 Steve Boyd wrote: $fh = fopen('data.txt'); while ($line = fgets($fh)) { preg_match(...,$line); ... } fclose($fh); The issue is with this code, is while it reads the whole file, the array out put of preg_match_all is empty. (note that preg_match also returns

[phpug] foreach and arrays

2009-01-11 Thread Michael
Hello, How can I run a 'foreach' loop on an array and get *two* results per row? (The array is 2 column). Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe

[phpug] Re: if statements - part 2

2009-01-15 Thread Michael
with the assistance from yourself and others, thanks :-) Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug+unsubscr...@googlegroups.com -~--~~~~--~~--~--~---

[phpug] Re: if statements - part 2

2009-01-16 Thread Michael
. Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug+unsubscr...@googlegroups.com -~--~~~~--~~--~--~---

[phpug] web page suffixes

2009-01-17 Thread Michael
I need to establish what suffixes relate to web pages. This is my list- htm php php3 asp aspx html cfm xhtml xhtm Can anyone see any missing please? Cheers, Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send

[phpug] Re: sanity checking

2009-01-21 Thread Michael
On Thu, 22 Jan 2009 20:13:43 Bob M Brown wrote: preg_match('/^[a-z0-9]/',$string) That's what I needed. Thank you :-) --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To

[phpug] DBA's please - MySQL 5

2009-01-24 Thread Michael
) negating the need for order by rand() ? Then at the end of the process unlock it and update it with 'done' all in one go? I'm not joking when I say that this is process is capable of bringing a Core 2 Duo with 4Gb of RAM to a crawl I am running MySQL 5.1.30. Michael

[phpug] Re: DBA's please - MySQL 5

2009-01-25 Thread Michael
speeds things up. The limit at present is caused the the before mentioned DB issues. Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug

[phpug] Re: DBA's please - MySQL 5

2009-01-25 Thread Michael
On Mon, 26 Jan 2009 14:51:29 lenz wrote: you die with the updates/inserts in the DB as they lock the selects. to speed things up here consider the usage of indexes on all columns that you use after the where ... guess thats a start. consider using some other mechanism might be an idea as

[phpug] MyISAM to InnoDB

2009-01-25 Thread Michael
How do I change a table from one engine to another? I've tried using PHP My Admin, but it just sits there and minutes later, it's still waiting... Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email

[phpug] string handling

2009-01-26 Thread Michael
What I need to do is grab the TLD from a URL string- eg: www.networkstuff.co.nz - what I want returned is the 'nz' part. What is the best way to achieve this? Thanks in anticipation. Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com

[phpug] Re: DBA's please - MySQL 5 PROGRESS UPDATE

2009-01-27 Thread Michael
. PROCESS TASK (Time several seconds to a few minutes) 4. UPDATE job-list SET processing=done WHERE id=id --- Go back to start of loop --- If I can somehow stop other processes coming in between 1 and 2, I could remove the ORDER BY rand() part... Michael

[phpug] Re: [OT] AU Enterprise DNS Hosting Recommendations

2009-01-27 Thread Michael
On Wed, 28 Jan 2009 11:19:01 Dan Khan wrote: Hi, Anyone hosting a major enterprise in AU that can give me some pointers on a fault-tolerant DNS host? In that, I mean that if something goes wrong with their systems, they will have an incentive to get it sorted pretty quick (e.g. the largest

[phpug] Re: Salary

2009-02-09 Thread Michael
. Craig If that is any business figures, find a new business. Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug+unsubscr...@googlegroups.com -~--~~~~--~~--~--~---

[phpug] OT - naked DSL providers

2009-02-14 Thread Michael
Who offers naked DSL in NZ (apart from Slingshot and WxC who I have already viewed their plans) Anyone using it (full speed both ways) who can comment on it? Cheers, Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug

[phpug] Re: Wanted: Technical web business manager - recurring services

2009-02-16 Thread Michael
have noticed the common thread amongst employers who complain they have recruitment difficulties, is that they are invariably looking for someone who is a jack in, and master of all trades. Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http

[phpug] Re: Wanted: Technical web business manager - recurring services

2009-02-16 Thread Michael
to go through the indignity of sending off a CV with my life story just to read on the list that you (or anyone) really wanted to use a recruiter. Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email

[phpug] Naked DSL continued

2009-02-20 Thread Michael
Anyone here on Maxnet's naked DSL? What is it like? Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug+unsubscr...@googlegroups.com -~--~~~~--~~--~--~---

[phpug] Re: [OT] Clients that don't pay

2009-02-28 Thread Michael
Don't ever do this. Looks very bad. Just lodge a claim at your Disputes Tribunal. Which is a fairly straight forward process, but can be time consuming. +1 Given your rational and sensible advice above, I am at a loss as to why you offer the below- If non-paying clients become an issue,

[phpug] Re: [OT] Clients that don't pay

2009-02-28 Thread Michael
On Sat, 28 Feb 2009 20:48:50 Jochen Daum wrote: Hi, I've passed someone on to www.accountsenforcement.co.nz in November and he paid within 3 days from receiving their letter. It did cost $25 + 15% of the invoice. They collected interest - he did have to pay that, but I never asked anyone for

[phpug] Re: [OT] Clients that don't pay

2009-02-28 Thread Michael
to web development industry, if McDonald invoices people after they go home with the burger, it will have the same problem. It was a good example. Why? Because McDonalds can read what their customer is thinking, which is why they'll continue to be successful. Michael

[phpug] Re: [OT] Clients that don't pay

2009-02-28 Thread Michael
I also amended my payment terms to include some pretty harsh late payment penalties - e.g. 10% compounding per month. The invoices included the amount at the bottom, but also the extrapolated late amount if they pay in 60 days and another row for 90 days. For small amounts this can look

[phpug] Re: [OT] Clients that don't pay

2009-02-28 Thread Michael
worded. That should read acting on or arbitrating in. Of course we would listen The only basis an ISP will suspend a client's website is for breach of their AUP, non payment (to them) or copyright infringement eg: MP3's etc... Michael speaking for myself

[phpug] Re: [OT] Clients that don't pay

2009-02-28 Thread Michael
that what you are talking about has a similar characteristic and the area of law you would seek a remedy under is those dealing with non payment, once you have handed over the website. As such no 3rd party ISP will remove it (unless they have another substantial reason) without a court order. Michael

[phpug] Re: [OT] Clients that don't pay

2009-02-28 Thread Michael
. I would recommend trying to find out how other companies find them to deal with, get some references from them, do some back ground checking to ensure that you aren't stepping into a problem that many others have stepped into before you. Typically if they are bad payers they will

[phpug] Re: [OT] Clients that don't pay

2009-02-28 Thread Michael
On Sun, 01 Mar 2009 18:31:18 James McGlinn wrote: On 1/03/2009, at 6:07 PM, Michael wrote: If someone's business model is based on sales of several thousand dollars at a time, where their clients have 10-20x the 'normal' rate of business failure, is it any wonder they have a problem

[phpug] Re: [OT] Clients that don't pay

2009-03-02 Thread Michael
On Mon, 02 Mar 2009 20:47:43 Berend de Boer wrote: Michael == Michael mich...@networkstuff.co.nz writes: Michael The vast majority of people in the web development industry Michael are complicit in this problem by taking on jobs where they Michael KNOW the customer is going

[phpug] Re: [OT] Clients that don't pay

2009-03-02 Thread Michael
On Mon, 02 Mar 2009 21:15:27 Hamish Campbell wrote: Pedant. noun 1.a person who makes an excessive or inappropriate display of learning. 2.a person who overemphasizes rules or minor details. 3.a person who adheres rigidly to book knowledge without regard to common sense.

[phpug] Re: [OT] Clients that don't pay

2009-03-02 Thread Michael
On Mon, 02 Mar 2009 22:15:31 Kent Parker wrote: The sad reality IMHO is that few websites make money. Outside of Trade me most NZers prefer to buy their stuff at a bricks and mortar stopfront. Translation: Networkstuff.co.nz is not making any money, so Michael generalizes to include 'most

[phpug] Re: [OT] Clients that don't pay

2009-03-02 Thread Michael
Clients not paying invoice IS NOT unique to web development industry! It is a problem common to any industry where the good/service is delivered first before asking payment. Agreed in part. Nonwithstanding that these things are relative to how important a customer perceives a product/service

[phpug] Re: Cheapest SMS Provider

2009-03-05 Thread Michael
priced SMS - get a GSM cellular modem, a SIM card and do it yourself. Contact me off list if you are interested in this. Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com

[phpug] Re: Cheapest SMS Provider

2009-03-05 Thread Michael
On Fri, 06 Mar 2009 13:18:56 Nathan Kennedy wrote: Hey Michael, Who are the 'cheap' providers you speak of? Thanks, Nathan. I can't recall sorry. It's been awhile. I bought a couple of GSM cellular modems and that does what I want, though I only need 1 unit, so the other is for sale

[phpug] Re: Full time employee to fixed contractor

2009-04-15 Thread Michael
, and they get smart the next time around- 1. Long winded employment procedures -or- 2. Use of independent contractors Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com

[phpug] Re: Full time employee to fixed contractor

2009-04-15 Thread Michael
work - employees are bound by 'conflict of interest' and 'moonlighting' clauses. 2. A contract can be on sold at a later date as part of a business. A job can't be. 3. As a contractor, you set most of the terms of the agreement. If you are an employee, the employer sets the terms. Michael

[phpug] Re: Full time employee to fixed contractor

2009-04-16 Thread Michael
On Thu, 16 Apr 2009 19:38:53 Matt Thomson wrote: Not to mention that you will pay tax at the buisiness rate (30%) rather than the personal rate based on income (probably 33-39%). This what I thought, I went to see an accountant, who told me that although the business can pay a 30% rate,

[phpug] Re: Full time employee to fixed contractor

2009-04-16 Thread Michael
On Thu, 16 Apr 2009 22:20:33 Paul Bennett wrote: Almost every self employed person knows the answer to the above. Look in Rich Dad, Poor Dad. Which is a load of crap by the way: http://www.johntreed.com/Kiyosaki.html Kiyosaki is a crook and has been caught lying more than once. For a

[phpug] Re: Full time employee to fixed contractor

2009-04-16 Thread Michael
On Thu, 16 Apr 2009 22:45:20 Paul Bennett wrote: Fair comments Michael. Unfortunately I've seen people burnt by bad advice in books peddled by the likes of the author referenced and have learnt to always get a 2nd (or 3rd) opinion before taking too much of what they say as gospel. I've

[phpug] Piping to PHP

2009-04-18 Thread Michael
I wish to Pipe some emails from a Postfix MTA to a PHP script. I need to access the content of the email as a file handle (Like fopen) How is this coded in the PHP script? --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post,

[phpug] Array to string

2009-04-18 Thread Michael
scandir() creates an array of files within a directory. I don't want an array - I want a string like this: file1 file2 file3 etc... How would I convert the array from scandir() to a string? This should be very straight forward Cheers, Michael

[phpug] Loop without expression

2009-04-20 Thread Michael
I want to run a loop without using an expression. What is the best way to do this? Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug

[phpug] RFP - Web graphic designer wanted

2009-05-14 Thread Michael
/employer relationship is formed. Please contact me off list. Michael Hallager Net Trust Ltd --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug+unsubscr

[phpug] Re: RFP - Web graphic designer wanted

2009-05-14 Thread Michael
On Fri, 15 May 2009 02:05:56 Michael wrote: Web graphic designer wanted for a small job I have a website that I want to put live shortly. The guy who did the graphics work mostly did an all right job, except I want some improvements done to the top logo/navigation area. He is now

[phpug] Img alt tag accessibility

2009-05-15 Thread Michael
is supposed to go into 'alt', which is a W3C requirement? Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug+unsubscr...@googlegroups.com -~--~~~~--~~--~--~---

[phpug] Re: Img alt tag accessibility

2009-05-15 Thread Michael
the alt text say Bob fishing. Or just leave it blank if there's no useful or meaningful alternative. Thanks, but then what happens is I get this message: IMG ALT text should not contain placeholder text. when using an accessibility test at electrumsolutions.com Michael

[phpug] Re: Img alt tag accessibility

2009-05-15 Thread Michael
spacer images. Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug+unsubscr...@googlegroups.com -~--~~~~--~~--~--~---

[phpug] Re: Contracter Resumes

2009-05-15 Thread Michael
their business seriously... This manifests in many ways. selfpromo If someone needs a Systems Administrator who understands commercial sensibilities as well as the technical ones, give me a call. /selfpromo Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http

[phpug] Re: Contracter Resumes

2009-05-15 Thread Michael
On Sat, 16 May 2009 00:43:28 Harvey Kane wrote: I disagree completely. Someone who is only available via cellphone is indicating to their clients that their time is valuable - they don't want you to be calling them all the time or talking longer than is needed to get the appropriate

[phpug] Re: Contracter Resumes

2009-05-15 Thread Michael
. Customer wants work done Supplier wants AFV (Accepted for value), ie: money. simple. Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug+unsubscr

[phpug] Re: Contracter Resumes

2009-05-15 Thread Michael
have caused me to conclude that I prefer clients who aren't financially wasteful and often the ones that readily call me on my mobile are. Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug

[phpug] Re: Table to CSS

2009-05-16 Thread Michael
this without changing the attributes of the larger div? Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug+unsubscr...@googlegroups.com -~--~~~~--~~--~--~---

[phpug] headers and lists

2009-05-16 Thread Michael
Is it semantically correct to use header tags in a product links list, or menu, or is this a myth? I thought header tags were for page and section titles. Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send

[phpug] CSS float

2009-05-17 Thread Michael
Is there a way to make a DIV sit below a floated DIV? Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug+unsubscr...@googlegroups.com -~--~~~~--~~--~--~---

[phpug] IE7 whitespace

2009-05-20 Thread Michael
In IE7 I am getting a big block of white space (about 100px) on the r/h side between end of content and end of horizontal scroll. Nothing appears in here, not from any div. I have Googled it though the 'fixes' offered seem to relate to other bugs. Michael

[phpug] PHP Mime type

2009-05-27 Thread Michael
By default PHP outputs all text files as text/html regardless of Apache's filename suffix mime type mapping. Is there any way to over ride this behavior for .xml files for example? Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group

[phpug] OT - Vodafone Red Network feedback

2009-06-13 Thread Michael
the number they would still have to transfer the line back to Telecom and resell it as a Telecom network 'wholesale line'. In short I would strongly suggest that people avoid Red Network for any use other then strictly voice communications. Michael

[phpug] Re: OT - Vodafone Red Network feedback

2009-06-13 Thread Michael
On Sun, 14 Jun 2009 16:46:03 Brislen, Paul, VF-NZ wrote: Hi Michael, not entirely sure i'd agree with you on that. If you want to email me off list with your details i'll have someone loom into what's going on. I run a fax here at home on my red network connections nd have no trouble

[phpug] Re: OT - Vodafone Red Network feedback

2009-06-13 Thread Michael
On Sun, 14 Jun 2009 17:37:34 Brislen, Paul, VF-NZ wrote: Hi Michael, the red network refers to equipment Vodafone has installed on telecom's network (unbundling) not a wholesaling of telecom's service. Are you on the red network or are you on a wholesale connection? I have 2 lines

[phpug] Re: OT - Vodafone Red Network feedback

2009-06-15 Thread Michael
On Sun, 14 Jun 2009 18:50:27 Brislen, Paul, VF-NZ wrote: So, if you want me to take it further with the tech team, send me an email with your details and i'll chase it up. ^pure marketing spin, about as useful as their phone line to me^ I would have thought that if it were a priority I would

[phpug] Diagnosing Javascript

2009-06-15 Thread Michael
What would people recommend as the best Firefox plug in for diagnosing Javascript problems? Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email

[phpug] Re: Diagnosing Javascript

2009-06-15 Thread Michael
On Tue, 16 Jun 2009 12:35:32 Brett Taylor wrote: 2009/6/16 Michael ph...@nettrust.co.nz What would people recommend as the best Firefox plug in for diagnosing Javascript problems? http://www.getfirebug.com No discussion required, it's Firebug. I have had a look and I have already

[phpug] Re: Diagnosing Javascript

2009-06-15 Thread Michael
On Tue, 16 Jun 2009 15:18:20 Brett Taylor wrote: Does your php output validate? It sounds like you haven't closed a script tag somewhere. Or maybe you're using document.write? Do I need to have the image inside an 'a href' tags when calling the ajax via 'onclick'? Michael

[phpug] PHP + Ajax + cookies

2009-06-16 Thread Michael
I have a PHP script called by Ajax, and it sets a cookie. Problem is on subsequent loads it seems to not retrieve the cookie, so it sets a new one. Anyone come across this behavior? Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com

[phpug] Re: PHP + Ajax + cookies

2009-06-16 Thread Michael
On Tue, 16 Jun 2009 18:10:49 Michael wrote: I have a PHP script called by Ajax, and it sets a cookie. Problem is on subsequent loads it seems to not retrieve the cookie, so it sets a new one. Anyone come across this behavior? Michael Please disregard. I made an error while setting

[phpug] Re: [OT] DPS - Payment Express - ASB

2009-06-23 Thread Michael
holder details purposes, the word 'store' could be substituted by 'handle' or 'transmit', because as far as PCI-DSS is concerned, they are all the same. Michael --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email

[phpug] Re: PHP global variables

2009-06-26 Thread Michael
On Fri, 26 Jun 2009 20:28:18 Jochen Daum wrote: Hi, On Fri, Jun 26, 2009 at 8:13 PM, Michaelph...@nettrust.co.nz wrote: We all know that we can make a static variable in to a global, but how do I make a dynamic variable into a global? I am calling a function (b), from with a function

[phpug] Re: PHP global variables

2009-06-26 Thread Michael
On Fri, 26 Jun 2009 20:29:41 Neven MacEwan wrote: Michael use apc As in? --~--~-~--~~~---~--~~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug+unsubscr

[phpug] Re: [OT] legal: retain ownership of code until paid and open source licence

2009-07-26 Thread Michael
This claptrap is why I.T people are not widely trusted. If the product you supply is broken, fix it and stop making excuses or trying to wriggle out. I am sure if you went and bought a TV set from Noel Leeming, and it didn't work properly, you would not be in the mood to discuss service

[phpug] Re: [OT] legal: retain ownership of code until paid and open source licence

2009-07-26 Thread Michael
On Mon, 27 Jul 2009 11:46:01 Grant Paton-Simpson wrote: Hi Michael, As long as the purchaser is willing to pay more up-front then that sounds reasonable. With complex systems there is always an element of risk - the issue is who carries that risk. One arrangement might

[phpug] Re: [OT] legal: retain ownership of code until paid and open source licence

2009-07-26 Thread Michael
occasions instead of paying someone to do the work it's actually a bit insulting for you to say such a thing. Don't bite the hand that feeds you free support Michael. Do you have a point or would you rather this discussion is swept under the carpet in case any end customers see it and can relate

[phpug] Re: [OT] legal: retain ownership of code until paid and open source licence

2009-07-26 Thread Michael
On Mon, 27 Jul 2009 11:57:12 Hamish Campbell wrote: They are not interested in open source or any other geek lingo. But this group is. Which is fine though I doubt the customer is interested in it becoming their problem (ie: part of the agreement) and this is what I am obviously referring

[phpug] Re: [OT] legal: retain ownership of code until paid and open source licence

2009-07-26 Thread Michael
On Mon, 27 Jul 2009 12:48:31 Aaron Cooper wrote: Micheal, I don't think Jochen provided enough detail for you to give an opinion on the nature and reason for the work done, nor to give an analogy of a defuct TV. For all you know this was a feature request that the client doesn't think they

[phpug] Re: [OT] legal: retain ownership of code until paid and open source licence

2009-07-26 Thread Michael
On Mon, 27 Jul 2009 13:00:58 Hamish Campbell wrote: (goes even further OT): So... smart developers should not attempt complex projects because customers are unable to take on any of the associated risk since they're incapable of understanding the implications of their requirements?

[phpug] Re: avoiding design by committee?

2009-09-07 Thread Michael
On Tue, 08 Sep 2009 15:56:39 Paul Bennett wrote: I'm an employee, not a contractor. Meetings + politics - development == pain I am incredulous. Go to work, take the money and go home. If you want to 'do development' find another job. Then of course, when the project is finished you are out

[phpug] Re: avoiding design by committee?

2009-09-07 Thread Michael
On Tue, 08 Sep 2009 16:13:17 Paul Bennett wrote: I understand if my ethos collides with yours, or even perhaps with a perceptions of the public sector in general that may not be 100% correct. Well of course it collides. I am in the private sector where the focus is on getting the job done

[phpug] Re: PHP 5.3.0 error

2009-09-15 Thread Michael
On Wed, 16 Sep 2009 13:18:58 Cliff Black wrote: It's standard practice to define/check variables or array keys for existence before testing or calling them - in any language. The fact that PHP has 'let you away with it' by removing the NOTICE or WARNING error reports doesn't mean it's been

  1   2   3   >