Title: dmdj's Replies | WordPress.org

---

# dmdj

  [  ](https://wordpress.org/support/users/dmdj/)

 *   [Profile](https://wordpress.org/support/users/dmdj/)
 *   [Topics Started](https://wordpress.org/support/users/dmdj/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dmdj/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dmdj/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dmdj/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dmdj/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dmdj/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Link to custom PHP script](https://wordpress.org/support/topic/link-to-custom-php-script/)
 *  Thread Starter [dmdj](https://wordpress.org/support/users/dmdj/)
 * (@dmdj)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/link-to-custom-php-script/#post-2300913)
 * Okay, so I develop the PHP script with everything I want it to do and place it
   in wp-content. I give it a template name.
 * Then, in wp-admin, I create a blank page with the template created in the PHP
   script?
 * This I understand, but it leaves the problem that users of the site will be able
   to remove the page as it appears in the list of pages on the dashboard, this 
   is what I am trying to avoid.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Link to custom PHP script](https://wordpress.org/support/topic/link-to-custom-php-script/)
 *  Thread Starter [dmdj](https://wordpress.org/support/users/dmdj/)
 * (@dmdj)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/link-to-custom-php-script/#post-2300815)
 * Sorry, I’m still unclear
 * I would like to create a PHP script (example.php) which will fetch data from 
   a database. I do not want it to be shown on the wp-admin as a Page.
 * I do not know where to place this script within the WordPress file structure.

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