Jump to content
MakeWebGames

hamster01

Members
  • Posts

    1,108
  • Joined

  • Last visited

    Never

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

hamster01's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Re: Secure your script (lock it down from outsiders)   while doing that someone with knowledge could still inject your script and call an outside file to be uploaded and then executed from where they move the file.   They would be able to upload it, but nothing would execute, and since the directory is set only for files to be created by group, it won't be able to be moved. A file is just a plain text file, unless it has the ability to do something. Edit: A sql injection would be able to overwrite a apache config file.
  2. hamster01

    Extract() Error

    Re: Extract() Error Turning array keys into variables, and asigning the array values of them to the variables.   It is making variables out of the array key, and values. A script to duplicate that would be; <?php $array = array('hello' => 'hi', 'world' => 'earth'); foreach($array as $key => $value) $$key = $value; echo $hello; ?> A coding error by some, a great wayto dynamically create variables for others.
  3. Re: Secure your script (lock it down from outsiders)   chmod 0566 uploads/
  4. Re: Need help Frame it. http://www.w3.org/TR/html401/present/frames.html
  5. Re: heredoc, heredoc what?   Actually, it doesn't effect speed; Unless the server has a 100mhtz processor. Most php/script editors grays html when you close the php script, zend even hides it.
  6. hamster01

    Mail Box

    Re: Mail Box   <script language="javascript"> var max = 50; function count(obj) { cur_new = max - document.getElementById(obj).value.length; document.getElementById('counter').innerHTML = cur_new; return true; } </script>   Just add the textbox and span/div element. <textarea onkeypress="javascript:count(this.id)" id="co_txt"></textarea> <span id="counter">50</span>   http://www.quirksmode.org/dom/maxlength.html
  7. Re: HTTP_X_FORWARDED_FOR' Try putting this somewhere in your script: error_reporting(E_ERROR);   Or for debugging purposes, try this on a seperate script, then just post the output. print_r($_SERVER); Or just use HTTP_SEVER_VARS. $IP = ($HTTP_SERVER_VARS['HTTP_X_FORWARDED_FOR']) ? $HTTP_SERVER_VARS['HTTP_X_FORWARDED_FOR'] : $HTTP_SERVER_VARS['REMOTE_ADDR']; Just add HTTP_SERVER_VARS as a global when used in functions.
  8. Re: Forums...VB Vs. IPB All CMS and Forum system(forums stores content, so it's a cms) have the same security loopholes. A common example, the XSS in the forum descriptions, anyone can get into the admin panel and steal all the users cookies, sites visited, and much more, and the users won't even know it. But, I would suggest vBulletin, even though it's a paid product, it is the money worths. The team of very experienced developers made it, and maintains it.
  9. Re: Welcome back CE   And why is that?
  10. Re: 4 year old smoker This is just getting anoying.. My words to everyone.. If you want to smoke, smoke your brains out.. If you don't then leave the people who does the f*ck alone!
  11. Re: Securing Variables   From isomerizer himself.   Oh, f*ck you, you started it..
  12. Re: Update MySQL Table Using An Array   1) Go skullf*ck yourself. 2) Go take a look at my examples of work. 3) Get a life, or rent one in your case, because nobody would be stupid enough to sell you one.
  13. hamster01

    Functions

    Re: Functions   Well, obviously you didn't know that :) Sure thing mate, whatever you say..
  14. Re: 4 year old smoker   Now googling..  
  15. Re: Securing Variables     He's not stupid, now stop trying to be clever..
×
×
  • Create New...