moldboy
Members-
Content Count
522 -
Joined
-
Last visited
Everything posted by moldboy
-
I have a book called PHP and MySQL for dynamic web sites by Larry Ullman, and it's a very good book which I would recomend to anyone wanting to learn, but I followed a project in this book, not letter by letter, and it won' work. I wrote this code to create an authentication script that will only work with one user but allow the credientals to be passed from one page to another. So here's the code <?PHP$aut = FALSE; //Check for user variablesif ( (isset($_server['PHP_AUTH_USER']) AND isset($_server['PHP_AUTH_PW'])) ) { //Check for correct user and password $user = $_server['PHP_AUTH_USER']; $pw = $_server['PHP_AUTH_PW']; if ($user == "user" AND $pw == "password"){ $aut = TRUE; }}//IF not authorized ask for authenticationif ($aut == FALSE){ header('WWW-Authenticate: Basic realm="d-gression HTML editor"'); header('HTTP/1.0 401 Unauthorized'); //If cancel is pressed}?> and the actual page the require points to the above code <?PHPrequire('./auth.inc');if ($aut == FALSE){ echo "please <a href=\"index.php\">try again.</a>";} else { echo "you're in!!!";}?>
-
A geek in adition to all the above is the person at the old english fair who bites the head off of live chickens.
-
I don't think it's possable with HTML, but with a little PHP, you would send the form to process.php which would contain this code <?PHP//do the SQL stuff as mentioned without sending anything to to browserheader ("Location: [url=http://the]http://the[/url] address of the forum, or even use the server var regarding sending url");?> Hope this helps, I assume similar things can be done with ASP, ect.
-
except hotmail is 250mb, but I still aggree I mean i'm only using 27mb of gmail, but that's still more then I thought possable
-
How Can I Make My Site Load And Work Faster?
moldboy replied to affhotspot's topic in Websites and Web Designing
let me see if I read this right could you explain your rationelle for saying this, If you REALLY want to slow down the loading of your site, or not let it load at all in some browsers use .bmp's and stear away from the jpg's and jpeg's Just for the sake of arguing and to make sure I havn't been mislead I decided to take a 640 x 480 image (that just so happens to be of a fish tank) and saved it once as a bmp, and once as a jpg, so I shall releate my advice if you want your site to load fast DON'T USE .BMP!!! the file was 900kb which on my fancy internet connection (dial-up) would take up to 3 minutes to load, the jpg was ~200kb which on a good day could take less then 1 minute to load. -
I actualy have access to three physical printers, and all three of their print preview, and two of their physical prints show distortion.
-
You know just before I read this post I thought, "maybe it's because the papter is set to be 11.5" and when it prints it is shrinking to fit" But I checked this isn't happening.
-
At my school we make our yearbook in Excel, now before you get a hopped up exclaiming that excel shouldn't have very many pictures in it, just relax, it was either that or Front Page [shudder].Now as we embarked on the start of this years book I noticed that when we printed the pictures they appeared to get fatter, only slightly but it is this type of thing that is noticeable with people you know. So anyway, I decided to go back a few years in archive and noticed that my older yearbooks didn't suffer this problem (or at least as much) and when I printed the same images as I was just printing in a file that I created three years ago in excel 97 they don't get fat, or at least as fat. So firstly I was wondering does anybody have an explanation as to why this is happening, I know that excel isn't for graphics, but it still has image functions including crop re-size and various scaling methods, I also understand that it isn't a publishing program and as such shouldn't be used for that purpose, but that's too bad, it's what we're using and after three years I have just gotten the other people I'm working with understanding the system, so we're not changing. That being said I will accept suggestion if and only if they are free, work on win 2000 and a network plus they must work really well. This however isn't the point of my topic, and I would really rather NOT receive suggestions for other programs, but if you must.I think it may have something to do with the original file type so I have tried it on an excel 97 file and 2003 file. So if you can't provide any insight in the above problem I was wondering if anyone would be so kind as to send me a blank excel file created with any version prior to 97, or 2000, or XP (and any I may have missed) Could you (for my records) please type you excel version in the A2 field and you name, or forum name in A1. I understand that some of you may be opposed to this for reasons of security or privacy, but please keep in mind that I don't care about any of the information that may be stored in the Excel file, I just want to get this fixed. Thank You
-
When I use the webprotect feature in cpanel and then visit my site it always asks for the username and passoword twice, no matter what browser or computer I use. Is this normal?
-
I actualy deleted the account and recreated it after backing up the data. Anyway just for anarchyboard88's sake. In Docs and Settings when you make an account there is a folder for the name. Normal. But what had happened was I had a folder called like it was suposeto be called, and then there was another called username.localhost, now whn I loged into username the filed in the folder username and the settings stored there didn't apply rather it was the setting and filed stored in username.localhost. I just wanted to know how to tell windows to look at username for the settings rather then username.localhost.
-
If the windows XP is still installed then you will need to restore the boot manager, you can try GAG, a graphical boot manager, it won't restore it rather replace it but should do the trick http://gag.sourceforge.net/ NOTE: messing with the boot manger can cause unfixable problems with your HDD, and should not be done lightly. I can't be held responsible for any problems caused by the above information
-
I think all that should be quoted, but here comes the comments, it is a fine computer, the 300gb HDD is a little much unless you plan on editing movies. Now you want the honest truth... That computer is better then the one I'm using, not by too far but still better, it really depends what you want it for! If you only want to type and webdesign then GET A CHEEPER COMPUTER, but if you want to do multimedia and video and games then that's a whole nother thing.
-
Gmail has a very very very powerful SPAM blocker, I have only once recieved spam in my inbox and have been using it for 1.5 years. I don't know if gmail calls it anything but the address guard feature is available in gmail simply give the address yourgmail+randomword@gmail.com and that will be delievered to your inbox. You can send from that account also although it isn't as easy as it is from yahoo, (I believe) All that said, Yahoo is a very good service, I use gmail, but if they were to cut me off I would probably go back to Yahoo!
-
Yes OpenOffice is good, however if you really want MS software, I would say dump works, it may do the job however Office is the editor of choice on the internet. If you do stick with works you must know one critical thing, .rtf that is the Rich Text Format which you should save as so it can be opened on many of the other office applications and OS'sNow as for which version of Office to get, that really depends what you want, do you want to type, if typing is your only concern don't get office, just buy word, I believe the price is about $100I have small business edition which has excel, word, powerpoint, and publisher. If you have children who will want to make poster and cards publisher is a good program (perhapse not the best) for that. I'm not sure what it costs, so if you want to have office, it really comes down to what you want to do.Do you want to manage complex databases?Do you want to type letters?Do you want to type documents?Do you want to make flyers, posters, and cards?Do you want to create and manage information in a spread sheet?Do you want to make presentation for business meetings?If you want all that you will need office pro, it is the one that costs $400-$900, if however you don't need the database functionaly then Small business edition will do the rest, and word has the capability to manage simple databases like addresses. Standard edition I believe is just Word and Excel, but I may be wrong.And A tip, if you or anyone you know is a student or a teacher try looking at the Office Student Teacher edition.
-
I have a few questions about norton ghost 10, after having just installed it I noticed that I am now using a lot more RAM and would like to know how to tell it not to start, because I don't use the automatic backup feature (my backup medium is not always connected) Also when first make a backup will it incude all the system files and running processes, like explorer.exe and the registry?
-
How Can I Make My Site Load And Work Faster?
moldboy replied to affhotspot's topic in Websites and Web Designing
THe only problem with that is it will greatly affect the quality of your images, so my advice is a little more graphic specific, if your image contains 1 to 200 colors (that is solid colors, no gradient) then use gif, if it has a lot of gradients don't use .gif, NEVER use .bmp, or .tiff. I personaly try to avoid .png unless it is required for the style of the page. And if you use .jpg don't use 100% as the quality setting. I try anything from 85-95 depending of the content of the image. But the most you should use is 99% as the 1% diffrence isn't noticable, however it will decrease the image size. Also try to use tilling for an image, or if you want to write on a piece of paper (graphic, instead of using the entire picture cut it up make the center HTML color code and the edges images. -
Perhapse we don't see any decorations because they want to be politicaly correct, or perhapse the cat and mouse will be decorating in the next one. To see the one from last year https://www.google.com/doodles P.S if you change the 9 into an 8 you can see even more, and so on with 7, 6, 5, 4, 3, 2, but 1 doesn't work it's just doodle.html
-
this is ormaly the case, however if you have onboard vidoe many computers won't have AGP, when I said a year old I refering to the liklyhood of having PCI-E not of not having PCI
-
You can't CHANGE an intergrated video card as it is soldered onto the motherboard, however you can (sometimes) add a new diffrent video card. Look at the motherboard, you should see several long bars lined up with the slots at the back of the computer, if your computer is over a year old it will have PCI slots, you can always add a PCI video card, however you onboard video might be better then any PCI card you can buy, if there is a slot (most likly at the top) which is set closer in from the side, this is the AGP slot, it is designed for graphics and will allow you to add another card. It is unlikly that you have an AGP expandion bay, but here's to hopeing!
-
You know why they call coke, coke classic?, because they made a diffrent coke that was by all means better, tastier, and even cheeper, but the people didn't like the new coke, so we're back to origional coke. Another example tooth paste tubes, for the longest time they all had screw off lids, science showed that flip off lids were faster, more efficant, didn't get gumed up with tooth paste,ect. But the people couldn't figure it out so here we are back at twist off lids.Linux may be cheeper, faster, more stable, ect. But that doesn't matter, they use and like windows. And so windows stays, they only thing that might bring it down is, well I can't think if anything right now
-
NO, I could use MSN (shudder) searchyahoo mail, I don't need google earth, and have already downloaded picasa, blogger is replacable by wordpress (or simmilars) in free hosting, Hello, could be replaced by many chat clients, talk is replacable by skype, and so on and so forth, there are not very many unique things offered by google, I just use them because they are better, but not $5 a month better.
-
We Believe In The Same One God Judaism , Christianity and Islam
moldboy replied to kasm's topic in General Discussion
Even religions that aren't the same as all that have many of the same beliefs, for example most teach good towards others, and killing if wrong, just to name a few. -
Evidence For God. The ?real? evidence for a living God
moldboy replied to wild20's topic in General Discussion
This quote doesn't actualy say that the earth isn't flat, it just says it's round, but if you look at a plate (for eating off of) they are both flat and round. There is also a quote somewhere that says that Jesus (I believe) stood on a mountian and could see all four corners of his kingdom, thus the earth must be flat, and even more so square! The very fact that they could write proves this! I aggree entirly, infact I bet if you could ask the roman gods, they wouldn't have approved of the actions of their people. Now my point, I believe in being able to argue both sides of the puzzle, it helps to keep an open mind. I believe in God (or at least a body which is better in all ways to myself, and all humanity) in principle, I don't believe that he controls all aspects of my life, I conpaire it to a piece of open source software, God is the origional programer, he made the software to his specifications, but after releasing it on the internet lets it grow and 'evolve' into its own software. Thus is also accept the theories of evolution. You want more Evidence, try this, right now we are faced with the problem of calling it Christmas, it not right because not everybody practices christmas, but many groups have simmilar celibrations, with many of the same themes. It is similar evidence to this that is used to argue atlantis, at about the same time historicaly on diffrent parts of the world (seperated by oceans) stories are carved in stone that a tell a similar thing, of a civilization who had hot running water and many advanced technologies, that sunk under the ocean. It would seem that the only way for this story to be told around the world would be for a group of people to have escaped the sinking and traveled around the world telling their story! Now Douglas Adams, a person who believes strongly against god says, in one of his books, that the men said I have proven the existance of God, and god said Oh dear, and dissapeared. (This is not an exact quote) you see it is said that inorder for god to exist you must believe, and once you proove beyond a doubt that he does exist you stop believing (As is the nature of belief, belief turns to knowledge), thus killing God from a lack of belief. It is the nature of these posts that claime to give exidence to the existance of God, it is people who feel the need to place their beliefs onto others who start religious wars. -
No PHP is free from php.net, but yes cpanel if quite costly, I believe $600 per server per year, or $1500 per server, but don't quote me on those prices.