Click here for AnswerPool.com Home page


Google

    AnswerPool.com  Hop To Forum Categories  Computers  Hop To Forums  Internet    Complicated CGI Problems

Moderators: Dwight
Go
Post
Find
Notify
Tools
Reply
  
  Login/Join 
Gold Enthusiast
Posted
Well my problem starts with the fact that I am a total Noob trying to self teach myself, and apparantly doing so very ineffectivly.

What I am trying to do is to get a specific chat script to run. If you read my earlier question, I discovered that me problem was not the script I was running, but the fact that the place I had my site hosted wouldn't allow it to run. I'm now located at a place where I have no problems...but I am trying to run a script where I know I have a specific script issue. Here is at least ONE of the problems I am currently having:

This is what the readme states:

Ralf's Chat can use two different methods for saving the chat data: DBI and
Flat File. You can either use the Data Base Interface for MySQL to save all
data in a MySQL data base or the Flat File version saving the data in simple
text files.
Generally the standard package contains both methods but you may remove
the unneeded part using the remove.pl script ("perl remove.pl DBI" or
"perl remove.pl NODBI").



Ok, so the place that I have this hosted does NOT have a MySQL database available to me...and so FAR I haven't found a place to host where I can get this feature for a reasonable cost....SO I apparantly am going to have to use flat file...

The problem I have is that I don't know how to "run" the remove script "perl remove.pl DBI". One person told me to telnet into my site and run it in a command line...but either I am doing it wrong or something, because that's not seeming to work.

The actual part of the CGI script that I need to strip is:





If anyone has any suggestions about how I can get rid of this so it will run flat file....well I'd love to hear from you!!

[This message was edited by Katanya2000 on 11-27-02 at 07:48 AM.]
 
Posts: 1015 | Location: Atlanta, GA USA | Registered: 06-04-02Reply With QuoteEdit or Delete MessageReport This Post
Gold Enthusiast
Picture of Byter
Posted Hide Post
Did you mean for this to look:

is:<BR><BR><TEXTAREA name="variable name" rows=3 cols=70>#
# DBI (Data Base Interface)
# set to 1 if you want to use the DBI
$use_dbi = 0;
# user for DBI
$dbi_user = 'ralfchat';
# password for DBI
$dbi_password = 'ralfchat';
# database
$dbi_database = 'ralfchat';
# host
$dbi_host = 'localhost';
# DSN (Data Source Name for the DBI)
$dbi_dsn = "DBI:mysql:database=$dbi_database;host=$dbi_host";
# set to one if your DBMS supports primary keys (eg. MySQL)
$use_primary_keys = 1;
#
</TEXTAREA><BR><BR><BR><BR>If

Striped tags to &< or &>

Don't know the answer though confused
 
Posts: 1052 | Location: Sun Valley, Calif. :^þ | Registered: 06-03-02Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

    AnswerPool.com  Hop To Forum Categories  Computers  Hop To Forums  Internet    Complicated CGI Problems

© 2002-2009 AnswerPool.com
All Rights Reserved
Using This Site Means You Accept Its Terms of Service and Privacy Policy
Close Cover Before Striking
3D Glasses Required for Optimal Viewing
Now in HD and Surround Sound
Offer Void Where Prohibited by Law
There's a Bathroom on the Right
Caution - Objects May Be Closer Than They Appear
Anything You Post May Be Used Against You in the Court of Public Opinion



Visit DiscussionPool.com!