The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

wpdb in external script (1 post)

  1. mshanley
    Posted 10 years ago #

    Can anyone please point me to an example of the $wpdb class being used in an external script (not a plugin)? I have a php script I've written that creates a png image (called like <img src="foo.php?parameter=bar"/>) based on data in my wordpress database. I currently declare the database and password and such by hand in the php code, but would like to make it more universal so I can share it with others. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic