• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

sitepreview PHP array issues

J

johnharman

Guest
Hi,

We are running Plesk 8.1.1 on an RHES 3 box

I have a page with the following snippet of code which works fine when run over a normal connection but when run via the sitepreview it fails to return any content.

Is this a known bug, are there any workarounds?

Thanks

Code:
<?php
print_r($_POST["colours"]);
?>
<form method="post" action="">
<input type="checkbox" name="colours[]" value="red" /> Red
<input type="checkbox" name="colours[]" value="blue" /> Blue
<input type="checkbox" name="colours[]" value="yellow" /> Yellow
<input type="submit" value="Submit" />
</form>
 
Back
Top