circle.ch weblog by Urs Gehrig |
|
|
|
| Academic, Apache, Apple, Art, Best Of, Biotech, Civil Society, Content Management, Cooking, Copyright, Creative Commons, Crosspost, Culture, Database, Deutsch, DRM, Economy, Education, Event, Gadget, General, Geodata, Government, Health, Howto, Humor, Innovation, Intellectual Property, Java, Language, LaTeX, Law, Linux, Media, Moblog, Mozilla, Music, Office, Open Content, Open Source, P2P, PHP, Podcast, Politics, Privacy, Projects, Random Thought, Rant, Science, Search, Social Network, Software, Sport, Talks, Technology, Technology Transfer, Travelling, Weblog, Wiki, Wireless and Mobile, XML
|
|
01. June 2007
Liip is hiring - again, again, more and more As a small sidenote - if you get hired by Liip, just mention to them to send that iPod to Basel ;) [1] http://blog.liip.ch/archive/2007/05/23/liip-is-hiring-yet-again.html Comments (0) Permalink del.icio.us 02. March 2007
adfinis is hiring Zur Unterstützung unseres jungen Teams bei Neuprojekten und Wartung/Erweiterung von bestehenden Lösungen suchen wir per sofort eine/n PHP Entwickler/in mit Pensum nach Vereinbarung, ca. 80-100%.More details can be found on their blog [1]. [1] http://www.adfinis.com/node/177 Comments (0) Permalink del.icio.us 12. July 2006
zlyfe - Blogs, Bilder, Community et.al. zlyfe is the place where you can tell others about the most memorable, astonishing, or funniest moments in your life.Grundsätzlich kann man das und vieles mehr auch auf anderen Plattformen. zlyfe [1] pflegt aber einen besonderen Bezug zur Schweiz - sprich - die Technologie kommt aus Bern [2]. [1] http://www.zlyfe.net [2] http://www.adfinis.com/node/176 Comments (0) Permalink del.icio.us 01. September 2005
Open Office Dokument des Hanbuchs zu PHP und MySQL [1] http://circle.ch/wiki/?page=HandbuchPHP Comments (0) Permalink del.icio.us 30. August 2005
Freetag - a tagging and folksonomy system Freetag [1] is a module that implements a simple, fairly robust beginning of a tagging and folksonomy system. It works with PHP4 and MySQL 3.23 so far, and i imagine that if it gets popular, it should be easy to port to additional databases and/or languages.Maybe a way to build up its own tagging repository. Acutally I haven't tried, but according to the docs it is promising. As to feed the database, one could use his own tags or category names first. There are probably at least two ways to tag a blog post. Either tags selected by hand at the time of writing or as a self-tagging system (algorithm), that takes e.g. the content of a blog post, analyzes it and applys the tags to the post. Some more thoughts on tagging and retagging at overstated.net [2]. [1] http://getluky.net/freetag/ [2] http://overstated.net/04/10/09-migrating-to-delicious Comments (0) Permalink del.icio.us 29. August 2005
Get Tags with Yahoo! Term Extraction The Term Extraction service provides a list of significant words or phrases extracted from a larger content.It can be implemented by making use of the Yahoo! API [1]. One might then need to sort out the result set a bit and use them as "tags". Since this blog has no cache and the API only lets me have a limited number [2] of requests a day, I will not dive into it yet ;) For those using PHP, there is a so called yahoolib availabe. [1] http://developer.yahoo.net/search/content/V1/termExtraction.html [2] http://developer.yahoo.net/search/rate.html [3] http://sourceforge.net/projects/yahoolib Comments (0) Permalink del.icio.us 28. August 2005
Related posts on b2/cafelog ALTER TABLE b2posts ADD FULLTEXT post_related ( post_title, post_content )A typical SQL query looks like: SELECT ID, post_title, post_content,The you only need to handle the results and format it with a little bit of HTML. Thats it. Comments (0) Permalink del.icio.us
An unexpected T_PAAMAYIM_NEKUDOTAYIM [1] http://www.php.net/manual/en/keyword.paamayim-nekudotayim.php Comments (0) Permalink del.icio.us
TagCloud to analyze my blog I guess either with MySQL FULLTEXT search [2] or Bayesian classification [3] one could handle out something similar on his own blog. [1] http://www.tagcloud.com/User/index.php?TC_Cloud_ID=5920 [2] http://dev.mysql.com/doc/mysql/en/fulltext-search.html [3] http://www.xhtml.net/php/PHPNaiveBayesianFilter Comments (2) Permalink del.icio.us 03. August 2005
PHP Developers for blog.ch [1] http://blog.ch/blog/?p=148 Comments (0) Permalink del.icio.us 18. July 2005
Einführung in PHP [1] http://www.circle.ch/wiki/HandbuchPHP Comments (1) Permalink del.icio.us 08. June 2005
Not 1, 2, 3, 4, 5, 6, 7, 8, 9 but 10 years of PHP [1] http://blog.bitflux.ch/archive/2005/06/07/a-decade-of-php.html [2] http://groups.google.ch/groups?selm=3r7pgp%24aa1%40ionews.io.org Comments (0) Permalink del.icio.us 05. April 2005
Access to Desktop Search results DNKA is a search tool for remote computers. It acts as a web server by interacting as a layer between Google Desktop Search (GDS) and the user. It allows other users to search, view and download your files, emails, chats and web history.Basically it is wonderful; you get a full search access to the indexed content of a remote computer. IMHO this application should be filed under "As long as You know what You are doing.". I tried it out in an intranet and got full access to the root drive C:\. Then later on I found Baagle [2]. The principle is similar to the above but the tools are different. Baagle is a set of Perl scripts wrapped around the search engine Swish-e. Baagle provides a standalone webserver and an indexer. But compared to GDS it is up to you to configure and restrict the indexing to the data directories of your desire. If you like to figure out a similar solution with PHP have a look at the earlier mentioned nanoweb or nanoserv webserver built with PHP [3] and a Swish-e wrapper written in PHP [4]. Once decided to go for Swish-e (on Windows) you need a couple of tools to handle various file mime types, among others pdftotext, ps2ascii, antiword and one that I found today to convert Excel files to text, called xlhtml. Just search.ch for them ;) Well, now the only thing I could not find is a few lines of code to get a configurable search field to be integrated in the Windows task bar as we know it from GDS. Anyone up with a solution? [1] http://dnka.com [2] http://floatingsheep.com/baagle.html [3] http://nanoweb.si.kz [4] http://www.neokraft.net/articles/swish-e/ Comments (0) Permalink del.icio.us 23. March 2005
Multiuser Worpress evolved - http://blogs.linux.ie/xeer/2005/03/15/wpmu-snapshot-2/ - http://blogs.linux.ie/download/wpmu/ChangeLog-wpmu.txt - http://www.proyectoisla.com/planetawp/?cat=10 - http://incsub.org/blog/?p=266 Most coding seems to be done by donncha. Comments (0) Permalink del.icio.us 15. March 2005
Maguma Open Studio A PHP IDE that includes features for class browsing, ftp support, snippets, debugging and project management. The Open Source version of Maguma Studio.[1] http://sourceforge.net/projects/openstudio/ Comments (0) Permalink del.icio.us 10. February 2005
Bug #2415 - No UTF-8 decoding of header [1] http://pear.php.net/bugs/bug.php?id=2415 Comments (0) Permalink del.icio.us 27. January 2005
ffmpeg - The upcoming tool for video conversion Grabbing a frame out of a video is as simple as follows. It took me quite some time to figure out the appropriate options, since the web and the documentation did not yet satisfy my needs: $ ffmpeg -i test.3gp -f singlejpeg -img jpeg -y test.jpgI am sure this will boost video blogging enormously [4]. I first was heading for mplayer, but mplayer is IMHO kind of related to X and we do not really want X to be installed on a production server, do we? Finally, I would like to talk about animated GIF files and provide an example. As with a combination of Imagemagick and ffmpeg, it is a matter of two command lines evtl. one (I am not a pipe specialist ;). As shown below, ffmpeg generates a set of 10 images and Imagemagick converts them to an animated GIF: $ ffmpeg -i test.3gp -f image -img gif -t 1.0 test%03d.gifFeeback always welcome ;) [1] http://ffmpeg.sourceforge.net [2] http://www.circle.ch/wiki/MpegToJpeg [3] http://ffmpeg-php.sourceforge.net [4] http://www.circle.ch/wiki/3gpVideo Comments (6) Permalink del.icio.us 24. January 2005
s9y podcast plugin by Hannes [1] http://hannes.kaywa.com [2] http://s9y.lebureau.mediagonal.ch/archives/200501.html [3] http://blog.koehntopp.de/archives/649-Warum-podcasting-nervt.html Comments (0) Permalink del.icio.us 30. December 2004
JPEG image problem with PHP GD Imagemagick handles such problems in some - to me unknown - way and resizes the image properly, regardless of the problem pointed out. But there is currently only GD available and with that few lines of code I get a black resized thumbnail. The message pointed out above gets printed out when calling imagecreatefromjpeg(). A random thought was to rewrite a function from scratch in PHP that creates a valid image resource [1] in spite of the corrupt JPEG format. But as we have 23p.m. now, I am just too tired now ;) So I am stuck. A corrupt image can be found here [2]. [1] http://lxr.php.net/source/php-src/ext/gd/libgd/gd_jpeg.c#238 [2] http://circle.ch/blog/media/bild015.jpg Update: Problem-walk-around, as I got imagemagick support on the server ;) Comments (2) Permalink del.icio.us 14. December 2004
PECL Bit Torrent Comments (0) Permalink del.icio.us 03. December 2004
Standalone PHP script viewer for Win32 You blogged about my ScriptViewer (PHP without a dedicated web server) app many many moons ago, and I have updated it recently.Oh, I am a "moons away" blogger. So here we go [1]. [1] http://www.angorasoftware.com/scriptviewer.html Comments (0) Permalink del.icio.us 25. November 2004
Atom enabled Weblog in PHP This project is a school essay about dealing with atom format, HTTP request and XSL transformation.The code is available under the GPL license. Let's hope this will ignite some further implementations. Yoan also has a short presentation available [2]. [1] http://atom.dosimple.ch [2] http://atom.dosimple.ch/docs/pres/ Comments (0) Permalink del.icio.us 18. November 2004
Gmail photo album Goollery is a GMail based photo gallery. You can upload pictures from a website. The pictures will automatically be stored in your gmail accout.Via David Duret [2] [1] http://www.wirzm.ch/goollery/about/about.php [2] http://pilgrim.maleo.net/archives/2004/11/18/gmail-antispam-en-ligne/ Comments (0) Permalink del.icio.us 07. November 2004
PHP5 on OSX [1] http://www.entropy.ch/home/000012.html Comments (0) Permalink del.icio.us 05. November 2004
Bitflux is hiring [1] http://blog.bitflux.ch/archive/work-at-bitflux.html Comments (0) Permalink del.icio.us 20. October 2004
Cropping, rotating and resizing images in Wordpress [1] http://www.circle.ch/php/files/edit-images.phps [2] http://www.walterzorn.com/dragdrop/dragdrop_e.htm [3] http://php.amnuts.com/index.php?do=view&id=12 [4] http://www.circle.ch/blog/p1371.html Comments (0) Permalink del.icio.us 19. October 2004
Outlook to iCal export The outlook2ical utility is a VB macro that can be used to export a set of appointments from an Outlook Calendar to the iCal format. The end result is a *.ics file. My motivation for developing this macro is that I am not happy with the "Save As Web Page" option in Outlook. The main problem is that it saves all appointments associated with an Outlook calendar. I would like to only export appointments of a selected category or categories. I also wanted to be able to view the exported calendar using PHP-iCalendar, which has a far superior appearance when viewed on the web.[1] http://phpicalendar.sf.net [2] http://www2.et.byu.edu/~njones/share/outlook2ical/ [3] http://phpicalendar.net/forums/viewtopic.php?t=492 Update: Have a look at other tools: http://circle.ch/wiki/CalendarTools Comments (4) Permalink del.icio.us 18. October 2004
W3C link checker [1] http://validator.w3.org/checklink [2] http://www.phpkitchen.com/viewableCode/linkchecker.phps Comments (0) Permalink del.icio.us 17. October 2004
Rewrite of captcha-like feature [1] http://en.wikipedia.org/wiki/Captcha [2] http://pear.php.net/pepr/pepr-proposal-show.php?id=80 Comments (0) Permalink del.icio.us 12. September 2004
Gmail as a blog engine [1] http://ion.gluch.org.mx/files/Hacks/gallina/ Comments (2) Permalink del.icio.us 15. August 2004
Designing labels with SVG and convert them to PDF with PHP FPDF [http://fpdf.org ] is quite a nice library for creating PDFs, however, the thought of hardcoding up all the locations in PHP, for all the text on both applications horrified me.That is how we implemented our label printing system for LOTS 2004. Positioning a few lines of text and an image is easily done with FDPF for "design once, use many" labels. [1] http://blog.akbkhome.com/blog/archives/26_PHP_SVG_and_PDFs.html [2] http://www.sodipodi.com [3] http://www.circle.ch/blog/p1396.html Comments (0) Permalink del.icio.us 09. August 2004
Minimalistic CMS [1] http://editthispagephp.sourceforge.net [2] http://www.lifewithalacrity.com/2003/12/editthispagephp.html Comments (0) Permalink del.icio.us 30. July 2004
Fulltext search in PHP files on Windows [1] http://weblogtoolscollection.com/?p=464 Comments (0) Permalink del.icio.us 26. July 2004
PHP on Symbian? [1] http://groups.google.ch/groups?selm=b4g8vt%24jbq%241%40FreeBSD.csie.NCTU.edu.tw Comments (1) Permalink del.icio.us 07. July 2004
Livesearch - let's talk about usability [1] http://www.x1.com [2] http://blog.bitflux.ch/p1736.html Comments (0) Permalink del.icio.us 06. June 2004
Single-file PHP Auth class http://phpauth.sourceforge.net Comments (0) Permalink del.icio.us 02. June 2004
PEAR XML_FOAF package [1] http://my.opera.com/CloCkWeRX/journal/39 [2] http://www.circle.ch/blog/p909.html [3] http://pear.php.net/package/XML_FOAF/ Comments (0) Permalink del.icio.us 19. May 2004
PHP Layers Menu - dynamic menu trees [1] http://phplayersmenu.sourceforge.net Update: Just found another DHTML menu on sourceforge: http://xmenu-xlayer.sourceforge.net Comments (0) Permalink del.icio.us 10. May 2004
DB_Table - working differently with Tables and Forms What it does; it creates a defined table at first run if there is no such table yet in the database. Paul explains in small steps how you could build a guestbook with it. One of the nice parts of DB_Table is the ready-to-use QuickForm configuration. While defining a column for the table you give additional QuickForm information to that regarding that certain field. Building forms is therefore quite easy. ThanQ Paul for those contributions. [1] http://wiki.ciaweb.net/yawiki/index.php?area=DB_Table Comments (0) Permalink del.icio.us 27. March 2004
De- and encoding Base64, UUEncoding, XXEncoding and Yenc files with PHP [1] http://php-attcodec.sourceforge.net Comments (0) Permalink del.icio.us 24. March 2004
Apache2 with PHP5 CGI and PHP4 module on OS X As below, this is what you can type to get PHP 5.0.0 RC1:#:~/src/php-4.3.4 urs$ ./configure \ I have chose specific configuration paths for each version. As far as I can see, you need to give the path and the filename as well. Especially for the CGI version, you should specify the option --enable-force-cgi-redirect.#:~/src/php-5.0.0RC1 urs$ ./configure \ Now the tricky part was to get a working configuration for the virtual hosts. The idea behind is to have a PHP 4 module installed as default and a per-virtual-host-configuration for other versions of PHP; that might be PHP 5 or 3. So on port 86 php scripts will be processed by PHP 5.0.0 RC1. I collected various links and jotted down some eventually interesting information in the (Wiki/PHP5). Comments (2) Permalink del.icio.us 22. March 2004
Image cropping with PHP and Javascript ![]() The image above show the result of an implementation of one library together with some PHP image handling which was done by Andrew Collington [3]. It was very easy to implement it into my Wordpress Image Handler. [1] http://www.walterzorn.com/dragdrop/dragdrop_e.htm [2] http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm [3] http://www.zend.com/codex.php?id=1340&single=1 Comments (5) Permalink del.icio.us 21. March 2004
PHP5 CGI parallel to PHP4 module on Windows The downloaded PHP 5.0.0RC1 zip package has been unpacked to c:\php5. Then I renamed the php.ini-dist to php.ini and restarted Apache. [1] http://seric.cowiki.org/17.html Comments (0) Permalink del.icio.us 16. March 2004
Just no win-win situation if (stristr(PHP_OS, "WIN")) {This worked usually perfect for scripts moved between Windows and Linux based systems. But one has to be more precise for scripts to run additionally on OS X. Since OS X comes with a PHP_OS string consisting of "Darwin". If you are wondering, why your scripts do not work on Mac try this: if (stristr(PHP_OS, "Windows")) { Comments (0) Permalink del.icio.us
A Wiki Blog joint-venture by Elke [1] http://purplegreen.abstrakt.ch/blog/archives/000214.html [2] http://engelwiki.var.cc [3] http://wiki.ciaweb.net/view.php?wiki=Text_Wiki Comments (1) Permalink del.icio.us 14. March 2004
Image Handler for Wordpress ![]() [1] http://www.circle.ch/php/files/edit-images.php.html [2] http://www.wordpress.org Comments (0) Permalink del.icio.us 11. March 2004
How to walk back N directories - /home/project/user/www/ (web root folder ) - /home/project/user/www/images (folder for images ) - /home/project/user/www/include/dummy/script.php (script to handle images ) The problem was, that the function to scan the images folder (tree) in script.php did not handle absolute path properly (access rights?). So I was looking for a solution to give the relative path from the working directory of script.php back to the absolute path. The following few lines in PHP did it quite well: $p1 = substr_count(realpath(ABSPATH), DIRECTORY_SEPARATOR);A possible result would be "../../images", while $image_base_dir is set to "images". Eventually I missed a simple function this topic easier, if so, let me know ;-) Comments (0) Permalink del.icio.us 06. March 2004
HTMLarea with enhanced Image Handler The Image Handler allows to upload and treat images such as rotating, resizing etc. It runs as well under Mozilla as IE. A modified version is available for Coldfusion [2]. [1] http://www.zhuo.org/htmlarea/?view=flat [2] http://huizen.ddsw.nl/bewoners/slopera/projects/projects.htm Comments (0) Permalink del.icio.us 04. March 2004
Japha - expandable implementation of Java in PHP [1] http://japha.xzon.net Comments (2) Permalink del.icio.us
foresite PRS - a GPL Project Reporting System mojito:~/foresitePRS urs$ chmod 0777 config/prs.iniYou will be pointed to an installation routine. The installation process indicated that the init.sql could not be found. If this is the case just upload the init.sql from the config/ folder with e.g. phpMyAdmin. Nice work of the foresite Programmers. [1] http://foresite.ch/Download.html Comments (1) Permalink del.icio.us 27. February 2004
[RT] Handling SQLite remote files with PHP Just the other day I checked in some code into the CVS of sourceforge. The code is not much more than a hack for now. Anyway. To come to the point of this post: SF does not yet support the sqlite extension. So the title here suggests that there could/should be a way to handle sqlite remote database files. PHP does allow to handle remote files but IMHO the sqlite extension does not. If this is secure or not is to discuss afterwards. PHP5 will generally offer sqlite support. Nevertheless I ask myself if there are any applications that would make sense to have sqlite databases handled remotely. Maybe for portable devices such as mobile phones or handhelds, if they ever offer PHP support (some actually _do_ offer already Python [3]). Since they offer limited storage space, it could be a solution. Contradictions, comments? [1] http://codeconsult.ch/bertrand/ [2] http://sourceforge.net/projects/wikita [3] http://www.mobilewhack.com/programming/python/python_on_nokia_screenshots.html Comments (1) Permalink del.icio.us 26. February 2004
Sleepycat DB XML 1.2.1 with PHP API Sleepycat Software is pleased to announce the release of Berkeley DB XML [1] http://www.merrells.com/john/dbxml/archives/cat_release_history.html#000229 Comments (0) Permalink del.icio.us Fatal error: Maximum execution time of 120 seconds exceeded in /home/circle.ch/htdocs/blog/b2comments.php on line 184 | |