Re: help getting web page
| From: | (Jonas Jochum) | Date: | Thu, 29 Jun 2000 21:09:33 +0000 |
| Subject: | Re: help getting web page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3891@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 29.06.00 um 13:52 hat Ed Lazor geschrieben:
EL>test.atfantasy.com, it pulls up new.atfantasy.com. They are both virtual
EL>domains running on the server. I'm assuming that I need to somehow specify
[some stuff snipped]
EL>fputs($fp,"GET /$command HTTP/1.0\r\n\r\n");
Instead, it should say:
fputs($fp,"GET /$command HTTP/1.1\r\n");
fputs($fp,"Host: test.atfantasy.com\r\n\r\n");
- --
MfG,
Jonas Jochum
commandline net services
- -------------------------------------------------------------------------
tel: 07223-911794 | cmd:~ # Systemadministration, Netzwerkverwaltung
fax: 07223-911795 | cmd:~ # Einrichtung von *BSD/Linux-Servern
d2 : 0173-5712481 | cmd:~ # Datenbank/Internetprogrammierung
jj@commandline.de | cmd:~ # Webdesign
www.commandline.de |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (FreeBSD)
Comment: Made with pgp4pine
iEYEARECAAYFAjlbuxAACgkQF1ki3orczCBTEwCdE3VD6fhuHLj12UnVhlYZ20wB
bGcAnRrdQ9wCnzgC3mLXNYDs8xrL35cM
=vTJr
-----END PGP SIGNATURE-----