| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Comments:
<0> Ronald: we only help those who use php3 <1> itrebal: how to verify? <2> Ronald: its when you created the database i think... i dunno, i havn't used mysql in ages <0> itrebal: spend too much time on MS Access? <2> piera: lol, i've been using pgsql <0> itrebal: good cover up <1> itrebal: using phpmyadmin i was able to insert a field properly (shows right in myadmin). Not getting that field back in utf8 in my own code though. <3> Any clue why I can't execute a php cli script in my code? ./script.php -S /tmp/phpRJjyI2 150 Error: 126 <1> myadmin uses mysqli though i think.... <4> wrong <2> nor do i like pgadmin, but thats a diferent story <4> console ALL the way :) <1> yeah it uses mysqli :P <5> Hi. Could someone tell me what PHP's power operator (or function) is?
<1> Stormchaser: you rock, i prefer to think less and use myadmin. Happen to have a solution to fixing my own code, oh console master ? <4> pow() <2> Stormchaser: psh! are you kidding me? i have a link on all my websites to a root-access textbox with a script on the other end doing pg_query($_POST['query']);! now *that* is 1337 <6> I wrote a newsletter script that saves a message to the database, then sends it to each user. It works with a test database, but when I use the real one, it doesn't even save the message to the database.. what should I do (short of suicide) <2> lol <5> thanks, Stormchaser <2> i've gotta go to a fancy schmancy dinner thing.... <7> any one knows cvs browser written in php ? :) <4> google does <8> i have this function and at the first line i put $ob_start(); and at the end i put $this->dir_display = ob_get_contents(); <8> when i do $jfolder->dir_listing(); it displays something, even though it shouldn't right? <8> oh i had to add ob_end_clean <9> anyone here particularly good with regex for preg_match <10> Mindtzar: many of us, just ask <9> can you write one for detecting URLs like http://something.com/page.here <9> I tried some of my own <9> no luck :( and then some on the PHP user comments <9> none seemed to work at all <9> ereg("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]", $crawler, $matches); <9> this line of code works <9> however it only retrives the first match it finds and puts it into $matches <9> thats why I need it to be preg_replace <11> :O you're making a crawler <11> your ip is blacklisted soon <9> it's not a spam crawler <9> that's just the term I used <9> since it crawls a certain page for URLs <12> hey all <9> which it then relays back to me <11> :] yeah <11> that was a joke ;] <9> thought it would be kinda for my PHP proxy :\ <6> anyone here do freelance work <9> oh okay <11> Mindtzar: http://php.net/preg_match_all <11> there's a handul of examples <9> thanks :) <11> what you can do is really searhc inside href="" and src="" <10> Mindtzar: look out for javascript and CSS - it will bite you in the *** <10> Mindtzar: i solved it, but i cannot tell you how (closed source project) <12> [itrebal_fancy] hows it going, man? <10> b1n0ry: i have a band banquet thing to go to in about 5 minutes... beyond that, great, you? <12> not bad, pretty good actually <10> good, will you be on in a few hours> <10> b1n0ry: 'cause i gotta go! cya <12> possibly, you be back? <12> have a good one! <10> cya, b1n0ry <4> !tell theDan about jobs <4> ho, b1n0ry <4> urf... That should be 'hi' <12> hey Stormchaser, long time, man <6> Stormchaser: alright <4> b1n0ry: Where have you been? <13> hi, I'm trying to use phpDocumentor and I get this: <13> Fatal error: Cannot re-***ign $this <4> !+g10 <14> Guideline #10) We don't support script(s). We help you *write* PHP, not recommend or download and install/hack/modify/adapt/use pre-written scripts <12> honestly? bought a new house and been busy with projects <13> this is the line: $this = &$c;
<13> any idea what's wrong? <12> yes, your question <12> is wrong <4> ldas: Yes. It's a very old version of the software. <13> so I should use an older version of PHP? <4> no ,the never version of the program <13> I think it's the latest <13> let me check <15> hi.. <15> :) <4> woof <13> you're right <4> b1n0ry: how much for the house? <13> it's v1.2.3 <15> i'm problem on "" escaped <12> how much did we pay for it? <4> hm? <15> echo ('<tr><td>Responsvel</td><td><input cl***=\"normal\" onBlur=\"this.cl***Name='norma';\" onFocus=\"this.cl***Name='sele';\" type="text" name="responsavel" style="border:1px solid #000000; width:200px"/></td></tr>'); <4> b1n0ry: yep <15> not work <13> funny, I've installed it from pear <12> just under $150k <16> aio: echo '<tr><td>Responsvel</td><td><input cl***="normal" onBlur="this.cl***Name='norma';" onFocus="this.cl***Name='sele';" type="text" name="responsavel" style="border:1px solid #000000; width:200px"/></td></tr>'; <16> No '( <16> * '(' <4> b1n0ry: That's not _that_ expensive, is it? <15> Daskiestks, i'm testing <16> And "s don't get escaped when you start with ' <12> actually, it's pretty good. this is one of the lower cost real estate markets in the country here <4> Daskies: yay for parse errors \o/ <16> Hmm? <16> Oh <12> 150k doesn't get much most places but we got 1658 sq ft, 3 brs, 2.5 bath, 1/4 acre, 2 car garage, full basement <16> *\'norma\' <16> *\'sele\' <4> b1n0ry: nice :) <12> yep, needs a little bit of work but not a lot, private cul de sac so that was sweet <15> Daskies not worl <15> work* <15> Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in <15> hehehe <16> Did you get my edits? <16> [14:36] <16> *\'norma\' <16> [14:37] <16> *\'sele\' <17> ldas: I had that problem. I had to install the beta package <15> ok <16> You need to escape single quotes <13> ljbuesch: that's what I'm doing right now <15> Daskies work ! :D <18> hello <16> As it should <16> You only need to escape the type ofquote you started with <18> if i was using php to run some bash commands, how could i force my script to emulate the user pressing "y" <12> ytf am i watching americas next top model? <16> So: echo "I \"like\""; <16> Or: echo 'I \'like\''; <17> Is anybody here familiar with the session_set_save_handlers()? <19> why i can use the escape character \n it doesnt work in my script <12> bujin can you give an example? <19> b1n0ry, http://pastebin.com/715966 <12> bujin: because you're adding the new line to your "view source" window in IE/FF or whatever <19> b1n0ry, new line should appear in a new line right? <12> bujin: the \n creates a new line in your html output <20> if you're outputting html you need to use <br />, otherwise, it's \r\n on windows, \n on unix, \r on mac <12> bujin: you want to output a <br /> (or <br>) to get the browser to hard line break <19> im using \n <20> you could always use nl2br as well <19> ok thanks <12> bujin: when you use echo("something\nnewline"); you just get the new line in your html outpu <12> bujin: if you want a break for the render, you have to echo("something<br>newline"); <12> html <17> bujin: if you want a \n to make a new line, make sure the HTML is inside of <pre> tags <19> oks ljbuesch now i get it <12> remember, bujin, that php does not directly create browser output. it creates html source code.
Return to
#php or Go to some related
logs:
Couldn't find package nvidia-legacy ubuntu unresponsive console +sparc +ultra 5 +GUI +ubuntu #bash chump change.wav libdvd2 #linux fc5 ltmodem gentoo gnome fatal server error: no screens found locmon contents
|
|