Jump to content

[SOLVED] PHP FORMS WONT SUBMIT IN LINUX(CENTOS)


candyclaire

Recommended Posts

try to change this

<FORM ACTION=logout.php method=post>

to

echo '<FORM ACTION="logout.php" method="post">';

 

and suggestion put the code inside to code tags

 

and the way you do your include inside that switch it better using an array then loop to have the codes shorter

 

 

yes....

still the same...

when i first transfer my codes to linux environment...'

it actually works well...

but when i edited the php.ini.... and change error_reporting = E_ALL

then the abnormal behavior begins....

 

i dont think the change might be the reason why it behaves like that...

 

:'(

 

have you tried this!!

 

Link to comment
Share on other sites

i guess I'm almost like you heheh

 

 

echo "<FORM ACTION=logout.php method=post>";

echo "<input type=submit name=_logout value=ログアウト><IMG src=./gif/spacer.gif width=20>";

echo "</FORM>";

 

is this your form?????

 

theres no field inside in it so what do you expect to be passed and look maybe linux found your damn bug

 

you cant do this <input type=submit name=_logout value=ログアウト>

but do it this way

<input type="submit" name="" _logout value=" ログアウト" >

Link to comment
Share on other sites

i guess I'm almost like you heheh

 

 

echo "<FORM ACTION=logout.php method=post>";

echo "<input type=submit name=_logout value=ログアウト><IMG src=./gif/spacer.gif width=20>";

echo "</FORM>";

 

is this your form?????

 

theres no field inside in it so what do you expect to be passed and look maybe linux found your damn bug

 

you cant do this <input type=submit name=_logout value=ログアウト>

but do it this way

<input type="submit" name="" _logout value=" ログアウト" >

 

 

thats not the form im having a problem in...

my login page.... form is in the included file.. logins.inc...

 

 

 

yeah...

ill just search for tutorial

thanks for your replies...

 

 

Link to comment
Share on other sites

you can look for the tutorial for xhtml dude thats sensitive than html or htm and i guess even f you use html it wont accept that kind of coding you have

 

as a matter of fact.. html accepted it...

it run in a windows enviroment..flawlessly.. and in linux environment in japan

i just cant seem to make it work in my linux.........

 

 

Thanks for the reply...

 

Link to comment
Share on other sites

you say your fresh grad but im also a fresh grad and from poor place so no excuse for that

 

look if you post a tread dont say its not working unless you havent tried our suggestion and im sorry

 

i have seen your code and i believe i see the prob and if who ever correct you and you know its good do it what ever it is theres always good but always stays in better way

again sorry heres my tip to show my apology lo

 

1. study xhtml

2. separate php from html

3. indent your code properly

4. never use this

  type =text always inclose the the value inside the "" ok

html even php is dont know whats on the mind of the programmer so you need to be specific and follow what they want not because you think its right we only use software so better follow the creator

 

again sorry po ("patawad po ")

Link to comment
Share on other sites

you say your fresh grad but im also a fresh grad and from poor place so no excuse for that

 

look if you post a tread dont say its not working unless you havent tried our suggestion and im sorry

 

i have seen your code and i believe i see the prob and if who ever correct you and you know its good do it what ever it is theres always good but always stays in better way

again sorry heres my tip to show my apology lo

 

1. study xhtml

2. separate php from html

3. indent your code properly

4. never use this

  type =text always inclose the the value inside the "" ok

html even php is dont know whats on the mind of the programmer so you need to be specific and follow what they want not because you think its right we only use software so better follow the creator

 

again sorry po ("patawad po ")

 

 

im not using that as an excuse.... and honestly i believe thats not causing the problem here

FYI: the philipines is not poor...

ive seen your profile

im also from the philippines by the way

 

actually, this system was passed on to me from my seniors..

this code was there already.. and its not my coding...

it was just sort of passing the responsibility to me cause im a newbie and he was assigned to

a new project...

 

im not confident editing another person's codings...

and im not used to hearing harshed words from people

I've earned what i keep

i know what is  wrong.... and if im wrong nobody has the right to shoved it to my face...

we barely touch PHP during my college years.. so im not an expert...(not using this as an excuse either)

 

anyway, apologies accepted...

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.