
April 24th, 2003, 04:28 PM
|
 |
Junior Member
|
|
Join Date: Apr 2003
Location: Augsburg
Posts: 3
Time spent in forums: 38 m 11 sec
Reputation Power: 0
|
|
|
Apache on FreeBSD
I have a very strange problem with my Apache 1.3.27 on FreeBSD 4.7/4.8/5.0
(Yes, I tried it on every platform *g*)
I installed apache and PHP4 from the ports collection and wated to try the following code example:
PHP Code:
<?
echo "<form action='$PHP_SELF' method='POST'>";
?>
<input type="text" name="mytext">
<input type="submit">
<? echo $mytext; ?>
On my Debian box I can enter a text and this text appears after submitting. When I run this code under FreeBSD nothing happens. When I looked at the output of the browser I saw that $PHP_SELF is not known and replaced with ''.
When I replace $PHP_SELF with the filename there is no change... $mytext remains empty.
Does anyone know what this could be??

|