|
|
#1 |
|
Baseband Member
Join Date: Aug 2007
Posts: 40
|
I want to know, how can I (if it is possible) send data through a web request to a php page. For instance, when I connect to my php page, how can I pass a letter or number, and let the page recive and store it?
Please let me know, Thanks
|
|
|
|
|
|
#2 |
|
Solid State Member
Join Date: Jan 2008
Posts: 13
|
if its form data then all you would need is $_REQUEST['VarName']; on the php page to get that data, to store it use sessions, cookies or a database.
|
|
|
|
|
|
#3 |
|
Site Team
Join Date: Dec 2002
Posts: 15,209
|
You can pass it via the query string ?var=value
Is that what you meant?
__________________
www.ComputerForums.org |
|
|
|
|
|
#4 |
|
In Runtime
Join Date: Nov 2007
Posts: 221
|
You could do:
yourpage.php?letter=l and retrieve it by: PHP Code:
PHP Code:
PHP Code:
__________________
PC: 2.2Ghz AMD 64 X2 4600+ 2GB Corsair Ram 160GB WD Hard Drive "If your going to skate on thin ice, don't be surprised when you fall through!" |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|