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-21
[00:00]<jdddd>+Gimp_: Neither do I, I'm a ham.
[00:00]<gydl_>+Jymmm: sweet
[00:00]<vjdygzvjz>-kamoricks Im sorry but Im not sure what that means. Do I have to edit php.ini somehow?
[00:00]<gydl_>+;)
[00:02]<npnrp>+PerL_MonK, alright, still a little stuck.. So let's say I have variable $filepath, I'm still confused how to pass this on correctly
[00:03]<azdjzyaas>+tominator: Nope. You have to either rebuild php with mysql libs. I believe there's also a way to do it without recompiling, but I don't know it, and never had to do it myself - my OS install script did it for me.
[00:04]<npnrp>+brb
[00:04]<zyaxacf>+Is there any way to make str_replace (or a similar function?) only replace once?
[00:06]<pgzl_mjgk>-Jymmm i'll do you a favour and just leave, so its one down, 448 left
[00:07]<jdddd>+actually, he wasn't that bad =)
[00:12]<zzlzm>-richjkl: you can limit preg_replace() but that's overkill for a static string, simpler to combine strpos() and substr_replace()
[00:15]<-- sgvgzs xzs fuyv (>/dev/brain")
[00:15]<mrmmd>+hiho
[00:16]<zyaxacf>+arpad: Does limit in preg_replace start at 1 or 0?
[00:17]<svjzdzxzsnz>+richjkl: Try it
[00:20]<fcz>-how can i make the browser navigate to anaother page with php (if possible) ?
[00:20]<zulvnsxwzz>-header could help
[00:20]<gydl_>+lkr: php.net/header
[00:20]<fcz>-is it something with header('Location: [addr]');
[00:20]<gydl_>+see location:
[00:20]<fcz>-ic
[00:21]<fcz>-do i need to send anything after that ?
[00:21]<svjzdzxzsnz>+!+typing english
[00:21]<lxl-2jv>+##PHP does not allow aolbonics (or leetspeak) such as "u for you, r for are, ic for i see -- etc" and typing like this will result in you being silenced; furthermore, inability to adapt may result in a ban.
[00:21]<fcz>-"Firefox has detected that the server is redirecting the request for this address in a way that will never complete."
[00:21]<fcz>-LOL
[00:21]<fcz>-oic
[00:21]<fcz>-kthx
[00:21]<fcz>-o_O
[00:21]<svjzdzxzsnz>+What's so funny?
[00:21]<zulvnsxwzz>-but sometimes i face a problem that header already sent
[00:22]<z2axyzct00>-hi
[00:22]<z2axyzct00>-anybody knows a pirctureviewer for browser without mysql?
[00:22]<svjzdzxzsnz>+google does
[00:22]<z2axyzct00>-and where i can copy easy pictures in a DIR
[00:22]<zulvnsxwzz>-why that happens which works when output_buffer got on
[00:23]<svjzdzxzsnz>+abchirk500: Google knows the answer to that. ##php isn't your personal search engine.
[00:23]<z2axyzct00>-hm i searched but found only gallery2 and coppermine
[00:24]<jdddd>+!+g8
[00:24]<lxl-2jv>+Guideline #8) SQL Q's: #sql, #mysql or #postgresql. Apache Q's: #apache. Linux Q's: Either #yourdistro, #linuxhelp or #linpeople. HTML/CSS/JavaScript Q's: #web. Just because some other channel is 'dead' does NOT mean you can ask here.
[00:24]<jdddd>+!+g10
[00:24]<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:24]<zulvnsxwzz>-Gimp_, can u help me why that header already sent message appears
[00:24]<svjzdzxzsnz>+abchirk500: And your point it...?
[00:24]<svjzdzxzsnz>+!+u
[00:24]<lxl-2jv>+Surely you mean 'you', not 'u'? The letter 'u' is not a personal pronoun. Talking like this in ##php may get you silenced. For details, /msg php-bot aolbonics
[00:24]<zulvnsxwzz>-does it has any alternative
[00:25]<gydl_>+gupteshwar: it means you have already outputed something. header needs to be used before any outputs
[00:25]<jdddd>+!+headers
[00:25]<lxl-2jv>+If you are getting error like "Warning: Cannot modify header information - headers already sent by (output started at /path/file.php:1)" it means you've got some output before your header() call or starting a session. *No* output can be sent. that includes whitespace (outside of <?php and ?>) and any (X)HTML. You can also use output buffering
[00:26]<jdddd>+prophile do you realize your nick is one tiny regex away from being pedophile?
[00:26]<zulvnsxwzz>-i didnt get ...i coded some script on some m/c working when shift other there too but at some place i face such problem with same script
[00:26]<zyaxacf>+lol
[00:27]<jdddd>+I guess he does.
[01:07]<yvzn2rf>Stormchaser: pretty much, i'm thinking of just doing rewrite of 99% of the code
[01:07]<jdddd>TML: muy macho !
[01:07]<fg0ggg>TML, how do i pass an array for foreach?
[01:07]<svjzdzxzsnz>Fr0zen: php.net/foreach
[01:07]<z2axyzct00>can i change safemode to "no" if i have no root permissions?for my webspace?
[01:07]<jdddd>!+f foreach
[01:07]<lxl-2jv>Try looking at http://php.net/foreach
[01:07]<svjzdzxzsnz>:)
[01:08]<jdddd>abchirk500 get a new host
[01:08]<z2axyzct00>because the problem is i tried now 10 onlinegallerys all wanted to have safemode off ://
[01:09]<jdddd>abchirk500: Then quit beaing a cheap bastard and get a paid host =)
[01:09]<jdddd>being
[01:09]<z2axyzct00>hm you re rigth 3 € for 50 gbyte traffic and 10gb hd
[01:10]<yvzn2rf>example: if(!is_numeric($modifier)){$this->errStr = 'Modifier must be numeric.'; return null;}
[01:11]<jdddd>abchirk500: If you're pating for hosting that has SAFEMODE enabled, you need another host anyway.
[01:11]<jdddd>paying
[01:11]<jdddd>fuck me I can't type for shit today.
[01:11]<z2axyzct00>hm
[01:11]<z2axyzct00>you makin angry :D
[01:12]<jdddd>abchirk500: Nah, I can't type for shit any day on IRC.
[01:12]<z2axyzct00>no not for that you cant type ;)
[01:12]<fg0ggg>how do i figure out what the array is?
[01:12]<fg0ggg>should i see it in that php file
[01:13]<jdddd>abchirk500: oh, you mean the "cheap bastard" comment? Nah, I'm just a jaded bastard and call em as I see em =)
[01:13]<z2axyzct00>no i meant it because i have to search a new hoster..
[01:13]<z2axyzct00>i only want a damn onlinegallery :((/
[01:13]<jdddd>abchirk500 flickr.com
[01:14]<wgjz>lordi \w/ \w/
[01:14]<z2axyzct00>hm:8 i want that on my own space ;)
[01:14]<z2axyzct00>but thx anywy... :)
[01:14]<jdddd>abchirk500 quit your bitching, it's free.
[01:15]<zucyn>what version of HTML are we on.. lol, I jus tlooked at my html book and it said up to date with IE 4.....
[01:15]<jdddd>rukie That's current
[01:15]<jdddd>rukie for 1999
[01:16]<zucyn>lol
[01:16]<zucyn>I was thinkin 98.... :)
[01:16]<svjzdzxzsnz>ah, the good ol' 90's :)
[01:17]<zucyn>and I have another html book from Oreily, up do date with Netscape Nav 4.5 and IE 5 :-D
[01:17]<zucyn>IE 7 is just comin gout, isn't it?
[01:17]<jdddd>rukie: Seriously... your library seems pretty useful
[01:17]<zucyn>lol
[01:17]<jdddd>rukie: for firewood
[01:18]<fusxuyrr>it ain't anymore
[01:18]<zucyn>well, I do have the important book...
[01:18]<zucyn>a php5 book :)







