Jump to content

TheScripter

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by TheScripter

  1. Thanks ya'll! I changed it up a bit with heavy influence from "kjetterman". It looks much better, but isn't it a little dull? Do I need more content?
  2. Alright, its good in all major browsers. IE will just have to survive without rounded corners and some less-than-perfect shadows. Anything else?
  3. By the way...something all of us failed to realize? EVERYTHING is messed up in IE, damn that god forsaken program.
  4. Tried adding... text-outline: 2px #000066; to accommodate you but no love for me. Nothing happened. *EDIT* Just looked, not supported in any major browsers so that is out of the picture. Damn you W3School! Should have read your signature. Haha
  5. Actually I am simply creating them like this... .heading { color: e8c062; font-size: x-large; font-family: "Lucida Bright", Georgia, serif; text-shadow: black 0.1em 0.1em 0.2em } Then applying .heading class to that paragraph tag.
  6. A dark stroke? You mean like the text shadow I have around them?
  7. Come on, there can't be a lack of people with bad things to say on the internet. Haha
  8. My apologies. I would think that because of the dramatic change in content and layout, not to mention the significant change in time would define this as a new topic.
  9. I am on it right now. Should work fine, it is an external server so me accessing it should be the same as you accessing it.
  10. Thanks for the reply! If you go back to my site, you can see I changed the color of the titles to a dark gold, bolded all the links, changed their hover color to a dark blue, and had them underlined on hover. I also changed the format of the about, news, and donate pages so that the content was one wide column rather than 2 smaller ones and organized some content into paragraphs.
  11. Coding is my bowl of cherries, Java, PHP, HTML, CSS, Perl, C sharp, what have you! The designing thing however, that is most definitely not. I would really like to keep this design and not have to scrap it, but where do I make improvements? Every time I go there, it screams amateur. Obviously not a good first impression. Ideas? Things to study? Anything? Thanks guys. http://independentrepublicofursum.tk/
  12. http://independentrepublicofursum.tk/Become_a_Citizen/ is the page I am having trouble on. Basically what I want to happen here is for the user to download a fillable pdf application, fill it, and upload it. From there the php script will send it to my email so I can review it. My code is... function mail_file($to, $from, $subject, $body, $file) { $boundary = md5(rand()); $header = array( "MIME-Version: 1.0", "Content-Type: multipart/mixed; boundary=\"{$boundary}\"", "From: {$from}" ); $message = array( "--{$boundary}", "Content-Type: text/plain", "Content-Transfer-Encoding: 7bit", '', chunk_split($body), "--{$Boundary}", "Content-Type: {$file['type']}; name=\"{$file['name']}\"", "Content-Disposition: attachment; filename=\"{$file['name']}\"", "Content-Transfer-Encoding: base64", '', chunk_split(base64_encode(file_get_contents($file['tmp_name']))), "--{$boundary}--" ); mail($to, $subject, implode("\r\n", $message), implode("\r\n", $headers)); } Then to send it I use... if (isset($_FILES['file'])) { mail_file('myemail@gmail.com', 'ContactUs@independentrepublicofursum.tk', 'test subject', '', $_FILES['file']); } My form is... <form name="citizenship_application" action="" method="post" enctype="multipart/form-data"> First Name: <input type="text" name="first_name" value="<?php echo $first_name_value; ?>"> <br /> <br /> Last Name: <input type="text" name="last_name" value="<?php echo $last_name_value; ?>"> <br /> <br /> E-Mail:&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="e_mail" value="<?php echo $e_mail_value; ?>"> <br /> <br /> Gender:&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="radio" name="sex" value="male" <?php echo $male_pre_select; ?> >Male <input type="radio" name="sex" value="female" <?php echo $female_pre_select; ?> >Female <br /> <br /> <label for="file">Please specify your application file:</label> <br /> <input type="hidden" name="MAX_FILE_SIZE" value="501"> <input type="file" name="file" size="50"> <br /> <br /> <input type="submit" value="Submit Application" name="submit"> &nbsp<?php echo $error; ?> </form> I get two errors, the first one is... Warning: file_get_contents() [function.file-get-contents]: Filename cannot be empty in /home/u418744221/public_html/B­ecome_a_Citizen/index.php on line 38 Line 38 is... chunk_split(base64_encode(fil­e_get_contents($file['tmp_name­']))), My second error is... Warning: implode() [function.implode]: Invalid arguments passed in /home/u418744221/public_html/B­ecome_a_Citizen/index.php on line 43 line 43 is... mail($to, $subject, implode("\r\n", $message), implode("\r\n", $headers)); Really need this finished, ASAP. I can't figure it out, any help appreciated thanks ya'll.
  13. Well I want to do it with just normal php. Anyone have a snippet they can explain to me?
  14. Alright so at my site (http://independentrepublicofursum.tk/) The facebook social plugin is in the "sidebar" on every page, I don't like how my twitter link loads, then the plugin spawns and pushes it down. I tried to put a div around the plugin with a set height and width so that it would no something is there before the plugin loaded, but no cigar. Help please!
  15. Alright so I have use the PHP mail() function pretty extensively, however for my new site I will need to collect a filled fillable pdf file downloaded from my site, pull it from the files array, then send it to my e-mail so I can look at it later. I can do all of it except attach the .pdf file. How would I go about this? Please don't give me complete code because that is too easy. I wan't to figure it out myself but the tutorials simply don't explain what is happening.
  16. I think you underestimate the use of empty space a little. Look at Google for instance. The links are clearly pointed out and I intended for them to melt into the text. I thought the layout was pretty good, other than suffering from a lack of content. I thought I would need a couple pictures. The facebook thing is just ridiculous. Its perfectly acceptable to put my feed into the side. Its a great way to show whats going on somewhere else without leaving the page in my opinion. The fact that you had nothing positive to say, I would almost say you were what they call a "troll".
  17. Hmm. Well the hover color is based off of the outline colors on the flag. The box shadows are 100 percent fine in my opinion. What else is there to use on a minimalist layout? I don;t even know what you mean about the line heights.
  18. Background aside, acceptable, professional looking or no. If not I need to scrap it ASAP and start over.
  19. Well how much farther should I go? It got much lighter yes?
  20. Its almost white now. What do you think?
  21. Well maybe your correct on a lighter color, but I was kind of going for a lighter look. Using the shadows as a type of border. I think if I added borders it would end up looking like a kids power point project from the 90s.
  22. Really? The background I had before just sucked to be honest. I think it makes the title stand out, and its simple. What do you suggest?
  23. My apologies...http://independentrepublicofursum.tk/
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.