PC Nerd
Members-
Posts
1,122 -
Joined
-
Last visited
Never
Everything posted by PC Nerd
-
***BUMP***
-
How to upload image from a form into mysql including verification
PC Nerd replied to anita999's topic in PHP Coding Help
what do you mean by validation? as is size, or pixles etc? -
ive got it working! thankx guys
-
yup, hang on im testign the script
-
thankx, is there a way to tell the "master file"....... the file this is in, is included at the begining of every page..... and i want to know the name of the file which included is..... eg file.php includes database.inc but is the filename of the database.inc, or is it file.php?????
-
thankx ill give it a go..... ive actually got to write the script, but it should only take a few minutes... is there a value that stores the IP address of the request?
-
is there a global array or value, which tells me the name of the script that im running... eg if the script is "directory/Script.php" then the value would be : $GLOBAL['Page'] = "Script.php" thankx
-
use XAMPP, its got Pearl as well, so if you want it in the furure, then you dont have to worry. imm put my installer in a ZIP for you if you want
-
i use xampp, its like the new generation WAMP i reccomend it its dynamic ( to an extent ) and its easy to use ( mysql, php, pearl, firezilla FTP, phpmyadmin, all sorts of goodies!) its great for local host, although i dont have to much experience in configurint them together manually ( i had one go and took the short cut with xampp)
-
its 20 long... but now instead of getting 9999 records, i get 100, but i have only tested it about 10 -15 times, im sure ill get the 1000 long one again... the Def_Start didnt return anything, not even mysqli_object.: [Def_Start_SQL] => SELECT User_ID, Points FROM General_Stats WHERE Points > '1' AND Points < '30' [Def_Start_Query] => mysqli_result Object ( ) [] => 20 [Def_Start] => [Def_Options] => Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 7 [4] => 8 [5] => 9 [6] => 10 [7] => 11 [8] => 17 [9] => 37 [10] => 36 [11] => 35 [12] => 34 [13] => 33 [14] => 32 [15] => 31 [16] => 77 [17] => 78 [18] => 90 [19] => 87 [20] => 1 [21] => 2 [22] => 3 [23] => 7 [24] => 8 [25] => 9 [26] => 10 [27] => 11 [28] => 17 [29] => 37 [30] => 36 [31] => 35 [32] => 34 [33] => 33 [34] => 32 [35] => 31 [36] => 77 [37] => 78 [38] => 90 [39] => 87 [40] => 1 [41] => 2 [42] => 3 [43] => 7 [44] => 8 [45] => 9 [46] => 10 [47] => 11 [48] => 17 [49] => 37 [50] => 36 [51] => 35 [52] => 34 [53] => 33 [54] => 32 [55] => 31 [56] => 77 [57] => 78 [58] => 90 [59] => 87 [60] => 1 [61] => 2 [62] => 3 [63] => 7 [64] => 8 [65] => 9 [66] => 10 [67] => 11 [68] => 17 [69] => 37 [70] => 36 [71] => 35 [72] => 34 [73] => 33 [74] => 32 [75] => 31 [76] => 77 [77] => 78 [78] => 90 [79] => 87 [80] => 1 [81] => 2 [82] => 3 [83] => 7 [84] => 8 [85] => 9 [86] => 10 [87] => 11 [88] => 17 [89] => 37 [90] => 36 [91] => 35 [92] => 34 [93] => 33 [94] => 32 [95] => 31 [96] => 77 [97] => 78 [98] => 90 [99] => 87 ) thats the outcome. im using the display all variables function...
-
*bump* does anyone have any idea whats wrong with setting the cookies?
-
*** any ideas? ***
-
for some reason, sometimes i get 9999 and sometimes i get 99, and sometimes i get the $def_Choise and sometiems i dont........... im convinced its my while..... code: while($Def_Start = mysqli_fetch_array($Def_Start_Query, MYSQLI_ASSOC)) { $Def_Options[] = $Def_Start['User_ID']; } #shuffle($Def_Options); #$Def_ID = $Def_Options[0]; $Def_ID = array_rand($Def_Options, 1); Run_Attack($Page_Data, $Def_ID, $DB_Server); thankx
-
thankx for the fast reply ill try it now
-
ive been playing with my code all afternoon and cant seem to get anywhere........ does anyone have any suggestions?
-
i dont understand: $array[$x] = '0'; //zero it out as invalid now about the zero it out????
-
um, how would this work in my case?
-
i think the following code is stuffing up... my code: while($Def_Start = mysqli_fetch_array($Def_Start_Query, MYSQLI_ASSOC)) { $Def_Options[] = $Def_Start['User_ID']; } shuffle($Def_Options); $Def_ID = $Def_Options[0]; Run_Attack($Page_Data, $Def_ID, $DB_Server); its simply meant to select a random element from that array, but i think that shuffle is stuffing up..... instead of getting the 20 or so entries, and rearranging them, its randomising them, and copying then appending the copy to itself, leaving me with an array about 9999 elements long, and just copies of itself..... is this my loop or shuffle??? i think its the while, becauase i still get the long array when i mute the shuffle thanks, PC Nerd
-
u,, where you set the domain and locatio stuff, is there a global variable or value stating where this script ifs running from? and i dont think that the cookie setting is the problem, becauase it was working until i added the database login ID value..... any more suggestions? thankx
-
kk, np how long does it take for a post to become redundent and be deleted off ther server?
-
ok, this person posted in the other thread : HaLo2FrEeEk : "Did you try clearing your cache of all cookies, making sure all of them are gone, then running the script again? Maybe it is picking up residual cookie...crumbs (lol, pun)" thats why i asked about the locations of the cookies, becauase i couldnt find any where all the other cookies are kept.... ! um, ill check that cookie syntax now thankx for all your help!
-
lol, kk, does anyone else know, or have suggestion to fix script
-
um, i cant seem to find the cookie even after i know its created and after i can see its ( still timestamp )output can i find exactly where the cookie is, through php, becauase i dont think that its being saved in the same place?
-
um also, is there a function that actually says the location of the cookie on the clients computer so that i can look manually for it?????