Posts Tagged ‘Php’

Error: data.dircontent is undefined [***] plugins/Archiv/php/fileLoader.php?file=javascript 165 tinymce archiv

I really needed a file and image manager plugin for tinyMCE. As most of you know the official tinyMCE file manager isn’t free so after a few searches i ran over Archiv. Archiv is a very nice and free image manager. You can find the official website here.
The plugin is easy to integrate but a [...]

Leave a Comment

HowTo: test if suPHP works with your apache installation.

I wrote this small script to verify that my suPHP was infact working on the server.
Copy & paste this in to a file test.php on your server and run it on your favourite browser.
If the current script owner is the same as the user that php runs as, than suPHP works.
<?php
echo ‘Current script owner: ‘ [...]

Leave a Comment

HowTo: write circular text with php and gd

I had a project in which I had to generate an image based on a string. The problem was that the text had to be displayed circulary. After hours of internet searching I’ve came across http://www.phpgd.com and found this piece of code which did the job quite nicely.
<?php
$text = “Around and around around and around [...]

Leave a Comment

Web Brands