Title: syntax error
Last modified: August 31, 2016

---

# syntax error

 *  [johnny88](https://wordpress.org/support/users/johnny88/)
 * (@johnny88)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/syntax-error-137/)
 * Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/content/
   55/11612955/html/wp-content/plugins/insert-php/insert_php.php(4 : eval()’d code
   on line 5
 * [http://www.europaiptv.com/test3344/](http://www.europaiptv.com/test3344/)
 *     ```
       [insert_php]
           $streamname = "test";
        $token = file_get_contents("http://164.132.163.16/securetoken/sign?password=mypass&name=".$streamname.
        "&ip=".$_SERVER['REMOTE_ADDR']."&salt=123");
        echo("<iframe src='http://164.132.163.16/".$streamname."/embed.html?token=".$token".'></iframe>");
         [/insert_php]
       ```
   
 * [https://wordpress.org/plugins/insert-php/](https://wordpress.org/plugins/insert-php/)

Viewing 1 replies (of 1 total)

 *  [WillBontrager](https://wordpress.org/support/users/willbontrager/)
 * (@willbontrager)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/syntax-error-137/#post-7286997)
 * The error message means there’s a syntax error in your PHP code.
 * Here’s some information about error messages spawned when Insert PHP is used.
 * [http://www.willmaster.com/software/WPplugins/insert-php-wordpress-plugin-instructions.php#errormessages](http://www.willmaster.com/software/WPplugins/insert-php-wordpress-plugin-instructions.php#errormessages)
 * I know so very well how easy it is to continuously overlook an error after scanning
   the same code a dozen times. There may be others I missed, but here’s one: Replace
   `".
   $token".` with `".$token."`
 * Will

Viewing 1 replies (of 1 total)

The topic ‘syntax error’ is closed to new replies.

 * ![](https://ps.w.org/insert-php/assets/icon-256x256.gif?rev=3475630)
 * [Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts](https://wordpress.org/plugins/insert-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WillBontrager](https://wordpress.org/support/users/willbontrager/)
 * Last activity: [9 years, 12 months ago](https://wordpress.org/support/topic/syntax-error-137/#post-7286997)
 * Status: not resolved