• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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