Jump to content

MadTechie

Staff Alumni
  • Posts

    9,409
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by MadTechie

  1. try an old classic at the login screen if you have a selection to pick an account then press ctrl+alt_del (twice) a new (old style login screen will appear) try username Administrator password (blank) <-- no password if all else fails try this http://www.pendrivelinux.com/2007/01/01/usb-knoppix-510
  2. you set the name during the upload routine you can't create an uploader without setting a name
  3. if you used the logic then check the license it may have a option to pay for use on commercial applications, you can also write to the developer and ask.. saves being sued. EDIT: also try searching the web again you may find a better one. do you have a copy of the license agreement ? as some only insist you include their name (some on the page, but some just in credits)
  4. <?php $username = $_POST['username']; $password = $_POST['password']; $db = mysql_query("SELECT user_id FROM user WHERE username=\"$username\" AND password=\"$password\" LIMIT 1") OR die ("Error!"); ?> SQL injection try password and username as alphanumeric <?php $username = preg_replace("/[^a-zA-Z0-9]/", "", $_POST['username']); $password = preg_replace("/[^a-zA-Z0-9]/", "", $_POST['password ']); ?> Cookies can be spoofed try sessions or a DB session (use Salt+HASH)
  5. Php Help section subject could be "can this be optermized" or something
  6. Not really, it really depends on the agreement but the "Idea" can't be copyrighted if you only changed a few parts of the code or memorized the whole thing then re-created it then your probably loss. but its also proving you copied it if you got the code via memory peek & poke or decrypting it, then you are probably breaking the agreement basically it depends on the agreement (which no one reads)
  7. Look into CRONS or CRON JOB
  8. i can't see anything wrong with the syntax... infact i can't even see the syntax!!! ??? EDIT: Found the problem your missing the code
  9. clicky the solvedy buttony i'm lossing it.. time for sleep
  10. will be harder.. you need to create a "whos online" or registration
  11. try <?php include '../connect.php'; // yes, this is the right connect file. it's a directory above this file. It's worked before. $q = html_entity_decode($_POST['q'], ENT_QUOTES);; @mysql_query($q) or MySQL_ErrorMsg ($q); header("location:form.html"); ?> EDIT: updated
  12. my fav. Quote "Microsoft Products are Generally Bug Free" -- Bill Gates
  13. why are you using strtotime ? just add seconds ie setcookie("TestCookie", $value, time()+3600); strtotime has probably added years on
  14. try @mysql_query($q) or MySQL_ErrorMsg ($q);
  15. session_start(); MUST! be used before any other output to the screen either move it to the start or use ob_flush();
  16. I remember "JavaScript LiteBox" check that as well
  17. Use Div but doesn't work it crashed IE7 (once) and just opens another window in FireFox
  18. Na this part confused me.. So \s" Huh but i know what you mean
  19. What!! EDIT: Oh i get ya
  20. please use code tags <?php echo "<textarea rows='5' cols='65' name='Categories'>"; echo"{$row['Categories']}"; echo"</textarea>"; ?>
  21. <?php $X = array("1s","4d","13h","7d","8c"); print_r($X); natsort($X); print_r($X); ?> D'oh
  22. why don't you use the cells ie <table> <tr> <td class="pblabelcell">:: te installeren opties op uw server :: </td> </tr> <tr> <tr> <td class="plabelcell">[m_4PSA_Software1]</td> </tr> <tr> <td class="plabelcell">[m_4PSA_Software2]</td> </tr> <tr> <td class="plabelcell">[m_4PSA_Software3]</td> </tr> <tr> <td class="plabelcell">[m_4PSA_Software4]</td> </tr> <tr> <td class="plabelcell">[m_4PSA_Software5]</td> </tr> </td> </tr> </table>
  23. Can you post some code,
  24. Erm.. Server problems mainly First thing is upgrade to PHP 5.2.1 PHP/4.4.4 has a few secuirty risks Session Spoffing Exploit http://www.chatcubed.com/regular/tmp/
  25. what about split or spliti split array split ( string $pattern, string $string [, int $limit] ) Returns an array of strings, each of which is a substring of string formed by splitting it on boundaries formed by the case-sensitive regular expression pattern. If limit is set, the returned array will contain a maximum of limit elements with the last element containing the whole rest of string. If an error occurs, split() returns FALSE. spliti array spliti ( string $pattern, string $string [, int $limit] ) This function is identical to split() except that this ignores case distinction when matching alphabetic characters. EDIT: preg_split — Split string by a regular expression Description array preg_split ( string $pattern, string $subject [, int $limit [, int $flags]] ) Split the given string by a regular expression. If you say the minimum spaces to be classed as a delimitor is 3 spaces, then replace all 4 spaces with 3 until no more 4 spaces exist, then use " " (3xspaces) as a delimitor
×
×
  • 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.