Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-17-2006, 11:59 AM   #1
LQ Newbie
Registered: Mar 2005
Location: home
Posts: 2

Rep: Reputation: 0
Question php issues

I am running Suse 10.0, Apache2, php4.0.0, phpMyAdim(for mysql).

I am working in the /srv/www/htdocs/ directory. for some reason I can do echos but I cant process logic.


echo "Hello" ....displays Hello


if (isset($submit)){//check for post

echo "The form posted";


gives me nothing.

Here is my html

<form name="form1" method="post" action="login.php">
Name: <input type="text" name="name">
<input type="submit" name="submit" value="Submit">


I'm a Linux newbie, what am I doing wrong?
Old 02-17-2006, 12:24 PM   #2
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
I guess you're a PHP newbie also. Do some research on "Register Globals" and how to use $_REQUEST.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
php + gettext issues.. Ateo Linux - Software 1 12-26-2005 08:10 PM
PHP compiling issues turbo_acura Linux - General 6 10-15-2004 11:17 AM
Apache 2, PHP and MYSQL Issues. carpediem Linux - Distributions 3 04-17-2004 08:11 AM
php issues sheryco Linux - Software 4 03-30-2003 06:12 PM
PHP 4.2 and Apache Issues Peejay Linux - Software 2 06-17-2002 11:22 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration