| |
| |
| |
|
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
Comments:
<0> T_V: Also, are you on Gentoo? <0> Or perhaps centos? <1> CryWolf: I'm just concerened with the number of if statements required to process the thing. There's a first stage: if(isset($_POST['options'])) and then a switch( $_POST['options']) which results in 21 if statements. But then at the end of all that each of those 20 options results in a multi-page form which means checking for each of those form's submit buttons too. <2> no. the complete error is.. (a debian error. ) <2> ione moment <3> Feldon: answer the question with a simple "radio" or "submit", please. <4> att error <2> getting the error :) <0> T_V: You're using debian? <4> Gots to love it when ATT is having network issues <0> T_V: Are you on a 64bit platform? <1> CryWolf: lets worry about the submit buttons first <3> Feldon: in that case, my technique will work <2> TML: im using debian. i686 GNU/Linux <1> this? -> <3> Feldon: name="option[$x]". $action = key($_POST['option']); switch ($action) ... <2> TML: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/lib/libc-client.so.2002edebian: undefined symbol: mm_dlog
<0> T_V: How did you build PHP? "apt-get -b source php5"? <2> TML: that the complete error <3> Feldon: yes. That will replace all the if's with a switch. <2> TML: no by source <5> CryWolf: oh radio <2> TML: it should be somewhere in the IMAP function <0> T_V: The short answer is "recompile without the IMAP extension" <2> TML: the problem is. i need the iMAP extension :( <0> T_V: The long answer is "Figure out the broken linkage between libc-client and libmm" <6> T_V: IMAP, not iMAP. It's not an Apple product. :-) <0> T_V: This is why you should use apt...it knows how to deal with this. <2> Crell42: sorry crappy keyboard ;-) <2> TML: hehe.. ah well. i think its an debian package error. i think i first recompile libc-client by hand <6> You're on debian and you're compiling stuff by hand? <7> guys, how is it possible to return the result of a search request (search engine of another site) and populate it on my own style <2> TML: thanx for the help <0> T_V: It's not a debian packaging error. It's an error from trying to mix-and-match package managed stuff with hand-compiled stuff <6> ntengineer: If the other site has a web service, use their web service. If not, you can try site scraping but that's a PITA. <2> Crell42: somethimes i have to do that when its not working ok :) <7> Crell42: yeah that will **** <7> Crell42: dont think they have web service... <6> I don't remember the last time I compiled anything on Debian except the kernel, which it has a special facility for. <7> Crell42: maybe I can parse it out.. <8> Well gents & any ladies we might have with us. Time for me to head my butt home. Ya'll be good, failing that, be good at it! ;) <0> T_V: Why are you not simply using the apt packages for php? <2> Crell42: even that u are able to do it with apt :) <2> TML: i just need some extensions that the packages dont support :( <0> T_V: So compile those extensions using phpize <0> Don't rebuild PHP from source for an extension <2> TML: its a clean install :) but i will reconsider that! :D <6> T_V: Exactly my point. <6> If it's not in Debian, you don't need it. <2> Crell42: php5 isnt in debian ?? <6> Sorry, I misspoke. <6> If it's not in Debian, you don't need it(tm). :-) <0> T_V: Yes it is <6> PHP5 has been in Sid for some time now. <6> And will be in etch. <0> php5 -v <0> PHP 5.1.2-1 (cli) (built: Jan 18 2006 06:49:47) <9> php5 is in etch <9> and its in sarge <6> Sarge ships with 4 <9> ships with 4, but apt-get install php5 still works <6> Fascinating. Didn't used to. <2> hmm. lets try that :) <9> iirc it did recently before it was closed as stable <6> Must have been an 11th hour addition. <10> you can also use dotdeb.org <10> for debian/ubuntu packages <6> Like, 11:59 :-) <11> i have a text area which im using to update a database field, but all the qoutation marks are being escaped with \ , how do i turn that off again ? <5> \' <2> euhm: The next release of Debian is codenamed etch -- no release date has been set ?? <5> magic_quotes <5> "\"" <0> T_V: That's correct, there's no release date for etch yet. Tenatively, they're shooting for pre-Christmas 2006. <11> ahh, stripslashes is what i want thx <12> im_with_stupid: or disable magic_quotes_gpc <6> There are decent odds that we'll see both KDE 4 and Debian Etch before we see MS Windows Vista. <4> okay guys back to my code "http://pastebin.com/658517 " Im having issues with lines 47-54, its changing the first [br] but not anymore, what have I done wrong
<11> thx <0> Wow...DDJ consumed both CUJ *and* SDmag <0> I can't help but feel this is a bad move on CMP's part... <13> whats best way to enable for apache 2? <13> CGI or Mod? <14> depends on what you want <14> most people want mod <13> whats the difference then? <14> uses more ram, but doens't spawn the cgi so much which helps on high load sites <5> S^Gerbitz: maybe a loop of the $str's you want to change <14> mod embeds itself in apache, cgi has to be spawned for every request <4> AfroTurf - can you show me how? <14> S^Gerbitz: um, you are overwriting $summary each time. lines 49-52 need $summary instead of $data['summary'] <2> TML: but how do i install php5 with apt at arge ? <2> arge = sarge <14> T_V: find a apt source with php5 and install it <2> hehe ok.. <14> but you could do better with arrays... $summary = str_replace(array('[br]','[b]','[u]','[/b]','[/u]'), array('<br>]','<b>','<u>','</b>','</u>'), $data['summary']); <14> S^Gerbitz: ^that's for you <4> ||cw - thanks <14> S^Gerbitz: but I'd recomend going out and finding a BBCode cl***/function to do ti for you, cause that's gonna replace things you may not want it to <14> like a [b] inside a [code] should not be touched, as well as [[b] should end up as [b] in the output <15> I have images outside of web root that I'd like to insert into html pages as if they were inside web root. Any functions come to mind that might help me do this? <16> hello, i did a very simple web site with php. everything seamed to work when i tested in firefox and ie. but i got one e-mail saying that it's not showing in Safari, i can't test that at all, since i don't have a mac and it's pretty hard for me to find one that i can use. the site is www.mauricioarraes.com <14> cyphor: readfile(), man page has an example of exactly what you want <17> chico_marx: http://www.snugtech.com/blog/ <14> chico_marx: also try #web <15> bah, I'm familiar with readfile(), I used that for forced downloads... I figured it wouldn't help though, but I'll go search through the examples =) <14> chico_marx: but first run your site through a validator <18> Does anyone here have experience with the mysqli slave/master cluster commands? <18> The docs are nonexisting <14> cyphor: you just stick a php script in the img src that readfile the image you want, get vars are valid there too <15> that's it? lol <16> ||cw: thanks! <19> Morning <20> I'm trying to get phpmyadmin to work, but it wont. I get "Please verify that the current setting of session.save_path is correct". But this session path is correct. It's set to /tmp as described. Ideas? <15> ||cw: ty =) <14> el-homo: do you have an htaccess overrriding it? <5> cyphor: working with images now :) <20> ||cw: no its a brand new copy of phpmyadmin <14> el-homo: what's phpinfo() say <20> session.save_path/tmp/tmp <15> AfroTurf: yuppers =) <5> cyphor: you making a script for thumbs on the fly or just resizing images as you upload them? <21> can i connect to mysql5 without mysqli? <0> winmutt: Sort of <22> Yes <21> ? <0> winmutt: You have to use old_p***word() <22> TML, Not if you compile mysql extension with 4.1+ libraries. <14> el-homo: and your /tmp is world writable? <15> AfroTurf: well, the function accepts jpg, gif, and png images, then depending on how I call it, it will create avatar sized copies or photo gallery & thumbs copies... <0> will[werk]: I've never been able to get that to work, but *shrug* <21> ok but mysqli is NOT required for connectivity to mysql5 ? <20> ||cw yes I did something now no idea what, but now phpmyadmin wont list tables inside databases <20> but I can login woho :p <22> TML, It'll work :) --with-mysql=/path/to/4.1+/mysql <21> phpmyadmin is for ****ers <20> winmutt what should I use in your opinion <0> will[werk]: I spent an entire afternoon trying, never could get mysql extension to link correctly. <22> winmutt, Not for connectivity. But if you want some of the cool features of MySQL4.1+, you'll need mysqli. <5> cyphor: hehe i just did something like that <15> fun huh <18> Does anyone here know how to use the mysqli cluster api functions? Do I need to use multiple connections, or is a connection to the master enough? <22> TML, ??? Maybe because it knows you don't like MySQL... <0> will[werk]: Could be <21> will_: cool features? <22> winmutt, php.net/mysqli <15> ||cw: if I'm outputting the image this way should I set Content-Disposition to 'inline'? <15> nvm <14> cyphor: probably, but I don't think it really matters inside img <15> k <22> TML, privmsg? <0> will[werk]: Sure
Return to
#php or Go to some related
logs:
qtparted default block size 450 Server configuration problem postgrey connection refused #perl #linux deb2tgz slack OR slackware +11 #php gambit windows remote desktop #web #web linuxdcpp swedish
|
|