-
Posts
9,409 -
Joined
-
Last visited
-
Days Won
1
Everything posted by MadTechie
-
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
-
you set the name during the upload routine you can't create an uploader without setting a name
-
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)
-
<?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)
-
Php Help section subject could be "can this be optermized" or something
-
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)
-
Look into CRONS or CRON JOB
-
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
-
clicky the solvedy buttony i'm lossing it.. time for sleep
-
will be harder.. you need to create a "whos online" or registration
-
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
-
my fav. Quote "Microsoft Products are Generally Bug Free" -- Bill Gates
-
why are you using strtotime ? just add seconds ie setcookie("TestCookie", $value, time()+3600); strtotime has probably added years on
-
try @mysql_query($q) or MySQL_ErrorMsg ($q);
-
[SOLVED] Why isn't php "seeing" the database?
MadTechie replied to matthewst's topic in PHP Coding Help
session_start(); MUST! be used before any other output to the screen either move it to the start or use ob_flush(); -
[SOLVED] hey guys i have a complicated problem
MadTechie replied to rallokkcaz's topic in Javascript Help
I remember "JavaScript LiteBox" check that as well -
[SOLVED] hey guys i have a complicated problem
MadTechie replied to rallokkcaz's topic in Javascript Help
Use Div but doesn't work it crashed IE7 (once) and just opens another window in FireFox -
Na this part confused me.. So \s" Huh but i know what you mean
-
What!! EDIT: Oh i get ya
-
please use code tags <?php echo "<textarea rows='5' cols='65' name='Categories'>"; echo"{$row['Categories']}"; echo"</textarea>"; ?>
-
<?php $X = array("1s","4d","13h","7d","8c"); print_r($X); natsort($X); print_r($X); ?> D'oh
-
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>
-
Can you post some code,
-
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/
-
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