Jump to content

Going to a new page in PHP causes Norton Anti-Phishing.


Roger Huston

Recommended Posts

Hello,

 

I am trying to hack some PHP code.  I am new to PHP and I am having a difficult time accomplishing a very simple task.  I have a form with two buttons, one for Trial, the other for Subscription.  Once either button is pushed, I verify a form and send email.  I then want to route the person the appropriate next page:

 

switch($submit) {
case 'Trial':
	include("program_registration_success.htm");
	break;
case 'Subscription':
	include("https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XXXXXX");
	break;
}

 

I have also tried:

case 'Subscription':
	header("Location: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XXXXXX");
	break;

 

The latter approach I prefer since I can see the URL change. However, I seem to have triggered something where Norton Anti-Phishing screen comes up. This is obviously not something I am trying to do.  Does anyone know why this is triggered?  What is the proper PHP way to go to a new page?

 

Thanks,

 

Roger

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.