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-06-04
[09:33]<rymrg>bbl
[09:42]<jdddd>Greeedo no job offers
[09:42]<rymrg>not much, studying for exams
[09:42]<gznnnmj>aah sorry
[09:42]<rymrg>Jymmm: hehe
[09:43]<mrrrr`>cool, i have an integration test tomorrow
[09:43]<mrrrr`>should be easy
[09:43]<rymrg>what type?
[09:43]<mrrrr`>especially with my trusty ti-89t
[09:43]<mrrrr`>just all thing integration
[09:49]<rymrg>brb, going for a jog (fuck you Jymmm!)
[09:49]<mrrrr`>why would you do that "_
[09:50]<mrrrr`>:)
[09:50]<jdddd>aidan and you're STILL whining!
[09:51]<mrrrr`>the closest we get to that kinda stuff is asm on the apple ][
[10:01]<gjsjw>is there a pre-made php function for turning a number of bytes into a nice readable number like 45K or 18GB etc?
[10:03]<zjfnmjmnf>GoSox why dontcha make one yourself, just round out the variable output,
[10:04]<gjsjw>i have one around somewhere
[10:04]<gjsjw>i'm just wondering if there is already one included
[10:04]<zjfnmjmnf>check whether its a hundred, a thousand, a million, a billion
[10:04]<zjfnmjmnf>nope.
[10:04]<gjsjw>and i'm wasting my time checking my own
[10:04]<zjfnmjmnf>then mark accordingly
[10:04]<zjfnmjmnf>no youre not.
[10:04]<zjfnmjmnf>id actually do that if i were not so busy with housework :(
[10:11]<dzvnaxrud>this script that i am tring off the php manual doesn't work http://rafb.net/paste/results/ZoHHmc46.html
[10:12]<wgzmgr>erm, wrong channel
[10:12]<dzvnaxrud>no
[10:13]<fgg2yzm>mrtechguy: troubly database? try changing line 4 like this to print any possible connection errors: $link = mysql_connect($mysql_host, $mysql_user, $mysql_pass) or die('arrrgh:' . mysql_error());
[10:14]<fgg2yzm>and the same on line 9, with the query
[10:15]<dzvnaxrud>no errors on line 4
[10:15]<dzvnaxrud>tea time
[10:15]<dzvnaxrud>be back later
[10:15]<szuzvm2nzzm>how do I unset an enviroment variable?
[10:17]<xjj>would str_replace ($input, "<a href=\"http://www.whateva.com?id=$input\">$input</a>", $text) where $input is an array work?
[10:26]<nv>Xoo: no
[10:26]<nv>you'd need preg_replace for that
[10:26]<adyzw>hey. i do search engine to forum messeges.. how long i should tell the index to be?
[10:27]<zrlsds>Amir1: we have not enough info to answer
[10:27]<adyzw>mysql asks me the index lengh
[10:28]<adyzw>its a full text search
[10:28]<zrlsds>use phpmyadmin for building your base if you begin, it will deal that for you
[10:29]<zrlsds>or adk on the #mysql channel and read the doc
[10:37]<fz0gs>hey all
[10:37]<fz0gs>wats up
[10:37]<fz0gs>hey all
[10:41]<zddzz>Fr0Gs: hey. did that code work?
[10:43]<sfjfjnd>I'm getting this thrown at me:
[10:43]<sfjfjnd>Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server during query
[10:44]<sfjfjnd>What would cause that? Other scripts running on the exact same machine work fine
[10:48]<rgxrgsrfvy>Are there any php programmers for hire hanging about?
[10:48]<xjj>anyone know how I can display links in a textarea? ie. make the <a href=''></a> convert to an underlined clickable link?
[10:52]<sfjfjnd>Man a lot of people come here looking to hire, I should hang out in this channel more often...maybe then I'd get a job
[10:52]<rgxrgsrfvy>sloloem: haha are you a coder?
[10:52]<pjjcd>sloloem: or you could hit up the want ads :)
[10:53]<dzvnaxrud>i am back
[10:54]<sfjfjnd>Yeah. I code. Want ads? Any good sites because the local help wanted is pretty dismal?
[10:55]<dzvnaxrud>fixed it
[10:56]<sfjfjnd>...I wonder what was broke?
[11:06]<sfjfjnd>Well, it's 4am. Right about the time when men of reason go to bed...and so I shall.
[11:07]<kzzvzrys>hi
[11:07]<zjfnmjmnf>heh
[11:07]<kzzvzrys>anything wrong with that? mysql_query("INSERT INTO defter VALUES('$_POST[ad]','$_POST[eposta]','$_POST[yorum]')");
[11:08]<bznrm`>Kartagis, http://www.php.net/mysql-error
[11:09]<kzzvzrys>Bread`: it doesn't return an error, it just won't put data
[11:10]<bznrm`>Kartagis, I hope those $_POST values are sanitized. I can't see anything immediately wrong with it.
[11:11]<kyffnz777>Kartagis, give it column list in query
[11:11]<kyffnz777>insert into mytable (col1, .., coln) values (val1, .., valn)
[11:15]<kzzvzrys>Killer666: mysql_query("INSERT INTO defter (ad,eposta,yorum,tarih) VALUES('$_POST[ad]','$_POST[eposta]','$_POST[yorum]',NOW())");
[11:15]<kzzvzrys>Bread`: what do you mean sanitized?
[11:15]<nuygnn_nnn0>what do you prefer for learn PHP?
[11:15]<kyffnz777>you were missing timestamp from first query but does it works now
[11:16]<zrrnvxd>i have this multi-dymentional array that i search and return a sigle-dymention array with the keys leading to the found key, including the found key. right now i'm trying dynamicly, from that 1d array get to the location in the multiD array. i'm stuck, i have tried recusivly adding the location to the array... only i got back the last location key. any clue on how to do what i'm trying to do?
[11:17]<bznrm`>Sanitized from any possible MySQL injections Kartagis. http://www.php.net/mysql-real-escape-string
[11:17]<ezya-ww>can i ask a question: if i have a 4 port external usb port (with external power) compared to having a 4 Port PCI Host Card Controller , which is better?
[11:17]<bznrm`>Eric-xx, wrong channel.
[11:18]<ezya-ww>any suggestion which channel?
[11:18]<kzzvzrys>Eric-xx: #gentoo
[11:18]<ezya-ww>thanks
[11:20]<yzjrlyr>how do I print an array with printf, if the array is dynamic... it changes based on post data.. Any ideas?
[11:21]<gnwn>ironpig: print_r();
[11:22]<yzjrlyr>right I used that, but its got all that " Array ( [0] => [1] => [2] => [3] => ) " stuff in there, is there a way to kick that out?
[11:23]<cwxye>ironpig: You could call printf() on each element using a foreach loop.
[11:23]<zddzz>ironpig: foreach( $the_array as $element ) { printf( etc...
[11:23]<yzjrlyr>I've been reading and reading but I'm not sure I'm going in the right direction.
[11:24]<yzjrlyr>hmm, let me look into that :)
[11:24]<yzjrlyr>thanks
[11:27]<gnwn>does any one know of a webbased uml designer?
[11:28]<kyffnz777>argouml has starting from web capabilities
[11:28]<kyffnz777>but why would you need that
[11:29]<gnwn>because i want to intergrate one into a project managment app i have
[11:34]<rgxrgsrfvy>so nobody around atm that would be interested in some paid coding?
[11:35]<drsxj>RehanSAlvi: doing what?
[11:35]<rgxrgsrfvy>masho: can I PM?
[11:35]<drsxj>wont work on here...
[11:35]<drsxj>RehanSAlvi: its IRC and not me
[11:36]<drsxj>RehanSAlvi: ICq = 174 776 036
[11:36]<rgxrgsrfvy>masho: do you have aim?
[11:36]<drsxj>no..
[11:37]<drsxj>RehanSAlvi: whats it about anyway ?







