Current location: Hot Scripts Forums » Programming Languages » PHP » HTTP Authentication


HTTP Authentication

Reply
  #1 (permalink)  
Old 08-06-03, 01:17 AM
SleeperZ SleeperZ is offline
Newbie Coder
 
Join Date: Jun 2003
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
HTTP Authentication

I am trying to make a script to automate the subdomains on my hosting account.

To do this I need to be able to login past the Cpanel's HTTP Authentication.

I dont know what the headers are I need to return tho?

Anyone know of a link?? I can't seem to find the info anywhere and I figure maybe someone here has a bit of experience in that area?

Cheers

/SleeperZ
__________________
***Expect the Unexpected***
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 08-06-03, 06:21 AM
gizmoitus's Avatar
gizmoitus gizmoitus is offline
Niamh's Daddy
 
Join Date: Jun 2003
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
You can pass name and password information with the url. For example, I have a script that accesses an http realm protected cam, and triggers the movement of that cam to a preset. The script I use simply fopen's the url which looks something like this:

"http://cusr:pw@www.thesite.com/ControlCamera?etc"

Note the username:pw@host.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 08-06-03, 06:27 AM
SleeperZ SleeperZ is offline
Newbie Coder
 
Join Date: Jun 2003
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
WoW! that was easy... :-)
__________________
***Expect the Unexpected***
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial number authentication geneane ASP 6 03-19-04 07:18 AM
PHP - Windows Authentication link Mista Script Requests 3 12-29-03 07:09 PM
HTTP Vars bog Perl 4 10-07-03 02:32 PM


All times are GMT -5. The time now is 08:45 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.