PHP
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists PHP

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old July 31st, 2008, 08:41 AM
Dan Shirah
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Using $_GET for POST

>
if ( ! (isset($_GET['xxxxx']) && $_GET['xxxxx'] == 20) )
{
// Do something by returning an error
}
>

Can this ever be correct when the form looks like:
>

<form ENCTYPE="multipart/form-data" ACTIN="" METHD="PST">
<input NAME="SomeFile" TYPE="file">
<input VALUE="submit" TYPE="submit"></form>
>

?


I sometimes do things similar to this. I normally use it when I am opening
a new page via a javascript function and want to pass several values to use
or check in the new page.

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists PHP > Using $_GET for POST


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 Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


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





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
Stay green...Green IT