| |
| |
| |
|
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> thanks guys <0> for the SIZE hint <1> how do you regex '/foo/' *but not* '/bar/'? <2> cisse: Well, metadata is a slippery term. It doesn't take long before it becomes silly to bother calling it "metadata", and it all just ends up being "data". <3> kombi: uh /foo/ ? <4> cisse: DFS's? <3> distributed file systems <5> OT question, apologies in advance. GAIM is logging me into freenode as dj_segfaul1 instead of dj_segfault, because it thought dj_segfault is still logged in. What do I do to fix that? <3> coda, gfs, afs, lustre <2> dj_segfaul1: Gaim is correct. <1> cisse: should have said it differently, I preg_match_all email addresses in a file but want to rule out a couple. I wonder how that could be done in within the regex allready <2> dj_segfaul1: If your nick is registered, you can ghost it. <5> mattmcc: Meaning.....? <2> dj_segfaul1: /msg nickserv help <6> pollita, where does the core dump go by default? <7> hey dudes. i need some help installing for IIS. its all working, and I'm serving up a phpinfo page properly, however it's not working with mysql. PHP Version 5.1.2 the php.ini-dist and php.ini-recommended files both say that mysql support is built in, and i dont need to load a module. also, there is no c:\php\extensions\php_libmysql.dll. there is a c:\php\dlls\libmySQL.dll file but it doesn't load properly if I try
<7> wtf? <4> Pollita: It seems it's all done through the POSIX ACL interface <4> Pollita: http://acl.bestbits.at/ <5> mattmcc: yeah, I did ask NickServ for help, and none of the options it gave me looked appropriate. Can I PM you? <2> dj_segfaul1: If you want to disconnect your other instance (dj_segfault) use ghost. <2> If your nick isn't registered, you're SOL. <5> mattmcc: "No such command (in this context)." (dj_segfault is registered with a p***word) <4> dmar-_-_: I heard they stopped building php_libmysql.dll for windows releases, but that *may* have simply been a nasty rumour <2> /msg nickserv ghost dj_segfault <your p***word> <5> mattmcc: Thanks. <7> TML so how does one freakin' get this working???????????" <8> ??????????????? <9> I have an array, where I set the index to a specific ID, and then a value: e.g. 141 -> "Apple" 142->Banana or whatever. How do I use each value, as in how do I output/access the index of 141 and output/access the value of this entry? <4> dmar-_-_: Which version of mysql are you connecting to? <8> gary, lookup foreach <9> thanks <7> TML 5.0.18-nt <4> Pollita: getxattr, lgetxattr, fgetxattr - retrieve an extended attribute value <10> dmar-_-_: you only need to add extension=php_mysql.dll in php.ini.. <6> where does a core file of crash go by default? <4> dmar-_-_: Then you should be using mysqli <4> zombor: Wherever "." is for the process <4> Pollita: Of course, with the complementary: setxattr, lsetxattr, fsetxattr - set an extended attribute value <10> dmar-_-_: if it still cant find libmysql, then copy libmysql.dll to c:\windows\system32, that should shut it up :P <6> TML: so if i am running lighttpd from /opt/local/sbin it should be there? <7> niraj: i'll try it, but like i said.... <4> zombor: Maybe <6> TML: where else would it be <6> ? <4> zombor: lighthttpd might chdir() <11> Hello. I just got my server up, and put my php pages involving mysql back on there and i get a php error saying ""call to undefined function: mysql_connect()". I have mysql up and working. phpMyAdmin works fine. Any thoughts? I'm using php version 4.3.8 <9> cool, it worked - thanks Julian|Work <6> TML: i would have to configure that though, correct? <7> TML: i cant use mysqli because i've already written a huge online collaboration suite using mysql() and now I need to deploy it on this friggin' windows IIS/mysql/php server <7> and i coded it initially with mysql() <4> zombor: Not really, no. <11> anybody have any thoughts to my problem? <12> jonnay: you there still? <10> hyjak: sounds like you don't have php's mysql extension set up.. is phpmyadmin set to use mysqli or something? <11> ill take a look <11> niraj: its set to use extension 'mysql <10> hyjak: did you actually try logging into phpmyadmin? :P <11> yes and i even created DB's so i could run my site <10> hyjak: because if it's using mysql and there's no mysql_connect function.. that's pretty strange <7> TML, niraj: any ideas, please? <10> hmm <10> dmar-_-_: did you try copying libmysql.dll to c:\windows\system32? <7> niraj: i modified the path in xp to include it <7> therefore, not neccessary <13> is there anyway to ALWAYS p*** a checkbox in POST>.. checked or not? Reason is I am updating changes... if they check it recognizes the POST and can set it.. but if it isn't checked it was never p***ed.. <11> niraj: yea, but phpmyadmin sems to be working fine. Strikes me that its not working considering this is the same code i used on my previous server (which had the the same version of php and apache and mysql <10> dmar-_-_: and it still complains about not being able to find that dll? <11> Kaitlyn: yes, put a iff statement in your checkbox code <10> Hyjak: run php_info and check if there's a "mysql" section <2> Kaitlyn: That's how checkboxes are meant to work. Just fix your code to look for the presence of the variable. <11> Kaitlyn: something like:: if ($box == $variable) {?>checked<?} else {} <10> *phpinfo <11> will do niraj <2> Eh, if (isset($_POST['variable'])) would be better. <11> mattmcc: guess im old fasioned then, lol <13> I won't know the variable name though
<2> You'll need to know its name. :) <11> Kaitlyn: you set it in the checkbox <11> Kaitlyn: <input type="checkbox" name="variable"/> <13> Hyjak: the form/variables are being dynamically created... <11> that sets your variable <13> it may be variable[21] <13> it may be variable[0] <13> i won't know.. <2> Kaitlyn: That sounds fairly dumb. <2> How can you process a form whose contents have no predictable structure? <13> the user creates various form items... one is a checkbox. <11> Kaitlyn: how would they put in something of the text box and have your script recognize it if it will change each time? <10> Kaitlyn: why not use a foreach on the $_POST['variable'] array instead of a for loop that you're probably doing now? <13> Hyjak the textbox p***es with a value of '' <14> Its a bit of a hack, but why not just add a hidden form variable to keep track of the checkboxes? <11> Kaitlyn: i wouldnt do it that way <13> niraj: I am doing foreach. With the checkboxes, if not checked, the variable doesn't p***.. <15> ANYONE KNOW MAXIMUM LINE SIZE under php mysql html ? <11> niraj: there is something talking about the mysql extension in phpinfo <11> ace_me: what do you mean? <2> ace_me: There isn't one. <15> there is any limnitation <15> I have a long xml line with base64 image in it <4> ace_me: 1,374,789,319,930 * 10^6 <15> it produce error under APACHE but under IIS nothing <10> Kaitlyn: well that's normal for checkboxes.. maybe you should consider radio buttons? <11> niraj: the only thing mentioning mysql is in the extensions, which ive already put on my box. <16> kaitlyn: workaround: instead of generating <input type="checkbox" name="var[1]" value="1"> do 58688120 <16> er <15> :) seems to be big enough <16> <input type="hidden" name="var[1]" value="0"><input type="checkbox" name="var[1]" value="1"> <15> I was refering something around 2 MB <13> Xyphoid: I only want it as a single checkbox :( <16> that will only be a single checkbox <11> Kaitlyn: you could do as niraj said, but the radio buttons may be the same considering they are also checked with the "checked" setting <16> if you check the box, 0 and 1 will be sent, and php will use the second value. if you don't check the box, only 0 will be sent. <13> Xyphoid: Let me try :) <2> No, don't trust that behavior. <13> mattmcc: oh? why? <16> it is a hack, yes. <10> Hyjak: got a link to the ouput of phpinfo? <2> You can't trust the client to send them in the order you expect, and you can't trust PHP to pick the one you expect. <11> let me get one up, gimme a second <2> If you're locked into not knowing the structure of the form you're processing, then I would seriously suggest embedding information about the structure into the form. <13> ya i suppose i will.. a hidden field with the names of all fields with checkboxes.. <2> Because this idea of trying to divine semantics with no actual is fairly futile. <10> Kaitlyn: to mattmcc you listen :P <11> niraj: just created the server, so i didnt get links for it yet <2> You'd be just as well off if I handed you four cubes and told you one of them was food, but the other three were poison. <10> Hyjak: oh.. no direct connection to the net? <2> Well. Except that form elements don't often kill people. <11> not yet <17> mattmcc: make sure to video tape it when it happens <10> Hyjak: does mysql have it's own table like 'PHP Core' in the phpinfo output? <17> then we can send it to Americas Funniest .... <17> niraj: yes, 'mysql' <11> no <18> Hello. <11> niraj: it doesnt have its own thing <10> AcidReign: didnt ask you ;) troubleshooting Hyjak's problem <19> hey guys <17> oh, nevermind then <19> ... and gals <10> Hyjak: oh.. did you uncomment the line for the mysql extension in php.ini? <6> how can I do a gdb backtrace on a fastCGI process? <11> might not have, let me look <19> can someone recommend a good php/mysql accounting package? <10> Hyjak: it would still be odd that phpmyadmin works.. perhaps it dynamically loads the extension.. <11> perhaps, dont remember having to uncomment it myself last time i ran the server, but ill take a look <3> hrm does doing $matches = 0; zero $matches if it's an array ? <11> niraj: the box is not there in phpinfo () <10> cisse: yes, the array will be lost and replaced with an integer 0 value <19> cisse: yes, and will no longer be an array
Return to
#php or Go to some related
logs:
glxgears param fps modeline 2407 xorg.conf perl cgi redirect malformed header #perl #debian #gentoo #linux #web #linux kmail fedora could not lock
|
|