Re: remote file existance when protected by a .htaccess
| From: | Robby Russell | Date: | Wed, 20 Oct 2004 21:50:38 +0000 |
| Subject: | Re: remote file existance when protected by a .htaccess | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199949@lists.php.net to get a copy of this message | ||
On Wed, 2004-10-20 at 09:53 -0700, Mag wrote:
> > > which works great except I have been getting some
> > 403
> > > access denied errors for some sites, checking I
> > see
> > > that they are protected by a htaccess file (that
> > > checks the referrer) so i tried putting
> > >
> > > header('referer: domain')
> > >
> > > where domain is the parse_url['host'] of
> > $remote_file
> > > but that too has failed...
> > >
> > > Any ideas?
> >
> >
> > might want to try
> > http://pear.php.net/package/HTTP_Client
>
> Nope, no PEAR allowed....any other options?
No PEAR allowed?
Why not? You can include the libraries in your own paths...
-Robby
--
/***************************************
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | robby@planetargon.com
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
****************************************/
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc