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

Channels


#php

23 October 2007


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

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

--- Log opened Tue Oct 23 00:00:40 2007
00:01 <****> arpad: ok.. googling, since redhat seems to have no package with adodb in the name...
00:01 <****> arpad: i can tell this is going to be a painful process...
00:01 <****> :)
00:01 <****> subj: iirc there's a PEAR package for the ascii progress bar too ;)
00:02 <****> hihi
00:02 <****> arpad: i optimized my admin interface for lynx today :-)
00:03 <****> incidentally, there's an article due in the march edition of php|arch about this whole thing
00:03 <****> if you can wait a few months :p
00:04 <****> arpad: http://thomas.weinert.info/foo/lynx/
00:04 <****> arpad: I have php 5.1.x installed... is adodb supposed to be automatically built into that?
00:05 <****> subj: koehler.vim for lynx? ;)
00:06 <****> Solifugus: http://adodb.sourceforge.net/
00:06 <****> arpad: default lynx for windows
00:06 <****> Solifugus: adodb isn't automatically built into any php release, afaik
00:07 <****> subj: ah, nice ;)
00:07 <****> cyth i paid the basterds allready
00:07 <****> hello. it seems that my local php.ini isn't working... I just copy the master php.ini /etc/php.ini over to my web root... and chaged a few value but it's not showing as changed... I restarted apache as well butnothing any suggestions?
00:08 <****> n_np_, well make sure they don't have php5 offering already
00:08 <****> if they don't, demand a refund
00:08 <****> don't be giving people money for services you don't want
00:08 <****> hmm
00:10 <****> arpad and subj: it looks like the ~/core/adodb directory that comes with mantis is a copy of the same sourceforge code... so maybe the adodb code itself is buggy
00:10 <****> Solifugus: dunno - i don't like this db abstraction
00:11 <****> never used it
00:11 <****> Solifugus: very possible, and nothing to do with us :D
00:11 <****> ok good night
00:11 <****> subj: what do you use?
00:11 <****> arpad: i used pear - but it evolved so now i have my own :-)
00:12 <****> so you have your own db abstraction
00:12 <****> yeah
00:12 * arpad <3 PDO
00:12 <****> no
00:12 <****> i could use pdo in it
00:13 <****> but i abstract sql with some funtions
00:13 <****> like createTable and queryTableStructure
00:13 <****> do you have a select() function? :)
00:13 <****> that's the easy part
00:13 <****> n_np_, while your at it, if they don't offer php5 tell them php4 is approaching End Of Life, and probably expect seeing a decline in demand of PHP4.
00:13 <****> subj: no, that's the pointless part
00:13 <****> subj: for my own code, I've been using pear.. since it usually sucks so much to have dependencies (like trying to make mantis work right now), i always try to stick with standard methods and writing from scratch instead of using dependencies..
00:13 <****> as well as a decline of updates for php4.... a very sharp decline :p
00:13 <****> for my own code
00:14 <****> arpad: i support mysql/mysqli/sqlite and pgsql at the moment
00:14 <****> mmk
00:15 <****> hello. it seems that my local php.ini isn't working... I just copy the master php.ini /etc/php.ini over to my web root... and chaged a few value but it's not showing as changed... I restarted apache as well butnothing any suggestions?
00:15 <****> arpad: and the abstraction can use different read and write connections
00:16 <****> subj: now there's a definate plus ;)
00:16 <****> Can i make a oneliner with !empty that returns 0 or 1 ?
00:17 <****> is there a proper way to detect if a string is windows-1252?
00:17 <****> or im sorry can someonehel me with that ;)
00:17 <****> trifler: (int)!empty()
00:17 <****>!empty() if you're golfing ;)
00:17 <****> gah 0|
00:17 <****> bloody US keyboard
00:17 <****> ouch
00:17 <****> indeed
00:18 <****> arpad: it's a pipe?
00:18 <****> yes.. but that was half serious.. use intval()
00:18 <****> or (int)
00:19 <****> ubuntu seems to refuse to let me change two things: the keyboard language, and the "show suggestions" in the google search in firefox
00:19 <****> for($i=0;$i<$time;$++){ $out = $out . "/"; }
00:19 <****> unexpected T_INC, expecting T_VARIABLE
00:19 <****> why?
00:20 <****> srn: $++ should be $i++
00:20 <****> ah lol
00:20 <****> it's late :/
00:21 <****> How can I run a file with PHP CLI but have it so I can close terminal, but have it write the output to a log file?
00:21 <****> log.txt
00:22 <****> oh close terminal, might need some signal handling, *shrug*
00:23 <****> log.txt ?
00:23 <****> hi..has anybody used Zenphoto here?
00:34 <****> http://www.spoj.pl/ranks/PIVAL/lang=PHP
00:35 <****> http://www.spoj.pl/ranks/EVAL/lang=PHP
00:36 <****> ebrahim: old
00:36 <****> arpad, but seems that you haven't tried enough!
00:38 <****> how can you specify optional params in a function?
00:38 <****> or is it done by overloading?
00:39 <****> I got it, sorry.. $param = null
00:40 <****> http://www.spoj.pl/ranks/SIZECON/lang=PHP
00:40 <****> juanbond: $param = default
00:40 <****> can be any value
00:40 <****> Check. Thank Naktibalda
00:44 <****> not any value, but hey ;)
00:45 <****> who needs precision in computing :p
00:45 <****> anykey usually means a spacebar :)
00:46 <****> so, i am trying to write a little templating engine...does anybody know of a way to eval some code in its own PHP context?
00:46 <****> does that even make sense?
00:46 <****> is mbstring enabled in PHP5 by default?
00:46 <****> I know it is in PHP4
00:47 <****> cygnus128: er, eval()?
00:47 <****> * use with extreme caution *
00:47 <****> the thing is, eval inherits the caller's context?
00:47 <****> well yeah
00:47 <****> you're looking for a sandbox ?
00:48 <****> so variables that exist prior to calling eval are available, and anything the eval'ed string does affects the callers context
00:48 <****> yeah, basically
00:48 <****> runkit provides sandboxing, but then again, runkit is black magic
00:48 <****> i would just like to basically instantiate a new php/zend engine, eval some code inside, and get the result
00:48 <****> I have a question, please help, i have a script that get an image from a pathfile, then convert the image to other size, puting it in a tmp, file


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

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


Tutti i nuovi CAP Italiani. Come ottenere il database completo