anachro
Members-
Content Count
68 -
Joined
-
Last visited
Everything posted by anachro
-
alright, so heres me again (theres probably a contact page on the website but I figure somebody has/will have this question and they'll want to know it so why not ask and share the love & knowladge (minus the love)) so I've been working on a two part contact page. contact.php <p><img src="images/sig.gif" align="left" width="37" height="69" style="margin-right: 5px;" alt="B/S Signature"/> <font class="head">Contact!</font><br/><form action="?page=mailer" method="post"> <strong>*Name:</strong><br><input type="text" name="name" size="20"><br> <strong>*E-mail Address:</strong><br><input type="text" name="email" size="45"><br><strong>E-mail Subject:</strong><br><select type="subject" name="subject" value="subject" width="350"><br /> <option value=""></option><option value="Information Request">Information Request</option><option value="Quote Request">Quote Request</option></select><br><br /><input name="human" type="checkbox" value="yes"> Check if you are Human.*<br /> (This is for your security)<br /><br /> <strong>*Message/Comments:</strong><br><textarea rows="9" name="message" cols="30"></textarea><br><br><input type="submit" value="Submit" name="submit"></form><br /><br />fields denoted with * are required.<br /><br />Your information will not be sold/given/other means of forwarding to anyone!</font> Mailer.php <?php// where the mail will be sent$to = "EMAILADDRESSREMOVED";//whos recieving this message$subject = $_REQUEST["subject"];//Subject of the message$name_field = $_REQUEST["name"];//senders name (if provided)$email_field = $_REQUEST["email"];//senders email$message = $_REQUEST["message"];//senders message$human = $_REQUEST["human"];//Sets what the answer to the first filter will be (kind-of)=//this is for the check box, makes it required, and echos a reminder if forgottenif($human =="") { echo "You forgot to check the human box or are a spambot! <br /><a class='bodylink' href='java script:history.go(-1)'>click here to return to the previous page</a>.<br /><br />"; die;};//makes sure that the senders name isn't blankif($name_field=="") { echo "You forgot to fill out your name in the proper field!<br /><br /><a class='bodylink' href='java script:history.go(-1)'>click here to return to the previous page</a>.<br /><br />"; die;};//makes sure that the senders name isn't blankif($email_field=="") { echo "You forgot to fill out your Email Address in the proper field!<br /><br /><a class='bodylink' href='java script:history.go(-1)'>click here to return to the previous page</a>.<br /><br />"; die;};//makes sure that the senders name isn't blankif($message=="") { echo "You forgot to fill out any message/question(s)/or comment(s) in the proper field!<br /><br /><a class='bodylink' href='java script:history.go(-1)'>click here to return to the previous page</a>.<br /><br />"; die;};//Once they click submit and it passes the required checks it gets sentif(isset($_POST['submit'])) {//subject and body fields$headers = "From: $email_field\n";$body = " From: $name_field\n E-Mail: $email_field\n Subject: $subject\n Message:\n $message";//sent message //A little thanks, echo'd afterecho "<br />Thank you for your interest, you information has been sent,<br /><a class='bodylink' href='java script:history.go(-1)'>click here to return to the previous page</a>.<br />";mail($to, $subject, $body, $headers);//sends the email} else {echo "<br />Something was missing, please try again.<br /><a class='bodylink' href='java script:history.go(-1)'>click here to return to the previous page</a>.<br />";// If something was wrong it tells them so, and then lets them go back and fix it}?> and with the both of them primitive version have worked on other hosts, and I;ve been trying to outfit my codes to be more precise, or efficient (hopefully both) so I can FINALLY post my website in the review w/ pride. so, if you see anything that needs to be fixed in my scripts go ahead and tell me, and PLEASE tell me what I need to do to get this to work!!!
-
thats cool, I've always wanted to learn how to make things tick! I'm ordering that DVD thanks avara!
-
For sideLeft & sideRight you just have to put content in them (this happens sometimes) when you fill the space inside with text/images/ w/e it will go down. otherwise you'll have to go much more restrictive, by setting an exact height for both sides, and the content, and just set content to .mainCenterContent{margin: 0px; padding: 8px; float: left; height: AMOUNT DETERMINED; overflow: auto; background-color: #000099;} to center it, just make the <div align="center"> code at the top of the first div, between the body and the div tags, and have the end cap after the last </div> but before the end body, and that will center you content
-
I went 2 days w/o water on accident once, and I was at work, and all the sudden my hands fell asleep (exactly like how you feet or legs do from lack of blood), it was on Black Friday no-doubt, and I work as a salesman, (so you know), it was freaky, but once I downed about 3 cups of water I was fine shortly thereafter. Its pretty scary when you can't feel your hands, you get dizzy from the simplest motions, and walking is tiring.
-
Budapest Defenders is just like the major stream of spawn wave after wave, strategise, and blow them to hell games that are fun, and thats cool. easy though. beat the whole thing in an hour, but an hour well spent (of otherwise nothingness freetime)
-
Html Legend Learn how to create a handy legend with HTML
anachro replied to KansukeKojima's topic in General Discussion
I learned about legend when I was looking for some HTML to pimp out my myspace (yeah, sad I know, learning because of myspace ) it's a neat feature, and a good way to make cool looking boxes if you know how to code youself some good ol' CSS to go with it. -
I dunno whats wrong with your firefox, but it looks perfectly fine on mine, nothing of what you picture has going on in it. I'm impressed, I might get this joombla or W/e for myself ;D
-
Abortion : For Or Against Abortion? Share ur views on ABORTION?
anachro replied to Milk's topic in General Discussion
My views come down to: Once there is a heart beat, abortions are murder, and should only be done under dire conditions, such as if the birth will kill the mother, or such. Before than, I say it shouldn't be thought of lightly, and shouldn't be considered "family values" or "public appropriate"; basically frowned upon, (considering you should be safe and responsible, rather than getting 5 abortions or however many a year). -
heh, thats pretty cool. I would be scared shitless doing something like this, but it's pretty cool to see something like this be doable (makes me want to waste my next paycheck trying, lol )
-
Auto-delete Your Spam In Gmail finally, get rid of all that spam
anachro replied to bthaxor's topic in The Internet
that is true, I've very rarely had to read anything in Spam and mark as "not spam" it does make life alot easier, and I think that is pretty darn cool! -
its quite alot to learn, but I think I might try it someday I like that kind of stuff alot. I'm working on learning how to make Microsoft Sidebar Gadgets, but I've not the time between work and school, but I think if i can do something cool, and maybe get some technical help it would be REALLY cool!!! :-D
-
yeah, TOO MUCH protein can be very bad for you. I too believe that its bad for your kidneys (believe I saw it on the telly). Afterall, to much of a good thing is a bad thing, and to much calcium is bad for you, and calcium makes you stronger. best in moderation
-
I don't like vista (I'm using it right as I type this). Its very restrictive, and you have no control (you can't even change your default internet browser!), and it asked for alot of questions of things when you just told it to do so. I really think Microsoft should take some hints from Apple, and find a better way of restricting things, without limiting options, because at one point I hate my new laptop so much I wanted to break it, get a new one, sell it BRAND NEW on Ebay, and buy a Mac because of how free and secure they are (it's ridiculously unbelievable how well Mac has it, and yet they are still not the major industry PC makers, its STUPID)it IS true that it uses alot of CPU memory, but for me its what you CAN'T DO with YOUR OWN PERSONAL COMPUTER.buy a mac if your going for anything but gamming. if your rich, buy both, use the Vista for gaming because more games are Windows compatible.
-
Dish Network - Scam Scam Scam! Do Not Trust Them!
anachro replied to anwiii's topic in General Discussion
damn, thats really messed up. I've heard of B.S corporate B.S, but all that? I'm never EVER getting Dish! I didn't think that it was so bad before (we have a display of it at work, which we use and abuse (especially on super bowl )) I thought finding things on it sucked, especially since I'm just getting cable for the first time (I've just gotten cable after 17 years of my life) and it's confusing enough finding my old channels amongst 99 channels, let alone 999 channels :-/ I work at sears, and we don't sell alot of DISH, but if we ever do I'll avoid selling it, because I'd hate to put someone through what you've gone through, I think thats very wrong, and yes, you should do everything in your power to beat them down (as you are), POWER TO YA! -
thats pretty cool. I'd love to program something that makes life easier and is cool
-
How To Use Command Prompt As A Text Editor
anachro replied to coolcat50's topic in General Discussion
could you explain this better for people who don't get command prompt/learning command prompt? -
Auto-delete Your Spam In Gmail finally, get rid of all that spam
anachro replied to bthaxor's topic in The Internet
thats pretty cool, the only problem I could see is that if you get something sent to you it will automatically be deleted, and may never know; so you would have to check your trash alot when your expecting something and hasn't recieved -
firewire is kind-of-like a superUSB between computers (as said above), yes, theoretically you CAN get internet, but you have to be connected via the internet on one of those two computers. most new laptops will have them. My laptop has an HDMI port (different, but unheard of)
-
My First Professional Design: Www.artbyjfrances.com
anachro replied to Saint_Michael's topic in Websites and Web Designing
I like that. Initially I screamed BLAH! but it looks nice, although you should make a custom header because the blue that is the same as the header just looks bad (in my opinion), otherwise GREAT! -
What Is...a Schwarzschild Wormhole What is it?
anachro replied to ironchicken's topic in General Discussion
it's probably Sh-war-z child, I-speak-meself a bit of german, and thats how my knowladge would say it would be said. -
definitely competitive prices, along with varying rates per task, quotes, and the good ol' client/customer service. O! and availability is always good.I won clients simply by being the only one advertising! and thats in a small market.
-
yeah I learnt about this awhile ago. I figure the only thing it would be good for would be annoying hacker stuff, or fake satanic website, or CHEAT CODES
-
Internet Explorer Sucks Yeah, I said it.
anachro replied to KansukeKojima's topic in General Discussion
aight! I'll give it a shot -
I just got a new laptop, and of course it's loaded with vista. Everything works awesomly! (my last PC was from 2001, BIG DIFF.) But the damned thing compulsivly and automatically sets Internet Explorer to my default browser and won't let me change certain things which browsers will typically handle.'ve manually changed it so Firefox handles all the stuff except HTTPS and what not (CANNOT CHANGE W/O HACK!), but IE just bumps in every time I want to click a link from a non-browser based file any help on how to change the settings?