Title: Include a CGI file
Last modified: August 18, 2016

---

# Include a CGI file

 *  [Marcomail](https://wordpress.org/support/users/marcomail/)
 * (@marcomail)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/include-a-cgi-file/)
 * How can i include a CGI file in my template ? I try include virtual but don’t
   work, i receive an error.
 * where i put it ? help me 🙁

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

 *  Thread Starter [Marcomail](https://wordpress.org/support/users/marcomail/)
 * (@marcomail)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/include-a-cgi-file/#post-393538)
 * help mee, i have included this
 * <?php include(‘path/path/path/files.cgi’); ?>
 * in the index.php but it doesn’t work 🙁
 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/include-a-cgi-file/#post-393542)
 * Yeah, unless the world has changed recently, that will never work. You don’t 
   include CGI — you execute it as a server side process.
 * [http://en.wikipedia.org/wiki/Common_Gateway_Interface](http://en.wikipedia.org/wiki/Common_Gateway_Interface)
 *  Thread Starter [Marcomail](https://wordpress.org/support/users/marcomail/)
 * (@marcomail)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/include-a-cgi-file/#post-393622)
 * But i can include it in my wordpress pages ?

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

The topic ‘Include a CGI file’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Marcomail](https://wordpress.org/support/users/marcomail/)
 * Last activity: [19 years, 11 months ago](https://wordpress.org/support/topic/include-a-cgi-file/#post-393622)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
