test
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
Im tring to send XML thru POST to a server. I have a demo in asp that
works fine but how do I write this in php.
This is the ASP demo
sXML = "\r\n");
} else {
if ($fp) {
fputs($fp, "POST /$sUrl HTTP/1.0\r\n");
fputs($fp, "Content-Type: text/xml\r\n");
fputs($fp, "Content-Length: ".strl
And what is the error message you get then?
-Original Message-
From: Joakim Ling, Lokalguiden
To: [EMAIL PROTECTED]
Sent: 11-6-2004 9:21
Subject: [PHP-WIN] send XML thru POST
Hi
Im tring to send XML thru POST to a server. I have a demo in asp that
works fine but how do I write this in p
Warning: fsockopen(): php_network_getaddresses: gethostbyname failed in
c:\inetpub\wwwroot\tmp\telia.php on line 3
Warning: fsockopen(): unable to connect to :80 in
c:\inetpub\wwwroot\tmp\telia.php on line 3
Åtgärden har slutförts. (0)
Its like it cant find the server, but the ASP connection work
You have probaly sumbited and URL instead of a host address then.
Or your host address is invalid - try the IP# of the host - this
may indicate a problem to do a DNS lookup.
-Original Message-
From: Joakim Ling, Lokalguiden
To: Svensson, B.A.T. (HKG); [EMAIL PROTECTED]
Sent: 11-6-2004 9:52
Hmm, ok.
$fp = fsockopen ("http://kontaktamig.telia.se";, 80, $errno, $errstr,
30);
fputs($fp, "POST /servlet/teliawebforms.SendXMLISO HTTP/1.0\r\n");
Correct?
"B.A.T. Svensson" <[EMAIL PROTECTED]> skrev i meddelandet
news:<[EMAIL PROTECTED]>...
You have probaly sumbited and URL instead of a h
Remove http://
On Fri, 2004-06-11 at 10:27, Joakim Ling, Lokalguiden wrote:
> Hmm, ok.
>
> $fp = fsockopen ("http://kontaktamig.telia.se";, 80, $errno, $errstr,
> 30);
> fputs($fp, "POST /servlet/teliawebforms.SendXMLISO HTTP/1.0\r\n");
>
> Correct?
>
>
> "B.A.T. Svensson" <[EMAIL PROTECTED]>
Say you want to send the XML data to: http://myserver.com/listener.php
The you should use:
$fp = fsockopen (myserver.com, 80, $errno, $errstr, 30);
and later down
fputs($fp, "POST /listener.php HTTP/1.0\r\n");
"Joakim Ling" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi
>
>
Joakim Ling wrote:
Hi
Im tring to send XML thru POST to a server. I have a demo in asp that
works fine but how do I write this in php.
This is the ASP demo
sXML = "
Call oHttpConn.Open("POST", sURL, False)
Call oHttpConn.setRequestHeader("Content-Type", "Text/xml")
Call oHttpConn.send(sXML)
sXMLRe
Is it possible print on the image an symbol tm???
by using imagettftext, it's print special chars like copyright, etc, but
it doesn't work with tm...
I have tryed to use fonts like verdana, arial, etc but nothing
Some suggetsion?
--
Using Opera's revolutionary e-mail client: http://www.opera.com
Alekc
Maybe this will help if you outputting plain text:
chr(153) will output =' T '
--
Gerardo S. Rojas
mailto: [EMAIL PROTECTED]
-Original Message-
From: Alekc [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 10:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Tm and Gd Libr
Hello,
On 06/11/2004 04:21 AM, Joakim Ling wrote:
Im tring to send XML thru POST to a server. I have a demo in asp that
works fine but how do I write this in php.
You may want to try this HTTP client class that comes with an example to
do exactly what you want, POST a XML file (see the SOAP reques
[EMAIL PROTECTED] wrote:
The mysqli DLL file is not present in the PHP5rc3 for Win32 package, nor is it bundled.
Can't find it in the PECL package either. Did they just forget to put the DLL in the package
or is there a more esoteric explanation to this?
Erik
The new releases of MySQL are licens
I get this error: Parse error: parse error, unexpected ':' in
c:\inetpub\wwwroot\mchsvb\EmailPassword.php on line 100
Here's line 100:
$from = "From: [EMAIL PROTECTED]
<[EMAIL PROTECTED]>\r\n";
Anyone see anything wrong?
Give us a few lines above that, please? It could be something missing from
the preceeding lines.
- Original Message -
From: "Jonathan Gravois" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 11, 2004 11:06 PM
Subject: [PHP-WIN] PHP code breaks
>I get this error: Pa
$ConfirmMessage = "";
if ($totalRows_LostPassword > 0) {
$to = $_POST['EmailAddress'];
$from = "From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>\r\n";
$subject = "RE: Your Login Information";
$body = "UserName: "
copy and pasted that into a script and it didn't give me any parsing
problems at all hmmm
- Original Message -
From: "Jonathan Gravois" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 11, 2004 11:21 PM
Subject: [PHP-WIN] More Code
> $ConfirmMessage = "";
I'm trying to create a "forgotten email page." Here's the whole
page's code:
Millington Central HS Volleyball