Tag Archives: htaccess

help setting up a simple password protection

For starters I want for you to thank everyone at Website design. I’ve been interested in a site like for an extended time. Thank you for a second time. Formerly suffering with tinnitus trying to do is determined up a basic password protection to counteract access to an internet page. The example Im using is coming from my LinkSys router and I have seem other sites utilize this popup to signon. I know there are other ways of accomplishing this but I want to have this popup to occur when going to a certain page. It appears as though its a javascript this uses an alert1()function. the address into the example is below… http: //24. 59. 213. 122/jobs/screenhunter_002. gif I have faith in every person here!! gives thanks again It is actually done by means of setting password protection through. htaccess information for Apache hosts and AD/NT permissions intended for IIS servers. If your coordinator runs CPanel it’s not hard to do using the " Password Defend Directories" section. Or, for page by way of page authentication, you could use PHP’s (Apache required) built in PHP_AUTH constants. Study more: http: //php. net/manual/en/features. http-auth. php thats what I need " page … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Need to set up site like following

Hello, I’m fresh towards the Web Development conclude of things. i’d prefer to make a website that will possess a database like one here www. 7thgencivic. com/wiring How would i begin doing it. Would it be extremely tough You it is fair to learn a function sided language just like php, asp, or even. net or contract another individual to do the item. Also, you’ll have to learn SQL (Structured Query Language), which is what exactly these server-side languages use to contact a database. i thought i it is fair to learn the would like of apache php and sql. i was gonna make the site out of html document pages. instead cos we ain’t really got time to learn all that serverside.. tell me this basically wanted to password guard entry to where we have these pages may that be accomplished easy enough. hello there for my ignorance. In a couiple associated with months i’m gonna receive sime good books and have a proper read within the languages If it’s with a unix based server then you could utilize what is referred to as htaccess. Your host provide you with more info at that. If it’s really a windows … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Help! Nowhere hidden to put private config file!

On the new website, all I’ve is a actual directory on my personal FTP. I do not have any directories underneath it helping put config files, we don’t want anybody to determine. The people along at the host said in order to password protect the directory the config file is currently in (a subdir in the root) with htaccess, but merely do this then the PHP include()s won’t be able to access it. Possibly there is any other way to make this file private on the outside world With thanks! You could take a step like this: PHP: if  (  $_SERVER’PHP_SELF’  ==  ‘/protectedFolder/protectedFile. php’  )        die(  ‘Private  record,   buddy.   Step  back again. ‘  ); I believe should work. Naturally, you change /protected… on the appropriate folder/file, relative on the *server root*. Ah I see, so should the actual file inside the browser is the private one, it’s going to display the meaning, but if it is a different page as well as private file is just being included, it won’t Because it isn’t really the current page I think I getcha. With thanks, buddy WE wouldn’t even show a message. Just forward them onto for … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

404 .htaccess problem…

Upon my website (using Zen Cart) I am having problems with the 404 forwarding. It works so long as the wrong address is similar to this: Will there be a way I’ll make this work to ensure if a person types in: they are brought to: Many thanks. I think you could probably set way up an ErrorPage instruction that points it on the appropriate page. Accurate me if I’m wrong, but I’m not sure you can use. htaccess to validate the existence of a URL from a query string. I’m thinking you would have to use PHP to complete that, and to indicate an error page should the requested one isn’t going to exist. You may then use. htaccess to change that specific page into a proper 404 fault page. Good, I believe what exactly he was saying was which the software he’s applying already handles the particular wrong-querystring situation, but he also would like to handle the real 404 situation. The ErrorPage directive helps you specify an change URI for whenever 404s occur, so it should do just as well just fine. Oh yea yeah, I misread the particular post, thinking that he were going to rewrite the … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

How do I store / retrieve information on my web server?

I need a webpage in which, whenever a user clicks on a certain link, it will add 1 for some integer value stored server side. In that case, I can use the state of this number to change content from many people not just those who clicked the actual link. I’m uncertain how else in order to explain it. In essence, I need a better way for my how does someone remember things… cookies would work if i wanted the targeted visitor to remember some thing, but in this instance I need the server in order to remember something. Just about any idea how Employ PHP. Pick anything about PHP Is it possible to either use this extension. php (instead regarding. html) or learn how to use. htaccess for you to process all. html document files as PHP Then a ton of other questions, including: Can those click it a variety of times, or will it just allow 1 push per ID address Or 1 click each session Simply 1 value, or are you remembering many values Can the page refresh following a link is clicked, or does it need to use some Javascripting Give us some background against your … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

RSS Feed on site

Hi all, I’m trying to add an Rss (I think that is definitely what its called) to a website and am wondering the most beneficial method/software/etc. to use I am looking add a widget/app/program that can automatically list the titles and date on the last four post over a blog. I’m an illustrator/print artist by trade hence I’m relatively new into the web design. I’ll be using Dreamweaver CS3 whenever that makes your difference. Thanks beforehand for the aid! You will be using PHP, therefore the page that it’s on will either need to have the particular file extension connected with. php or your current. htaccess file configured to process most of. html pages as PHP. Uncertain how much you already know about all of these, but let us know. Try this: http: //www. webdesignforums. net/showpost. phpp=226918& postcount=7 Steven… WHEN I used your RSS script again. I discovered an affiliate site that apparently employed UTF-8 for XML encoding, but they need to have lied, because results have bad characters in the container… http: //www. starpointradio. com/rss/max4. php So I’d to add a line to repair the description (see red line)… < php require_once(" RSSIterator. php" ); require_once(" RSSItem. php" ); … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

How to "Auto-Refresh" photos on my homepage

At the moment, my homepage has one static photography. However, I would choose to add 3 or 4 other shots that automatically rekindle as visitors visit my site. Any suggestions how to do it http: //www. westpoint. edu/band/test/index. htm Any suggestions can be greatly appreciated! Eric even i need solution for exact. if any you have answers Utilizing PHP. But you will change your filename in order to " index. php" (or employ. htaccess to progression your. htm file while PHP). If you no longer want to make use of PHP, you can use Javascripting. A different decision… It changes per visitor randomly, or in sequence This changes by hour, day, week Each visitor sees identical photo, or should that not make a difference (user cookie) Thanks for the response! Frankly, I don’t mind if the sequence is different for each visitor, however, I desire it to refresh every 4-5 minutes. As soon as I change the filename to catalog. php, do I merely add the extra photos in the code In that case, is there a method to dictate the how long before the up coming photo refreshes http: //www. westpoint. edu/band/test/index. htm I recommend buy Flash for doing … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , | Leave a comment

Forum messed up after changing domain! Help?

Hello all, and thanks due to this interesting forum, My organization is new here, and not very good with web page design just so which is said! I run a forum that have been down for months because I cant learn how to fix it. It’s all messed up, and all links about the main page points on the old domain that was. net, now We’ve a. com address. Here it’s: http: //www. dark-truth. com/forums/ I can not log in to my manager bill either since seeking to log in also forwards towards old. net deal with. Then again, it does look like everything is intact, in my. com address, the problem being the majority of it except the principle page is resulting in the old. web site, so even the key page and history etc is exhibited wrong. So, it does could be seen as all old data and posts etc are stored on my new. com space, but the challenge being all links points towards old. net domain. Perhaps there is any quick way to fix this problem I would actually like to copy the whole forum to an innovative domain I just got as I will shut … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , | Leave a comment

Frames: Good or Bad?

Hello there all. I already are aware that frames aren’t the best thing to use on websites (search engine problems, compatibility issues and so on. ) but I should get a common navigation bar between all of my pages. I’ve had complications before with needing to change a link for a 1 day offer or something and needing to change each site, just to change it back again. My solution was to acquire a ‘header. htm’ inside the root of our web directory as well as put an iframe at each page that’s source is defined to " /header. htm" The remaining portion of the page is completed with tables. Is is okay to acquire this one frame on each page Regards, Phillid This is exactly why you use PHP. Either change the extensions of the files from. htm to help. php, as well as command the node to process. htm data as PHP (using. htaccess). After this you have a solitary file (script) that’s your navigation list. That only contains the actual menu part. Perhaps you call it " palate. php". On some other page, you " include" in which script… where the idea becomes inserted in the place … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , | Leave a comment
Page 2 of 41234