Hi,
Can anyone point me out to some good resources on cURL??
Have to send 3 fields, Action,Username and Password for authentification
to a Servlet and receive its response..
TIA,
sands
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
srv157 Stands for the server same and 7001 is the port..
with www.google.com, get a request denied error...
sands
-Original Message-
From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Sent: segunda-feira, 4 de Fevereiro de 2002 16:01
To: Sandeep Murphy; [EMAIL PROTECTED]
Subject: Re
Nemerson [mailto:[EMAIL PROTECTED]]
Sent: segunda-feira, 4 de Fevereiro de 2002 15:25
To: Sandeep Murphy
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] sockets
This should help you. It is the fsockopen version of what I posed about 6
hours ago.
function getdata ($host, $port, $data)
{
$fp
Hi,
I am trying to access a remote file by opening a socket on port 80 but keep
getting refused...
The server does listen on port 80 as i can access it via browser...
my code reads like this:
http://srv157:7001/Palmeira2Application/palmeira2.servlets.communicator.Com
municator";
$Request =
thnx.. had figured it out :)
thnx all the same..
sands
-Original Message-
From: Jon Farmer [mailto:[EMAIL PROTECTED]]
Sent: segunda-feira, 4 de Fevereiro de 2002 9:26
To: Sandeep Murphy; [EMAIL PROTECTED]
Subject: Re: [PHP] SAX + attributes
> can anyone tell me how I can retri
If its parsing xml using PHP is what u r looking for, chk out:
http://www.phpbuilder.com/columns/joe2907.php3
http://www.zend.com/zend/art/parsing.php
http://www.melonfire.com/community/columns/trog/archives.php
-Original Message-
From: Peter J. Schoenster [mailto:[EMAIL PROTECTE
hi,
can anyone tell me how I can retrieve attributes of a node using SAX parser
in PHP??
TIA,
sands
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
Hi,
Is there any way I can construct an associative array out of 3 other
arrays??
like for eg.
function parse() {
appid[];
appnm[];
url[];
}
I want to do something like this:
function arr() {
$applist = array("APPID" =>$appid,
"APP NAME"=>$appnm,
Hi,
sorry for repeating this...didnt change the sub..:)
Is there any way I can construct an associative array out of 3 other
arrays??
like for eg.
function parse() {
appid[];
appnm[];
url[];
}
I want to do something like this:
function arr() {
$applist = array("APPID" =>$appid,
Hi all,
I hv spent too much time trying to solve this by myself and hope someone out
there can help me out..
I am trying to use the DOM xml parser to parse my xml data.. The problem is
that the parser reads only the parent and child elements but when the child
nodes repeat themselves inside of c
first create an instance of class B like this...
$test = new classB();
Now, u can refer to any function or method of classB like this:
$test->hello(); // where hello() is a method of classB..
cheers,
sands
-Original Message-
From: David Yee [mailto:[EMAIL PROTECTED]]
Sent: segunda-fe
exactly!
"fancier regular expression" is what I am looking for here:)
thnx anyway...
if anyone else has any suggestions.. welcome...
regards,
sands
-Original Message-
From: Tim Ward [mailto:[EMAIL PROTECTED]]
Sent: terça-feira, 22 de Janeiro de 2002 16:13
To: Sandeep M
:48
To: Sandeep Murphy; PHP List
Subject: RE: [PHP] RE: Printing structure and data of array
I may have lost the original problem, but I thought you wanted a way of
displaying the structure of an array hierarchy,
e.g.
$fred[0][0] = array("length"=>10, "width"=>20);
ShowArray($value);
} else
{ echo("=>$value");
}
echo("")
}
echo("");
} // end of fn ShowArray
Tim
www.chessish.com
> -Original Message-
> From: Sandeep Murp
gPrint($yourVariable,1);
This will print out any type (object,array,ressource,string...)
- Original Message -
From: "Sandeep Murphy" <[EMAIL PROTECTED]>
To: "'Tim Ward'" <[EMAIL PROTECTED]>; "PHP List"
<[EMAIL PROTECTED]>
Sent: T
hi,
how can I display the array exactly as it is the format specified??? like if
their exists sub elements of elements, how could I represent them in a
multidimensional format??
I went thru most of the array functions but unable to adapt any of them..
pl help..
TIA,
sands
-Original Messag
Hi,
This is a long one so pl bear with me...
I have an XML structure as follows:
001
WORD
//SUB APPLICATION
002
excel
hi,
I hv an XML tree with some elements which keep repeating.. As of now, I am
able to print only the last element..
I need to make the loop recursive in order to print all the elements..
wud appreciate any help..
TIA,
sands
like this:
001
WORD
Hi,
I have a for loop in which a variable $privid reads and stores the content
from a xmlfile in the form of a string.. the string has 5 different
values...
I want to call this variable $privid outside the loop like this...
for($y_au=0; $y_auprivid = $childNodes[$y]->content ;
-Original Message-
From: Jason G. [mailto:[EMAIL PROTECTED]]
Sent: quinta-feira, 17 de Janeiro de 2002 18:41
To: Sandeep Murphy; [EMAIL PROTECTED]
Subject: Re: [PHP] Fatal error: Call to a member function on a
non-object in example 1.php on line 66
First of all, make sure the $root->child
: quinta-feira, 17 de Janeiro de 2002 18:41
To: Sandeep Murphy; [EMAIL PROTECTED]
Subject: Re: [PHP] Fatal error: Call to a member function on a
non-object in example 1.php on line 66
First of all, make sure the $root->children() returns an array of objects.
Second of all, remove the space betw
Hi,
I keep getting this error "Fatal error: Call to a member function on a
non-object in /www/html/smurthy/example1.php on line 66" and simply unable
to figure out why this is occuring..
64 $root = $dom->root();
65 $All_nodes = $root->children();
66 $childNodes=$All_nodes [1]->children();
Hi guys!!
Thnx a bunch, it worked out... I used the split function...
Meanwhile, hv another question !!
I hv a var $id declared within a function x of a class called A
I need to access this var $id in another php file...
I do the following:
A->$id);
//print ($news->id); ?>
How do i achieve
hi,
can i convert a string to an array?? if so how shud the syntax read??
Thnx,
sands
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi,
I have an xml output with tags like 123
sands
I could parse the output using expat to display it the way i want or as a
string but what I need is to store the values separately in different
variables like $id for sessionid, $user for user and so on.. to be
manipulated later...
Any suggest
hi,
I have a PHP script which sends a authorisation request to a Servlet and
receives a response in XML format. I have also created a parser (using both
DOM as well as SAX) for parsing the output.
My problem: The parser takes in input from an external xml file but the
output from the servlet nee
hi,
I am running PHPtriad on a win2k machine... when I run phpinfo() it
displays " XMLACTIVE" but I keep getting an error "Fatal error: Call to
undefined function: xmldoc() in C:\apache\htdocs\example.php on line 24"
What needs to installed/configured ??
TIA,
sandeep
--
PHP General Mai
Hi,
I am opening a socket on a remote server(weblogic) and sending my username
and psswd to authentify them...
I figure my php is opening the socket as no errors r being trapped.. However
the response is a blank page instead of an xml formatted response...why???
how can i rectify this??
Please
Hi,
I am opening a socket on a remote server(weblogic) and sending my username
and psswd to authentify them...
I figure my php is opening the socket as no errors r being trapped.. However
the response is a blank page instead of an xml formatted response...why???
how can i rectify this??
Please
Hi,
Can anyone tellme how I can do a http request to a servlet from a PHP??
I mean, I have a username and password which I want to send in a
string(variable) to a Servlet which authentifies it and responses back in
XML format...
any suggestions??
TIA,
sandeep
--
PHP General Mailing List (htt
hi,
Does anyone know of a mailing list for PHP and XML or can I just pose them
here??
Thanks,
sandeep
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EM
[EMAIL PROTECTED]
Subject: Re: [PHP] PHP + Windows 98 + Apache
hm.. I also have Apache with PHP and mysql on my win 98
and it runs fine with both..
check ones more the configure steps to be done
for php configuration or write detailed what steps have you
gone thru configuring
levon
On Mon, 7 J
Hi all,
I have installed Apache on my win 98 machine and it runs fine .. however, am
unable to configure Apache to run with PHP.
I installed the binary version of PHP and edited the httpd.conf file as
instructed in the install.txt of php but am getting a browser (400) page not
found error..
an
tet
-Original Messa[Sandeep Murphy] ter ge-
From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
Sent: segunda-feira, 7 de Janeiro de 2002 10:55
To: [EMAIL PROTECTED]
Subject: [PHP] Regarding mail function
Hi ,
My file name: bala.php
34 matches
Mail list logo