The Road to Elysium

October 16, 2008

code-fu and sps released

Filed under: Linux — jorge @ 08:37

My previous post was about me working on two projects – the Simple Password Storage-script, and code-fu, an open source pastebin. I’m happy to announce that both are now released, version 0.0.1. Head to the Atlantis Crew-pages to download both. To see and test code-fu, head to http://cf.ulver.no.

6 Comments »

  1. I’m quite happy with code-fu, but I’m having a smll problem.

    Every time I write “it’s” it will be displayed as: it\’s

    Any idea of why this is happening?

    Comment by Tiago Faria — October 18, 2008 @ 03:07

  2. Not right away, no. =/ I’ll attempt to reproduce the error during the day. :) What language did you choose before pressing submit?

    Comment by jorge — October 18, 2008 @ 09:07

  3. I think I might’ve found out something. Do you have magic quotes enabled on the webserver code-fu is running on?

    [jorge@sinnataggen paste]$ cat /etc/php.ini |grep -i magic
    ; - magic_quotes_gpc = Off         [Performance]
    ; Magic quotes
    ; Magic quotes for incoming GET/POST/Cookie data.
    magic_quotes_gpc = Off
    ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
    magic_quotes_runtime = Off
    ; Use Sybase-style magic quotes (escape ' with '' instead of \').
    magic_quotes_sybase = Off

    Comment by jorge — October 18, 2008 @ 09:55

  4. Well, changing it to PHP5 and enabling Magic Quotes via .htaccess fixed the problem.

    The issue I’m having is that the rest of site cannot run on PHP5, and so I have to keep PHP4. On PHP4, the code-fu problem still exists. :(

    Comment by Tiago Faria — October 18, 2008 @ 12:33

  5. Right. :) I’ll set up a PHP4-enviroment and work out the problem there. Thanks for the feedback!

    Comment by jorge — October 18, 2008 @ 12:36

  6. Thanks Jorge!

    Comment by Tiago Faria — October 18, 2008 @ 12:39

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress