BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old April 24th, 2003, 04:28 PM
Lunatic666's Avatar
Lunatic666 Lunatic666 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Augsburg
Posts: 3 Lunatic666 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 m 11 sec
Reputation Power: 0
Send a message via ICQ to Lunatic666
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??

Reply With Quote
  #2  
Old April 25th, 2003, 08:26 AM
hedge hedge is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2002
Posts: 692 hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 21 h 49 m 55 sec
Reputation Power: 19
Read the sticky in the php forum, sounds to me like a 'register_globals' issue.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Apache on FreeBSD


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway