• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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