• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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