• Resolved theMezz

    (@themezz)


    I am seeking a script that will pick a random quote from a text file and display it in my wordpress blog.
    Suggestions?
    I had a PERL script that did just that and it works well with shtml files but it fails with php files.
    thanks for any ideas,

    Joe
    https://theMezz.com

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter theMezz

    (@themezz)

    You are correct.
    It works great.
    THANK YOU

    I get the error mentioned below. I’ve given the two witty-files 777 in CHMOD permissions. Any ideas?

    Warning: touch() [function.touch]: Unable to create file /usr/home/web/web24580/wp-content/witty.txt because Permission denied in /usr/home/web/web24580/wp-content/plugins/witty.php on line 15

    Warning: chmod() [function.chmod]: Unable to access /usr/home/web/web24580/wp-content/witty.txt in /usr/home/web/web24580/wp-content/plugins/witty.php on line 16

    Warning: chmod() [function.chmod]: No such file or directory in /usr/home/web/web24580/wp-content/plugins/witty.php on line 16

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘random quotes’ is closed to new replies.