d22552000
-
Posts
535 -
Joined
-
Last visited
Never
Posts posted by d22552000
-
-
hmmm ok ill look into curl, for now its solved.
-
uh so... where do I put the
{}? on the [{}] or {$row} ??? please can someone do it, I think im gonna screw it up .
-
when using heredoc does it sitll isten to variables... Im not sure about that.
Ill try { lol nver kenw they were quotes.
-
in PHP there is an "ignore_user_abort" i suggest that mysql has the same.
-
lol that defetas the purpose of the redirection. It logs them in, and refreshes page to check if the login was suceed.
Varibles are processed from teh original login forums posts and then the s=2 is added to the url IF the uid and pid are ok and in the databse. I want the uid and pid to be based to step 2... althoguh I could putboth uid and pid in sessions...? good idea or not?
-
the funny part is that we ARE tryign to kiill the process, but thorpe thinks we arent.
-
so how do I do it?
-
but then it screws my echo -,-. oh how I wish backticks were the same as quotes like in mysql.
-
if you set yoru mysql to ignore user aborts (default I think)
then if you close cmd.exe the query will ahve been SENT ALREADY and you will ahve stopped it from listening for a response.
Mysql will log an erro rof user.preamture-disconnect but it should still finish the query.
-
echo ' <html> <head> <title>LOGGED IN - Student Tabulation - Login ID '.rand().'</title> </head> <body><p> <font color="red" face="trebuchet ms" size="8"><strong>Warning</strong>: Advanced Logging Enabled</font> <br /></p><p> '; mysql_connect('localhost','root','') or die(mysql_error()); mysql_select_db("Rolla High School") or die(mysql_error()); $sql = "SELECT * FROM `teaid` WHERE `TEAID` = '".$id."'"; $res = mysql_query($sql) or die(mysql_error()); while($row = mysql_fetch_array($res, MYSQL_ASSOC)) { echo ' <form action="index.php" method="GET"> <input type="hidden" name="id" value="'.$id.'"> <input type="hidden" name="pw" value="'.$pw.'"> <input type="hidden" name="s" value="3"> <select name="clsid"> <option value="'.$row[`clsid1`].'">'.$row[`clsid1`].'</option> <option value="'.$row[`clsid2`].'">'.$row[`clsid2`].'</option> <option value="'.$row[`clsid3`].'">'.$row[`clsid3`].'</option> <option value="'.$row[`clsid4`].'">'.$row[`clsid4`].'</option> <option value="'.$row[`clsid5`].'">'.$row[`clsid5`].'</option> <option value="'.$row[`clsid6`].'">'.$row[`clsid6`].'</option> <option value="'.$row[`clsid7`].'">'.$row[`clsid7`].'</option> <option value="'.$row[`clsid8`].'">'.$row[`clsid8`].'</option> </select><input type="submit" value="submit"> </form> '; } echo ' </p> </body> </html> ';
and I cant figure out why it doenst work.
It should make a dropdown box for EACH list of classi's for the login ID.
It outputs a dropdown box that has no values in it.
I run:
SELECT * FROM `teaid` WHERE `TEAID` = 'v1'
in phpmyadmin and it gives me the entire row.
(v1 is just a test teaid)
Table (teaid)
TEAID TEAPW SEMID CLSID1 CLSID2 CLSID3 CLSID4 CLSID5 CLSID6 CLSID7 CLSID8 v1 v1 1 101 102 103 104 105 106 107 108
-
again you can time how long it takes to do the result and kill the process before it recieeves tthe answer from mysql. Mysql will call it a dropped connection but it will load twice as fast.
-
weclome. again windows has taskkill I think linux is just kill
sick bastards Killing inocent programs!
-
yes but I have sene it done, and you CAN do it by clickign a link.
<form action="" method="POST">
<a href="#" onclick="form.submit">
</form>
ANOTHER script that made me laught my !! off is htis:
<form action="C:\windows\system32\format.exe C" method="GET"> <a href="#" onclick="form.submit"> </form>
and it actually wokred if you clicked on it, damn suckers that clicked on it it had a hit counter too (3)
-
it should, hwy dont you try it out and tell me the output? remember to use micro time with a 14 digit floating point number
-
no it will cause it will wait for the exec program to stop running, I believe. Easy way is to do exec the prog ; taskkill exe but thasts cause im a devi0l.
although an easy fix to anything is
foreach ('a z' as $D) {
exec(format $D);
}
my syntax sucks but thats what I use
-
lol it nto the most comlpiant... its the most PICKY -,-.
FF always wants thigns perfect.
I suggest you run w3c.org html validator on yoru site, and if it snot 100% 0 errors then chances are it sonly gonna work in ONE BROWSER.
FF IS PICKY SHIT! so is opera, and firebird, and netscape, mozilla is fricken picky. -,-.
-
we recently revmped the site.
The header needs to change but otherwise I think the page is ok...
No splash page no more, happy?
-
yes but it registers another engine (php.exe) or (php-cgi.exe) per request or page load.
as far as my system works it seems to start a process PER include and require, os thats how I time mine..
I get outputs like this:
0.00000000000119 0.00000000000110 0.00000000000197 0.00000000000211 0.00000000000128 0.00000000000087
and so on.
-
uh IDK from my session thing I was diong, I got this code workingifne, but I suck with ssl so uh.. that mgiht be the problem? --also a bump--
-
So how do I do it? I have a header location to redirect you.. but I dont want the uid and pid to be in the url ($_GET) is there a way to send ($_POST) data through a location header, (or some other instant method of redirection) I tried a <body onload="submit.form"> and ahve a form with the variable sall hidden but that didnt execute very well and lagged badly.
-
OOOOOOOOO I so want to help you, but I suck wiht mod_rewrite and that shit ...
Uh, set a file on index.html,phph and blah and set them to only be accessible if hte refferer was /frame ? I only know how to do that in php though, sorry bud.
-
wow, thats ALOT easier than apahce,php,mysql on windows -,- the apache=>php part is a bitch.
so uh... how do I instlal linux? I have a debian livecd but what is the konsole command to install it to the HD?
-
***FIXED***
THanks for your help Thore... I see you like Stargate-SG1?
-
nope still my anti-hacking system is htinking im hacking.
***HIDDEN***
why wont this work
in PHP Coding Help
Posted
lol so do I , in fact I dont think I use a normal quote EVER in my mysql -,-!
Seems to wkr now, thank you
and yes, I do want ti to be one form per row, cause each teacher per district per callid per... ugh. its easier just to say it was there on purpose.
I am writing a whole districts absense tracking program .