vBulletin Mods

The Official vBulletin Modifications Site

by Bellardia
16 May 2009 21:57

I really don't understand what is happening here; heres the situation.

I have a script that applies a pcre to a string using preg_match. Now I'm no whiz with regular expressions, and this one is pretty bloated because it is supposed to match only specific sentence forms. The issue comes in when I uploaded the script to my server (I was running it on local host). The script returns entirely different behaviour! When I run the same strings in my localhost and on my server I get two completely different results. Namely, I always get the expected matches on my localhost, but it hardly ever matches at all on my server.

Because of this, I tested it on a second server, and it behaved the same as on the first, and still entirely differently than my localhost! Are there any explanations for this? Is there settings or files that need to be changed/installed? On smaller pcre expressions the scripts seem to work identically, but are drastically different on for larger one.

Any help on this is appreciated.

All times are GMT. The time now is 13:59.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.