Title: Function like get_plugin_data
Last modified: August 20, 2016

---

# Function like get_plugin_data

 *  [yuanga](https://wordpress.org/support/users/yuanga/)
 * (@yuanga)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/function-like-get_plugin_data/)
 * Hi everybody,
 * I need to read a document (php) hosted in another server with a content like 
   this:
 *     ```
       <?
       /*
       line 1
       line 2
       */
       ?>
       ```
   
 * I’ve tried with fopen() and fgets() unluckily. Any idea?

The topic ‘Function like get_plugin_data’ is closed to new replies.

## Tags

 * [external server](https://wordpress.org/support/topic-tag/external-server/)
 * [file](https://wordpress.org/support/topic-tag/file/)
 * [fopen](https://wordpress.org/support/topic-tag/fopen/)
 * [get_plugin_data](https://wordpress.org/support/topic-tag/get_plugin_data/)

 * 0 replies
 * 1 participant
 * Last reply from: [yuanga](https://wordpress.org/support/users/yuanga/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/function-like-get_plugin_data/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
