Search results

  1. Livewire

    Regarding - Splitting PHP Files into Includes

    For me, I split configuration, frequently used functions, and my mysql connect's into them. The mysql-connection's a big one though - include("logmein_admin.php") or include("logmein.php"), depending if it needs all permissions, or just select. The reason it's a big one? Locally, the...
  2. Livewire

    Is Candy Floss man's greatest achievement?

    Candy Floss == Cotton Candy. I've never heard of it as Candy Floss before...
  3. Livewire

    FF12_master Here..

    1, Welcome to X10! 2, found this in another topic (it was a bit buried): There was a massive problem with ad-enhanced where users would sign up for it then never put the ads in place, resulting in increased overhead from having to suspend them for no ads, then having them be terminated 10...
  4. Livewire

    PHP found in string help

    Explode should end up like this: array( [0]=>"word" [1]=>"word2" ) etc. In all honesty both explode and my "str_replace" thing'll work, it's just user preference. I say try both and if there's a noticeable performance issue between the two, use whichever one's better. If there's not, flip a...
  5. Livewire

    running gcc on server

    Pretty much any compiler will require Exec or ShellExec since it has to run an executable. I should point out as well that even if you -do- manage to get it to run, it'll likely cause a high resource usage suspension and end up killing your site for a while. That being said, unpacking a tar...
  6. Livewire

    PHP found in string help

    Didn't think of that actually; both work, guess it's user preference in this case :)
  7. Livewire

    PHP found in string help

    Hmmm, I'll give it another go with that list shortly. Side note: I looked at the list, you've got a lot of entries that could be removed to save time during processing; For instance if I have moth listed as a curse word, I don't need to list moths or mother, because both contain the word...
  8. Livewire

    PHP found in string help

    Working code here, modify as needed: $explicit = array( "swear", "curse", "both", "omg", "wtf", "bbq"); //swear words, made x10 safe! :) $lyrics="my swearing mother."; //obviously change this so it gets the lyrics for you :) $isexplicit=false; foreach ($explicit as $checkme) {...
  9. Livewire

    boot windows xp computer in command prompt

    Question I guess would be why are you trying to boot to command prompt, and is it something that can be done via Recovery Console (which is essentially a command prompt, although it might have different commands and such)?
  10. Livewire

    Multiple Forum / Hosting Account Links

    Re: 中国隆乳专家48 It's a spambot, either ignore it or report it and move on :) (Although that one's got a funkton of posts, so whoever has to do cleanup on all of its posts is gunna be wishing it was blocked somehow.)
  11. Livewire

    FileFront Shutting Down!

    New announcements up, Filefront was bought back by the original site founders on April 1 and all services were immediately brought back online. So in recap: FileFront shutdown wasn't april fools, and it's just a coincidence that it was resurrected on april first.
  12. Livewire

    Smart Froms

    Quick note, difference between assoc and array is this: Assoc uses the column name, such as $row['username']. Array uses a number, such as $row[0]. Hence why it gets a bit messy if you add a field to the table; it's fine if it's added at the end, but if you add it somewhere in the middle...
  13. Livewire

    Smart Froms

    Unexpected $end means you're missing a closing bracket somewhere. My guess is it's right around here: else{ /* check if email is valid */ $regex = "^[_+a-z0-9-]+(\.[_+a-z0-9-]+)*" ."@[a-z0-9-]+(\.[a-z0-9-]{1,})*" ."\.([a-z]{2,}){1}$"; if(!eregi($regex,$subemail)){ echo "Votre email n'est pas...
  14. Livewire

    FileFront Shutting Down!

    It's not. http://forums.filefront.com/announcements-698/announcements.html Speeds seem to be dropping tons on a lot of their files too, and there's a Featured Video portion of their site on the front page that has been down for maintainence for a few days. EDIT: K, there's some speculation...
  15. Livewire

    rgb and cmyk

    I also believe it has a certain amount to do with printers, as in the ones with printing presses. Ever look at a multi-cartridge printer? Cyan, Magenta, Yellow, Black - CMYB(k, cause B could also be Blue); in some printers, 1 for each color. So my guess is the functionality is there for CMYK...
  16. Livewire

    Asp.Net/Mono

    From another topic I found it seems it should be this: application/monoExtensions: .aspx .ascx .asax .ashx .config .cs .asmx .axd3
  17. Livewire

    php include

    header/footer.php either have more php code (<?php echo "This is a navbar!"?>), or standard html code. If using HTML code, you do NOT need to put in something like <html><body><img src='images/header.png' /></body></html> - the original document that's doing the including should already have...
  18. Livewire

    ASP Problem..

    X10 does ASP.net, but not ASP itself - if you're using ASP, you need to find a free host that has a Windows based server since ASP doesn't work on anything -but- Windows. Now if you meant your ASP.net script isn't working on x10, I'm not entirely sure how to fix it, but please do reply and let...
  19. Livewire

    PS3 Yellow Light of Death

    Linux or other homebrew/custom apps might be able to use it, but I'm doubting the ability to expand the ps3's ram without voiding the warranty - theres two types of XDR Ram, one's a common stick but I'm having difficulties locating a place that actually sells it in a stick; the other is...
  20. Livewire

    Email config help

    I'm not entirely sure x10 lets scripts connect to external servers other than ones explicitly whitelisted by the mods/admins. If that's the case that'd be the timeout issue; I'd recommend filing a support ticket if only because if it -is- the firewall, there's no way for anyone but staff to fix it.
Top