![]() |
Help! Users cant register
Error:
Parse error: parse error in /home/w/worldofc/www/forum/register.php on line 504 Code: $homepage = trim($homepage); if ($homepage) { if (preg_match('#^www\.#si', $homepage)) { $homepage = "http://$homepage"; } else if (!preg_match('#^[a-z0-9]+://#si', $homepage)) { // homepage doesn't match the http://-style format in the beginning -- possible attempted exploit $homepage = ''; Line 504: if (preg_match('#^www\.#si', $homepage)) { |
Seems to be correct.
Are there two } after $homepage = ''; ? Did you make any changes to register.php ? If so: Check those changes again or reload the original. |
Yeah its like this:
PHP Code:
|
PHP Code:
|
any ideas how i can correct this problem ?
|
Yes - take the original and compare it with the current version.
Then only make the correct/necessary changes. |
best idea would be just to reupload the original file;)
|
Quote:
|
All times are GMT. The time now is 08:38 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|