473,387 Members | 1,485 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Determine if POST or GET

Is there a PHP function that will enable me to find out if a page was called
with POST or GET variables?

Thanks.

--
Winston Kotzan
http://www.wakproductions.com/
Jul 17 '05 #1
5 3089
look at :

$_SERVER['REQUEST_METHOD'];
--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Winston Kotzan" <re******@wakproductions.com> wrote in message
news:o8*******************@newssvr33.news.prodigy. com...
Is there a PHP function that will enable me to find out if a page was called with POST or GET variables?

Thanks.

--
Winston Kotzan
http://www.wakproductions.com/

Jul 17 '05 #2
Thanks!
"CountScubula" <me@scantek.hotmail.com> wrote in message
news:ki******************@newssvr27.news.prodigy.c om...
look at :

$_SERVER['REQUEST_METHOD'];
--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Winston Kotzan" <re******@wakproductions.com> wrote in message
news:o8*******************@newssvr33.news.prodigy. com...
Is there a PHP function that will enable me to find out if a page was

called
with POST or GET variables?

Thanks.

--
Winston Kotzan
http://www.wakproductions.com/


Jul 17 '05 #3
Hi Winston!

On Fri, 13 Feb 2004 00:47:16 GMT, "Winston Kotzan"
<re******@wakproductions.com> wrote:
Is there a PHP function that will enable me to find out if a page was called
with POST or GET variables?


It could have been called with both.

HTH,

Jochen

--
Jochen Daum - Cabletalk Group Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/
Jul 17 '05 #4
can not be called with both, however it can be called with POST and have
variables on the url.

--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Jochen Daum" <jo*********@cans.co.nz> wrote in message
news:fp********************************@4ax.com...
Hi Winston!

On Fri, 13 Feb 2004 00:47:16 GMT, "Winston Kotzan"
<re******@wakproductions.com> wrote:
Is there a PHP function that will enable me to find out if a page was calledwith POST or GET variables?


It could have been called with both.

HTH,

Jochen

--
Jochen Daum - Cabletalk Group Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/

Jul 17 '05 #5
On Fri, 13 Feb 2004 02:37:02 GMT, "CountScubula"
<me@scantek.hotmail.com> wrote:
can not be called with both, however it can be called with POST and have
variables on the url.


correct.

Sorry

Jochen

--
Jochen Daum - Cabletalk Group Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/
Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: John Bentley | last post by:
John Bentley: INTRO The phrase "decimal number" within a programming context is ambiguous. It could refer to the decimal datatype or the related but separate concept of a generic decimal number....
5
by: George Hester | last post by:
Say I have this in a web page: <center><a href="http://www.microsoft.com">www.microsoft.com</a></center> I can use CSS, the DOM and\or JavaScript to determine the width style.innerHTML.length...
18
by: Christopher W. Douglas | last post by:
I am writing a VB.NET application in Visual Studio 2003. I have written a method that handles several events, such as closing a form and changing the visible status of a form. I have some code...
88
by: Mike | last post by:
Is there a way to determine what a user's default email client is? I read a post from 3 years ago that said no. I guess I'm hoping something has come along since then.
16
by: Jm | last post by:
Hi All Is it possible to determine who is logged onto a machine from inside a service using code in vb.net ? I have found some code that seems to work under vb6, but doesnt under .NET ? Any help...
3
by: Developer in California | last post by:
I am working on developing a generic Web framework using Master Pages in ASP.NET 2.0. What I have done is created a PageRenderer class which has a public method which will retrieve the path of the...
2
by: José Joye | last post by:
Hello, I need to determine which control has the focus in my page_load. Is there a way to do so. I have found lots of sample explaining how to set the focus (using javascript). but no info...
5
by: LongBow | last post by:
Hello, Is there a way, in .NET, to determine what are the avialable Serial (Communications) Ports on a Windows OS and is there a way to determine that port isn't being use other than attempting...
7
by: Z-Z | last post by:
Hi, I used the following macro to determine variable signed or not, but only find that it is useless for a short or char variable. I think that it might caused by value conversion rules. I used...
7
by: MyndPhlyp | last post by:
I've been combing through Google trying to find the answer but not luck. I'm using Forms authentication. Determining what Roles the current user is in was the easy part (User.IsInRole). But how...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.