Recent content by Silas G

  1. S

    Obama said that no U.S. citizen under his administration would be jailed indefinitely without trial?

    So my question is, what can we do to make sure that no U.S. citizen is ever jailed indefinitely without trial? The new NDAA, signed into law by Obama, made it legal to detain American citizens indefinitely. Obama argued that this is true in front of Congress. He just said HE wouldn't use it...
  2. S

    Alright, what's with "what about Bush" whenever we complain about current events?

    Or do two wrongs make a right all of a sudden? I was complaining then and I'll complain now. @future: you've made a lot of assumptions about me. It's okay, the Republicans did when they were in power too.
  3. S

    Protect a directory but still allow PHP page to access?

    Have your php script call "system", and use that call to copy the file to a temporary directory. Then display the file. Then, when the page is completely done loading, delete the file from the temporary directory.
  4. S

    What is the cost of free-lancer developer in India in technologies like dot net,share

    Short answer: A ballpark for web development is $15/hour, especially if you're still just trying to make a name for yourself. Better answer: Not just in India but anywhere in the world, this is one of the areas where you have to fish around to find out what the other person is willing to offer...
  5. S

    PHP parsing regular expression to take code from html source?

    <td[^>]*>([^<]+) This will extract the "Your name" and "Bill" strings. You could add a space behind the second to last character in the regex above to limit the example you gave us to just "Bill", but a better way to limit it would be changing the html to include <td id="name"...
  6. S

    Would you rather your tax dollars go to universal health care or the military?

    My answer ignoring your additional details: The organization that restructures itself to the point where it only needs my money one time for one goal, and won't be asking me for more money annually, is the first that gets my money. That goes for any slice of the government pie. My answer paying...
Back
Top