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.48 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-07-11
Pages: < 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Next >
[18:37]<yvzn2rf>Wolfpaws: the furry song
[18:37]<wjlllrws>I like it :)
[18:38]<tjufgg>nebmo88: You can't specify the smtp server with the mail function.
[18:38]<zgfzzjg>Vylen, how controversial of you.
[18:38]<vdfgg>Zelaron: im just like that sometimes
[18:38]<tjufgg>You have to use a different mail function/class to be able to specify a smtp server
[18:38]<txzzzzdjdzvzzzzz>nebmo88: You can't specify SMTP with the mail function, use http://pear.php.net/package/Net_SMTP
[18:38]<dzrcrs>Entry::prefix < this does not seem to work when I need to get a variable from a class, not an object. I have class Entry { public $prefix = "---"; } :/ any good way to do what I'm showing?
[18:38]<gn2djoo>ok cheers
[18:38]<wjlllrws>(or use phpmailer or something)
[18:38]<zgfzzjg>http://simple.wikipedia.org/wiki/Size
[18:39]<zgfzzjg>Enjoy the easy reading.
[18:39]<wjlllrws>lol
[18:39]<dzrcrs>:)
[18:39]<wjlllrws>okay. I'm gone
[18:40]<rdvxzrwff>Zelaron, oh, wow thanks I always wondered about that
[18:40]<ffrdyrrcjws|wjrk>Does php-5.1.4 work with Apache 2.2.2? I would guess not, but the manual page doesn't say anything, so I thought I would see if anyone here knows.
[18:40]<bfracbysxjl>FlamingCows guess it does .. since my fedora core 5 updated to it ..
[18:40]<bfracbysxjl>( php package also installed )
[18:41]<bfracbysxjl>why wouldn't it ?
[18:41]<bfracbysxjl>it's the same branch
[18:41]<txzzzzdjdzvzzzzz>FlamingCows: PHP 5.2 will support Apache 2.2
[18:41]<rdvxzrwff>that's what im wondering
[18:41]<ffrdyrrcjws|wjrk>The PHP manual page says 2.0.
[18:41]<dzrcrs>FlamingCows|WORK: what kind of question is that?:O Probably wouldn't work if apache didn't support modules or cgi..
[18:41]<rdvxzrwff>FlamingCows, it means 2.x im sure
[18:41]<dzrcrs>FlamingCows|WORK: it is not updated
[18:41]<guysrgrn-vrfun>any one know why when I send mail() with php via postfix additional headers are being added, tried it with mutt and it works fine, so this is probably either a php config or apache problem.
[18:41]<ffrdyrrcjws|wjrk>Drakas: Ah, that was my question, basically.
[18:41]<dzrcrs>(the manual page)
[18:42]<ffrdyrrcjws|wjrk>Whether php was updated.
[18:42]<ffrdyrrcjws|wjrk>Okay.
[18:42]<dzrcrs>FlamingCows|WORK: if you are using mod_php, then there *might* be problems with php + apache 2.2. if you're using CGI, then there shouldn't be any
[18:42]<ffrdyrrcjws|wjrk>Okay, thanks.
[18:43]<rdvxzrwff>Hau Ruck
[18:43]<rdvxzrwff>now i wonder... is a FlamingCow a cow on fire?
[18:44]<rdvxzrwff>or is it obviously homosexual cows?
[18:44]<vdfgg>oh, i didnt consider the homosexual pov
[18:44]<frvsy>how do i know if a directory exists...? because i dont know if the mkdir should be executed...thank you :)
[18:44]<tjufgg>is_dir
[18:44]<tjufgg>file_exists
[18:45]<vdfgg>Touqen is fast
[18:45]<bfracbysxjl>Vylen you a bot or something ? :))
[18:45]<frvsy>Touqen but isnt file_exist just for files ?...or can it apply to directories ?
[18:45]<vdfgg>i'd be a pretty smart b ot if i was
[18:45]<bfracbysxjl>qatsi use is_dir !
[18:45]<2jddrg>hi
[18:45]<bfracbysxjl>hehhee Vylen :P
[18:45]<gr2>What is wrong with this line: $test = preg_replace(array('ä', 'ö', 'ü', 'Ä', 'Ö', 'Ü', 'ß'), array('ae', 'oe', 'ue', 'AE', 'OE', 'UE', 'ss'), $test);
[18:46]<vdfgg>Although i wonder why you're asking.
[18:46]<rdvxzrwff>nab, you need to delimit the first array
[18:46]<dzrcrs>nab: are those Unicode characters?!
[18:46]<txzzzzdjdzvzzzzz>nab: It looks like you want strtr()
[18:47]<rdvxzrwff>array('/ä/', '/ö/', '/ü/', '/Ä/', '/Ö/', '/Ü/', '/ß/')
[18:47]<frvsy>BlackBishop is_dir tells me if the file is either a file or a directory, are you sure ? Anyway, ill try that :) thanx
[18:47]<dzrcrs>nab: I'm afraid you'll have to be stuck with mb_ereg_replace if you are using unicode
[18:47]<tjufgg>qatsi: Use file_exists
[18:47]<rdvxzrwff>those are ascii chars im sure
[18:47]<rdvxzrwff>lol
[18:47]<tjufgg>I hate the US sometimes: Witch pardoned 300 years after trial by water found her guilty
[18:48]<dzrcrs>qatsi: if ( file_exists($dir) && is_dir($dir) )
[18:48]<tjufgg>Why were they wasting their time with that?
[18:48]<vdfgg>Obviously Touqen doesnt hate the US enough.
[18:48]<frvsy>Touqen ok, ill use it :)
[18:48]<rdvxzrwff>publicity
[18:48]<tjufgg>Drakas: You could just include a trailing slash when you call file_exists and drop the is_dir call
[18:48]<txzzzzdjdzvzzzzz>Touqen: To get the witch vote
[18:48]<zgfzzjg>"Alphabetic disorder" or "Analphabetic order"?
[18:49]<gr2>cythrawll: thanks a ton!
[18:49]<dzrcrs>Touqen: ah yes ;]
[18:49]<gr2>Drakas: no its not unicode
[18:49]<dzrcrs>nab: ah ok :)
[18:49]<fjffrg>how can i get the actual time with the function time()
[18:49]<gr2>TheRandomAvenger: I look into strtr(), might very well be what I need. thx a lot
[18:49]<rdvxzrwff>lollan, wiht date()
[18:49]<txzzzzdjdzvzzzzz>nab: Use the array form
[18:50]<fjffrg>cythrawll: yes but is it a timestamp ?
[18:50]<gr2>TheRandomAvenger: with strtr() you mean?
[18:50]<rdvxzrwff>no it changes a timestamp
[18:50]<txzzzzdjdzvzzzzz>nab, yes
[18:50]<rdvxzrwff>date('instructions on format',time());
[18:50]<tjufgg>lollan: What exactly are you looking for? A timestamp or the human readable version?
[18:50]<gr2>TheRandomAvenger: Thanks, I will. Already reading on php.net :-)
[18:50]<rdvxzrwff>look for date() in the manual
[18:51]<zgfzzjg>I have to depart from the realms of the Internet. Later.
[18:51]<gr2>thanks all!
[18:51]<fjffrg>Touqen: for the moment i just test my script so it doesn't matter
[18:51]<fjffrg>thanks Touqen and cythrawll i am going to see the doc
[18:51]<fjffrg>:)
[18:51]<tjufgg>ugh
[18:54]<vdfgg>So, guys... How's the weather at your position on this planet?
[18:55]<tjufgg>It's nice.
[18:55]<vdfgg>(Yes, i sometimes talk a bit weird)
[18:55]<sjvry>Is there a way to create references to the parameters retrieved by func_get_arg(s)() ?
[18:55]<tjufgg>Though I'm stuck at work and can't get out to enjoy it.
[18:56]<tjufgg>Sotai: You'd have to assign them to variables first and then make a reference that way.
[18:56]<wj6cn>hey gus
[18:56]<wj6cn>i mean guys
[18:56]<vdfgg>Oh, thats too bad Touqen. It's quite cold here, and dark too (1:54AM)
[18:56]<wj6cn>;-)







