php.ini
Posted: Wed Jan 28, 2009 9:52 am
Tried having a php.ini in my xampp public html directory
and then a little test script
and it has no effect! Tried stopping and restarting apache
What am I doing wrong?
It works on my web host - which is a relief!
Code: Select all
magic_quotes_gpc=0
magic_quotes_runtime=0
magic_quotes_sybase=0Code: Select all
<?php
if($_POST['submit']=='Submit')
{
echo $_POST['text'];
}
?>
<form action="" method="post">
<input type="text" name="text"/>
<input type="submit" name="submit" value="Submit"/>
</form>
What am I doing wrong?
It works on my web host - which is a relief!