Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 17th, 2003, 09:01 PM
Registered User
 
Join Date: Aug 2003
Location: Kolkata, West Bengal, India.
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
Reply With Quote
  #2 (permalink)  
Old August 18th, 2003, 01:57 PM
Friend of Wrox
Points: 2,570, Level: 21
Points: 2,570, Level: 21 Points: 2,570, Level: 21 Points: 2,570, Level: 21
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: San Diego, CA, USA
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/
Reply With Quote
  #3 (permalink)  
Old August 19th, 2003, 08:13 AM
Registered User
 
Join Date: Aug 2003
Location: Kolkata, West Bengal, India.
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
Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 06: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 07:35 AM
Post other useful Linux Links here! Brian.Boyle Linux 1 January 8th, 2006 05:14 AM
about post and get method csc820203 HTML Code Clinic 1 August 2nd, 2004 01:13 PM



All times are GMT -4. The time now is 09:08 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.