Thanks Guys:
I have solved all the problems by changing all resources to absolute links. Everything work like a charm.
However, it seems like when one problem is solved there's another. At present I am having a problem with my embedded javascript code
sub Validate1
{
print "<html><head>\n";
print "<script Language=\"JavaScript\">\n";
print " alert(\"All required fileds must be filled out\");\n";
print "history.back()\;";
print "</script></head></html>\n"; exit;
}
It seems that the history.back() is not working on my new server. However, it works well on my previous server. That's ok because I am going to place javascript in the form itself. However, I want to use this piece of code.
while( my @v = $dbs->fetchrow_array() )
{
if( uc($vals{name}) eq uc($v[0]) && uc($vals{company}) eq uc($v[1]) && uc($vals{email}) eq uc($v[2]) )
{
Validator::Validate2(\%vals);
last;
}
}
Function Validate2 contains javascript validation code as in Validate1
There is no way I can place this in the from "Validate2" because I am coming from server side with the database code
Please any suggestions.
Thanks..
I have solved all the problems by changing all resources to absolute links. Everything work like a charm.
However, it seems like when one problem is solved there's another. At present I am having a problem with my embedded javascript code
sub Validate1
{
print "<html><head>\n";
print "<script Language=\"JavaScript\">\n";
print " alert(\"All required fileds must be filled out\");\n";
print "history.back()\;";
print "</script></head></html>\n"; exit;
}
It seems that the history.back() is not working on my new server. However, it works well on my previous server. That's ok because I am going to place javascript in the form itself. However, I want to use this piece of code.
while( my @v = $dbs->fetchrow_array() )
{
if( uc($vals{name}) eq uc($v[0]) && uc($vals{company}) eq uc($v[1]) && uc($vals{email}) eq uc($v[2]) )
{
Validator::Validate2(\%vals);
last;
}
}
Function Validate2 contains javascript validation code as in Validate1
There is no way I can place this in the from "Validate2" because I am coming from server side with the database code
Please any suggestions.
Thanks..