Previous Thread
Next Thread
Print Thread
Rate Thread
#227518 11/08/2002 8:50 AM
Joined: Aug 2001
Posts: 128
Member
Member
Joined: Aug 2001
Posts: 128
This is mainly pointed towards Rick... But do you think future version can use relative links instead of hard coded links??

This will make it so I can have it working in both http and https mode which is very important to me. Some stuff I run via my site needs to be encrypted for security reasons. Not to mention I did suggest your software to my company to use. And the company I work for has to have things secure due to it is for the government. So what do you think??

Sponsored Links
Joined: Oct 1999
Posts: 282
Enthusiast
Enthusiast
Offline
Joined: Oct 1999
Posts: 282
hmmm.... since the beginning I run ubb.t with relative links (actually starting at the root-dir). Works perfect. Just set

$config['phpurl'] = "";

in config.inc.php. There are just two or three other files where one line needs to be changed, that does a http-redirect:

header ("Location: (...blahblah)

changed this into:

code:
#added $dom & changed header() [M.Hoeschen]:
$dom = find_environmental("HTTP_HOST");
header ("Location: http://$dom/viewmessages.php?Cat=$Cat&box=$box&PHPSESSID=$PHPSESSID");


Joined: Aug 2001
Posts: 128
Member
Member
Joined: Aug 2001
Posts: 128
Well found out my problem... my https was on a differant server domain/directory structure... However still the cookie is an http cookie... what if mid way in browsing they need to switch to https... just my 2 cents I dunno... I am doing so much coding on differant projects it is sad and I get things confused...


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)