You are here: Re: Login via php code on an external page « PHP Programming Language « IT news, forums, messages
Re: Login via php code on an external page

Posted by Jerry Stuckle on 03/02/07 21:03

Andrea wrote:
>> Offhand I would say you have the file requiring authorization in your
>> httpd.conf and/or .htaccess files.
>
> No, There's no authorization required and
>
>> Can you access the page through your browser?
>
> yes I can access that page through the browser with no problem.... :(
>

Well, the 403 comes from one of two things - either you're trying to
access something you're not allowed to access (i.e. a directory listing
when it is not allowed), or you must be authenticated to access the page.

Not knowing the exact page you're trying to access makes it impossible
to do some testing from this end.

If you're running Firefox (which I highly recommend for web
development), get the Live HTTP Headers extension. Look in it to see if
you have something like:

HTTP/1.x 401 Authorization Required

If you do, the page is requiring authorization.

I'm really wondering if this is the case because of the code you have:

And remember - once you've signed onto the site, your browser will send
your userid/password any time it asks for it (assuming HTTP
authentication, of course).

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация