Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter theauthor

    (@theauthor)

    Yes. I set the image URI of the link to a full http:// path of the image on my website – and I’ve tested this path in my browser.
    If I set the Link Category to NOT display images, I get a text only link. If I check the image box for the category, the link doesn’t show at all !

    Thread Starter theauthor

    (@theauthor)

    My MySQL server is setup the way Otto42 says – only scripts running from my host’s servers can access it. So I can’t use tools like PHP-Administrator – my host provides a browser-based admin program instead.

    So in fact, even if my db details did get displayed due to a PHP-failure, the only people it would be of use to are the other website-owners whose sites are hosted on the exact same server as mine.

    And as there is no way for anyone to determine who else is sharing each server, perhaps I’ve been worrying unnecessarily.

    Thread Starter theauthor

    (@theauthor)

    Thanks for the all replies. I’ve moved the four define db… lines into their own php file above the public heirarchy and put an include line into wp-config.php. WP still works fine so far. I always use this technique for PHP’s on my site which need to access my MySQL database.
    I know it’s very unlikely that my web host would allow my website server to be available when there was a problem with PHP but I like to cover all the bases that I can and this particular issue has been shouting at me since I installed WP two days ago 🙂
    The technique is advocated by Kevin Yank at SitePoint in his book “Build Your Own Database-Driven Website Using PHP & MySQL” as an absolute must. But it could just be that he’s as paranoid as I am.

Viewing 3 replies - 1 through 3 (of 3 total)