R
Rederovski
Guest
ROFL ive wasted about 2 hours trying to sort this for my A level computing project. I eventually decided to try it on some other webspace i have (host.sk) and it works! can you please help! heres a watered down part of it ...
can you please tell me if barrysworld supports $php_self as when i click the "Calculate" button it redirects me to the default barrysworld error 404 page, or if i can change this code so that it will work.
ty in advance.
Code:
<?php
if ($submit) {
echo"$as_a";
} else{
?>
<form method="post" action="<?php echo $PHP_SELF?>">
A:<input type="text" name="as_a">
<input type="Submit" name="submit" value="Calculate">
</form>
<?php
}
?>
can you please tell me if barrysworld supports $php_self as when i click the "Calculate" button it redirects me to the default barrysworld error 404 page, or if i can change this code so that it will work.
ty in advance.
- your the bossOriginally posted by wyrd_fish
PS in future use "code" tags in stead of "php" tags, those of us with the BW theme can't read functions as hey are green