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-06-22
Pages: 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
Next >
[00:00]<rrdrdr>heh
[00:00]<rsmw>in order to send mails
[00:00]<zdzxzzmfdgzx>asdx: SMTP or it can use sendmail
[00:00]<dzzznzdjusn>asdx: No
[00:00]<zdzxzzmfdgzx>Or sendmail substitute like qmail.
[00:00]<rsmw>Dangermouse: no?
[00:00]<rsmw>richardlynch: ok
[00:00]<eyzau>SMTP on windows sendmail on *nix is required
[00:01]<dzzznzdjusn>hehe :)
[00:02]<eyzau>it is all transparent except for the configuration
[00:02]<sdfn>not really i have everythign sorted by artist , just as fast to pick artists i like
[00:03]<zxnzvnzsznzfd>later
[00:03]<zdzxzzmfdgzx>syle: Maybe you should search here: http://cdbaby.com/browse/from/lynch
[00:03]<eyzau>syle: then steal back your mp3 walkman thingy
[00:06]<qdvggycq>richardlynch: I take it back -- that didn't fix it, it just made it less frequent. :-/
[00:06]<zdzxzzmfdgzx>bytenik2: Dunno what to tell you... Maybe juggling nodes like that is what's killing you, rather than the -> thingie...
[00:08]<a2sjfuvn0>what do i add to the top of my script to make it run by itself?
[00:09]<a2sjfuvn0>#!/usr/bin/php ?
[00:09]<eyzau>if that is the correct path to the CLI version of php and the file is set with executable permissions
[00:09]<hjfdgjrv>scripts running by themselves, scary
[00:10]<a2sjfuvn0>hehe
[00:10]<hjfdgjrv>Absolute0: yes, or whatever the path to the php cli is
[00:10]<eyzau>my php is in /usr/local/bin/php
[00:11]<zdzxzzmfdgzx>Absolute0: And if you want to automate it, read "man 5 crontab"...
[00:11]<eyzau>or simlply use 'php /path/to/file.php'
[00:11]<a2sjfuvn0>automate what?
[00:12]<zdzxzzmfdgzx>have the script run every hour/day/week whatever.
[00:12]<a2sjfuvn0>why would i want to do that???
[00:12]<a2sjfuvn0>lol
[00:12]<zdzxzzmfdgzx>Just remember it for the day when you do want that :-)
[00:12]<a2sjfuvn0>alrighty...
[00:13]<qdvggycq>up, this one is another DOM issue
[00:13]<qdvggycq>i can't have an element in the tree twice
[00:13]<a2sjfuvn0>is php used often for system maintainence?
[00:13]<qdvggycq>that should be creating a php error though, not a panic
[00:13]<zdzxzzmfdgzx>Some of us use PHP for all our shell scripts...
[00:13]<wjlllrws>Absolute0: Rarely
[00:13]<a2sjfuvn0>i see
[00:13]<drvvdaa>All a matter of preference, of course. I prefer python.
[00:13]<a2sjfuvn0>Wolfpaws, so what is richardlynch fussing about :p
[00:14]<zdzxzzmfdgzx>bytenik2: If you're managing to get a circular reference down in the guts of C data that doesn't expect it, then you're in the land of crashing.
[00:14]<wjlllrws>Absolute0: A matter of oppinion, actually... I prefer Python for maintenance programs rather than PHP... But that's just my choice
[00:15]<a2sjfuvn0>what ever happend to poor bash?
[00:15]<a2sjfuvn0>it went out of style?
[00:15]<qdvggycq>richardlynch: Looks like that's whats happenning. Ok, so what's the "proper" way of moving an element from one node to another?
[00:15]<wjlllrws>Absolute0: Sometimes bash is not enough
[00:15]<drvvdaa>Absolute0: It makes a perfectly good shell.
[00:15]<zdzxzzmfdgzx>bytenik2: Got no idea....
[00:15]<qdvggycq>richardlynch: $oldparent->removeChild($child); $newparent->insertBefore($child); doesn't do anything because apparently removeChild actually frees the child element
[00:16]<zdzxzzmfdgzx>bytenik2: I know diddly about DOM -- I only know what has to be happening under the hood from general programming knowledge.
[00:22]<zzydlyzrvn>Wolfpaws: I think you might be interested in this http://www.gamedev.net/community/forums/topic.asp?topic_id=399076
[00:24]<wjlllrws>grimpirate: HArdy... There are things, that shouldn't be abused, and 3D in PHP is one of them.
[00:24]<wjlllrws>*HArdly
[00:24]<wjlllrws>drat :P
[00:25]<zzydlyzrvn>lol
[00:25]<zdzxzzmfdgzx>Actually... I could see a good case being made for rapid proto-typing in PHP and then porting to customized C extensions of PHP... :-)
[00:26]<frgmrg>http://www.theinquirer.net/?article=32550
[00:26]<zzydlyzrvn>PHP can do it all!
[00:26]<wjlllrws>!+g16
[00:26]<lxl-2jv>You can be /kickban from ##php for being stupid
[00:26]<zyzwzvn>I'm trying to configure php...do I **have** to do --with-apache? I already have an apache server installed
[00:26]<wjlllrws>oops
[00:26]<wjlllrws>What is it?
[00:26]<zyzwzvn>1.4.x
[00:27]<wjlllrws>!+g15
[00:27]<lxl-2jv>PHP can only do SO MUCH. Maybe one day, it will be able to wipe your ass, but not today.
[00:28]<zdzxzzmfdgzx>airwave: Perhaps you want --with-apxs? If you want PHP to tie in to apache as a Module, it needs to tie in to the header files of Apache, and it needs --with-apache or --with-apxs. If you just want CLI or CGI, then you do not need --with-apache nor --with-apxs
[00:29]<wjlllrws>itrebal: *cough*g17*cough*
[00:30]<yvzn2rf>:)
[00:30]<wjlllrws>There.
[00:30]<yvzn2rf>!tell Wolfpaws about g17
[00:32]<yvzn2rf>:)
[00:32]<yvzn2rf>oh yea! i figured out why i couldn't do anything with my VPS
[00:32]<wjlllrws>what the heck is VPS?
[00:33]<yvzn2rf>\Virtual Private Server
[00:33]<yvzn2rf>minutes the backslash
[00:33]<yvzn2rf>gah, can't type
[00:33]<yvzn2rf>minus
[00:33]<wjlllrws>mkay
[00:33]<asdcn>hi ppl, is it possible to user fopen() to write to a file in append mode, but instead of adding to the bottom of the file, adding to the top?
[00:35]<yvzn2rf>csyke: no, you'll have to read, erase, prepend, then write
[00:35]<asdcn>ok itrebal thanks
[00:35]<zzydlyzrvn>You might be able to transfer the contents into an array
[00:36]<zzydlyzrvn>And then write another file
[00:37]<asdcn>i guess my best shot would be to transfer to another file
[00:37]<asdcn>and then transfer back
[00:37]<asdcn>thanks for your help
[00:39]<zzaxyvysv>file_get_contents to a string is fast
[00:39]<yvzn2rf>file_(get/put)_contents
[00:42]<ugywm9m>im using $open = @fopen("http://www.domain.com/script/news.php", "r"); if($open){ include("http://www.domain.com/script/news.php"); to display the news to all the ppl that will use my script, is that ok?
[00:42]<zdzxzzmfdgzx>csyke: 99% of newbies doing this should be using a database instead... This may describe you, or it may not.
[00:43]<zdzxzzmfdgzx>UnixD4d: Do you really need to have PHP execute the code in news.php? Or is it really just HTML output? Cuz readfile() would be way more safe than include() since you are RUNNING whatever PHP source is output from the other domain...
[00:44]<ugywm9m>no, no code, is just html code inside that file
[00:45]<zdzxzzmfdgzx>Then switch to readfile -- include is assuming you have PHP code output from that URL, and that you are then executing the code from that other server, on your server, and you're pretty much wide-open to that other server putting whatever PHP they want and then it runs on your server, and... That's just Dangerous (tm)
[00:46]<ugywm9m>ok, thanks
[00:46]<mja_>:quit
[00:46]<nupjzdrv>hi, i dont know why, but my php generated page is not outputting what i should have in my variables, any ideas?







