Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 17th, 2003, 09:01 PM
Registered User
 
Join Date: Aug 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to cnilashis Send a message via Yahoo to cnilashis
Default POST method not working in LINUX Server , but work


Hi ,

I'm having problem with the post method submission ,

My two pages r like that (For xample)

**************************** a.php ***************************
................ whatever HTML code ..
<form method=POST action="b.php">
<input type=text name="username"><input type=submit value="submit">
</form>
.................Whatever HTML code.....
************************************************** ************


*************************** b.php ****************************

<?
echo $_POST['username'];

?>

************************************************** ************


Plesae help me , iT prints nothing on my web-server (LINUX) , but works well in Home web-server (same LINUX )................

nilashis chatterjee
 
Old August 18th, 2003, 01:57 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do you see ANYTHING when you submit the form on your linux server? Is PHP even installed on the linux server? Also, why aren't you quoting ALL of your html attributes?

<form method="post" action="b.php">
  <input type="text" name="username" />
  <input type="submit" value="Submit" />
</form>


Take care,

Nik
http://www.bigaction.org/
 
Old August 19th, 2003, 08:13 AM
Registered User
 
Join Date: Aug 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to cnilashis Send a message via Yahoo to cnilashis
Default

Thanks anyway , I solve that problem by 1 day.

One spelling mistake of my code gave that kind of strange output, i found out it later on. It was not a problem at all.

Yes, PHP is installed in my Linux server .

nilashis chatterjee





Similar Threads
Thread Thread Starter Forum Replies Last Post
IE7 script not working on linux server luminus BOOK: CSS Instant Results 9 February 1st, 2016 07:35 AM
post method franta1346 Reporting Services 0 July 22nd, 2007 11:08 PM
POST method not working ganesh15 Beginning PHP 2 February 18th, 2006 08:35 AM
Post other useful Linux Links here! Brian.Boyle Linux 1 January 8th, 2006 06:14 AM
about post and get method csc820203 HTML Code Clinic 1 August 2nd, 2004 01:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.