Title: Function php
Last modified: August 21, 2016

---

# Function php

 *  Resolved [stuartjohnirwin](https://wordpress.org/support/users/stuartjohnirwin/)
 * (@stuartjohnirwin)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/function-php/)
 * Hi guys, having a little problem with a plugin (Flipbook) I’m getting this message
   on the pages that the flipbook appears:
 * Warning: preg_match() [function.preg-match]: No ending delimiter ‘^’ found on
   line 666 in file /websites/123reg/LinuxPackage22/yu/mm/ym/yummymummy-cakes.co.
   uk/public_html/wp-content/plugins/page-flip-image-gallery/functions.class.php
 * This is the code on that line 666:
 * `return preg_match("^http:\/\/[-0-9a-z\._]+.*$/i", trim( $url ));`
 * can anyone tell me if there is anything wrong with this, or what it should look
   like?
 * Thanks

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

 *  [Borko](https://wordpress.org/support/users/media-x/)
 * (@media-x)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/function-php/#post-4140489)
 * [http://wordpress.org/support/topic/error-after-update-20?replies=2](http://wordpress.org/support/topic/error-after-update-20?replies=2)
 *  Thread Starter [stuartjohnirwin](https://wordpress.org/support/users/stuartjohnirwin/)
 * (@stuartjohnirwin)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/function-php/#post-4140491)
 * GENIUS, Thanks
 *  [Borko](https://wordpress.org/support/users/media-x/)
 * (@media-x)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/function-php/#post-4140496)
 * Please, mark the topic as resolved. And just for future reference, search the
   forums before starting a topic. I found the answer in the [plugin’s sub-forum](http://wordpress.org/support/plugin/page-flip-image-gallery).
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/function-php/#post-4140497)
 * Please post this topic in the dedicated forum for this plugin:
    [http://wordpress.org/plugins/page-flip-image-gallery/](http://wordpress.org/plugins/page-flip-image-gallery/)
 * I downloaded the plugin and it doesn’t have the code you showed us:
 *     ```
       return preg_match("/^http:\/\/[-0-9a-z\._]+.*$/i", trim( $url ));
       ```
   
 * (see the forward slash (delimiter) at the beginning of the string)
 * Maybe you need to upgrade or re-upload the last version of the plugin.

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

The topic ‘Function php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/function-php/#post-4140497)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
