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
You are not logged in. Please login or register.
PunBB Forums → Posts by cows
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.
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....
ok im done with apachie and it works. Next?
so should i follow the tutorials for mysql and the other ones?
i dont have a host but how can i host the files from off my computer... I leave it on 24-7
no not yet but can we skip that part cause that will be easy to do
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
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.
what about quoting and bolding and all those. How can i make links for those?
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??
thank you! You guys are the best! Happy New Years!
sweet! One last question. Can i change skins???
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??
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??
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
PunBB Forums → Posts by cows
Powered by PunBB, supported by Informer Technologies, Inc.