On Sat, 2008-09-06 at 14:53 -0400, Robert Cummings wrote:
> On Sat, 2008-09-06 at 14:38 -0400, Larry Brown wrote:
> > On Sat, 2008-09-06 at 14:06 -0400, Robert Cummings wrote:
> > > On Sat, 2008-09-06 at 14:02 -0400, Larry Brown wrote:
> > > >
> > > > OK. So I broke down and re-created my mail se
On Sat, 2008-09-06 at 14:38 -0400, Larry Brown wrote:
> On Sat, 2008-09-06 at 14:06 -0400, Robert Cummings wrote:
> > On Sat, 2008-09-06 at 14:02 -0400, Larry Brown wrote:
> > >
> > > OK. So I broke down and re-created my mail server due to its age. I
> > > am
> > > now running the latest sendma
On Sat, 2008-09-06 at 14:06 -0400, Robert Cummings wrote:
> On Sat, 2008-09-06 at 14:02 -0400, Larry Brown wrote:
> >
> > OK. So I broke down and re-created my mail server due to its age. I
> > am
> > now running the latest sendmail and it is still failing. The message
> > in
> > the sendmail l
On Sat, 2008-09-06 at 14:02 -0400, Larry Brown wrote:
>
> OK. So I broke down and re-created my mail server due to its age. I
> am
> now running the latest sendmail and it is still failing. The message
> in
> the sendmail log is
>
> "...] did not issue MAIL/EXPN/VRFY/ETRN during
> connection t
On Fri, 2008-09-05 at 00:58 -0400, Robert Cummings wrote:
> On Thu, 2008-09-04 at 23:20 -0400, Larry Brown wrote:
> > I am having a ball of a time trying to figure this one out... If anyone
> > has dealt with this before I'd love to get some morsels of wisdom from
> > you...
> >
> > I am trying to
On Thu, 2008-09-04 at 23:20 -0400, Larry Brown wrote:
> I am having a ball of a time trying to figure this one out... If anyone
> has dealt with this before I'd love to get some morsels of wisdom from
> you...
>
> I am trying to connect to a postfix server I have set up remotely using
> smtp auth
On 16 May 2008, at 00:04, debussy007 wrote:
I use fsockopen and fputs to call a distant URL, but I have the
following
error :
The requested URL /registration/test was not found on this server.
This is my code:
$req =
'username=' . $usr . '&password=' . $pass .
'&date_of_birth=
debussy007 wrote:
Hello,
I use fsockopen and fputs to call a distant URL, but I have the following
error :
The requested URL /registration/test was not found on this server.
This is my code:
$req =
'username=' . $usr . '&password=' . $pass .
'&date_of_birth=' . $year . "-" . $month . "-"
debussy007 wrote:
> However the path www.example.com/registration/test exists
> so why does it says it cannot find the requested url ?
>
> Any idea ? Thank you for any help !!
Take a look at the accesslog on www.example.com - that'll tell you
what's happening.
/Per Jessen, Zürich
--
PHP Gene
On Friday 22 June 2007 10:59 am, Tijnema wrote:
> On 6/22/07, Ray <[EMAIL PROTECTED]> wrote:
> > hello,
> > I'm having some problems with fsockopen and was hopping for some help.
> > I try to connect to a host via fsockopen and I get "getaddrinfo failed"
> > errors, but if I try fsockopen with goog
On 6/22/07, Ray <[EMAIL PROTECTED]> wrote:
hello,
I'm having some problems with fsockopen and was hopping for some help.
I try to connect to a host via fsockopen and I get "getaddrinfo failed"
errors, but if I try fsockopen with google, everything works.
sample test code
$fp=fsockopen('apps.su
On Wed, April 18, 2007 5:48 am, Matt wrote:
> I am experimenting with the fsockopen function to send custom UDP
> packets.
> What I would like to do is to be able to nominate the LOCAL port that
> my UDP
> packet originates from. What happens currently is that when I execute
> my
> code below I get
Ok, since my last post, I have slapped myself on the wrist. I made a
newbie mistake. The function that I send the host, port, etc to was
in the wrong order from an older version of the function I had. So...
the port was "MSIE..." instead of "80". Way to go me! =\
Thanks Richard.
~Philip
Depending on your php.ini settings, it may be set up to wait FOREVER
for a socket to open...
What $host?
What $port?
Is it public? Private?
Is there any authentication scheme in place?
We've got nothing to work with here to help you...
On Mon, November 6, 2006 2:58 pm, Philip Thompson wrote:
>
On Fri, January 20, 2006 7:38 am, James Benson wrote:
> Im running into the followng error when trying to use fsockopen with
> the
> openssl extension,
>
>
>
> Warning: fsockopen(): php_stream_sock_ssl_activate_with_method: failed
> to create an SSL context
>
> Warning: fsockopen(): failed to activ
still no info on what your version of php etc.
but that output gives the impression it may not be the OS after all...
are you able to recompile php? (using the --no-ipv6 flag or whatever it
mentioned
in the original php error message you posted).
I have no idea how 'invalid' certificates are ha
I get this error:
wget -d -v --delete-after https://www.safetrustprocessing.com
Setting --verbose (verbose) to 1
Setting --delete-after (deleteafter) to 1
DEBUG output created by Wget 1.10.1 (Red Hat modified) on linux-gnu.
--17:15:16-- https://www.safetrustprocessing.com/
=> `index.
Robert Prentice wrote:
Even if i change it back to 443 i still get the error.
take another look at your initail error message... it indicates
a problem related to the machines nameserver/dns setting (specifically
IPv6).
I'm willing to bet it's nothing to do with php - your OS seems to at fault
Even if i change it back to 443 i still get the error.
Robert
On Nov 2, 2005, at 9:54 AM, Jochem Maas wrote:
Terence wrote:
Robert Prentice wrote:
snip
$reply = http_post("https://www.safetrustprocessing.com";, 80, "/
Isnt https supposed to run on port 443? (or other than 80) Just a
gue
Terence wrote:
Robert Prentice wrote:
snip
$reply = http_post("https://www.safetrustprocessing.com";, 80, "/
Isnt https supposed to run on port 443? (or other than 80) Just a guess
that is the default, but any port is allowed technically ... although putting
port 80 under SSL is probabl
Robert Prentice wrote:
snip
$reply = http_post("https://www.safetrustprocessing.com";, 80, "/
Isnt https supposed to run on port 443? (or other than 80) Just a guess
xml_order_processing.php", array("myXml" => $xml));
function http_post ($server, $port, $url, $vars) {
--
PHP General Mai
*This message was transferred with a trial version of CommuniGate(tm) Pro*
It works now. Thanks Jason.
I had never realized that once $_SESSION is set, and if you are not going to
modify it, the session could be closed. It does not seem a good programming
practice, thou.
On Tuesday 08 March 20
On Monday 07 March 2005 22:02, Pedro Garre wrote:
> I am using fsockopen to simulate a POST to another page (test_post.php)
> within the same server.
It's not clear how exactly you're executing your code. I suspect that you
haven't closed the session before doing your simulated POST. Your order
HTTP 1.0 does not support virtual hosts.
B.
On Friday 11 February 2005 18:04, [EMAIL PROTECTED] wrote:
> I'm using code below to fetch content from the url.
> This code was worked properly on two servers I tested but it want worked on
> the
> designated one, so after getting error message I
[EMAIL PROTECTED] wrote:
>
> I'm using code below to fetch content from the url.
> This code was worked properly on two servers I tested but it want worked
> on
> the
> designated one, so after getting error message I figure it out it may
> be php.ini settings limitation
>
Last two examples are fine as connection is obviously established, it is the
communication with server that is causig an error. Read http protocol
documentation.
You do not want such a degree of control over communication you can just use
file_get_contents($url);
where $url is
"http(s)://your.
pete M wrote:
> am not having a lot of success with opening a socket to a secure domain
> (php 4.3.8 - apache - openSSL)
>
> $fp = fsockopen($url , 443 ,$errno, $errstr, 30);
You would need to do S much work to get this going, generating
complementary two-way encryption keys...
Just use curl:
Thanks for your (and everyone else's) help so far.
I've given up on this. Got another one off the web which uses pop3 and
mail() to achieve the same thing.
Thanks anyway
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Doc wrote:
> On Mon, 20 Dec 2004 07:51:46 -0800, Richard Lynch wrote:
>>
>> WILD GUESS ALERT!
>>
>> What you got in /etc/hosts.allow and /etc/hosts.deny?...
>
> nothing in there other than default install comments.
>
>> Or any kind of other anti-bad-guy technology?...
>
> nope.
>
>> Does it work if
On Mon, 20 Dec 2004 07:51:46 -0800, Richard Lynch wrote:
>
> WILD GUESS ALERT!
>
> What you got in /etc/hosts.allow and /etc/hosts.deny?...
nothing in there other than default install comments.
> Or any kind of other anti-bad-guy technology?...
nope.
> Does it work if you use 127.0.0.1 for t
Doc wrote:
>> not sure what you are trying to do but it sounds like you are using unix
>> domain sockets where you should be using tcp. That's why it might work
>> on one machine (where web and imap are both installed) and not on the
>> other where you only have the web server but the imap server i
On Thu, 16 Dec 2004 23:37:36 +0600, Raditha Dissanayake wrote:
>
>> Escape character is '^]'.
>>* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN]
>>serverip IMAP4rev1 2003.339-cpanel at Wed, 15 Dec 2004
>>19:33:27 + (GMT)
>>
>>so I don't think it's the firewall.
>>
> usually a good idea
On Thu, 16 Dec 2004 10:02:02 -0800, Richard Lynch wrote:
> Doc wrote:
>> I'm having a problem with fsockopen and was wondering has anyone ever
>> noticed a case where it will work from machine1 (dev machine) to machine2.
>> But when the was placed onto machine2 it wouldn't work connecting to it's
Doc wrote:
> I'm having a problem with fsockopen and was wondering has anyone ever
> noticed a case where it will work from machine1 (dev machine) to machine2.
> But when the was placed onto machine2 it wouldn't work connecting to it's
> own ip address;
>
> when connecting via telnet it returns:
>
Doc wrote:
Hello.
I'm having a problem with fsockopen and was wondering has anyone ever
noticed a case where it will work from machine1 (dev machine) to machine2.
happens all the time :-)
But when the was placed onto machine2 it wouldn't work connecting to it's
own ip address;
when connecting
Maycon de Oliveira wrote:
> Hi, i have problem in my script, this error is Permission Danied (13)
>
>
> $host = "193.132.139.36";
>
> $port = 443;
>
> $path = "/gatekeeper/ink/quexry.asp"; //or .dll, etc. for authnet, etc.
>
> $fp = fsockopen("https://".$host, $port, $errno, $errstr, $timeout = 10
Problem solved. It seems there was a proxy server involved which was screwing things
up.
Regards,
Michael Egan
> -Original Message-
> From: Michael Egan
> Sent: 31 March 2004 14:20
> To: PHP General (E-mail)
> Subject: [PHP] fsockopen connection error on IIS[Scanned]
>
>
> Hello all,
--- Mooki <[EMAIL PROTECTED]> wrote:
> I am using these to get the code of a page that is listed in the code
> below. I am using the example code of fsockopen on php.net as
> reference.
>
> I can get the response header but i have a problem with the CHUNKs.
I can show you how to deal with chunke
Hello Mooki,
Thursday, March 25, 2004, 12:26:27 PM, you wrote:
M> I am using these to get the code of a page that is listed in the code
M> below. I am using the example code of fsockopen on php.net as reference.
M> I can get the response header but i have a problem with the CHUNKs.
You could sav
--- Scott Fletcher <[EMAIL PROTECTED]> wrote:
> Application --> Web Browser/Web Server
> Presentation --> HTTP/HTTPS/SSL and language (HTML/JavaScript, etc).
> Session --> Browser-Server connection, etc.
> Transport --> Port 80/Port 443, packet transfer control, etc.
> Network --> IP Address/Intern
> Why not delete that part of the 3rd party code then? Or send your Location
> header before you call it? Curl won't help you here, for the same reasons
> that fsockopen won't work.
Not sure about deleting the part of the 3rd party code though, I had thought
about it alot and I had been itching for
> > Sigh! Well, I guess all web browsers suck at it by the way!
> Suck at what exactly?
Not suck at receiving the HTTP commands from the webserver but suck at not
receiving the HTTP commands from the PHP. :-) I understand how the
browser/webserver communication work so no wonder why it doesn't w
--- Scott Fletcher <[EMAIL PROTECTED]> wrote:
> Sigh! Well, I guess all web browsers suck at it by the way!
Suck at what exactly?
> Michal Migurski from other posting had explained that fsockopen()
> do the TCP stuff or the Transport Layer. So, no wonder fsockopen()
> can't get to the Network la
>And finally, for those of you who are dying to know the answer to why I
>can't use the header(). It's the 3rd party coding that contain the code,
>
>--snip--
>if(headers_sent())
>$this->Error(' ');
>--snip--
Why not delete that part of the 3rd party code then? Or send your Location
head
See the reply to the Chris Shiflett's reply...
"Michal Migurski" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> >In plain english, can't use the header("Location: "), so have to use
> >the fsockopen() instead. Just that header() is not allowed, don't ask me
> >why. Just couldn'
Boy! Everyone here is itching for an answer!!! :-) Sigh! Well, I guess
all web browsers suck at it by the way!! Michal Migurski from other posting
had explained that fsockopen() do the TCP stuff or the Transport Layer. So,
no wonder fsockopen() can't get to the Network layer, like the IP Addr
--- Scott Fletcher <[EMAIL PROTECTED]> wrote:
> In plain english, can't use the header("Location: "), so have to
> use the fsockopen() instead. Just that header() is not allowed, don't
> ask me why.
I'm asking anyway. :-)
You cannot (thank goodness) connect to a remote client with fsockopen()
>In plain english, can't use the header("Location: "), so have to use
>the fsockopen() instead. Just that header() is not allowed, don't ask me
>why. Just couldn't get the browser perform the HTTP LOCATION event.
>--snip--
>$host = "192.168.0.2";
>$port = 443;
>$url_str = "ssl://www.whatever.c
In plain english, can't use the header("Location: "), so have to use the
fsockopen() instead. Just that header() is not allowed, don't ask me why.
Just couldn't get the browser perform the HTTP LOCATION event. It does work
when using fsockopen() for HTTP POST or GET as stated in the
http://us
In plain english, can't use the header("Location: "), so have to use the
fsockopen() instead. Just that header() is not allowed, don't ask me why.
Just couldn't get the browser perform the HTTP LOCATION event. It does work
when using fsockopen() for HTTP POST or GET as stated in the
http://us
--- Scott Fletcher <[EMAIL PROTECTED]> wrote:
> I haven't found the right wording to spit out the HTTP scripts to
> the web browser through the fsockopen.
I feel certain that I can help you, but unfortunately I can't seem to
understand your question at all. Please understand that I'm not trying to
Hmm, added @ to fsockopen() function, still happens, can anyone shed any
light on this?
TIA
Phil.
> -Original Message-
> From: Phil Ewington - 43 Plc [mailto:[EMAIL PROTECTED]
> Sent: 08 March 2004 12:57
> To: Miguel J. Jiménez
> Cc: PHP
> Subject: RE: [PHP]
Hi Miguel,
I am giving it a test at the moment, thanks.
-- Phil.
> -Original Message-
> From: Miguel J. Jiménez [mailto:[EMAIL PROTECTED]
> Sent: 08 March 2004 12:29
> To: Phil Ewington - 43 Plc
> Cc: PHP
> Subject: Re: [PHP] fsockopen() errors.
>
>
> Is it a
Is it an error or a warning? If it is a warning you can try use @
before fsockopen() to avoid echoing warning messages [EMAIL PROTECTED](...)].
--
Miguel J. Jiménez
ISOTROL, S.A. (Área de Internet)
Avda. Innovación nº1, 3ª - 41020 Sevilla (ESPAÑA)
[EMAIL PROTECTED]
TLFNO. 955036800 ext. 111
--
testing on another
TLD, strange message for 'domain cannot be found', but hey life would be
boring if everyone thought along the same lines :o)
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: 30 September 2003 15:51
To: [EMAIL PROTECTED]
Subject: Re: [PHP] fsoc
On Tuesday 30 September 2003 20:39, Phil Ewington - 43 Plc wrote:
> Positive, I am deliberately using invalid domains to test how to catch
> errors when users misspell their domain.
Did you read that article (or are you aware of what it is about)?
And what "invalid domains" have you tried?
--
J
Positive, I am deliberately using invalid domains to test how to catch
errors when users misspell their domain.
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: 30 September 2003 12:01
To: [EMAIL PROTECTED]
Subject: Re: [PHP] fsockopen()
On Tuesday 30 September 2003
On Tuesday 30 September 2003 18:46, Phil Ewington - 43 Plc wrote:
> I am having problems with fsockopen() and wondered if anyone else has
> encountered this behaviour. My problem is that when connecting to an
> invalid domain I cannot trap the errors.
Have you checked that it is really an invalid
Sorry about that . Its my first post, :(
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote Cameron Metzke ([EMAIL PROTECTED]):
> > Hi there,
> > I have been trying to make a simple monitor script using fsockopen. here
it
> > is
> > --Start Code-
> >
>
* Thus wrote Cameron Metzke ([EMAIL PROTECTED]):
> Hi there,
> I have been trying to make a simple monitor script using fsockopen. here it
> is
> --Start Code-
>
> error_reporting(0);
> include 'config.php';
> $domain = $_POST['domain'];
>
> [... unneeded code ...]
>
> // Http port c
* Thus wrote Mike Migurski ([EMAIL PROTECTED]):
> >> preg_match('/()/ms', $http_response, $html)
> >>
> >> ...puts it into $html[1]. Adjust to suit your local standards-compliance
> >> practices. You can also look for everything after the first instance of
> >> "\n\n".
> >
> >Thats assuming that th
>> preg_match('/()/ms', $http_response, $html)
>>
>> ...puts it into $html[1]. Adjust to suit your local standards-compliance
>> practices. You can also look for everything after the first instance of
>> "\n\n".
>
>Thats assuming that the person used the for the first
>item. what bout extra space,
* Thus wrote Mike Migurski ([EMAIL PROTECTED]):
> >Is there a way to get fsockopen to suppress the header information it
> >returns. I have no use for the crap, have no idea how to use a regexp to
> >get it out of there (nor does anyone on this list it would seem either).
>
> preg_match('/()/ms',
>Is there a way to get fsockopen to suppress the header information it
>returns. I have no use for the crap, have no idea how to use a regexp to
>get it out of there (nor does anyone on this list it would seem either).
preg_match('/()/ms', $http_response, $html)
...puts it into $html[1]. Adjust
If you only need the HTML why don't you look up file()
http://www.weberdev.com/get_example.php3?count=729
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
Share your code : http://addexample.weberdev.com
-Original Message-
From: Doug
* Thus wrote Doug La Farge ([EMAIL PROTECTED]):
> Is there a way to get fsockopen to suppress the header information it
> returns. I have no use for the crap, have no idea how to use a regexp
> to get it out of there (nor does anyone on this list it would seem
> either).
I have plenty of use f
any takers on this, before I give up and drop to curl for those types of
requests?
Dave
>Creating a quick script where we can poll the services on a particular
>server to
>verify if they are running or not. this will be included in a larger scope
>application once the details are worked out.
>
>
[snip]
> but I get following error:
>
> Warning: fsockopen() [function.fsockopen]: no SSL support in this build
> in
> /usr/home/trivisions/html/sextoymerchant.com/payment/checkout_confirm.ph
> p on line 64
>
> So does this mean that my PHP installation does not support SSL, and
> that I have to
At 14:11 28.02.2003, Michael Temeschinko said:
[snip]
>Hello,
>is it possible to fetch a Website via SSL?
[snip]
Sure - have a look at cUrl...
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ ht
"Phil Powell" <[EMAIL PROTECTED]> wrote... :
> I have a question about the usage of fsockopen() to open and "scrape" the contents
>of a remote URL: if the contents take a very long time to load on the remote URL
>either due to server or coding issues, is there a way for the socket on the PHP en
You should read up on socket_select
On Tue, 8 Oct 2002, Scott Dowd wrote:
> I have a PHP application that goes out an checks all our servers via
> SNMP when requested. Trouble is, if the server is not available, the
> fsockopen never times out and therefore never moves onto the next
> server. I
That's still running sequentially
-Original Message-
From: Jose Arce [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 04, 2002 5:01 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] fsockopen question
now it's clear thx :D
is not the same thing as:
while
sequentially. But there's two
>sockets
>open...
>
>
>-----Original Message-
>From: Jose Arce [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, July 04, 2002 4:48 PM
>To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Subject: RE: [PHP] fsockopen question
>
>
>So...i
thread? i don't
> understand...i mean...if i can open more than one fsockopen...it is
> multithread, or in wich cases php open more than one fsockopen?
> thx :D
>
>
> >From: Martin Towell <[EMAIL PROTECTED]>
> >To: 'Jose Arce' <[EMAIL PROTECTED]>
I mean, you can do
each of the fgets()'s will be executed sequentially. But there's two sockets
open...
-Original Message-
From: Jose Arce [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 04, 2002 4:48 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] fsockope
rce' <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>Subject: RE: [PHP] fsockopen question
>Date: Thu, 4 Jul 2002 16:39:36 +1000
>
>you can do more than one fsockopen(), but since php isn't multi-threaded -
>you'll still only be able to download one file at a time.
>
you can do more than one fsockopen(), but since php isn't multi-threaded -
you'll still only be able to download one file at a time.
-Original Message-
From: Jose Arce [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 04, 2002 4:39 PM
To: [EMAIL PROTECTED]
Subject: [PHP] fsockopen question
Alex Elderson wrote:
>The problem is the "Connection: Close\n\n" header. The webserver close the connection
>after the first request, if i remove
>the "Connection: Close\n\n" header the first fgets($web_conn, 128) command will never
>ends.
>
This is because persistent TCP connections are the d
Worked perfectly.
Thanks.
Evan Nemerson wrote:
>Try
>
>fputs ($fp,"GET ".$url[path]." HTTP/1.0\r\nHost: " . $url[host] . "\r\n\r\n");
>
>Your old request looked like "GET / HTTP/1.0\r\nHost:value_of_host/\r\n\r\n",
>hence the 400.
>
>
>On Monday 24 June 2002 17:40 pm, Gerard Samuel wrote:
>
>
Try
fputs ($fp,"GET ".$url[path]." HTTP/1.0\r\nHost: " . $url[host] . "\r\n\r\n");
Your old request looked like "GET / HTTP/1.0\r\nHost:value_of_host/\r\n\r\n",
hence the 400.
On Monday 24 June 2002 17:40 pm, Gerard Samuel wrote:
> Im trying to figure out fsockopen to grab an rdf file.
> Here
On Thu, 16 May 2002, Scott St. John wrote:
> I am using fsockopen to test several of our SQL and WEB servers at our
> office. Testing ports 80, 1433 and 8080 work fine, but I would like to
> set something up to test ports on our mainframe. These are printers
> listening on 9100 and when I tes
I haven't tried this, but why don't you just use fopen with a URL,
especially if you don't what to have to deal with the http header.
I would think that if you do the fsockopen to port 80, you will need to use
the handshake protocol required by that server which involves the get/put
http header
Oohh so sorry... Now it works.
I simply forgot to crop the tailing "/"
from the URL. Call me stupid for now...
Thanx alot ;)
Cheers,
Kiko
-
Fool me once. Shame on you. Fool me twice. Shame on me.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
--
OTECTED]]
> Sent: 26 March 2002 12:48
> To: '[EMAIL PROTECTED]'; Christoph Starkmann; [EMAIL PROTECTED]
> Subject: RE: [PHP] fsockopen
>
>
> Hi!
>
> > Is $tempPort set ?
>
> Yes... 80 as default...
>
> > > $tempUrl = ereg_replace("http://
Hi!
> Is $tempPort set ?
Yes... 80 as default...
> > $tempUrl = ereg_replace("http://";, "", $url);
> >
> > $fp = fsockopen ($tempUrl, $tempPort, &$errno, &$errstr, 30);
> >
> > if (!$fp)
> > {
> > echo "error opening $url: \$errstr=$errstr,
> \$errno=$errno\n";
> > }
> > else
> > {
> >
Is $tempPort set ?
Alastair Battrick
Senior Developer
Lightwood Consultancy Ltd
http://www.lightwood.net
> -Original Message-
> From: Christoph Starkmann [mailto:[EMAIL PROTECTED]]
> Sent: 26 March 2002 12:40
> To: '[EMAIL PROTECTED]'
> Subject: [PHP] fsockopen
>
>
> Hi!
>
> I'm trying
On Thu, 28 Feb 2002, Bas Jobsen wrote:
> I try to do a HTTP Authorization with a fsockopen, but it doesn't seem to
> work. Who can help?
> $user and $passwd are set well, my code:
I think you can spy from PEAR HTTP_Request class how it
can be done:
http://chora.php.net/
You should have only one \r\n pair after the HTTP request AFAIK - only
need two when the header ends.
Bogdan
Bas Jobsen wrote:
>Hello,
>
>I try to do a HTTP Authorization with a fsockopen, but it doesn't seem to
>work. Who can help?
>$user and $passwd are set well, my code:
>--
>$auth=base64_
Although they are experimental, I find the socket() and connect() functions
in PHP4 to be much easier to use and manage. May want to try them, perhaps?
They seem to be a little less tempramental.
Mike Frazer
"Bhavin Modi" <[EMAIL PROTECTED]> wrote in message
news:01d901c1a419$deea9de0$0664a8c
Good suggestion, in fact I just recompiled to include the IMAP extensions
for just that purpose. Unfortunately, I was unable to get a decent
understanding of how to use the IMAP extensions with NNTP, and since I have
implemented connection level NNTP sessions in a number of languages I
thought it
Why not just use the imap extension which supports the NNTP protocol
natively?
On Wed, 26 Dec 2001, Fred wrote:
> I am attempting to use fsockopen to connect to a news server. I am able to
> successfully connect and authenticate. In fact, I can issue many commands
> without a hitch.
>
> I do
Hi Stefan,
Maybe this HTTPPost class will help you.
http://phpclasses.upperdesign.com/browse.html/package/375
--Daniel
> -Original Message-
> From: Stefan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 15, 2001 8:53 AM
> To: PHP
> Subject: [PHP] fsockopen - whats the syntax of PO
From: "Brad Hubbard" <[EMAIL PROTECTED]>
> > I am using fsockopen to post data to a dll on a SSL server. I setup the
> > socket data and successfully posted the data to port 80 but as soon as I
> > switch to port 443 I received no errors or text.
>
> Does this help? I use this on web servers to
As far as i know PHP can't handle SSL yet.. at least that was the situation
a few versions ago. =(
- Original Message -
From: "Brad Hubbard" <[EMAIL PROTECTED]>
To: "John" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, October 26, 20
On Fri, 26 Oct 2001 17:18, John wrote:
> Hello All,
>
> I am new to this list and am sure most of you are tired of this subject
> appearing. Please forgive me as I am becoming tired of searching archives
> and the internet and I am hoping someone here can help me.
>
> I am using fsockopen to post
Hi,
the way i would do it looks like this:
- setup stunnel (www.stunnel.org) to listen to port 10443 in the
127.0.0.1 interface and forward that to www.myprovider.com
- the php script would connect to 127.0.0.1:10443 using plain text
- that's it, easy and clean! :)
stunnel will hapilly forwar
nsaction is accepted.
-Original Message-
From: Matthew Luchak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 10:04 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] fsockopen question
I use:
$fp = fsockopen("www.somewhere.com",80);
fputs($fp, "GET http://www.somewhere.com/som
hen try the response..
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Michael Conley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 1:00 PM
To: Matthew Luchak; [EMAIL PROTECTED]
Subject: RE: [PHP] fsockopen ques
I use:
$fp = fsockopen("www.somewhere.com",80);
fputs($fp, "GET http://www.somewhere.com/somedir/somepage.html
HTTP/1.0\r\n\r\n");
to parse. Should be easily modified
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From:
Isn't there a set_blocking function you have to call first?...
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original Message -
From: Plamen Slav
100 matches
Mail list logo