Jump to content

unsider

Members
  • Posts

    610
  • Joined

  • Last visited

    Never

Posts posted by unsider

  1. What method have you guys encountered that proves to be the most effective?

     

    I know of a few, but I'm just seeing if I can get a second opinion.

     

     

    Granted I could go sift through some open source projects, let's discuss it here, I think it'd do more for me to discuss it here.

     

     

  2. Alright, currently I'm in need of a drop down menu.

     

    Allthough unlike the googled standard, I'm not looking for onMouseHover effect, I'm looking to click on the object, and it remain in it's pullDown state until I click either on the object or elsewhere within the browser.

     

    I am very tired, and normally would provide some code for us to work with, but for now I'm going to ask and see if I get some responses, and I might post some tomorrow depending where this goes.

     

    If there is a tutorial out there that you could point me towards I'd appreciate that as well.

     

     

  3. [quote author=Vermillion link=topic=106377.msg977426#msg977426 date=1219988485]
    I like children and fantasy. My name comes from a fantasy RPG, in which Vermillion is a guy that protects a little girl.
    Vermillion is also a pretty color.
    [/quote]

    As well as a city in Pokemon games.

    Vermillion City

    Ya...I played.
  4. I usually keep it all on one line unless I'm collabing with someone. Then I tend to break it into, ober said, "logical portions of code [with] separate lines for readability".

     

     

    I'll post some examples later if I have time.

  5. cookies would definitely be the way to go for something so simple.  if you only want it to stay for the duration of their browsing, you could use sessions like anything else, but clearly you want it to persist forever and ever and ever, amen.  so cookies are your solution.

     

    another option would be to store it in the database by IP, but IP's are notoriously unreliable and intermittently get recycled by some ISPs (depending on their DHCP settings).

     

    Alright, great!

     

    Thanks for confirming.

  6. Let's say you have 3 tabs:

     

    1 | 2 | 3

     

    When the page is loaded for first time it is defaulted to "1". The user, regardless of log-in status, sets the tab to "2".

     

    I would like to maintain the tab value of "2" from visit to visit.

     

    What would be the best method of doing this? I would think cookies, and it would make the most sense, but I have no idea.

     

    If this wasn't clear please let me know.

     

    Thanks.

  7. [quote author=corbin link=topic=106377.msg970566#msg970566 date=1219291392]
    [quote author=cgm225 link=topic=106377.msg969942#msg969942 date=1219237560]
    [quote author=Derleek link=topic=106377.msg969749#msg969749 date=1219214428]
    derleek my balls please!
    [/quote]

    (1) I think the quote and proper spelling is: "You can derelict my balls, capi-tan."

    [quote author=phpSensei link=topic=106377.msg969723#msg969723 date=1219209893]
    I think I am the only coder in the world that has never seen more than 1 episode of star trek, or watched star wars.[/quote]

    (2) I have seen star wars, but have NEVER seen an episode of star trek... you're not alone!
    [/quote]


    I've seen all the Star Wars, but I can't stand Star Trek.  I've seen about 5 minutes of an episode and been like "OH GOD!" then turned it off.
    [/quote]

    All I know is the captain sleeps with a new green alien atleast every episode, but I agree it looks pretty difficult to sit through.

    Although I have seen all the star wars, doesn't do much for me though. I personally think I enjoyed LoTR more. Something about it sparks my imagination a little more.
  8. Based on my family's computer habits, most viruses come from 4 places:

     

    -P2P network stuff (Limewire, Bearshare, so on)

    -Torrents

    -Fake emails

    -Porn

     

     

    So, viruses are pretty easy to avoid.  I, like Daniel, don't use anti virus software.

     

    Well, I have AVG installed, but it's not running.

     

    100% agreed.

     

    When I had have a PC I never ran anti-v programs, the rare defrag, and I only had to re-install once in 5 years. Just be careful what you do, and as for your wife and daughter I don't know what to tell ya. This is my comp, and only mine. Like daniel said, FF wouldn't hurt.

     

    Porn is one of the bigger issues with people I know for their PCs. Hard to explain why it bothers me, but it's frustrating when people try to argue that they are fine if they run their AV programs after their porn-spree. While it's partly true, it wouldn't be necessary if you didn't download the crap. It just adds insult to injury. *shrug* They just can't control themselves.

     

    And whatever you do, never use "SpyBot", just a warning :), when i first got my comp many years back, my dad (semi-computer retarded) installed that piece of shit on it, and it has to be one of the single most annoying programs out there. Every time I think about the little pop-up messages from it I want to rip out my hair. Never let him do that again.

     

    What's the most annoying AV program you guys have had the displeasure of experiencing?

     

     

  9. I am sorry, but the code you gave me does not echo anything out.

     

    Here is how I integrated it.

    <?php
    $url = htmlspecialchars($_GET["url"]);
    $form = $url;
    if ($form != '' && strpos(strtolower($form), 'http://') !== 0)
    $form = 'http://'.$form;
    $url = $form;
    
    if (!isset($_GET["url"])){
    header("Location: http://www.krazypicks.com");
    }else{
    echo "<center>You are about to leave KrazyPicks! to an external link. <br>Do you want to continue?";
    echo "<br>External Link: ".$url."</center>";
    ?>

     

    Thanks!

     

     

    Try it? The values in the array() shouldn't return anything because they weren't extracted. Should work now.

     

    Ugh, man it's 3 am here, and I'm tired. Forgive me for my stupidity.

     

    But keep in mind that this quick little fix up will always add http://, it does not interpret the protocol beforehand.

     

    Although, I'm not quite sure why you would want to worry about ftp://, etc...?

     

    This function should interpret it though, so just incorporate it where necessary. Unless it's for the active protocol only. *shrug* If none of this helped you, I'm sure someone else can. I gotta get some rest, and I'll help you more in the morning if your problem is still unresolved.

     

    Good luck.

     

    http://us.php.net/manual/en/function.gnupg-getprotocol.php

     

×
×
  • 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.