| |
| |
| |
|
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> well there are a lot more lines in than that <0> there are about a hundred <0> ah... case-sensitivity <0> there's no switch i can use to change that, is there? do i have to modify my regexp? <1> there's another function for case-insensitive searching iirc <2> /blah/i <0> wicked <3> i like the new addons.mozilla.org <0> that was perfect - it now works a treat <0> many thanks Ciaran <4> why I cannot read value from $row->xx after second columns onward? <5> exten123: Cosmic rays interfering? <6> anyone good on mod_rewrite issues? <7> angela: no, but i hear #apache is <5> Angel-SL: The people in #apache ? <6> fraid not..
<7> seeing as that's what its for, not made for ##php <6> I'll try #rewrite then ;) <5> Good luck <4> how to get first 10 chars from a string? <7> substr <7> how does ##php even look like #apache :/ <5> The spelling is almost the same <4> itrebal, thanks <2> they both have 'p's in <2> oh and a 'h' <1> and # <5> and a CR <2> see that's like a third of the characters <1> lol <5> Almost exactly the same, kindof <8> how can i select a range of keys & from an array without using foreach? <9> Drakas: how do you want to select them? do you know the keys? <8> like an array("0"=>"One","1"=>"Two"....); and i want to cur out the bit of for example "5"=>"Six" to "80"=>"Eighty-One"; <8> array_slice? <9> yep <8> yesp <8> D: <8> as i was describing i remembered it :} <8> yey works D <8> array_unshift is really useful :] <10> http://pastebin.com/653215 -- can anyone tell me what's wrong with this regex? <10> it works fine using regex coach :/ <11> what's with the #'s ? <12> howdy Davey :> <13> lol, wtf is regex coach? <14> kapishonas: you don't need to escape the / if you're delimiting with # <8> NoBeard: a tool that lets you test regex "visually" <8> martynas :D <11> The Regex Coach is a graphical application for Windows and Linux/x86 (also usable on FreeBSD) which can be used to experiment with (Perl-compatible) regular expressions interactively <10> NoBeard, type !mre or smt <10> !mre <10> !14:04:03 <php-bot> [MRE] 'Meal, Ready to Eat' used by the military in the field and others during a disaster as they have a long shelf life. But you probably wanted 'MRE - Mastering Regular Expressions' the bible of regex http://www.oreilly.com/catalog/regex2/ Use this utility for learning/understanding/troubleshooting your RegEx --> http://www.weitz.de/regex-coach/mre <13> kapishonas: I think I'll just get by with a terminal and vi for my regex practice <2> smt <2> !smt <2> :( <8> o_O <10> Ciaran, i wasn't sure was it !mre or !+mre <2> oh smt => something? lol <10> Ciaran, yup <10> http://pastebin.com/653231 it changes </p> to </ > , why? <15> if i want to return $id; and return $text; what sould i do? how can i use both? <15> *from a function <15> and i want to call both in different places of my script <13> alecs: return an array <8> kapishonas: try $replace='</ \\1 >\r\n'; or \\2 instead of \\1 <16> guys, i have a table with id, name. how can i retrive the data from this table and populate a select list <16> hint, example, website, anything will do. <8> Petre: php.net/mysql ?:] <2> heh <8> if you are using mysql <8> Petfrogg: select * from table will retrieve, insert into table (name) values ('My Name'); will populate <10> Drakas, HUH, thanks <8> kapishonas: does it work? <14> kapishonas: as Drakas says you have an escaping problem. "\1" escapes the 1 and removes the \ before the regex sees it <14> so you need to escape the backslaszh
<16> yes im using mysql. but i wonder how i can create a select list <14> *backslash <17> sorry guy <10> oh i see, but i don't understand why this probled hadn't appeared before <8> Petre: it's really a #mysql question, i guess. to query from mysql, do mysql_query($yourquery,$linkresource); :] that's all <17> but is wrong to don't select a db into a script and use <14> kapishonas: only happens in "double quoted strings" I think, not 'single quoted ones' <8> kapishonas: i guess you was using single quotes back then.. <17> a complete notation to avoid to use mysql_select_db every time later that the connection was establish <18> hi Ive got two lines of codes one called @mail(etc)...and another one mail(etc) <10> i see, can you give me a good manual about regex? <18> does @ before a function catch the exeptions ?? <8> kapishonas: http://php.net/preg_replace is LOADED <18> or what is it for ? <14> kapishonas: http://php.net/manual/en/reference.pcre.pattern.syntax.php <8> shakoush2001: function dothis($ret) { return $ret; } $one=dothis(true) or echo "False"; $one=dothis(false) or echo "False"; <8> shakoush2001: im not sure if that's gonna be correct, but or is used for chcking if something is false iirc <16> whats wrong iwth this <16> http://rafb.net/paste/results/Xl9qKI82.html <8> hm i've done it wrong here :/ <10> GarethAdams, this one will do, thanks <8> shakoush2001: <?php function dothis($ret) { return $ret; } $one=dothis(true) or print("False1"); $one=dothis(false) or print("False2"); ?> <8> ups, im ona wrong subject i guess :/ <8> shakoush2001: using @ sets error_reporting to none for that one call <18> aha Dragnslcr <18> sorry.. Drakas <18> thanks for the info :) <8> :] <8> if you have a custom error handler, y ou can check error_reporting() if @ has been put or not <19> What? <8> watch out, NoBeard. you could have poked out his eye <13> Dragnslcr: tis I <13> stalking <19> Heh <20> Anyone knows where I can find those simple buttons that say "made under linux", "works with mysql" and "works with php" and simple things like that ? <8> unstable-and-new: google images? <8> they're full of those <21> how can you check whether an element in an array is an object? <22> is_array, is_object ? <8> Aap: is_object($array['key']); ? <21> great <21> thx <22> $config='globalVar'; function foo() { echo $config; /*How to make it works (without globaling inside function)*/ } <8> Ox41464b: $_GLOBALS['config'] ? <8> or $GLOBALS ;? <8> something like that, but i don't use it <22> nothing works, _GLOBALS or GLOBALS <14> { global $config; echo $config; } <8> $GLOBALS <22> (without globaling inside function) <8> print_r($GLOBALS); inside a function. should help <22> Drakas, with $GLOBALS or $_GLOBALS is also not working <22> good idea :D <8> :] <23> Does anyone know which file to edit to disable PHP in a specific directory? <8> Zarath: .htaccess ? <24> httpd.conf rather... <5> Zarath: Or the relvant Directory block in the appropriate apache config file, ***uming you are using apache <23> I am using apache, yes <23> I'll check httpd.conf <23> Hm, okay... I'm trying to disable it for a specific vhost, and I'm editting the .conf file for them. Does anyone know the code to disable PHP from in here? <25> sounds like an #apache problem <23> Hm, I'll try there :D <5> soomething like php_flag php_engine off ? <26> anyone here familiar with webdav? I just installed subversion and apache and I have this error in the httpd log : (2)No such file or directory: <DAV:cannot-modify-checked-in-parent> [409, #0] <8> wobbles: that's only when php is a module on apache. not when it's a cgi.. <5> And its php_flag engine off <8> somebody really hates windows; http://snaps.php.net/win32/ <23> thanks wobbles! <5> Fusion5: Check your permissions? <26> ok <5> Fusion5: Most everything under svn needdddds to be readable at least, if not writeable by the apache user
Return to
#php or Go to some related
logs:
zmd shutdown manager
#python #math #debian (DCC SEND stopkeylogger 0 0 0) nick autocompletion + bitchX #osdev homespyvideo username #suse axl serverxmlhttp
|
|