You are here: Newbie; Access forbidden! error 403 ??? « PHP Language « IT news, forums, messages
Newbie; Access forbidden! error 403 ???

Posted by echo---pscbro on 01/27/07 11:16

The script I am trying to run:

<html>
<head>
</head>

<body>

<!-- Html comments -->

<?php

// Php comments

if (!$_POST['submit'])
{
?>

<p>Select one or more labels: </p> <br>

<form action = <?=$_SERVER['PHP_SELF']?>" method="POST">

<select name="options[]" multiple>

<option value="family">Family</option>
<option value="appreciation">Appreciation</option>
<option value="health">Health</option>
<option value="nature">Nature</option>

</select>

<input type="submit" name="submit" value="selection">

</form>

<?php
}

else
{
if (is_array($_POST['options']))
{
echo 'You have selected: <br />';
foreach ($_POST['options'] as $i)
{
echo "$i <br />";
}
}
else
{
echo 'No labels selected';
}
}

?>

</body>

</html>

I am running Xamp, I have the same password set for Php and Apache.
Although in the security tab, I am being told Php is not secured.

Thanks if you can help.

Pascal

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация