HTTP POST from PHP using a link
- From: trpost@xxxxxxxxx
- Date: Mon, 14 Jan 2008 13:57:26 -0800 (PST)
I am looking for a way to send data from one page to another as POST
data without using forms or cURL.
I have a php script that is passing a list of cases from on page to
another when a link is clicked. This is working fine for the most part
as a link, but sometimes the list gets very large and gets cut off.
The reason it gets cut off appears to be a limitation on the amount of
data that can be passesd in the URI.
It looks like I can do this with cURL, but this script will run on
several servers that do not have cURL compiled in and I do not want to
recompile now.
I found a few posts that say this can be done with PHP and javascript,
but I found no good examples.
To give you an example on what I am doing:
<a href=case_details.php?cases=".$allCases."&priority=Low&PG=All>
$count</a>
$allCases is a comma separated list of numbers and can get very large.
i.e. 84638,48957,58945,45375,....
Thanks!
.
- Follow-Ups:
- Re: HTTP POST from PHP using a link
- From: Manuel Lemos
- Re: HTTP POST from PHP using a link
- From: Daniel Ennis
- Re: HTTP POST from PHP using a link
- From: Paul Lautman
- Re: HTTP POST from PHP using a link
- From: Rik Wasmus
- Re: HTTP POST from PHP using a link
- Prev by Date: Re: protecting against cracking into filesystem
- Next by Date: Re: protecting against cracking into filesystem
- Previous by thread: Job market for web-developers?
- Next by thread: Re: HTTP POST from PHP using a link
- Index(es):
Relevant Pages
|