well how the heck do you do that.  I got my forums in my sql database and im using apachie to upload my junk into my localhost

help please

I am almost done and im done with the instalation 2.  All i need to do now is to make a txt file and paist my stuff in it and then name is config.php  (Right??)  So now how do you upload files directly up to the mysql database that i need to put this in??   Please help me out.

178

(27 replies, posted in PunBB 1.2 discussion)

bump please

179

(27 replies, posted in PunBB 1.2 discussion)

how do i do this?????

Testing MySQL
Testing MySQL is not exactly easy. However, here are the common connection strings for PHP and CGI. I recommend downloading phpMyAdmin and using it to create and manage your databases, etc.

PHP Connection test
<?php
// hostname or ip of server (for local testing, localhost should work)
$dbServer='localhost';

// username and password to log onto db server (what you entered in Step 4)
$dbUser='root';
$dbPass='';

// name of database (what you created in step 4)
$dbName='test';

    $link = mysql_connect("$dbServer", "$dbUser", "$dbPass") or die("Could not connect");
    print "Connected successfully<br>";
    mysql_select_db("$dbName") or die("Could not select database");
    print "Database selected successfully<br>";

// close connection
mysql_close($link);
?>


CGI Connection test (Must have DBI module installed)
#!/usr/bin/perl

print "Content-type: text/html\n\n";

# DBI is perl module used to connect to the database
use DBI;                                

# hostname or ip of server (for local testing, localhost should work)
$config{'dbServer'} = "localhost";

# username and password to log onto db server (what you entered in Step 4)
$config{'dbUser'} = "root";       
$config{'dbPass'} = "";           

# name of database (what you created in step 4)
$config{'dbName'} = "test";           

# MySQL driver (shouldn't need to change)
$config{'dataSource'} = "DBI:mysql:$config{'dbName'}:$config{'dbServer'}";   

my $dbh = DBI->connect($config{'dataSource'},$config{'dbUser'},$config{'dbPass'}) or
die "Can't connect to $config{'dataSource'}<br>$DBI::errstr";
    print "Connected successfully<br>";
$dbh->disconnect();


Some notes for CGI users 
If you do not know how to install DBI here's how (you can go to www.cpan.org and do it by hand, but this is waaaay easier).

On your start menu there should be a ActiveState ActivePerl 5.8 > Perl Package Manager shortcut. Run it then type install dbi and it will download and install that module. When that finishes type install DBD-mysql and you are ready to go. 


please help....

180

(27 replies, posted in PunBB 1.2 discussion)

ok im done with apachie and it works. Next?

181

(27 replies, posted in PunBB 1.2 discussion)

so should i follow the tutorials for mysql and the other ones?

182

(27 replies, posted in PunBB 1.2 discussion)

i dont have a host but how can i host the files from off my computer...  I leave it on 24-7

183

(27 replies, posted in PunBB 1.2 discussion)

no not yet but can we skip that part cause that will be easy to do

184

(27 replies, posted in PunBB 1.2 discussion)

i lleave my pc on 24-7 lol.  Im using the windows 2000 so it takes forever to start up so i leave it on 24-7  Please help me out though.  Ill do my best but common man.  I'm begging you.  Please help me

185

(27 replies, posted in PunBB 1.2 discussion)

no please give me a full tutorial how to set up the real thing
i have all the stuff downloaded  apache mysql and the forum.

now tell me how to set it up so i can do the whole thing.

186

(27 replies, posted in PunBB 1.2 discussion)

what about quoting and bolding and all those.  How can i make links for those?

187

(27 replies, posted in PunBB 1.2 discussion)

hey here is anotherquestion lol

at the top you kno how it says login/register/users/home/

is there a way i could make some more of those??

188

(27 replies, posted in PunBB 1.2 discussion)

thank you!  You guys are the best!  Happy New Years!

189

(27 replies, posted in PunBB 1.2 discussion)

sweet!  One last question.  Can i change skins???

190

(27 replies, posted in PunBB 1.2 discussion)

also in the free forum hosting does it come with all the features as the other board that u set up manually?  That u download from punbb.org??

191

(27 replies, posted in PunBB 1.2 discussion)

1. So your saying i can use a free punbb forum that connorhd is using.  By myself a domain and redirect the site and im done???

2. Is there a way that i could host this board without paying some1 to host it for me mark36ph??

192

(27 replies, posted in PunBB 1.2 discussion)

Well I really like forums.  There really cool and these look awsome.  1 Problem for me.   I dont know anything about mysql's and stuff.   Could some1 help me out.  I would be really thankful.  The Punbb forums are really cool.  Can someone please tell me what i need to do to get my little forums starting.   I looked at the free forums but i want one with my personal domaine name.  Not http://myname.punbb.com or whatever.  Pleae help me.

Cows