PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old March 5th, 2008, 12:17 PM
JamesCZ JamesCZ is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 2 JamesCZ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 m 45 sec
Reputation Power: 0
Angry $_POST Problem on IIS

Hi everybody,

I am really hard trying to find issue to solve this problem. I have form in html and on click it sends data through post to common php script, which should process it. But there is no data in the $_POST[] array. When I look on the data that are transfering using tamper data in firefox, it seems data are ok...but script doesn't see anything. Can anybody tell me, how can I solve this problem? I tried everything what I found on the internet, but without any progress...

Reply With Quote
  #2  
Old March 5th, 2008, 12:43 PM
cwf's Avatar
cwf cwf is online now
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 343 cwf User rank is Private First Class (20 - 50 Reputation Level)cwf User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 2 Days 18 h 8 m 34 sec
Reputation Power: 2
You would need to start by posting your form and form processing code.

This could be anything form a form that is not valid HTML, a maximum post data size problem, register globals being on and the data is being overwritten, or a logic error clearing the data...

Reply With Quote
  #3  
Old March 5th, 2008, 01:24 PM
JamesCZ JamesCZ is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 2 JamesCZ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 m 45 sec
Reputation Power: 0
Quote:
Originally Posted by cwf
You would need to start by posting your form and form processing code.

This could be anything form a form that is not valid HTML, a maximum post data size problem, register globals being on and the data is being overwritten, or a logic error clearing the data...


Ok, i tried to have most simple code, so my code now looks:

<form action="send-data.html" method="post" enctype="multipart/form-data">
<label for="form_name">Name</label>
<input type="text" id="form_name" name="form_name" value="" /><br />
<input type="submit" value="Send" class="button" name="form_button" />
</form>


and php code:

<?php
echo $_POST['form_name'];
?>

.html is processed by 404 handler. Maybe, this could be the problem? Is there any other option how process .html non-existing files?

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > $_POST Problem on IIS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway