rendsonn
-
Posts
2 -
Joined
-
Last visited
Never
Posts posted by rendsonn
-
-
I'm having trouble with a role in a wordpress site that I made
I think the script was that I installed another version, so I
some adjustments in it, among those changes have modified this function
if (@$_GET['src'] && !@$PHPTHUMB_CONFIG['allow_local_http_src'] && eregi('^http://'.@$_SERVER['HTTP_HOST'].'(.+)', @$_GET['src'], $matches)) {$phpThumb->ErrorImage('It is MUCH better to specify the "src" parameter as "'.$matches[1].'" instead of "'.$matches[0].'".'."\n\n".'If you really must do it this way, enable "allow_local_http_src" in phpThumb.config.php');
}
for this:
(@$_GET['src'] && !@$PHPTHUMB_CONFIG['allow_local_http_src'] && preg_match('^http://'.@$_SERVER['HTTP_HOST'].'(.+)', @$_GET['src'], $matches)) {$phpThumb->ErrorImage('It is MUCH better to specify the "src" parameter as "'.$matches[1].'" instead of "'.$matches[0].'".'."\n\n".'If you really must do it this way, enable "allow_local_http_src" in phpThumb.config.php');
}
It was supposed to make some images appear as thumbnails on the home page
my site, but they do not appear and I got the following error:
Warning: preg_match() [function.preg-match]: No ending delimiter '^' found in /home/pontocom/public_html/wp-content/themes/Comfy/scripts/phpThumb/phpThumb.php on line 160Is there some way that I can take to fix this error?
No ending delimiter '^' found in ...
in PHP Coding Help
Posted
I get this:
Warning: preg_match() [function.preg-match]: Unknown modifier '/' in
I'll read the manual and see if I can find another way to insert this script, anything I post here again