Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!
|
|
#1 |
|
Registered User
Join Date: Dec 2007
Posts: 102
|
How I can access POST and GET
How I can access POST and GET
How I can access POST and GET values with javascript in PHP is $_GET and $_POST but in Javascript Searched everywhere. I could not find
__________________
Regards, Shaun |
|
|
|
|
|
|
|
#2 |
|
Registered User
Join Date: Mar 2002
Location: VA
Posts: 1,630
|
__________________
Create A Mastermind Group Online for $197 Figment Thinking • BRASS Airsoft • BRASS War Journal • $3.99/mo Web Hosting • Book Authors |
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jan 2008
Posts: 89
|
You seems to have got confused by the scope of server side and client side technologies. Javascript is a client side technology, which runs on the browser. Getting the post and get values on client side is meaningless. You may possibly want to access the data just before it is posted, with javascript. That is the most common use of javascript, for the form validation.
You may take a look at tutorials like this: http://www.elated.com/articles/form-...th-javascript/ |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Sep 2008
Posts: 47
|
ya first you want to know difference between server side scripting and client side scripting.
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Oct 2008
Posts: 8
|
First why do you need to do that ? You can access those data before post and get i guess
__________________
Free Websites directory , listing |
|
|
|
|
|
#6 |
|
Registered User
Join Date: Jan 2009
Posts: 1
|
java script is only used for validation on client browser whether php is a complete server side oop language so dont mix the functionality of both languages.
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: May 2009
Location: Philippines
Posts: 213
|
In my opinion, only PHP language can access GET and POST method.
|
|
|
|
|
|
#8 |
|
Registered User
|
Using PHP I have used both POST and GET at the same time. Useful for working with Paypal return urls!
__________________
Offering affordable websites for business. Optimized website designs for high ranking search results. 877-376-7736 |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|