Andrew Ballard wrote:
On Fri, Nov 28, 2008 at 9:59 AM, <[EMAIL PROTECTED]> wrote:
The one thing that's always tripped me up with ASP sites is that you have to add EVERY
input, even the type="submit" with the correct value from the one and only
submit button on the page.
Again, I thi
What are the differences between asp and non-asp pages when you are
curling them? Apart from ,as referred to in php.net, you need to
urlencode the post values... Do you also need to urlencode the variable
names? And if the submit button on the page has
javascript:WebForm_PostBackOptions, is
may not be the result of a simple select query. So I
suppose the solution there is to have a hidden field with all the IDs as
a string, explode that and then iterate through that. Eg
$IDs=explode("_",$_POST['all_IDs']);
and that gives me the table IDs to do update querie
Actually, you are right, as you just put the checkbox index in the POST
and get the value from there. So you just need the number of
checkboxes...sorry.
ioannes wrote:
Yes, Tedd, this does however incur the overhead of find out what i is,
because it could be a range of IDs from the database
Yes, Tedd, this does however incur the overhead of find out what i is,
because it could be a range of IDs from the database, not necessarily a
count of the checkboxes on the page:
"
for ($i = 1; $i <= 4; $i++)
{
$a = 'a' . $i;
$b = 'whatever' . $i;
if($_POST[$a] == 'on')
{
Could someone tell me how to get the name of a variable as a string.
This would be useful in form submission with multiple check-boxes to
match against database records. At the moment I use ${"var".$ID[$x]} or
someting like that to go through all the possible matches, but it would
be quicker
George Bernard Shaw, an Irishman.
tedd wrote:
At 11:13 PM +0100 8/22/08, Ashley Sheridan wrote:
Not to mention, but of the two major English speaking countries, both
America and England have different address standards. All too often
an American site seems to think that a postcode is the sam
I am trying to get the text between nested html tags within arrays
produced by preg_match_all. The simple situation would be:
test
I want to return 'test'.
Assuming $post_results has some string derived from a html page source
with lots of nested tags.
Replacing new line (seems to be a goo
I have a file that works from the URL like:
www.mysite.com/cronjob.php
and this file includes references to uploaded files like this:
/home/mysite/public_html/dir/subdir/filename.xml
and this is used in functions like filemtime(). The uploaded files are
found on the server using the above pa
I would like someone to help me on this outside the group discussion.
Is there anyone out there that would look at a curl problem with me?
Thanks,
John
ioannes wrote:
My current theory on this is that the initial input page creates a
per-session cookie. Is CURL able to send this when the
indow: www.mysite.com/displaymode=).
John
ioannes wrote:
My current theory on this is that the initial input page creates a
per-session cookie. Is CURL able to send this when the page is
submitted and if so how do I find out the name and value of the cookie
as per my reading it is not stored on
ut these?
John
ioannes wrote:
My code is as below. It comes back with 'Bad session variable name -
CompanySerialNo' from the site.but the COOKIEJAR does not show this
variable name and it is not sent, it just shows:
www.targetsite.comFALSE/FALSE0
AS
My code is as below. It comes back with 'Bad session variable name -
CompanySerialNo' from the site.but the COOKIEJAR does not show this
variable name and it is not sent, it just shows:
www.targetsite.comFALSE/FALSE0
ASPSESSIONIDQCSQDTABLKAONANAFJPNMFFECLFNCLBP
There
Thanks Chris and Andrew,
An interesting article here on VIEWSTATE in asp:
http://www.dotnetjohn.com/articles.aspx?articleid=71 refers to MAC
encoding using SHA1 or MD5, alternatively Triple DES symmetric
algorithm. However, in either event, VIEWSTATE seems to be just what is
sent by the serv
the __VIEWSTATE the results page will not return. So I am just
wondering, as I have not been able to repeat this using curl, what the
is included in that string. There's a challenge for anyone with
whatever resources it takes.
John
ioannes wrote:
For those that lik
For those that like CURL and calendars.
Using CURL, I am accessing a form on a 'target' third party site (it is
built around JavaScript DHTML DatePicker) and trying to POST various
date and other inputs from its form and return the results page to my
site for further processing with php. Howe
16 matches
Mail list logo