The no teletrack payday loan,check loan no payday teletrack,1000 loan no payday teletrackno faxing needed payday loan2 loan online paydayinstant no fax payday loanbank loan no payday statementno fax payday advance loan1 hour payday loancash advance payday loanfax payday loan,payday loan without fax,fax less payday loanadvance cash net payday usaloan online payday quickpayday loan in 1 hour,1 hour loan payday,1 hour payday loanameriloan loan paydayaafes payday loanonline payday loan servicepayday loan application,application loan paydaycash fast loan online paydayinstant approval payday loan,approval instant loan payday100 loan online paydayconsolidate debt loan payday,consolidate payday loan debtfast fax loan no paydayloan payday toronto,payday loan toronto,payday loan in torontocash fast loan paydaycash central loan paydaydefault loan paydayfree payday advance loan,free loan payday,interest free payday loaninternet payday loan law,internet loan payday,business internet loan payday startpayday loan in georgiafaxing loan no payday,faxing loan military no payday,500 faxing loan no paydayapproval guaranteed loan paydayemergency payday loanno faxing instant payday loancanadian loan online payday,canadian payday loanday loan payday same,day loan no payday same teletracklow fee payday loanfast loan payday,cash fast loan online payday search,approval fast loan paydaycash until payday loanamerica cash loan paydayadvance loan payday software? ?cashloan till paydaymilitary payday loanadvance america payday loanaafes loan paydayadvance cash loan payday softwareloan money payday treefaxless payday loanno fax payday cash advancecheap loan payday tillcompletely instant loan online payday,instant online payday loangeorgia in loan online payday,georgia loan payday team that I work in - University of Sussex Web Team - have just created large portions of the campus in Second Life. Well, when I say “the team” it was mainly down to our graduate intern who has done a fantastic job… So much so that it’s been reported in a local newspaper, on the radio, on a tv news broadcast (both morning and evening editions), and is also now on the BBC News 24 homepage as well as various other sites:
http://news.bbc.co.uk/1/hi/england/sussex/7290762.stm
If you get a chance, swing by the campus in Second Life. The SURL is: http://slurl.com/secondlife/University%20of%20Sussex/75/16/38
Anyway; congratulations to Tom (the intern) for such a great job and Beth (the previous intern) who assisted!
For those that don’t know by now, version 1.5 of the Zend Framework is now out in preview release. Congratulations to everyone who has had apart in getting out this release - from programmers to documentation writers to project managers!
There are a lot of very interesting updates and new features. Some notable ones are the inclusion of Zend_Form, Zend_Layout, OpenID and LDAP adapters for authentication, Technorati web service, as well has handy tweaks Zend_Db_Table such as being able to directly access the select object.
As it’s a preview release the code isn’t intended for production systems just yet, though I hope the time frame for getting it to stable release is short enough so that I can use it soon, but long enough to work out any major kinks.
Published at December 17, 2007
in General.
A few times I have been asked at work to decide on whether we should build an application or use something that’s out there already. Unfortunately, it’s never an easy choice for us… On the one hand something can be built that’s geared exactly to what is needed, but nothing else, and it’ll take time to plan, design and build it. Yet on the other hand you can have something that’s already been built so all the designing is not required, but it may have a lot of extra functionality that you have to rip out or things don’t work just as you want it to so will have to alter it anyway.
At this point I bet you’re thinking, “Andy is now going to give us the answer on what the best choice is, you just see…” Actually, no. No, I’m not. I can in all honestly say that I don’t know what the best course of action is. On one side I really favour creating the application myself because then I know exactly how it’ll work. But on the flip side of that, I’ll then have to do all the work and might not be able to put in all the features that are able to go in applications worked on by many people.
I suppose there is no clear winner here as it would probably depend on budget and deadlines, but I thought I’d open it up for debate anyway. Anyone want to comment?
Here's a small function that will allow you to force a file download.
PHP:
-
/**
-
* Force a file download via HTTP.
-
*
-
* File is required to be on the same server and accessible via a path.
-
* If the file cannot be found or some other error occurs then a
-
* '204 No content' header is sent.
-
*
-
* @param string $path Path and file name
-
* @param string $name Name of file when saved on user's computer,
-
* null for basename from path
-
* @param string $type Content type header info (e.g., 'application/vnd.ms-excel')
-
* @return void
-
* @access public
-
*/
-
/* public static */ function download($path, $name = null, $type = 'binary/octet-stream')
-
{
-
-
echo 'File download failure: HTTP headers have already been sent and cannot be changed.';
-
-
}
-
-
-
-
header('HTTP/1.0 204 No Content');
-
-
}
-
-
-
-
-
header('Expires: Mon, 20 May 1974 23:58:00 GMT');
-
header('Last-Modified: ' .
gmdate('D, d M Y H:i:s') .
' GMT');
-
header('Cache-Control: no-store, no-cache, must-revalidate');
-
header('Cache-Control: post-check=0, pre-check=0',
false);
-
header('Cache-Control: private');
-
-
header("Content-Transfer-Encoding: binary");
-
header("Content-type: {$type}");
-
header("Content-length: {$size}");
-
header("Content-disposition: attachment; filename=\"{$name}\"");
-
-
-
}
Very easy to use, too! Here are some examples of how you might call the function:
PHP:
-
download('./myfile.txt');
-
-
download(__FILE__, 'a file for you.php');
-
-
download
('/home/you/files/spreadsheet.xml',
'ssheet_' .
date('Ymd'),
'application/vnd.ms-excel');
Published at October 22, 2007
in General.
A couple days ago I bought Portal via Steam, and even though it's probably one of the shortest games I've played it is undoubtedly one of the best! The premise is pretty simple; solve puzzles by using the portals that you can shoot in to the floor, ceiling or wall and walk through (or in some cases, fall in to or be shot through!) But a simple concept doesn't mean it's a simplistic game. It's great to look at (considering it came from Half-Life 2 this is no surprise), has a fantastic sense of humor running through-out, and will sometimes mess with your head ("...OK, so I have to shoot this wall, to fall through that ceiling and.. woah! I can see me walking through the ceiling from down here!")
The only downside to this game is that it's very short - completed within a few hours easily. And that's only a negative because the game is so captivating that it really leaves you wanting more.
There is a hack to integrate the Portal gun in to Half-Life 2 game play that I am looking forward to trying out because it'll add a whole new dimension to the game play.
$20 well and truly spent well!
During the php|works conference in Atlanta this year I took the PHP5 Zend Certification, and I'm pleased to say that today I found out I had passed! So I am now pleased to say that I am a Zend Certified Engineer for both PHP4 and PHP5.
And just to prove it...

Here's a simply view helper for the Zend Framework that can be used to display image tags. It checks to see if the image file exists and if not then it'll use the data url scheme to output a very simple image that, ironically, says 'NO IMG' on it.
Please note, though, that I've only seen Firefox support this scheme, as wonderful as it is!
Continue reading 'Simple image view helper for Zend Framework'
Published at September 14, 2007
in works07.
Today is the second and final day of the conference, and here's what went down for me...
Continue reading 'php|works day 2'
Published at September 14, 2007
in works07.
As people going to the php|works sessions will tell you, there are a lot of good speakers here. Speakers that really know what they're talking about and have been involved in their subject for quite some time. You know; the kind of people that you as a developer really want to emulate. But I've noticed something that makes me really happy, and that is that the speakers are also attending other people's talks, listening and asking questions. It's nice to see because it shows that no matter how much the speakers know about their subject, there's always something new to learn and they're not so pretentious that they think they know it all.
Hope for us all yet, eh?
Lastest comments