PROBLEM PASSING HTML TEXT VALUE TO PHP

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PROBLEM PASSING HTML TEXT VALUE TO PHP

Postby dachille » 23. April 2009 22:09

Hi ,

I am new to PHP and I am having problems with an HTMl document containing a text box input of Name to pass to a PHP document.

I do not have any problem with the pure PHP files but it is just when used with HTML.

Is there a setting to be done with Apache configuration file?

Thanks
dachille
dachille
 
Posts: 2
Joined: 23. April 2009 22:01

Re: PROBLEM PASSING HTML TEXT VALUE TO PHP

Postby Nobbie » 23. April 2009 22:33

register_globals (as always - at least a billion times).
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: PROBLEM PASSING HTML TEXT VALUE TO PHP

Postby dachille » 24. April 2009 06:52

Hi Nobbie,
Thanks for your prompt reply.

I actually amend the PHP.INI file in the "\xampp\apache\bin" folder.

<<register_globals = On>>

Shouldit be case sensitive as I realized that I put "on" instead of "On"?

Thanks
dachille
dachille
 
Posts: 2
Joined: 23. April 2009 22:01

Re: PROBLEM PASSING HTML TEXT VALUE TO PHP

Postby Wiedmann » 24. April 2009 07:28

<<register_globals = On>> ... Shouldit be case sensitive as I realized that I put "on" instead of "On"?

You should not change a default configuration setting (even is this can work on some servers).

--> You should make a simple debugging of your script and correct it.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 108 guests