I have a script that edits/writes a flat file DB.
After execution the script redirects the user to another script - advstoy.pl (to choose another option).
Is there a way to make the script reload the same page as was just edited?
Here is a sample of the code:
I tried this:
but it comes up with "Page Cannot be Displayed" error, I think because it is in the cgi-bin.
Is there a way to get the same page of the script to reload, so the user can see the result of their edit?
thanks
After execution the script redirects the user to another script - advstoy.pl (to choose another option).
Is there a way to make the script reload the same page as was just edited?
Here is a sample of the code:
Code:
$databaseview='http://www.mysite.org/cgi-bin/admintoy/advstoy.pl'; print "Location: $databaseview\n\n";
Code:
print "Location: http://www.mysite.org$ENV{QUERY_STRING}\n\n";
Is there a way to get the same page of the script to reload, so the user can see the result of their edit?
thanks
Comment