Login syntax for HTTP authentication

Hi,
I have a question that I feel embarrassed about but I'm new to cPanelX (& Linux) and haven't been able to solve it so here it is.

I have a PHP script that makes use of HTTP authentication. When I open the page the browser (IE/Opera/etc.) pops up a Username/Password input window. No matter how I enter the username/password I just can't get the script to accept the input.

In the past I had problems with Username/Password input when dealing with ftp accounts until I found that I had to enter
username@domainname, instead of only the username.

What do I need to enter in the username input field if for example my username was 'tom'? Note that 'tom' is not my cPanelX username but the script login username.

I've tried the following combinations but none work:
tom
tom@domainname

(I'm using PHP version 4.3.10 and cPanel Build 10.8.0-RELEASE 54).

Thanks,
Michael

P.S. Feel free to laugh at me :-)

 

 

 

 

Top