IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1982.49 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-05-14
[00:00]<lynzr>Ronald: we only help those who use php3
[00:00]<rjgrfm>itrebal: how to verify?
[00:01]<yvzn2rf>Ronald: its when you created the database i think... i dunno, i havn't used mysql in ages
[00:01]<lynzr>itrebal: spend too much time on MS Access?
[00:01]<yvzn2rf>piera: lol, i've been using pgsql
[00:02]<lynzr>itrebal: good cover up
[00:02]<rjgrfm>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.
[00:04]<rrggjg>Any clue why I can't execute a php cli script in my code? ./script.php -S /tmp/phpRJjyI2 150 Error: 126
[00:04]<rjgrfm>myadmin uses mysqli though i think....
[00:04]<svjzdzxzsnz>wrong
[00:05]<yvzn2rf>nor do i like pgadmin, but thats a diferent story
[00:05]<svjzdzxzsnz>console ALL the way :)
[00:05]<rjgrfm>yeah it uses mysqli :P
[00:05]<kwnzvd>Hi. Could someone tell me what PHP's power operator (or function) is?
[00:05]<rjgrfm>Stormchaser: you rock, i prefer to think less and use myadmin. Happen to have a solution to fixing my own code, oh console master ?
[00:05]<svjzdzxzsnz>pow()
[00:05]<yvzn2rf>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
[00:06]<vxgdrg>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)
[00:06]<yvzn2rf>lol
[00:06]<kwnzvd>thanks, Stormchaser
[00:06]<yvzn2rf>i've gotta go to a fancy schmancy dinner thing....
[00:07]<cyfycj>any one knows cvs browser written in php ? :)
[00:07]<svjzdzxzsnz>google does
[00:08]<jnnnc>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();
[00:08]<jnnnc>when i do $jfolder->dir_listing(); it displays something, even though it shouldn't right?
[00:11]<jnnnc>oh i had to add ob_end_clean
[00:16]<mygmvezz>anyone here particularly good with regex for preg_match
[00:17]<[dvzg2rp_prgad]>Mindtzar: many of us, just ask
[00:19]<mygmvezz>can you write one for detecting URLs like http://something.com/page.here
[00:20]<mygmvezz>I tried some of my own
[00:20]<mygmvezz>no luck :( and then some on the PHP user comments
[00:20]<mygmvezz>none seemed to work at all
[00:21]<mygmvezz>ereg("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]", $crawler, $matches);
[00:21]<mygmvezz>this line of code works
[00:21]<mygmvezz>however it only retrives the first match it finds and puts it into $matches
[00:22]<mygmvezz>thats why I need it to be preg_replace
[00:23]<wdcys_>:O you're making a crawler
[00:23]<wdcys_>your ip is blacklisted soon
[00:24]<mygmvezz>it's not a spam crawler
[00:24]<mygmvezz>that's just the term I used
[00:24]<mygmvezz>since it crawls a certain page for URLs
[00:24]<2wg0zd>hey all
[00:24]<mygmvezz>which it then relays back to me
[00:25]<wdcys_>:] yeah
[00:25]<wdcys_>that was a joke ;]
[00:25]<mygmvezz>thought it would be kinda for my PHP proxy :\
[00:25]<vxgdrg>anyone here do freelance work
[00:25]<mygmvezz>oh okay
[00:25]<wdcys_>Mindtzar: http://php.net/preg_match_all
[00:25]<wdcys_>there's a handul of examples
[00:25]<mygmvezz>thanks :)
[00:25]<wdcys_>what you can do is really searhc inside href="" and src=""
[00:29]<[dvzg2rp_prgad]>Mindtzar: look out for javascript and CSS - it will bite you in the ass
[00:30]<[dvzg2rp_prgad]>Mindtzar: i solved it, but i cannot tell you how (closed source project)
[00:30]<2wg0zd>[itrebal_fancy] hows it going, man?
[00:30]<[dvzg2rp_prgad]>b1n0ry: i have a band banquet thing to go to in about 5 minutes... beyond that, great, you?
[00:30]<2wg0zd>not bad, pretty good actually
[00:31]<[dvzg2rp_prgad]>good, will you be on in a few hours>
[00:31]<[dvzg2rp_prgad]>b1n0ry: 'cause i gotta go! cya
[00:31]<2wg0zd>possibly, you be back?
[00:31]<2wg0zd>have a good one!
[00:31]<[dvzg2rp_prgad]>cya, b1n0ry
[00:31]<svjzdzxzsnz>!tell theDan about jobs
[00:32]<svjzdzxzsnz>ho, b1n0ry
[00:32]<svjzdzxzsnz>urf... That should be 'hi'
[00:32]<2wg0zd>hey Stormchaser, long time, man
[00:32]<vxgdrg>Stormchaser: alright
[00:32]<svjzdzxzsnz>b1n0ry: Where have you been?
[00:32]<fmrs>hi, I'm trying to use phpDocumentor and I get this:
[00:32]<fmrs>Fatal error: Cannot re-assign $this
[00:32]<svjzdzxzsnz>!+g10
[00:32]<lxl-2jv>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
[00:32]<2wg0zd>honestly? bought a new house and been busy with projects
[00:32]<fmrs>this is the line: $this = &$c;
[00:32]<fmrs>any idea what's wrong?
[00:33]<2wg0zd>yes, your question
[00:33]<2wg0zd>is wrong
[00:33]<svjzdzxzsnz>ldas: Yes. It's a very old version of the software.
[00:33]<fmrs>so I should use an older version of PHP?
[00:33]<svjzdzxzsnz>no ,the never version of the program
[00:34]<fmrs>I think it's the latest
[00:34]<fmrs>let me check
[00:34]<ryj>hi..
[00:34]<ryj>:)
[00:34]<svjzdzxzsnz>woof
[00:34]<fmrs>you're right
[00:34]<svjzdzxzsnz>b1n0ry: how much for the house?
[00:34]<fmrs>it's v1.2.3
[00:34]<ryj>i'm problem on "" escaped
[00:34]<2wg0zd>how much did we pay for it?
[00:34]<svjzdzxzsnz>hm?
[00:34]<ryj>echo ('<tr><td>Responsável</td><td><input class=\"normal\" onBlur=\"this.className='norma';\" onFocus=\"this.className='sele';\" type="text" name="responsavel" style="border:1px solid #000000; width:200px"/></td></tr>');
[00:34]<svjzdzxzsnz>b1n0ry: yep
[00:34]<ryj>not work
[00:34]<fmrs>funny, I've installed it from pear
[00:34]<2wg0zd>just under $150k
[00:35]<drscyns>aio: echo '<tr><td>Responsável</td><td><input class="normal" onBlur="this.className='norma';" onFocus="this.className='sele';" type="text" name="responsavel" style="border:1px solid #000000; width:200px"/></td></tr>';
[00:35]<drscyns>No '(
[00:35]<drscyns>* '('







