Title: Error 500 con un script php
Last modified: August 20, 2016

---

# Error 500 con un script php

 *  Resolved [dannypapuc](https://wordpress.org/support/users/dannypapuc/)
 * (@dannypapuc)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-500-con-un-script-php/)
 * hola quiero utilisar este script pero a la ora de testar me da error 500
 *     ```
       <?php
       // Referrer válido
       $string="http://iframes.recursosmoviles.com";
       // Controlo que el referrer sea el correcto
       if(substr($_SERVER["HTTP_REFERER"],0,strlen($string))!=$string)
       {
       // Si el referrer no es válido, se prohibe el acceso
       die("Acceso no permitido.");
       }
       ?>
       ```
   
 * donde esta la problema?
 * [http://wordpress.org/extend/plugins/shortcode-exec-php/](http://wordpress.org/extend/plugins/shortcode-exec-php/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [M66B](https://wordpress.org/support/users/m66b/)
 * (@m66b)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-500-con-un-script-php/#post-3510935)
 * Error 500 is generated by your hosting server when you are exceeding resource
   limits (for example memory) or when you are doing something the hosting server
   does not allow (for example by firewall).

Viewing 1 replies (of 1 total)

The topic ‘Error 500 con un script php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/shortcode-exec-php.svg)
 * [Shortcode Exec PHP](https://wordpress.org/plugins/shortcode-exec-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcode-exec-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcode-exec-php/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcode-exec-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcode-exec-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcode-exec-php/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [M66B](https://wordpress.org/support/users/m66b/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/error-500-con-un-script-php/#post-3510935)
 * Status: resolved