Home Page   #c  #ruby-lang  #cisco  #mysql  #apache  #javascript  #java  #perl  #php  #openmoko   Wallpapers Girl
Reliable $1 Web Hosting by 3iX

Channels


#php

24 October 2007


Total 47 pages. You are browsing page 1/47.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last

--- Log opened Wed Oct 24 00:00:11 2007
--- Day changed Wed Oct 24 2007
00:00 <****> There's a patch for it floating around out there, but I don't think it's officially accepted yet
00:00 <****> ahh cool..nice to know that..
00:00 <****> CcK, Hmm - maybe make a recusive function to check the is_array() part - other then that I would actually have to sit down and figure it out and I just don't have the time right now
00:01 <****> lig: no problem, i'd just like a hint on what i could make my while and foreach on ... because i have noooo idea
00:01 <****> lig: They tore down the world's first KFC :(
00:01 <****> If a mysql_query attempt to create a connect but fails it seems to output a warning that includes the db's username. Is that not a security risk? Is there a way to tell it to not output that. "Warning: mysql_pconnect(): Access denied for user 'USERNAME'@'localhost' (using password: YES)"
00:02 <****> CcK: what are you trying to do?
00:02 <****> hallo
00:02 <****> maestrojed: In a production environment, most people turn off display_errors
00:02 <****> TML, oh that is so wrong darlin... the headquarters didn't save it?
00:03 <****> lig: I guess they want to rebuild it as a museum or something
00:03 <****> museum/restaurant?
00:03 <****> *shrug*
00:03 <****>"; can I have the day in Greek language?
00:03 <****> TML: I see.
00:03 <****> TML: having a multi level array becoming a one level array with the ames being glued together, ex: $array[1]='whatever stays the same but $array[2][a]='smtg' becomes $array[2a]='smtg'
00:03 <****> TML, that is assinine
00:04 <****>"; can I have the day in Greek language?
00:05 <****> CcK: are you trying to use recursion, or do you already know how deep it is?
00:05 <****> nana: php.net/gettext
00:05 <****> i'm trying with recursion, i think i can handle ( but it would be ugly ) with a know lvl of deepnes
00:05 <****> nana: Or, see php.net/date
00:06 <****> TML:thanks I m going
00:08 <****> hi
00:08 <****> can I replace more than one word at once?
00:08 <****> so TML any inspiration ?
00:08 <****> $f = preg_replace("/jpg/", "", $match);
00:08 <****> I would like to replace "jpg" and "gif" and "png"
00:08 <****> in one line
00:09 <****> or do I need to split it up into 3 lines where every line replaces one suffix?
00:09 <****>field_spots_in_this_video an array for the foreach?
00:09 <****> preg_replace probably isn't what you want
00:09 <****> PHP needs packages!
00:10 <****> et: what else do you think that I need?
00:10 <****> Teratogen, feel better now?
00:10 <****> /man Romina pathinfo
00:10 <****> et: I want to replace every _ by a space, every ä by an a and so on
00:10 <****> when will PHP have a packaging mechanism?
00:10 <****> $f = preg_replace("/(?:jpg|gif|png)/", "", $match);
00:10 <****> et: nope, there is no path when I upload a file
00:10 <****> Teratogen: that's not all it needs, but you'll have to be very patient to get the advances.
00:10 <****> Romina: try again.
00:11 <****> Thank you Kattana !
00:11 <****> hi PerlJam ! =)
00:11 <****> Kattana, may I please ask you to explain the :
00:11 <****> Kattana, the : does not make any sense to me
00:11 <****> Romina: (?:) is a non-capturing group
00:11 <****> Romina: that will mess up foo.png.gif.doc badly
00:11 <****> TML: echo date("l"); but is it possible to have the day localized, I mean not to have Monday but in Greeks Montday
00:11 <****> you could use a capturing group if you are not worried about the side effect of capturing, right?
00:11 <****> :o its PerlJam, youre in perl6 arent you.. yes
00:12 <****> pastebin?
00:12 <****> Romina: http://de3.php.net/pathinfo
00:12 <****> PerlJam, capturing ... is this the same like in perl when I get variables for the stuff in () ?
00:12 <****> Romina: yep.
00:12 <****> thx!
00:12 <****> PerlJam, by the way, its cool to meet you again after so many years
00:13 <****> Can I have this variable echo date("l"); in Greeks and not english?
00:13 <****> did not think that you are still on freenode and in a PHP channel ;)
00:13 <****> I'm all over the place :)
00:13 <****> (on multiple networks)
00:13 <****> I met you the last time when I was 14 :)
00:13 <****> thats cool :)
00:13 <****> howdy ho
00:13 <****> anychance anyone can help me out w/ this foreach ? http://hashphp.org/pastebin?pid=34935
00:13 <****> nana: Read php.net/date
00:13 <****> so bye bye, thank you
00:14 <****> TML: H have read it
00:14 <****> hi there ...
00:14 <****> TML: any idea on the recursive array ?
00:14 * PerlJam has no recollection of ever meeting Romina
00:14 <****> I'm trying to setup PHP 5.2.5RC2-dev on a windows machine, and I have multiple versions using reg keys to separate the php.ini's
00:14 <****> http://nopaste.php-quake.net/7717 <-- is this clever or dumb?
00:14 <****> TML: You know how?
00:14 <****> I can't seem to figure out what the internal version RC2 expects as the regkey though, 5.2.4 uses 5.2.4 of course
00:15 <****> frb-work: you're not going to wait for 5.3 ?
00:15 <****> 5.3 had some issues with an application we were testing
00:15 <****> or vice-versa
00:15 <****> nana: Yes, I know how, because I read the documentation
00:15 <****> I'm mostly using 5.2.5rc so I can have debugging symbols
00:16 <****> nana: Specifically, the section on php.net/date that begins "To format dates in other languages, you should...."
00:17 <****> CcK: It's going to look something like this: http://hashphp.org/pastebin.php?pid=34936
00:17 <****> TML:Thanks I m reading now
00:17 <****> CcK: I'm sure there are some bugs in there, but those are left as an exercise for you :)
00:17 <****> can someone give me a hand getting php to work on my apache2 server (running on Ubuntu)
00:17 <****> someone could have a look to http://nopaste.php-quake.net/7717 and tell me if this would be ok?
00:17 * lig climbs into TML's lap and rests.... dang cold
00:17 <****> nana: When people tell you to read the documentation, please read it
00:18 <****> It's *very* frustrating to have you tell me "I've read the documentation", and when I go to the page, it explains precisely how to do what you've asked to do
00:18 <****> can someone give me a hand getting php to work on my apache2 server (running on Ubuntu)
00:18 <****>
00:19 <****> frb-work: try var_dump(phpversion());
00:19 <****> PerlJam: Have I told you lately how very much I hate you, and everything you stand for?
00:19 <****> JeevesMoss: apt-get install libapache2-mod-php5
00:20 <****> TML: Are you going to start serenading me?
00:20 <****> JeevesMoss: followed by something like "a2enmod php5"
00:20 <****> can I create a object by name?
00:20 <****> oh, nevermind, my bad


Total 47 pages. You are browsing page 1/47.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo