page doesn't redirect when using Mozilla
Posted: Sun Jan 30, 2005 12:05 pm
I am working on an open source program to suit my own needs and I'm doing very well considering I hadn't heard of php three months ago. 
I have one problem I can't figure out. This is a calendar where events are added, and can be changed or deleted. Whenever I add, change or delete an event, instead of being rerouted to the page I started at, I get a blank page. This only happens when using Mozilla, rerouting works fine when I use IE. After you look at the code, you'll see four different reroutes, the two without the session work, so I'm guessing the problem lies with the session? I haven't the slightest idea what to do with this. That is, if it can be fixed at all since it only seems to be a problem with Mozilla.
No error messages unless I try to use the back button or look at the source code. ("The page you are trying to view contains POSTDATA that has expired from cache. If you resend the data, any action the form carried out (such as search or online purchase) will be repeated. To resend the data, click ok. Otherwise, click cancel.")
I am trying to learn php but it's difficult since I dove in without learning how to swim first. So, I 'm asking for some hand holding first and as a last resort will ask for the code I need as a last resort.
This is the code for the reroute
Thanks for any help.
I have one problem I can't figure out. This is a calendar where events are added, and can be changed or deleted. Whenever I add, change or delete an event, instead of being rerouted to the page I started at, I get a blank page. This only happens when using Mozilla, rerouting works fine when I use IE. After you look at the code, you'll see four different reroutes, the two without the session work, so I'm guessing the problem lies with the session? I haven't the slightest idea what to do with this. That is, if it can be fixed at all since it only seems to be a problem with Mozilla.
No error messages unless I try to use the back button or look at the source code. ("The page you are trying to view contains POSTDATA that has expired from cache. If you resend the data, any action the form carried out (such as search or online purchase) will be repeated. To resend the data, click ok. Otherwise, click cancel.")
I am trying to learn php but it's difficult since I dove in without learning how to swim first. So, I 'm asking for some hand holding first and as a last resort will ask for the code I need as a last resort.
This is the code for the reroute
Code: Select all
if (isset($fbid)) {
if ($fbid=="eaddsuccess" && !$_SESSIONї"AUTH_ADMIN"]) {
feedback(stripslashes(urldecode("The new event "$fbparam" has been submitted for approval.")),0);
echo "<BR>";
}
elseif ($fbid=="eupdatesuccess" && !$_SESSIONї"AUTH_ADMIN"]) {
feedback(stripslashes(urldecode("The update for the event "$fbparam" has been submitted for approval.")),0);
echo "<BR>";
}
elseif ($fbid=="urlchangesuccess") {
feedback(stripslashes(urldecode("The address of your homepage was successfully changed to "$fbparam".")),0);
echo "<BR>";
}
elseif ($fbid=="emailchangesuccess") {
feedback(stripslashes(urldecode("Your email address was successfully changed to "$fbparam".")),0);
echo "<BR>";
}
} // end: if ( isset($fbid) )