Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

apache .conf problem?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Detecting hacking attempts - what should browsers..  
Author Message
user2800

External


Since: Jun 01, 2004
Posts: 2



(Msg. 1) Posted: Tue Jun 01, 2004 12:53 pm
Post subject: apache .conf problem?
Archived from groups: alt>apache>configuration (more info?)

I'm a programer, in trying out PHP, i'v set up Apache, PHP and MySQL throug
difrent help avaialble from the net.. (This is not what i do best)

Two php programs:
test1.php:
<html>
<head>
</head>
<body>
<form method=GET action="test2.php">
Test
<Input name="Test" type="text">
<br>
<br>
<input type=submit>
</form>
</body>
</html>

test2.php:
<html>
<head>
</head>
<body>
Test =
<?
echo $Test;
?>
</body>
</html>

And the response from my apache server:
Test =
Notice: Undefined variable: Test in D:\oppdrag\div\test2.php on line 8

What is wrong??

And how is it corrected??

OddvarK

 >> Stay informed about: apache .conf problem? 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Tue Jun 01, 2004 12:53 pm
Post subject: Re: apache .conf problem? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Oddvar Kragseth <od-krag.DeleteThis@online.no> wrote:

 > And how is it corrected??

Read the PHP tutorial and fix your code. This has NOTHING to do with
Apache.

Davide


--
| Rudin's Law: If there is a wrong way to do something, most people will
| do it every time.
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: apache .conf problem? 
Back to top
Login to vote
user2800

External


Since: Jun 01, 2004
Posts: 2



(Msg. 3) Posted: Tue Jun 01, 2004 1:34 pm
Post subject: Re: apache .conf problem? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Well the problem was not the code...
But i diddn't swich the register_globals in php.ini.

OddvarK

"Davide Bianchi" <davideyeahsure RemoveThis @onlyforfun.net> skrev i melding
news:2i2r6qFi1h2dU3@uni-berlin.de...
 > Oddvar Kragseth <od-krag RemoveThis @online.no> wrote:
 >
  > > And how is it corrected??
 >
 > Read the PHP tutorial and fix your code. This has NOTHING to do with
 > Apache.
 >
 > Davide
 >
 >
 > --
 > | Rudin's Law: If there is a wrong way to do something, most people will
 > | do it every time.
 > |
 > |<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: apache .conf problem? 
Back to top
Login to vote
user2348

External


Since: Jun 28, 2003
Posts: 203



(Msg. 4) Posted: Tue Jun 01, 2004 1:34 pm
Post subject: Re: apache .conf problem? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Oddvar Kragseth" <od-krag RemoveThis @online.no> wrote in message
news:tcXuc.4949$eH3.87969@news4.e.nsc.no...
 > Well the problem was not the code...
 > But i diddn't swich the register_globals in php.ini.

There is a good reason why that is switched off by default, and you should
leave it switched off. Then fix your code to not require it to be enabled.

Richard.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: apache .conf problem? 
Back to top
Login to vote
alvaro_quitar_1

External


Since: Oct 31, 2003
Posts: 86



(Msg. 5) Posted: Tue Jun 01, 2004 2:55 pm
Post subject: Re: apache .conf problem? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

*** Oddvar Kragseth wrote/escribió (Tue, 1 Jun 2004 10:34:25 +0200):
 > Well the problem was not the code...
 > But i diddn't swich the register_globals in php.ini.

The problem is outdated tutorials Smile

Just get used to $_GET['Test']

--
--
-- Álvaro G. Vicario - Burgos, Spain
--<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: apache .conf problem? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache configuration ...include.conf problem - I just installed Apache 2.0.47 on SuSe 9.0 when I execute apache2ctl -t httpd2: could not open document config file /etc/apache2/sysconfig.d/include.conf what is wrong?

Problem with PHP configuration in httpd.conf - I would like developpe and execute PHP script. So i have installed apache to interpret PHP. In my httpd.conf file, i verify the presence of this line : <IfDefine HAVE_PHP4> LoadModule php4_module /usr/lib/apache-extramodules/libphp4.so </If...

apache 1.3.28 + php 4.3.3 conf ??! - Hi everybody I 've just installed apache and PHP on Xp home edition. Some php fonction does't work ... and as it 's the first time I install apache and php on windows i need advice . I use pseudo frame in PHP , just trying to pass a variable like this...

Help in Apache/Bugzilla conf - Hello, Today i've downloaded and installed the bugzilla bugtracker in suse8.2 with apache 1.3.27. I've just follow the normal procedures (run checksetup.pl twice), everything ok. I've added, as mentioned, this in httpd.conf this: <Directory..

how can i find what conf file apache 2 is using - I have apache 2 running but am unsure which conf file it is using is there an easy way to find this out? TIA Chris
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]