Now i got some new information for you.
I have made one test.php file with the following information:
<?php
require('includes/application_top.php');
// BOF Anti Robot Registration v3.0
if (ACCOUNT_VALIDATION == 'true' && ACCOUNT_CREATE_VALIDATION == 'true') {
require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT_VALIDATION);
include_once('includes/functions/' . FILENAME_ACCOUNT_VALIDATION);
}
// EOF Anti Robot Registration v3.0
// BOF Anti Robot Registration v3.0
if (ACCOUNT_VALIDATION == 'true' && ACCOUNT_CREATE_VALIDATION == 'true') {
$antirobotreg = tep_db_prepare_input($HTTP_POST_VARS['antirobotreg']);
}
// EOF Anti Robot Registration v3.0
echo tep_draw_form('create_account', tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'), 'post', 'onSubmit="return check_form(create_account);"') . tep_draw_hidden_field('action', 'process');
if (ACCOUNT_VALIDATION == 'true' && strstr($PHP_SELF,'test') && ACCOUNT_CREATE_VALIDATION == 'true')
include(DIR_WS_MODULES . FILENAME_DISPLAY_VALIDATION);
?>
</form>
This works perfecty in my test folder. But not in my main catalog. So i wonder if it has anything to do with some server settings or .htaccess settings (though i've tried to delete everything inside this file, without any luck at all.) I have also tried to use the application_top from the test server in my main catalog. Without success.
So, does it ring a bell?
All help is much appreciated.
Regards Morten