Jump to content

oni-kun

Members
  • Posts

    1,984
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by oni-kun

  1. Wow, someone's a little nerd there. "but I can no longer get it because it is out dated (CS2), and I don't have the money to upgrade to the new CS4." I was referring to the OP's original statement, Adobe Photoshop CS2. (In the era of when I used it on WINE.) CS is not a demanding game by any means, but this is getting off topic.
  2. Interesting timeline there.. I think you should look onto FOSS/FLOSS era beginning, interesting readup related to GNU.
  3. If you want to sit here and explain someone to buy tofu, instead of beef. Go ahead. It's notgoing to get anywhere. But in support of your answer, you can run most Windows programs under Linux, I've ran CS2 under WINE before flawlessly. But it just makes no sense to suggest another OS. Installing 7 or linux will be new to his software, so it gets nowhere.
  4. oni-kun

    PECL

    Run cat /etc/issue or within php echo `cat /etc/issue` .. That should return the distro you are using.Uname won't be of help, as the kernel is unusual to display anything about the distribution unless it is specific. ??
  5. Hey, this place is fairly good, with a mix of newbies and experts. It's got a nice atmosphere and there are plenty of regulars to answer questions, I hate having to wait! Welcome to the team.
  6. You can wrap the div in an ancher tag, this would allow it to be clicked, and rightclicked accordingly (as long as it's in the div itself and not in interelements)
  7. If you get the replacement character (IE � ) then try running utf8_encode along with the UTF8 encoding headers. $message = 'ąĄćĆęĘŃńŁłóÓŚśŹźż'; echo utf8_encode($message); And it will work (theorietically) no matter what, as long as you define UTF-8 in the meta tags.
  8. Look at array_diff and you'll see the obvious answer why you get nothing. There's no differences if they are the same.
  9. That's where it goes wrong. It's just not acceptable to use youtube and embed it as a video tutorial on this (reputable) site. Youtube as well does not like HD content as much, and it does add 'related videos' and other useless features tacked onto it.
  10. oni-kun

    PECL

    Also.. "allowed memory size of 8388608 bytes exhausted(tried to allocate 92160 bytes)" How is 92KB larger than 8.3MB? I found that a bit funny.
  11. Simply checking the domain exists is no guarantee the email address exists. What your asking isn't possible. You can check to see if the domain in the e-mail has an MX record (not that the physical address exists, but that is a valid acceptable address) list($Email, $domain) = split("@", $Email, 2); if (! checkdnsrr($domain, "MX")) { die('E-mail does not exist') }else { $array = array($Email, $domain); $Email = implode("@", $array); }
  12. Use the glob function. Here is an example, I've not tested it though. foreach (glob("/folder_names/", GLOB_ONLYDIR) as $dir) { $folder = explode("/", $dir); $folder = $folder[count($folder)-1]; //echo $folder . "<br />"; foreach (glob($dir . "/*", $file)) { $file = basename($file); echo "<a href='$file'>$file</a><br />"; } }
  13. It's only a matter of preferrence. Some don't like wanting to have to load slow videos and wait for them to progress (except for absolute begginners.) Also the bandwidth part is a problem as well. Imagine there are 10 tutorials, each ~100mbs(7:00) each (a proper size for a video quality enough to display text clearly) 1GB/person just to view them all. And then.. 1000 views over the next few months? 100x1000 = 100,000MBs, or roughtly .1 Terabytes. There's no safety in assuming there won't be 'that' much traffic. 1000 views on this popular (for programming) site is not too off. May by even more..
  14. They must've gone elsewhere since then.. Does your OS support 'Active Desktop' ? If you're not on XP then maybe not, and you'll have to stick with DreamScape or something.. I'm not sure of any way off hand.
  15. VB.NET <3 http://www.opendb.net/element/1265.php I've seen/and done many of those things before. I used to set a swf as a background , man, 4-5 years ago atleast. But as with vista it just disgusts me for its performance loss. SWFs can be directly applied with some programs, better to hook it than to run an HTML parser to shove it onto an active-content page.
  16. Yeah, I installed netbeans (actually from seeing your sig over and over) and had mixed thoughts. I did like the actual error checking instead of just syntax highlighting, but the auto quote/bracket thing was aweful! It's one of those things you either like or don't like , do or don't do. I switched off of it (and removed it as I went back to *nix) and stuck with something a little more simple.. Just don't need those features. VIM/Mousepad
  17. People who install linux for the first time usually boast about others to install it too, Hehe. Anyway, Microsoft Virtual PC is free and you can VM up an XP install if there are programs you need to run that can't on 7. I'm not sure if you could somehow import your files and registry to it, but it's a recommended (and simple) option if it is needed.
  18. http://22.media.tumblr.com/tumblr_kuvpdxKBg31qzmowao1_500.jpg
  19. Why isn't anyone mentioning this?: $derived = "select * from derived_values where identity = $_GET[identity]"; foo.php?identity=1' or 1 == 1 and DROP TABLE `derived_values` Bam!
  20. You'd use the header() function. // We'll be outputting a PDF header('Content-type: application/pdf'); // It will be called downloaded.pdf header('Content-Disposition: attachment; filename="downloaded.pdf"'); // The PDF source is in original.pdf readfile('original.pdf'); A simple example to force download of a PDF rather than display it. But as mentioned, we're not going to write a huge snippet for you, Just going to help.
  21. You can only do it with Windows Task Scheduler.
  22. Alright, thanks. Just thinking to the setup here not there, I need some sleep, I've already answered a few too many questions that a bit later I went 'wtf' on.. I'm out of it.
  23. Yes, thats how it should be. BT master socket >> ADSL microfilter >> Router >> Telephone Ah. I'm just confusing myself, sorry again. The BT master socket acts like a modem, right? I was assuming it was just a simple telephone jack. Here, and in the US it goes.. Phonejack -> Filter -> Phone (to filter out ethernet) Modem -> Router -> Client It may be that it's ~6am and I've not any sleep..
  24. oh I see, should I just take out that line? Just remember all your code will run, only if $_POST is set. That means when you next view the page, no code will run, even if the session did set.. You need to take the session check out of the if (isset($_POST['login'])) { .. block. That means, when they next load the page, if there is NO post data, but there is a session (as set if it was authenticated by your code) , then it will say "Welcome."
  25. But it will never say 'welcome', Because you are redirecting (via header()) thus destroying all the POST data. So the 'welcome' message telling them their name won't even run.
×
×
  • 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.