logs archiveIRC Archive / Freenode / #php / 2006 / May / 12 / 1
RagingStorm
itrebal: a what?
itrebal
RagingStorm: the internals conversation about breaking apps and OO
RagingStorm
itrebal: I have no idea about that :) You know, how's my point of view of PHP... :)
aec27
richardlynch,winmutt, thanks for the input!!
winmutt
aec27: no problem
richardlynch
RagingStorm,itrebal: OO Purists breaking backward compatibility versus pragmatists who want their old PHP to keep working. See http://php.net/mailing-lists.php "Internals" archives.
Jymmm
(Action) jabs winmutt with a cattle prod just for general purpose.
RagingStorm
lol
winmutt
(Action) looks up ops abuse on freenode
         

Jymmm
winmutt you dont have color crt do you?
RagingStorm
richardlynch: Basically remove the PHP4 functionality?
Jymmm
winmutt try #bdsm
RagingStorm
I mean PHP4 OO functionality
Jymmm: lol
richardlynch
RagingStorm: I think today's boo-boo is that class foo {}; $foo = new foo(); if ($foo == null) is different in PHP5. They'll sort it out, eventually. Maybe.
Stormchaser
richardlynch: ouch
MACscr
anyone know of a true type text generator script
i found this one
richardlynch
Stormchaser: The other good point is that they alter the code, and the phpt test file to test the code with it, and then BC is broken as that's not really a regression test...
MACscr
http://sgssweb.com/experiments/?file=PHPFontImageGenerator2&page=1
Jymmm
(Action) hands winmutt a ---,-`-{@ to make him feel better (casu he knocked up his wifey and aint getting any)
Stormchaser
Macca`: Google does
I ment MACscr
MACscr
which is pretty cool, but i cant for the life of me get bgcolor to work
dave007
Hi, how can I concatenate two strings?
MACscr
and definately cant get the output to validate xhtml
Dangermouse
dave007: echo "one" . "two";
Stormchaser
dave007: $string1 . $str2;
MACscr
thanks stormy, been googling for awhile now
dave007
ok, thanks
Stormchaser
!+g10
php-bot
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
         

Dangermouse
dave007: For future reference: www.php.net/string
MACscr
Hmm, never new this channel was an official support area where anyone had to help anyone on anything
so with that in mind, general questions really shouldnt be an issue
Stormchaser
!+g11
php-bot
Guideline #11) ##php is a manual supplement. Read the manual FIRST, If after reading the manual you still have difficulties, then you are welcome to ask questions in ##php
MACscr
the manual is actually more of a dictionary or reference material than a text book or how to, but maybe i just look at it wrong
kibble
examples is the way to go
row
google + php.net is all you need for the basics
MACscr
yep, those always help me the most
Stormchaser
MACscr: No language that I know of offers logical thinking with it. That's all you need -- logic.
MACscr
unfortunately the examples i have been finding havent been working as specified
Dangermouse
Stormchaser: Damn it, that's where i've been going wrong
MACscr
dangermouse: lol
Stormchaser
Dangermouse: :)
winmutt
is there any way to pass 2 values to a switch??? perhaps an array???? I have a switch that if the value is pgsql i use information_schema table to get metdata, mysql i use show create table, however mysql5 now has information schema...
i guess an array is probably best way to accomplisgh this in a switch huh
insin
how about changing it to use 'pgsql', 'mysql4' and 'mysql5' as your possible values instead?
||cw
or mysql and mysql5, for backwards compat
shadfc
ok, question about gd. createimagefromjpeg() is causing php to die without errors. I am getting some weird entries in /tmp like 20060511-211120-209.168.175.66-request_body-YoEi. Ive tried both php4 and php5 now, and they both show the same behavior. I realize this may be a bad image, but all of my programs (gimp, imagemagick, windows image preview, firefox, etc) display it fine and dont complain about it being bad or corrupted. Any ideas?
winmutt
shadow`: changing php ver wont fix the problem, rebuild gd
er
shadfc
god coding in vim a 25lines is killing me
shadfc
i could try that next, i was using the debs from dotdeb.org
heh, vim is all i use
Stormchaser
poor creature
archivist
vim does not limit to 25 lines
winmutt
shadfc: why wouldnt you use the std deb pkg?
row
winmutt: most likely running stable.
winmutt
Stormchaser: whats your editor of choice?
shadfc
well, i was running php5 and apache2
winmutt
row: thats why i hate precompiled bins distros
shadfc
other than that, im running stable
winmutt
shadfc: compile it from source dont be a woos
Stormchaser
winmutt: /dev/urandom
row
pico for nix and phpedit if I am on windows :)
winmutt
Stormchaser: heh
gah pico
lith
pico rocks
winmutt
atleast vim has syntax highlighting
Stormchaser
ack
kwrite is my editor of choice
winmutt
pico was great in 1990 when i only had a monchrom monitor
archivist
syn on windaz
Dangermouse
lol
lith
stormchaser: in a console situation?
winmutt
Stormchaser: i find kate less cpu intensive
lith
pine still kicks ass
i dont care what you all say *grumble*
winmutt
pine is good
does it do imap?
Dangermouse
(Action) discovered pc-pine recently woot
Stormchaser
winmutt: I didn't say kate. I said kwrite
lith: in console, I use vim.
row
he said kate>kwrite....
winmutt
Stormchaser: and i was just commenting that i found kate less intensive than kwrite.
row
well thats how I took it...
winmutt
sigh
Dangermouse
give him a break, his english isn't that great :P
winmutt
who stormchaser or mine?
Dangermouse
Stormchaser's
winmutt
english is my second language
lith
(Action) sits back in a lawn chair with a corona and watches the editor war begin.
Stormchaser
winmutt: Um... how can SDI be more memory and CPU intensive than MDI?
Dangermouse
lith: It's not a war ! </thatswhattheyallsay>
lith
(Action) laughs
mattmcc
It's a police action?
Stormchaser
yup
winmutt
Stormchaser : caveat, not that I have really compared the two... I used kwrite for class notes on my p2 300mhz laptop... maybe thats why it was such a hog
quiet down ppl, your raising the channel temperature
(Action) read freenode policies today
Dangermouse
lol
winmutt
and yet i still havent found a section on op abuse
Dangermouse
winmutt: Op abuse? Surely not
lith
Anyone seen the celestine prophecy?
winmutt
Dangermouse: psychological make up of an op abuser is well amusing
Dangermouse
winmutt: eh?
lith
(Action) abuses the ops in #php every chance he gets :D
winmutt
what i said
Dangermouse
I love that kind of reply. Almost as if i said 'eh' because i completely understood
tonyacunar
Greetings
Dangermouse
tonyacunar: Hi
gib
eh?
tonyacunar
Anyone here do php on a mac? or does it really not matter what your environment is?
MACscr
doesnt matter
Remowylliams
Hello sorry if this question has been asked a bazillion times. but can you have ssi and php parsing on the same document?
MACscr
my dev uses a mac for his php dev
Stormchaser
winmutt: From what I saw, kwrite takes 35m Ram, while kate takes 39m ram... (both 0.0 CPU). I can't see how can kwrite be worse than kate
winmutt
Stormchaser: read what i said above
Dangermouse
What, Mac user's code? I thought they just edit video, do web development and make pretty graphics :-)
winmutt
mac osx > *
i dotn even own one
Dangermouse
round 2..
winmutt
but man they are sweet
tonyacunar
Does anyone here have any experience with upload scripts? i've been hacking at it since 3 days ago and I am getting weird errors
I dont know if its my Script or my server orrr, who knows what
p0windah
winmutt: here here
Stormchaser
<winmutt> Stormchaser : caveat, not that I have really compared the two... <-- how the HELL can you say what you said, then?!?
tonyacunar
does anybody think they can give me some tips?
Dangermouse
!?!?!!111one11111111!!
mattmcc
Stormchaser: You act as if people should have grounds for what they say.
Dangermouse
mattmcc: rofl!
Stormchaser
mattmcc: Sorry... I should have know better...
(Action) runs in shame
p0windah
(Action) slaps Jymmm
Dangermouse
(Action) needs some entertainment.. greps logs for mattmcc.
p0windah
Jymmm: and that's for nothing?!
Jymmm
(Action) returns the favor...
Stormchaser
*snickers*
tonyacunar
what does this mean?
[11-May-2006 16:21:32] PHP Parse error: syntax error, unexpected T_ECHO in /Applications/MAMP/htdocs/uploader.php on line 3
winmutt
means what it says
Stormchaser
!+parse error
php-bot
Parse errors show the line where parsing failed, not nessicarily where you made your mistake. Try looking a line or two above the reported error.
p0windah
damn, he was here :)
winmutt
you have an unexpected echo
Remowylliams
tonyacunar: it says that echo didn't get terminated right.
Jymmm
p0windah: Have a nice day!
winmutt
Thank you come again!
« prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 next »