| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
Comments:
<0> joh: b... too slow <1> Moofius: http://www.php.net/manual/en/language.operators.bitwise.php <2> aidan`, I understand the problem is serious but I think that ';' is not needed when running a query through PHP... and I test '; DROP TABLE ofertas;' but nothing strange happened, only a row whith this value was inserted. <3> I have read that, but I can understand how to get information back again <0> beatdown: you may have addslashes enabled, which prevents that type of simple attack, but still allows me to drop your database with a couple of characters <4> aidan`: that's alot money to fork over... better be a damn good server <0> beatdown: either way, you need to start coding properly <0> upermicro <0> > 5014C-TB Server <0> oops <0> Lunis: supermicro 5014C-TB Server <4> when i eat sweet-tarts, my eyes sweat :| <2> aidan`, you are completely right <2> thank you very much for the lesson <0> p4 3ghz, raid, 3gb ram, etc <4> aidan`: barebones?
<0> beatdown: you're most welcome :) good luck <2> I will read some info before keep on coding <2> bye :) <0> Lunis: ch***is is like, $800 I think <0> plus the cost of installing it in the datacenter :| <4> ah, installation <0> the good news is, it's running debian sarge ... no more redhat7.2-cant-find-any-rpms-for-anything <4> i was about to be scared... <4> http://www.newegg.com/product/Product.asp?Item=N82E16856101567&CMP=OTC-Froogle&ATT=SUPERMICRO+SuperServer+5014C-TB+1U+Barebone+Server-Rackmount <4> because of that <0> Lunis: AUD too <4> debian > redhat <4> gentoo > all <5> Lunis++ <0> I was thinking about gentoo .. I like the idea of compiling from source <5> aidan`: from source distribution is the way to go <4> on a beast like that, compile times are little worry <4> and i doubt you'll be emerging kde anytime soon xP <0> I compile all my stuff at the moment <5> same here <5> aidan`: what distro? <0> x86_64, sarge <5> gcc? <0> 4 I guess, whatever sarge ships with <5> nice, nptl? <0> does that come with sarge? :) <4> http://lunis.pastebin.com/538274 it's always asking for a p***word... like the cookie is never being set... >_> someone quick skim pl0x? <5> aidan`: it's part of glibc <5> aidan`: type /lib/libc.so.6 <0> likewhoa: it's not set up yet, I was just at the check signing stage <6> Anybody had any experience of trouble with switches in php 5.x after upgrading from 4.x , etc. switch ($this) { case "Hmm": do this; break; } not working? <5> aidan`: heh <7> xpowerstudios: $this is a special variable. Even in PHP4. <4> they like the check signing stage... <6> kuja , my bad was an example var <7> Well, in that case, no. <7> It's all the same. <0> likewhoa: might want to specify more parameters for setcookie <6> lets make it $expohouse <0> likewhoa: I find setting the path fixes it most of the time, also put a die after the setcookie to make sure that loop is being run <3> yay, at the bottom of the comments it is a c-code that is the thing I want $a = 2|4; echo ($a&4?"yepp":"nope"); <5> aidan`: it's Lunis that you should be addressing not me :P <0> doh <6> weird, for some reason it is as if it's ignoring the switch completely, and worked fine running 4.x <4> aidan`: i'll try adding a date to the cookie, that could be the problem... then i'll continue on from there <7> xpowerstudios: $foo = 'bar'; switch ($foo) { case 'bar': echo '$foo is bar'; break; default: echo '$foo is not bar'; } <7> Will output, $foo is bar <6> the only case it responds to is the default <7> Then manually check your value. <7> Also note that 'bar' != 'Bar' != 'BAR != 'bAr' and so on <6> kuja for example im using this for a menu, switch($goto) { case "NewArticle": include "newArticle.php"; break; } for instance <6> gotcha <7> I usually don't see a need for case comparisons to be of mixed-case. <7> strlower()'ing what you p*** into switch() is usually convient to type and less error prone. <7> strtolower() <6> kuja, true <7> switch (strtolower($goto)) { case 'newarticle': ... } <4> aidan`: still no luck <3> how can you do a preg_split to be caseinsensitive? <7> Moofius: php.net/pcre.pattern-syntax
<7> Moofius: Read about modifiers. <6> kuja, the weird problem is that i had a script working excellent on 4.x and untouched, upgraded to 5.x php and it stopped working, any known issues or changes from 4 to 5 that you might know of? <3> kuja: /blabla/i <6> as far as the switches go <4> brb gotta get the gamefly games in the mailbox <7> Moofius: Good job <7> xpowerstudios: Nope <7> Switches are traditional, there's nothing special to them <6> kuja, dang well i'll keep looking, thanks for the tips on strtolower() tho, heading there <7> np <8> i'm stuck with apache2 + php configuration :( <5> how do i extract form 'type' variables into my scope? <8> i added extension=mysql.so to php.ini, however it (mysql module) doesn't work properly <7> likewhoa: What 'type' variables? <5> kuja: files <5> kuja: i can only extract $_POST data <7> $_FILES? <5> kuja: tried that <7> What are you looking for? <5> extract($_FILES); <7> Why are you extracting a super global in the first place? <8> here is my phpinfo() : http://www.template-site.co.uk/test.php <5> kuja: the variables are not set on submittion <5> kuja: i have register_globals off <7> likewhoa: Well, have you got the right enctype? <5> yea <5> kuja: multipart/form-data you mean? <7> Yeah <5> yea that's set <7> Hm, then I've got no clue as to why it ain't submitting. <8> maybe someone will give me an advice? <5> kuja: let me rafb.net/paste it <5> kuja: http://rafb.net/paste/results/RRwtf055.html <8> no usefull advices for today? :) <5> kuja: the label_[] ones show up, but not $binFile[] array values.. <5> kuja: dunno, i figure binFile[] would be set on the global scope since $_FILES is superglobal.. <7> likewhoa: Does $_FILES get set at all? <7> s/set/populated/ <5> let me check by echoing those arrays from it on submit.. <7> print_r($_FILES); <5> kuja: yea they get set <5> Array ( [binFile_] => Array ( [name] => Array ( [0] => 05f4d579a5c444f9d633edc9f8b3cebf.png and so on.. <9> can anyone help me on this: http://pastebin.com/538295 << It's really weird, i get new sessions created all the time and dont see a way around this problem. Everything is ok when debugged, except the session_id. Also, all the session data is still stored although new sessions are created all the time ;/ <10> http://rafb.net/paste/results/GFLb6w36.html this is the way i'm checking whether an ip is in the Db, but it isn't working, where's the bug? :-/ <7> likewhoa: I don't see why extract() wouldn't work, but I'm rather tired. I'm going to be heading to bed now. I seriously can't focus or think. Sorry for now <5> kuja: np bud, have a gn <9> asd let me see <5> actually good morning and good night <7> :) <9> asd : http://pastebin.com/538299 <10> Drakas thank you very much ;) <9> np asd :) <8> any ideas about mysql.so and php? :) <9> sergeus huh? <11> join #cisco <12> rofl <8> Drakas, i added extension=mysql.so <8> Drakas, to php.ini <9> ok, and? <8> Drakas, but i still have the same error: "Call to undefined function: mysql_connect()" <9> ahh right <9> sergeus did you restart apache? <8> sure <9> ok let me see <9> what versions? mysql, php, apache? <8> darklogic, here is my phpinfo() output - http://www.template-site.co.uk/test.php <8> Drakas, here is my phpinfo() output - http://www.template-site.co.uk/test.php <8> it doesn't show mysql in the list of modules.. <9> sergeus you need the dependencies, i think its libmysqlclient.so.10 <9> hmm check the apache error log <9> ugh, very old php <9> add 0.1 to yours and you will be safer <8> Drakas, Server version: Apache/2.0.46
Return to
#php or Go to some related
logs:
lilo is not a valid root device gentoo #python mplayer skip bad sectors gtk-warning cannot open lay
fat32 filesystem size limits #centos amule tor setup gentoo kio_smb show tables not like etch raid mkraid
|
|