server access denied

Tudsy
Contributor
Contributor

Hi

I am trying to create a form by using the echo command, as below:

 

 

echo '<form action="https://www.paypal.com/cgi-bin/webscr" id="paypal" name="Form" >';

$graphic = $_POST["Graphic"];


$Price = $_POST["Price"];

echo '<input type="hidden" name="cmd" value="_cart" >';

echo '<input type="hidden" name="business" value="xxxxxx" >';

echo '<input type="hidden" name="upload" value="1" >';


echo '<INPUT TYPE="hidden" id="RETURL" NAME="return" >';


echo '<script>
URL = "https://ecovib2d.com.au/workfromhome/yourart/";
Person = "AdrianTudini";
document.getElementById("RETURL").value = URL + Person + "/Graphic/" + "<?php echo $graphic ?>" ;
</script>';





echo '<INPUT TYPE="hidden" NAME="currency_code" value="AUD">';

 


echo '<input type="hidden" name="item_name" value="Your Graphic in JPEG format -". "<?php echo $graphic; ?>" >';


echo ' <input type="hidden" name="amount" value="<?php echo $Price; ?>" >';

echo '<INPUT TYPE="hidden" name="address_override" value="1" >';

echo '</form> ';

 

But I get an error  as below:

 

Access Denied.

You don't have permission to access "/cgi-bin/webscr" on this server.

Reference #1696188016109d1a59152f84d622e31

Timestamp: 1696188016

 

Any help will be appreciated. Thanks.

 

Adriano

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.