Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 2002
Posts: 8
Junior Member
Junior Member
Offline
Joined: May 2002
Posts: 8
Hi,
I have just upgraded ubb.classic6.2.1 to ubb.classicversion6.3.0.1 running on Win2K Server.
I have been asked to reinstall Latest Threads on the upgraded ubb.

I work together with two ASP webmasters who have the following code embedded onto their web pages.
script src="http://xxx.yyy.com/cgi-bin/lt.cgi?f=10">');

What I did after upgrading was to reduce lt.cgi to just the following :-
Code
[/code]I did the above so that the web pages would display nothing instead of a javascript error.

I intend to install the latest version of Latest Threads (version2.1) on the upgraded ubb.
What I need the lt.cgi in this case to do is:-
Code
</pre></div></div>I am stuck at the first few steps.<br>I ran the following lt_test.cgi from the cgi-bin of the Windows 2000 Professional Default Website.<br>[code]
In the require statement above, I needed to use an absolute path for require to be able to get
vars_config.cgi
Before the require statement I had hoped to be able to run the following:-

print "Content-type: text/htmlnn";
use Cwd;
$dir = getcwd;
print "$dir";

What $dir returned was a physical path to which the Default Website was mapped to.

I had hoped that $dir would return the total physical path all the way path to the cgi-bin.
So that I could do

require "$dir/vars_config.cgi"

Is there a way to do this?

Would appreciate any help:)

Sponsored Links
Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
I replied to your other topic in the Perl Programming forum. wink

Joined: Feb 2001
Posts: 817
Moderator / Kingpin
Moderator / Kingpin
Joined: Feb 2001
Posts: 817
Please don't post in multiple forums. Since the other topic has replies I'll close this one.


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
hatter
hatter
USA
Posts: 69
Joined: January 2001
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
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 20240506)