Title: CGI
Last modified: August 21, 2016

---

# CGI

 *  Resolved [aishdas](https://wordpress.org/support/users/aishdas/)
 * (@aishdas)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/cgi-3/)
 * I’m trying to get a CGI include (or SSI or shell script) without using iframe,
   so that the resulting text could be in-line in a paragraph. It looks like include-
   it had this possibility.
    Ideas?
 * [https://wordpress.org/plugins/include-me/](https://wordpress.org/plugins/include-me/)

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

 *  Plugin Author [Stefano Lissa](https://wordpress.org/support/users/satollo/)
 * (@satollo)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/cgi-3/#post-5000921)
 * A CGI need to be executed, so you absolutely need an iframe… of you should include
   a PHP which does something like:
 * `echo file_get_content("http://path to cgi")`
 * Bye, Stefano.
 *  Thread Starter [aishdas](https://wordpress.org/support/users/aishdas/)
 * (@aishdas)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/cgi-3/#post-5000961)
 * Thanks! So I made a tiny PHP wrapper to my CGI script, and includeme-ing that.
 * Now to figure out why the php conflicts with mod_pagespeed… Weirdly, exec(“who”)
   was fine, but exec(“my script”) gets a whole complicated wrapper and a redirect
   in Javacript. (No rest for the weary.)
 * Thanks again!

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

The topic ‘CGI’ is closed to new replies.

 * ![](https://ps.w.org/include-me/assets/icon-256x256.png?rev=3452726)
 * [Include Me](https://wordpress.org/plugins/include-me/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/include-me/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/include-me/)
 * [Active Topics](https://wordpress.org/support/plugin/include-me/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/include-me/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/include-me/reviews/)

## Tags

 * [CGI](https://wordpress.org/support/topic-tag/cgi/)
 * [ssi](https://wordpress.org/support/topic-tag/ssi/)

 * 2 replies
 * 2 participants
 * Last reply from: [aishdas](https://wordpress.org/support/users/aishdas/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/cgi-3/#post-5000961)
 * Status: resolved