Linco12 was a spammer whose post was deleted. (The post included a quote from your post.)
Linco12 was a spammer whose post was deleted. (The post included a quote from your post.)
Daniel - Freelance Web Design | <?php?> | <html>| Deutsch | italiano | español | português | català | un peu de français | Ninasoma Kiswahili | 日本語の学生でした。| درست العربية
okay, well, now that that's sorted out.
Nicholas: this is a decent htaccess article: http://www.javascriptkit.com/howto/htaccess3.shtml
What have you tried so far? Do you have any specific questions?
Adrian ~ facebook | gist/github
['66.215.156.37','208.75.149.97'] // ip,ip array!
"Take that sticker *off* your hat; you look stupid" --Wil Wheaton
I'm not sure what to put on the first line in htaccess...
I don't know what to put after "AuthUserFile".
EDIT: And "AuthName".
the "AuthUserFile" is the path to the .htpasswd file, realtive to the server. For example, your website root (www.whatever.com) is somewhere on your server's HD, like "/home/users/yourname/whatever_com/public_html/". Aside from getting the path correct, this:
should work fine.Code:AuthUserFile /usr/local/you/safedir/.htpasswd AuthGroupFile /dev/null AuthName EnterPassword AuthType Basic require valid-user
Your .htpasswd file should be a list of usernames/password hashes, separated by colons:
DD has a tool for creating the password hash, and there's more instructions there too.Code:{username}:{password hash} {otheruser}:{differenthash}
Adrian ~ facebook | gist/github
['66.215.156.37','208.75.149.97'] // ip,ip array!
"Take that sticker *off* your hat; you look stupid" --Wil Wheaton
WooHoo!
(A.K.A. it works)403
Permission denied.
Thanks for the help everyone![]()
...and I assume you can log in successfully as well?![]()
Adrian ~ facebook | gist/github
['66.215.156.37','208.75.149.97'] // ip,ip array!
"Take that sticker *off* your hat; you look stupid" --Wil Wheaton
Lol yeah.
Now I'm having MySQL troubles...
I'm setting up PHP Fusion on my site but it can't connect to both of my MySQL accounts.
Ex:
Database hostname: myhostname.sql**.freemysql.net
Username: nsstudios
Password: ******
Database Name: nsstudios (or) phpfusion
Table prefix: (left alone) fusion_
I click 'next' and it says it cannot connect to it. What do I do?
I'd have to see your code - one connection can't connect to both databases, but you can make two connections. Additionally, every mysql function will have to specify which connection it wants to use, or things will get mixed up.
Why don't you start a new thread in the mysql forum?
Adrian ~ facebook | gist/github
['66.215.156.37','208.75.149.97'] // ip,ip array!
"Take that sticker *off* your hat; you look stupid" --Wil Wheaton
Nevermind got it working, had to use a MySQL database on my account.
progress: 81%
Link: http://kapleenmusic.webfreehosting.n...files/news.php
Trying to find out how to change the title.. :/ lol
Line 3, I think of your code, in the head of the document.
Code:<title>PHP-Fusion Powered Website - News</title>
Corrections to my coding/thoughts welcome.
Bookmarks