Re: [cfaussie] ColdFusion Hosting Solutions in AU

2012-01-23 Thread m...@ampersand.net.au
I only really host what I build, but the servers are in Brisbane (where I am). On 24/01/2012 2:08 PM, Kym Kovan wrote: On 24/01/2012 14:40, Dale Fraser wrote: I wonder how many Australian companies even still have their servers in

Re: [cfaussie] CFDOCUMENT rendering

2011-11-27 Thread m...@ampersand.net.au
I have used wkhtmltopdf to do this via cfexecute for at least a few years now. It uses the webkit rendering engine, so basically the HTML will end up like it would in safari/chrome. cfdocument just never worked as well for me. See

Re: [cfaussie] CFExecute

2011-05-30 Thread m...@ampersand.net.au
I usually do this. cfexecute name="C:\Windows\System32\cmd.exe" arguments="/c C:\ie.bat 21" variable="i"/cfexecute cfmail from="[me]" to="[me]" subject="[whatever I was doing]" server="[SMTP]"#i#/cfmail That way I get the output from the

[cfaussie] Web to PDF

2011-02-02 Thread m...@ampersand.net.au
Hi Guys. I am doing some research on sending web forms to print and thought some of you may have already done this. I have a client (early stages at the moment) who wants to be able to fill in a web form, upload a few images, and pump out a PDF at the end of the process. Normally I would

Re: [cfaussie] Web to PDF

2011-02-02 Thread m...@ampersand.net.au
Original Message- From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of m...@ampersand.net.au Sent: Wednesday, February 02, 2011 6:09 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Web to PDF Hi Guys. I am doing some research on sending web forms to print and tho

Re: [cfaussie] Web to PDF

2011-02-02 Thread m...@ampersand.net.au
DataB64 = binaryEncode(imageData,"Base64") cfpdfformparam name="imageFieldName" value="#imageDataB64#" regards Ryan On 3/02/2011 10:09 AM, m...@ampersand.net.au wrote: Hi Guys.

Re: [cfaussie] CF9 Administrator Schedule Tasks

2011-01-04 Thread m...@ampersand.net.au
I have code such as this in mine: cfif day(now()) EQ 1 AND hour(now()) EQ 0 AND minute(now()) EQ 0 !--- First of the month 00:00 --- cfif dayofweek(now()) EQ 1 AND hour(now()) EQ 1 AND minute(now()) EQ 0 !--- Sunday at 01:00 --- On

Re: [cfaussie] Re: Generating PDF from HTML

2010-10-07 Thread m...@ampersand.net.au
I always had problems in the past so I now use http://code.google.com/p/wkhtmltopdf/ It is a bummer as you have to write out the HTML page as an actual page somewhere to convert it, but I have found the results make it worthwhile. It will essentially look

Re: [cfaussie] Strange problem - Element RECORDCOUNT is undefined in query

2010-09-30 Thread m...@ampersand.net.au
What happens if you try CFDUMP instead right after the query? On 1/10/2010 9:35 AM, Scott Thornton wrote: Hi, Running across a odd problem in CF 9,0,0,251028. development server.

Re: [cfaussie] Japanese script in a PDF

2010-08-03 Thread m...@ampersand.net.au
You could try using http://code.google.com/p/wkhtmltopdf/ to generate the PDFs? On 3/08/2010 5:18 PM, AJ Dyka wrote: Hi, Periodically we need to store Japanese text in our application and we have just found an instance where the PDFs that are being

Re: [cfaussie] Odd date behaviour - CF9/SQLServer2005

2010-06-08 Thread m...@ampersand.net.au
Actually what happens if you replace the cfquery tags with cfoutput - just in case there is something odd going on before the insert even happens. On 8/06/2010 3:50 PM, Kym Kovan wrote: On 8/06/2010 15:16, Mike Kear wrote: @Dale, I've just done a complete 180degree on that. Yes i think

Re: [cfaussie] Re: Odd date behaviour - CF9/SQLServer2005

2010-06-08 Thread m...@ampersand.net.au
His problem was that when he takes that date and inserts it into SQL it goes in as 2010-06-10, but if the month was past the 12th then it goes in incorrectly, i.e. if he does 2010-12-30 he gets December 30 (correct), if he goes 2010-04-07 he gets July 4 (wrong). Personally, I still reckon

Re: [cfaussie] Re: Odd date behaviour - CF9/SQLServer2005

2010-06-08 Thread m...@ampersand.net.au
Is the code in the CFC doing anything obviously wrong (like formatting the date)? On 9/06/2010 11:38 AM, Gavin Baumanis wrote: Hi Mike I am NOT seeing your issue. Here is the code I am using; (I even changed the format slightly between the CFC and the CFM just to ensure it was dumping

Re: [cfaussie] Re: Odd date behaviour - CF9/SQLServer2005

2010-06-07 Thread m...@ampersand.net.au
Try this - http://blog.sqlauthority.com/2007/08/30/sql-server-2005-find-database-collation-using-t-sql-and-ssms/ - it has instructions for getting the collation value. What is it? On 8/06/2010 1:14 PM, Gavin Baumanis wrote: We had this error at RMIT and it took forever to work out what

Re: [cfaussie] Re: Odd date behaviour - CF9/SQLServer2005

2010-06-07 Thread m...@ampersand.net.au
, PHP, ASP, ASP.NET hosting from AUD$15/month On Tue, Jun 8, 2010 at 1:46 PM, m...@ampersand.net.au m...@ampersand.net.au wrote: I've been doing some more reading - slow day today - apparently the date format used can also depend on the user logged in to the database

Re: [cfaussie] Odd date behaviour - CF9/SQLServer2005

2010-06-07 Thread m...@ampersand.net.au
How about CF_SQL_TIMESTAMP instead? On 8/06/2010 3:16 PM, Mike Kear wrote: @Dale,  I've just done a complete 180degree on that.   Yes i think it is coldfusion that's doing it.  I did a few more inserts and looked at the debugging. The variable that the insert is being given is a date

Re: [cfaussie] Display XML on webpage

2010-06-06 Thread m...@ampersand.net.au
How about #replace(query.xml,"","lt;","all")# Dodgy I know but does it work? On 7/06/2010 2:29 PM, Scott Thornton wrote: Thanks, however: cfcontent variable="#query.xml#" returns: Attribute validation error for tag cfcontent. java.lang.String is not a supported variable type. The

Re: [cfaussie] Display XML on webpage

2010-06-06 Thread m...@ampersand.net.au
em... Ill also try the formatter posted http://alexgorbatchev.com/wiki/SyntaxHighlighter On 07/06/2010 at 2:37 pm, in message 4c0c7794.1070...@ampersand.net.au, "m...@ampersand.net.au" m...@ampersand.net.au wrote: How about #replace(que

Re: [cfaussie] cost of hosting, CF vs others (was JB-HI Moving to dotnet)

2010-06-01 Thread m...@ampersand.net.au
I find this sometimes too - but mostly with bigger clients who want to host in-house - they need to buy ColdFusion outright, install it, maintain it etc. and that is a bigger cost than just putting another Windows Server box together (or more likely just turning IIS on on a box they already

Re: [cfaussie] JB-HI Moving to dotnet

2010-05-24 Thread m...@ampersand.net.au
I suspect (hope?) they chose a developer based on a lot of factors, one of the least important being the technology used. I like to think they would factor in the track record of the company, the skill of the graphic designer, the information design and so on. Lots of things. I think arguing

Re: [cfaussie] Australian Payment Gateways - recommendations?

2010-05-23 Thread m...@ampersand.net.au
I usually go with eway - you just submit XML to it using cfhttp. Here's my code for doing a test (sorry for the length of this everyone else). !--- testing values --- cfif attributes.testgateway EQ true cfset variables.ewayCustomerID="87654321" cfset

[cfaussie] Re: cfthread - can I see if a thread is still running

2009-11-02 Thread m...@ampersand.net.au
. Barry. On Nov 2, 11:03am, Mark King m...@ampersand.net.au wrote: Hi. I am writing a simple backup process using some "set and forget" style threads. One thread makes ZIPs and the other thread sends them elsewhere via FTP. I currently have these running as scheduled