First , I beg your pardo if exists an open thread about this area.
I am using OKhttputils2, but I tried before with httputils2 lib.
I have a php file .Its requires 2 parameters .
When I use bronwser and I type on it
http://domain.com/ted1.php?ticket=55&nif=33 I have this answer
holllaArray ( [ticket] => 55 [nif] => 33 ) Array ( [ticket] => 55 [nif] => 33 ) ticket 55 nif 33
in my php page I wrote
<?php
echo "hollla";
print_r($_GET);
print_r($_REQUEST);
$nif=$_GET["nif"];
$ticket=$_GET["ticket"];
echo "ticket ".$ticket." nif ".$nif;
... and more
If I uses httputils I wrote this
job1.Initialize("Job1", Me)
job1.PostString("http://" & ip & "/ted1.php", Array As String("ticket", "55", "nif", "33"))
and I received (using Job.Getstring on the JobDone-Job.Sucess ) this string
holllaArray()Array()
I read this way ,using an array ,working fine for everybody.
Its LIKE I AM NOT SENDING PARAMETERS AT ALL .
I tried several ways to send the parameters data
job1.PostString("http://" & ip & "/ted1.php", "ticket=55&nif=33) without success .
Please, what I am doing wrong?
I am using OKhttputils2, but I tried before with httputils2 lib.
I have a php file .Its requires 2 parameters .
When I use bronwser and I type on it
http://domain.com/ted1.php?ticket=55&nif=33 I have this answer
holllaArray ( [ticket] => 55 [nif] => 33 ) Array ( [ticket] => 55 [nif] => 33 ) ticket 55 nif 33
in my php page I wrote
<?php
echo "hollla";
print_r($_GET);
print_r($_REQUEST);
$nif=$_GET["nif"];
$ticket=$_GET["ticket"];
echo "ticket ".$ticket." nif ".$nif;
... and more
If I uses httputils I wrote this
job1.Initialize("Job1", Me)
job1.PostString("http://" & ip & "/ted1.php", Array As String("ticket", "55", "nif", "33"))
and I received (using Job.Getstring on the JobDone-Job.Sucess ) this string
holllaArray()Array()
I read this way ,using an array ,working fine for everybody.
Its LIKE I AM NOT SENDING PARAMETERS AT ALL .
I tried several ways to send the parameters data
job1.PostString("http://" & ip & "/ted1.php", "ticket=55&nif=33) without success .
Please, what I am doing wrong?