Jump to content

sKunKbad

Members
  • Posts

    1,832
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by sKunKbad

  1. phpBB, especially with MODs, is awesome the way it is. If it ain't broke don't fix it, right?
  2. I just went out again Monday. I caught a nice Yellowtail. 17.5 pounds. I was pretty tired after fighting this fish for 10 minutes or so. It may not be that big looking, but it sure knows how to swim in the other direction! I made the mistake of cleaning it myself. I thought I could do a good job, but next time I'll just leave it to the deckhands. Anyways, here's the pic:
  3. http://www.phpit.net/article/using-curl-php/2/?pdf=yes you are missing CURLOPT_POST curl_setopt($ch, CURLOPT_POST, true);
  4. While you and I know what an editor is, I find that the people I run into on a daily basis are really stupid. They need to be talked to like children, and that was my attempt to explain the editor/hand coding issue. For example, I went on a technical support house call today ($50 USD per hour / which includes driving time), and the reason why the lady called me out to her house was so that she could have me help her find some files on her hard drive. The files were all in a folder directly on the C drive, and I found them in less than 1 minute. I told her I was charging her for an hour, and she gave me $75.00 because she was so happy. That lady would have no clue what an editor was. On the other hand I'm not so impressed with my "essay" either... maybe I need a browser detector that serves up the stupid person content to IE users HA! (moron_index.php).
  5. ... is the case (aim) for any web developer? Plus I didn't quite get what you meant about software writing the programming language? Large companies will only re-use scripts they already have (or use frameworks, libraries, etc) at best, either way it's been written by a person. MrAdam, What do you mean by (aim)? I was just trying to describe in the simplest way possible that I don't use a WYSIWYG html editor like dreamweaver or frontpage because those programs write crap code, and users of those programs (which are the local web designers), aren't doing anyone any favors by using them. Actually, most of the local "web designers" are still stuck in the dark ages doing table based layouts. Everyone, I understand having more than one page for content, but I wanted the site to be unique. I've only had the site up for a week, and in the past week I've had two contacts for web design, so some people apparently like the site the way it is. One job is actually a pretty large job, so I am excited!
  6. I am certainly challenged when it comes to color schemes.
  7. I've been working on this site today, so it is possible that you saw it when it was in the transition. I'm trying to work out some issues, but I think the IE6 issue should be fixed... I use a standalone IE6 for testing, and assuming it is the same as regular IE6. Thanks for your input.
  8. Thanks for your input.
  9. I want to start making money doing websites. I've done a few now, and so I made this new site to advertise my services. I'd appreciate some feedback. If you were a person looking for a web designer, would this site have any appeal and make you want to contact me? Brian's Web Design
  10. I fixed it. All I had to do is add a 1px padding to any side of the divs.
  11. I'm anxious to see the solution, thanks for your time.
  12. I'm probably overlooking something basic, but this code works in all common browsers except IE6 and IE7, and I'm wondering if anybody can spot something wrong with it. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>CSS Float River</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta name="language" content="en" /> <style type="text/css"> #l-00, #l-01, #l-02, #l-03, #l-04, #l-05, #l-06, #l-07, #l-08, #l-09, #l-10, #l-11, #l-12 { float:left; clear:left; } #r-0, #r-00, #r-01, #r-02, #r-03, #r-04, #r-05, #r-06, #r-07, #r-08, #r-09, #r-10, #r-11 { float:right; clear:right; width: 0px;} #l-00 { width: 0px; } #l-00, #r-0 { height: 155px; } #l-01 { width: 80px; } #l-01, #r-00 { height: 10px; } #l-02 { width: 140px; } #l-02, #r-01 { height: 10px; } #l-03 { width: 170px; } #l-03, #r-02 { height: 20px; } #l-04 { width: 180px; } #l-04, #r-03 { height: 30px; } #l-05 { width: 170px; } #l-05, #r-04 { height: 10px; } #l-06 { width: 160px; } #l-06, #r-05 { height: 15px; } #l-07 { width: 145px; } #l-07, #r-06 { height: 10px; } #l-08 { width: 125px; } #l-08, #r-07 { height: 10px; } #l-09 { width: 105px; } #l-09, #r-08 { height: 10px; } #l-10 { width: 85px; } #l-10, #r-09 { height: 10px; } #l-11 { width: 60px; } #l-11, #r-10 { height: 20px; } #l-12 { width: 40px; } #l-12, #r-11 { height: 20px; } </style> </head> <body> <div style="width:442px; border: solid red 1px;"> <div id="l-00"></div><div id="r-0"></div> <div id="l-01"></div><div id="r-00"></div> <div id="l-02"></div><div id="r-01"></div> <div id="l-03"></div><div id="r-02"></div> <div id="l-04"></div><div id="r-03"></div> <div id="l-05"></div><div id="r-04"></div> <div id="l-06"></div><div id="r-05"></div> <div id="l-07"></div><div id="r-06"></div> <div id="l-08"></div><div id="r-07"></div> <div id="l-09"></div><div id="r-08"></div> <div id="l-10"></div><div id="r-09"></div> <div id="l-11"></div><div id="r-10"></div> <div id="l-12"></div><div id="r-11"></div> <div style="padding-left:20px; padding-right:15px;"> <h2>Float test</h2> <p>Pellentesque tortor neque, faucibus vitae, suscipit sed, auctor in, sem. Proin est ante, mattis et, pulvinar nec, sodales in, libero. Phasellus turpis urna, vulputate vel, egestas vitae, imperdiet et, massa. Sed eros dui, commodo vel, gravida non, egestas at, erat. Suspendisse potenti. Mauris suscipit. Morbi quis turpis sit amet risus molestie nonummy. Donec elementum nisl tincidunt tellus. Mauris in arcu sit amet augue rhoncus mattis. Pellentesque fermentum. Curabitur ut mauris. Etiam tempus dui ac eros. Aliquam eu tellus at augue dignissim sagittis. Phasellus vitae est. Praesent risus. Donec facilisis, ante at mollis tincidunt, sem felis ultricies pede, eu fringilla orci magna eu dui. Suspendisse nibh ipsum, dapibus at, scelerisque at, bibendum id, nisl. Vivamus aliquam sem id metus.</p> </div> </div> </body> </html> Check it out in Firefox, Opera, or Safari and you will see how the text floats through the divs.
  13. I have a form that I validate using ajax. When a form field is valid, an image changes from green to red so the user knows they have filled out the form field correctly. The problem is, if they type fast, I think it's hanging or lagging. For special reasons each form field is validated with the onKeyUp event handler. Does anyone have suggestions as to how to make a user typing fast not cause the validation to lag. Perhaps some sort of timer that only allows the validation to take place once per second? How could I do this?
  14. Godaddy allows multiple domains to share the same hosting account. One domain is primary, and the other domains are in folders off of root. /root/ (primarydomain.com) /secondarydomain/ /anotherdomain/ When somebody browses www.secondarydomain.com, they seem to be on a seperate site, but the site can also be accessed by browsing www.primarydomain.com/secondarydomain/index.php. I'm worried about this setting off a red flag for duplicate content, but don't know if adding the /secondarydomain/ folder to the list of disallowed files and folders in the primary domain's robots.txt file is the right thing to do. What do you think?
  15. http://www.phpit.net/article/using-curl-php/2/?pdf=yes
  16. If you have a script that is trying to access a script/file that is on another server, will this block that access?
  17. you just put a period or two in front of the location you have been trying like this: include('./file.php'); or include('../file.php'); try the single period first.
  18. <?php $result = mysql_query("SELECT id, name, salary FROM employees", $conn); while (list($id, $name, $salary) = mysql_fetch_row($result)) { echo " <tr>\n" . " <td><a href=\"info.php?id=$id\">$name</a></td>\n" . " <td>$salary</td>\n" . " </tr>\n"; } ?> just skip a variable in the list
  19. list is a way to turn array values into variables, and leaving out variables just skips that array value. read : http://www.php.net/manual/en/function.list.php
  20. what version of php?
  21. When php interprets your code, it doesn't do javascript. Javascript is done on your browser.
  22. ModRewrite can be tricky. For instance on my server, I had to have: Options FollowSymLinks right above my rewriteEngine on for modrewrite to work.
  23. In my opinion, because I have a page where I have 6 SEPERATE mysql_queries, and it is running literally as fast as if they didn't exist, I believe I would have to have something like 200 queries before it really would make a performance difference, and that's only speculation. If you are really going to be selling code, you might want to read a good book or two on mySQL instead of trying to figure it all out with your buddies here on phpfreaks. Also, if programmers had to worry about the computers each of their customers were running their code on, it would be impossible to sell programs. Are you going to write code for somebody still running Windows 3.1? I understand optimizing code, and I do it for all of my programs, but at some point you have done all you can reasonably do, and further optimizing is useless.
  24. multiple queries to mySQL never hurt me. I have pages with 6 or 7 on one page.
  25. $q = "SELECT * From `Items` Where Status = 1";
×
×
  • 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.