| |
| |
| |
|
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
Comments:
<0> but I must admit I'm leaning towards SciTE now... I like the fact that it needs no install and can be carried on a usb stick <1> scite? <1> hmm <2> hello <2> is glob() case sensitive? <2> (on linux) <3> doubt it <4> yep <2> any way to make it find *.txt when looking for *.TXT? <5> hi <5> any one here? <6> no <2> Stormchaser, you're answering him or me? :) <7> Hi WebmasterPimp <8> Only 484 of us <8> well.... 483 of us, 1 of you
<4> try something like <6> Pollita: He's right. Nobody around. <9> !tell webmasterpimp about g1 <5> how can I define a empty variabe say $message to = 4 other text variables say $var1 $var2 $var3 $var4 in one string or text <5> sorry I know its noobish <4> "{file.txt,file.TXT}" <8> Webmaster: Noobish? What language is that? <8> It got english sounding words <5> well php <6> Pollita: martian. <5> im saying that im a noob <8> But that don't really make sense <9> !tell webmasterpimp about g12 <5> say a form recorded 4 strings of text <5> each seperate <10> WebmasterPimp: an array <11> anyone using pear's QuickForm? <6> no. #pear <5> il trying to mail those values in the body of my message to my email <8> oh christ.... <8> $message = $var1.$var2.$var3.$var; <2> mompe, thanks, let me try <8> Learn some damned english dog <5> ahh! <10> lol, oooh <5> .... I was trying to use + but that's math based <4> who can recommend me the best way to write Math's in PHP? <5> thanks <12> mompe: $a = 2 + 2 ? <2> mompe, didn't work <13> mompe: echo "Math's"; <5> lol well that's coo <4> I mean like LaTeX <5> learn something new every day <5> ttyl <5> thanks again <10> mompe: you mean what? <4> ||cw, sweet <2> Stormchaser, any idea? make glob() find both *.TXT and *.txt <4> I know there are perl scripts so i put <img src="script.pl?2+2"> <4> I want somethink like <math>2+2</math> and get an image or something like that <2> tempest1, he wants to display mathematic equations graphically <12> mompe: You just want to generate an image with an equation in it? <2> like the sqrt of 64 <4> yea <4> sorry about my imprecise question :) <10> hmm <14> anyone know if there's a way to configure apache to execute a .php file if there are most .png images for example? <2> mompe, what you suggested didn't work. any other idea? <12> Well, that's easy enough. See http://php.net/image and google for something like 'PHP image generation' <4> i'm just asking if there's something latex2image with php <10> no <4> nope sorry Scarlight watch php doc... <14> mompe: MediaWiki has got extensions for LateX math. MediaWiki is in PHP, so it's not a big problem to port the <math></math> extension to your app <4> oh great Drakas good idea ill check that <14> enjoy! :] <4> lets see how mediawiki generates them <14> mompe: it's an extension. <4> yea yea i know <14> just a cl***. so i guess it woudln't be a very complicated thing.. <14> simply, the extension generates images and outputs them to a file afaik.
<14> so ti's actually better than having .php?2+2 to generate your equations <4> i see <14> wouldn't be that hard to just output it i gess <13> Drakas: " if there are most .png images"?? <14> ||cw: like, if the directory has got over 80% of image files or whatever. <14> like in Windows Explorer, it checks for images and then shows a thumbnail view <4> i found this Drakas, http://www.mayer.dial.pipex.com/tex.htm ty <14> nice mompe <13> Drakas: well, index.php will always run <14> ;] <14> ||cw: i know index.php would do that but if i download an archive with 5000 dirs?;) <13> i'm not sure if apache's fancyindexing can have logic applied to it <14> i am currently making a shared php script for generation <15> hi ! <13> what's wrong with a gallery type app <14> i think an apache module would do that but im no good at c or c++ <15> how can I create a po file from a php script that uses __ function to get translated strings? <14> hm, i got an idea: make a shared .php file, which loads everything. symlink index.php to that file ;} <15> I've tried xgettext -n script.php but it created no po file <13> i'm sure you could make one do that, but why bother. seem like the wrong solotion <13> Drakas: why would one be browsing dirs via apache anyway? <14> ||cw: dont know :s <14> hm, mod_rewrite ] <14> i forgot <16> could someone help me figure out this for loop I'm trying to make? http://rafb.net/paste/results/G0laqx10.html <16> i explain it there <17> Anyone know how I can sort an array? For example, I want to sort $foo['bar'] by $foo['bar']['ID'] <14> mizlead|work: you are doing it all wrong <13> mizlead|work: you never said what's wrong <16> drakas: yea i thought so <13> picnichouse: array_multisort <14> mizlead|work: save all queries into an array and THEN execute them <14> don't execute your queries in a for loop :ss <13> what's the difference <18> is anybody a php DOM guru in here? <9> Drakas: You then have to for-loop through the query array... so you're still doing it in a for loop. <14> http://rafb.net/paste/results/mY5oi756.html <19> Guru consultation is $50/hr, two hour minimum. Accruate responses are $200/hr three hour minimum. <13> I guess you could use mysql's inset...values...values...values... feature <14> Ahroun: but saving the sql queries in aan array is abetter idea - for debugging <18> Jymmm: do you allow credits? :D <19> !+cbd <20> [CBD] Cash Before Delivery <9> drakas: er... why? <18> damn <14> DEBUGGING <14> ups sorry <9> Drakas: That's what I was asking for clarification on... why is it any better for debugging? <13> um, not realy, cause not you have to figure out which itteration of the loop cause the problem <14> 1) your script might be terminated and you would have to be left with half results inserted 2) it's much better for debugging - you can easily print_r the queries. 3) it's more universal <21> if i want to insert a value from a database somewhere, what will my php syntax be like? <13> Drakas: transaction! <13> mizlead|work: what's wrong with what you have <14> so simply, you have all sql query list and you can print them out and see what's wrong instead of changing anything at all <9> drakas: I can print each query before I do it and know exactly where my inserts started failing, or I can use a transaction. <18> well my problem is I'd like to process an XSLT sheet to produce another one. it works fine except the basic XML entites are substitued and it screw all XPath expressions in the resulting document <14> whats a transaction? <13> o_O <16> Drakas: yea all im getting inserted is the first state, if i pick usa <9> O_o <16> ill give this a whirl <14> what? <14> i dont know what it means =P <9> ;_; he made me cry <14> so..? <14> what is it? <14> ooh i see <14> just googled it <17> How can I check to see if a variable is an array? Does if($foo==array()) work? <13> mizlead|work: print_r($_POST['state']); make sure your array matches the way you are accessing it <14> lot like CVS <14> but i still prefer my way - debug for everything ;] <13> mizlead|work: but it might be better to use foreach anyway <16> ||cw, it only inserts the first thing of each entity
Return to
#php or Go to some related
logs:
audioscrobbler handshake 5b ubuntu wmvdmod.dll #centos #web #perl hiddev0 example inurl:ubuntu 810e #suse perl extracting data from tables #perl
|
|