O'Reilly Answers is a community site for sharing knowledge, asking questions, and providing answers that brings together our customers, authors, editors, conference speakers, and Foo (Friends of O'Reilly). More »
Do you want to change the "Submitted by..." line on your Drupal site? This excerpt from Byron, Berry, et al.'s Using Drupal will show you how by overriding Drupal's template.php.
Overriding a Tem...
If you need to plot some report data on-the-fly, then look no further than JPGraph. This excerpt from Peter MacIntyre's PHP: The Good Parts will introduce you to JPGraph and get you building pie cha...
We deal with date and time information all the time, but something as seemingly trivial as a date can get quite complicated very quickly. Luckily PHP has built-in classes to help with the heavy lift...
Creating a PDF with PHP can be relatively straightforward. However, knowing what library to use and how to deal with errors can help you cut back on the tedious work associated with generating a PDF...
Asked by DaveEveritt : 20 February 2010 - 02:41 AM
Answered by adfm : Mar 10 2010 12:05 PM
Deployment and maintenance can be a major time suck. It seems like you already have a good idea of what's out there, but are looking for a path to the next level. I would suggest finding a decent ... full answer >
Answered by paulbarry : Feb 19 2010 01:22 PM
My understanding is that HL7 v3.0 is XML-based, so you could start with a simple XML parser and see how you get on? Here is one for Python 3 that claims to be easy to use. It's as good a start a... full answer >
Automating the styling of a page can help keep things fresh (and hopefully keep users coming back). Some sites have a different look during the day and switch over to an evening look when the sun goes...
Asked by seaturtleftw : 21 January 2010 - 05:12 AM
Answered by Robin Nixon : Jan 21 2010 07:35 AM
At first glance I note that you are trying to move the uploaded file if 'subject', another posted variable, has been set. But that isn't a guarantee that the file was also uploaded. I thin... full answer >
Answered by todisht : Jan 19 2010 06:45 PM
I figured it out:
mysqldump -u [your_username] -p[your_password] [your_database] | gzip > [your_path/filename].gz
If you want to make the filename unique you can add the date to it like this:
my... full answer >