|
|
Joined: May 2002
Posts: 5
Junior Member
|
Junior Member
Joined: May 2002
Posts: 5 |
I am trying to use the ubb as a back end for user authentication. In otherwords they must be registered and signed in to view certain parts. The main being the galery.
I added the following code to ultimatebb.cgi to allow ultimatebb.cgi?ubb=gallery [code][/code]It works fine, to view the gallery you need to be singed in, and if you are not it asks you to sign in. However it outputs "Content-type: text/html" on the resulting page, knocking the site design off qiute alot.
I assume it has somthing to do with $warnhandler in ultimatebb.cgi. I am no CGI expert and have no idea how to bypass/iliminate this problem.
If anyone could help me It would make my day.
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
Imagefolio is probably printing that header directly - you'll want to check its code. Warnhandler is disabled in all production releases....
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Unless you are just wanting to learn perl, you might wait a bit on this... Dirk is working on a ubb.classic integration for imagefolio More when there's something to post about it
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Gallery as a standard for UBB?
|
|
|
|
Joined: May 2002
Posts: 5
Junior Member
|
Junior Member
Joined: May 2002
Posts: 5 |
ive tried other cgi apps thru the same process and each has the same output at the very top of the page before the calls app outputs anything. I am certain it is created by the ubb. Although this integration for imagefolio will no doubt be alot better then my botch job, Ill carry on and try to figure it out for myself untill its release. Ill keep u posted Thanx guys
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|