Jump to content

redbullmarky

Staff Alumni
  • Posts

    2,863
  • Joined

  • Last visited

    Never

Everything posted by redbullmarky

  1. i didnt know that either :) cheers thorpe/daniel. however i get the feeling from the original post that "monitoring webcambs" and "via the internet" would effectively mean that this sort of infinite loop would not be applicable as the final app would be running via the browser.
  2. redbullmarky

    blob

    there's a simple rule I personally follow myself regarding PHP/MySQL. If you don't know what something is, you either don't need it or should look it up in the manual if you're curious. (I don't mean that in a dismissive way either  :) ). There are so many different field types in MySQL that cater for all sorts. Me personally, i've only probably used about 6 or 7 different ones ever (less if you dont consider the variants - SMALLINT, INT, BIGINT, etc). Some of the others I will probably never have a use for. Getting data from a blob field is no different really from any other field in terms of getting data from it. A normal SELECT will suffice. Whilst I can't honestly say I know exactly the full/proper use for the blob field, i've always used it to store binary data. Anything that is generally entered via a <form> can be put in the basic types - VARCHAR (or CHAR), INT (or its smaller/larger variants), TEXT, etc. a textarea would be suited to putting data into a TEXT field, not a BLOB. hope that makes sense cheers Mark
  3. I answered 'Back (functions, classes and such)', although to this day, regardless of the language I use, I cannot explain why. Maybe its the same mentality that makes some kids want to watch TV, and others want to take the TV to pieces to look inside and see how it works.
  4. [quote author=Nightslyr link=topic=107919.msg447393#msg447393 date=1160072529] ...good way to keep tabs on them asynchronously.  Blogging seems... [/quote] Web 2.0 anyone? :) i do find something a little funny here. "i think myspace is a load of rubbish, but i was just messing around ... my myspace address is..." "i got one cos of xyz and never update it ... my myspace address is..." "i only went on there for 2 minutes cos i was curious and hated it ... my myspace address is..." "i only use it to chat to my [i]real[/i] friends". ahem. telephone? knock their door? is anyone else apart from me actually proud enough to say "i have a myspace account, and i dont give a flying fk what anyone else thinks"? hehe never mind. i think it was mentioned before but it's always funny to see people say "yeah, i have several hundred friends...". really? and remind me again, how many tens of thousands of miles away do they live and how many times you've met them? ;D
  5. [quote author=neylitalo link=topic=110502.msg447399#msg447399 date=1160072978] [quote author=oldmanice link=topic=110502.msg447367#msg447367 date=1160071364] Nice Layout [/quote] erm... care to elaborate? Two word posts are really quite useless. [/quote] oldmanice, many of your recent posts have been a few words long, generally along the lines of 'its really nice!' even when (TBH) the site/work under the microscope needs some serious work doing to it. sure, you're not the only one, but c'mon chap - explain yourself a little and help these people out. as for this site: i'm not gonna comment too much on the goooooogle ads as it has been stated before, and i have a personal dislike to them anyway unless they're personally subtle. however. its a nicely themed site and the colour scheme is (strangley) nice...the only thing i'm not sure on is the font used for the rest of the site, including the nav. it just doesnt have the "elegance" that the majority of the template gives across. i'd also say that the logo text (myprose.net) could do with being just a tad darker, just to make it a bit easier to read. it kinda blends in too much with its background. the links at the bottom need some work. i'd personally shrink the font size down a touch, and maybe remove the <a> underlines (ie, text-decoration:none). otherwise, i'd be keen to see what it looks like with content/further images, as it can sometimes be quite tricky to get the idea. hope that helps Cheers Mark
  6. daniel, scripting languages do not work the same way as compiled programming languages. with programming languages, loops work perfectly as you can manipulate screen contents in the middle of a loop. what you need to remember is that PHP essentially creates a HTML document, and until the script has finished its job of doing that, nothing is output to the browser. so setting PHP into an infinite loop will give you an infinite page of blankness - until a script timeout error occurs, of course. if you were to type something like this: (pseudocode, just for cross-language idea): [code] for ($i = 0; $i < 100000; $i++) {   echo 'hello world '; } [/code] run something like it in C/C++/whatever, and you'll see each word come on the screen one by one. do this in a scripting language (PHP/ASP/JSP, etc) and you wont see anything until ALL 100000 'hello world's' have been output - the '"echo" in a scripting language is essentially forming part of the HTML to be sent out in one go, and not outputting it to the screen directly with each loop iteration.
  7. http://www.cssplay.co.uk/menus/ 100% pure CSS menus. some of these have several levels and some you'd never have thought you could do without javascript. definitely worth a look, although some can be a little confusing to create at first.
  8. the simple answer is yes, quite easily.
  9. not rehashing your resume generally means when it comes to the 'nitty gritty' - ie, specific projects and experience related to the job. the interview is for the interviewer to get to know you more as a person. if all you do is repeat exactly whats on your CV, youre gonna come across as a little wooden or even staged. There are always gonna be times where you need to 'clarify' stuff on your CV - and if they've read your CV properly, then their job is to find out if it's genuine - so sometimes you will have to repeat. My day job is joint-director of a recruitment consultancy, so not only do we interview candidates first off, we also sit in on some interviews when our clients interview our candidates. The reason why so many interviews happen? The CV (resume) is one of the most doctored, overblown and egotistical documents the jobseeker could ever hope to produce. An interview easily uncovers much of this. The number of times i've heard something like: int'er: "So, tell me about your last job." int'ee: "well, as it says on my CV, I did this and that". int'er: "ok, but tell me more" int'ee: "errrr....." It's very easy to hide behind a CV and keep referring to it. But whether you like it or not, the (underlying) motive for an interview is to: a) make sure you know how to speak b) make sure you're not lying Apologies to ober if I missed your point here, but either way its still worth keeping in mind, me thinks. Cheers Mark
  10. great post, ober. guess the rules apply to any job. one other thing that is not always relevent but has happened a handful of times to people i've spoken to. be careful with your portfolio if asked for examples. 6) websites with a strong adult or political connection are best left well away. be very picky about the sites you put forward - even if they are the Diego Maradona of CSS & PHP.
  11. :D i had to check my 'status/user level' before i found this, as i thought i'd been promoted haha definitely a good idea. from time to time, there's always a legitimate reason for sending PM's - be it alerting someone about a major security problem on their site if youre feeling generous, asking a question directly to someone that would otherwise be a waste of a topic, or otherwise. lets hope it doesnt get abused again... cheers
  12. C_V, youre right - didnt think about how much open to abuse it could be. so yeah - having a random idea of some form may be better unless its looked at properly. i'm sure that with a few tweaks to the idea it could be very feasible and fun. as for the idea of competing against 'design experts' or people that are likely to kick ass time after time, so be it - those of us that suck at design (me included) can learn plenty from those that trounce us. cheers Mark
  13. no comment? c'mon we're all friends here  ;D as for the logos - they can safely be called logos. however they may not have the right 'feel'. koolaidman52, just for a test - try and model those logos on the link I posted. i.e, post the F and the B overlapping (topleft/bottomright) with freelance businessman on the right of it, a line per word. if you have any 'posh' fonts, try them. take into account that as the colours are bright red and blue, the rest of the site will perhaps have to be based around those colours too. maybe darken them slightly
  14. anyone else have any ideas on how we could kick this off? anyone else interested in getting involved?
  15. not even just the logo. the whole "feel" of the site. on another note, for the last 2 days youve got another chap doing logos whilst your site remains the same. 2 days = 20 hours = lots of cash. why not put some of these posts into practice whilst you let the other chap worry about your logos?
  16. in fact, i'm feeling generous today, so i'll post this link yet again...sigh... http://www.peterjones.tv/index.cfm look at the logo. look at the colours. look at the style. forget the flash, because i hate flash and its nothing to do with what i'm trying to reinforce here. professional, entrepreneurial, business, call it what you want. this site has the "feel" that you want.
  17. the best so far by a mile and then some, still not a logo but getting there. but ataria just made a great point which was overlooked. try something simple???
  18. BM, replacing your posts with numbers effectively renders the entire topic useless, meaning people waste their time when trying to make sense of it, and effectively meaning anyone else who has contributed has also wasted their time...
  19. [quote author=jcombs_31 link=topic=108310.msg445969#msg445969 date=1159882366] I'm not sure exactly what you are looking for.  If I ever get a chance to continue working on it, I will provide IT related articles on my site (http://www.jcombs.net).  My business site features some information about web design and technology, but just as an overview to my services (http://www.multimedia-technologies.com).  If you want a good idea for web design related articles specifically, you can always look at places like alistapart.com.  [/quote] Hi, thanks for the reply. That's exactly what I'm looking for. I tend to get stuck on the content when thinking about sites like this, so am curious to see people's "Web Design Services" sites. Funnily enough I was looking at your two earlier today as they're both well crafted. Cheers Mark
  20. oops sorry  :-[ thats what I get for assuming  ;D
  21. anyone else?
  22. one i did myself. recently i've been guided towards more 'MVC' design - so having one entry point into my site. in this single 'controller' script, i have a part that filters all user input - GPC - as well as access from 'bots' that notoriously end up with me getting tonnes of junk mail. They're not too hard to write and generally just means that the bot will get a blank page. its just a simple one to check the USER_AGENT and/or IP and check for its presence in my database. call it a ban list if you like, just like many forum systems use. htaccess files are dealt with by apache and before anything else, so in effect have little to do with PHP itself. I can't think of any practical reasons why you'd want to do this. generally, htaccess files for me are used to tweak PHP settings (especially error reporting) without messing around with my global PHP.INI file, and to provide mod_rewrite to tidy up URLs and their parameters. Cheers Mark
  23. in effect, its a replacement for a 'robots.txt' file. the problem with robots.txt files is they offer a 'guide' to bots, rather than any strict rules. So when a bot's purpose is to scan your site for email addresses, contact forms and suchlike, all for the purpose of telling you about how cheap they can sell viagra, rules arent really that important - so enter the htaccess file and Apache's mod_rewrite, which makes sure these rules are properly enforced. The biggest headache with this method is that new bots are on the go all the time, and keeping track of their names (via HTTP_USER_AGENT) can be an overwhelming job. I personally have a script that is responsible for handling incoming request to my site - which along with dealing with quotes, etc, deals with filtering specific things like this.
  24. generally its down to your IP address and a huge database of IP's containing information about their location. It's not wildly accurate, as it only gives the city of your ISP (i.e, the people to whom the IP address has been allocated). I saw a site once that worked pretty well, and partially relied on users saying whether the location specified was correct or not, and if not offering an alternative. cant remember the link, though. But ultimately that relied on the same system
  25. oops my bad  :-[ linked changed
×
×
  • 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.