May 112011
 

UPDATE (10/06/2011): I started an online version of the script, see new blog post.

For a while I’ve been checking out various programs for extracting and converting text messages from the iPhone SMS storage SQLite database. For some reason they seem to be either for purchase or not doing their job well.
When I found out that all they are doing is pretty much just some simple SQL query and putting the result into various output formats, I decided to quickly write this myself, while keeping it simple and open.

Continue reading »

Aug 032009
 

While I was trying to allow some tool’s PHP file to perform the HTTP command PUT, the tool’s manual said to put the following code in the httpd.conf Apache configuration file:

<Directory /foo/bar>
Script PUT /some.php
</Directory>

And so I did. But when I tried to reload Apache’s configuration (/etc/init.d/apache2 reload), Apache complained with the following message:

Invalid command ‘Script’, perhaps misspelled or defined by a module not included in the server configuration
failed!

Continue reading »

Jun 292009
 

I wrote this PHP script in order to include the latest tweets from my Twitter on my website. It retrieves the RSS feed, parses it and pastes a number of tweets (along with timestamp and link) to HTML.

[[ OLD:
Before I can / want to release it under some free software license, I would appreciate it if some of you PHP nerds could review the code. I am mainly concerned about security issues rather than formatting and coding style. Since I am no pro in PHP coding, I will probably have done some things quite clumsily.

So please point out security problems as well as other major issues. (For example, if anybody knows how to stop parsing after max items were dealt which, please let me know 🙂 ).
]]

[UPDATE 07/08/2009]
(HTTP) Links are now made clickable.
[/UPDATE]

[UPDATE 15/12/2009]
The script was released under the Creative Commons Attribution 3.0 Unported License today.
Download the PHP code at http://blog.haraldkraft.de/wp-content/uploads/2009/12/parsetwitter.php_.txt and feel free to reuse and tweak my script (along with mentioning my name as suggested in the license information in the code).
[/UPDATE]

Email me at blog {at} haraldkraft(.)de (or comment)

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.