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-27
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
Next >
[04:51]<mzzcl>mullet: So you'll be leaving very soon then?
[04:51]<duffnv>richardlynch what I want can be done easily with perl
[04:51]<duffnv>MarkL relax, its just irc
[04:52]<xmlxjym>mullet: care to link to your detailed analysis?
[04:52]<xmlxjym>surely you're not just trolling for reactions, but rather have carefully documented your thesis
[04:52]<duffnv>Xyphoid can php work as a client ?
[04:52]<mzzcl>mullet: Yeah, but you're making no sense. Right tool for the right job, so one can't be 'bettr' than the other
[04:52]<xmlxjym>surely you know that, from your documentation
[04:52]<zdzxzzmfdgzx>mullet: So go ahead and use perl. Nobody here gives a damn.
[04:53]<mzzyusx>Xyphoid: thanks mate. I forgot about that.
[04:54]<zdzxzzmfdgzx>Expalliarmus!
[04:54]<duffnv>trolls are animals?
[04:54]<vnxsvnv>how can you forget about date()? php's date has been stolen to other languages, its that good :)
[04:54]<mzzcl>Jymmm: The +b is in my clipboard as we speak
[04:55]<duffnv>MarkL you want me to fuck your arse? this is what you want me to do?
[04:55]<mzzcl>Yes, yes i do
[04:55]<duffnv>I knew it ;p
[04:55]<mzzcl>say goodbye
[04:55]<jdddd>.gr ?
[04:55]<gudysv>bye!
[04:56]<jdddd>oh greece
[04:57]<vnxsvnv>great britain... d'u
[04:57]<vnxsvnv>h
[04:57]<gudysv>ah
[04:57]<jdddd>MarkL : Clipboard?! wth?!
[04:57]<mzzcl>Jymmm: Yeah, i have a spare if you want one
[04:58]<jdddd>MarkL: keep it, and I'll hand you an alias too!
[04:58]<mzzcl>Jymmm: Even KDe has a clipboard ;)
[04:58]<mzzcl>Real men type bans in binary
[04:59]<jdddd>I am woman, hear me roar!
[04:59]<mzzcl>Jymmm: Do you have smilies too? ;)
[04:59]<yvzn2rf>oh yea, Jymm?
[04:59]<yvzn2rf>Jymmm*
[04:59]<jdddd>MarkL: what's a smilies?
[04:59]<mzzcl>heh
[05:00]<mrvbjd>can it be possible that a query doesn't work when you include the file in another page ?
[05:00]<yvzn2rf>gah... not working
[05:00]<zdzxzzmfdgzx>MatBoy: Usually only if you screw up something else...
[05:00]<vnxsvnv>MatBoy: um, yah, but not from just that
[05:02]<mrvbjd>I thought the same... but all other includes are OK
[05:02]<mrvbjd>:S
[05:02]<yvzn2rf>gah... i hate it when my projects dont work
[05:02]<zdzxzzmfdgzx>MatBoy: Start using var_dump to figure out what data is "not right" and work back until you locate the lines where things first go wrong.
[05:03]<mrvbjd>mhhh
[05:03]<mrvbjd>richardlynch, thanks ! I have to figure out how var_dump works
[05:03]<yvzn2rf>can you 'comment' something in the HTTP RFC?
[05:03]<yvzn2rf>according to*
[05:03]<zdzxzzmfdgzx>MatBoy: var_dump($query); would be a good start...
[05:04]<xmlxjym>itrebal: you mean in a http header?
[05:04]<mrvbjd>richardlynch, and the whole query will be printed in the php_error.log than ?
[05:04]<zdzxzzmfdgzx>MatBoy: No, that would be error_log, which would also be a fine debugging tool instead of var_dump, if you prefer.
[05:05]<yvzn2rf>Xyphoid: yea
[05:05]<mrvbjd>richardlynch, it doesn't matter, what you think that is the most easy. var_dunp prints it on the screen ?
[05:05]<wyfddrgq>when i order by timestamp, i want ASC for latest entry or DESC?
[05:06]<xmlxjym>surely you can just add new headers? Comment: my stuff?
[05:06]<wyfddrgq>hard to debug when everthing is in seconds hehe
[05:06]<zdzxzzmfdgzx>itrebal: You may want to consider: X-Comment: This next header blah blah blah and that would achieve your goal while not violating RFCs.
[05:06]<xmlxjym>it should be ignored by everything that doesn't understand it
[05:06]<zdzxzzmfdgzx>wildman2: DESC
[05:06]<wyfddrgq>ty
[05:07]<syfvrzwyrr>how could i avoid the creation of a session every time that the client opens and closes the browser: session_cache_limiter ('private_no_expire') ???
[05:07]<zdzxzzmfdgzx>Comment: would actually violate the spec, I think, unless that's a documented header... X-Comment would be more correct, as I recall.
[05:07]<ljvna>Is there a way to use $variable after escaped character ex: echo "<a href=\"$variable/mypage.php\">mypage</a>";
[05:08]<syfvrzwyrr>echo '<a href=' . '"' . $variable ... and so on
[05:08]<zdzxzzmfdgzx>SilverWing: Set a non-zero expiration time. 0 means "browser session only" and a time means, well, however long you want them to auto log back in.
[05:08]<ljvna>SilverWing can you reconstruct my example so it would work
[05:09]<syfvrzwyrr>i have that setted to 0 but the session wont destroy when the user closes the browser ?
[05:09]<xmlxjym>looks like Comment wouldn't technically violate the spec, since it'd be an extension-header, but i agree X-Comment makes much more sense
[05:10]<ljvna>SilverWing iniating the session variables
[05:10]<syfvrzwyrr>Lotec: echo '< href=' . '"' . $variable . '/' . 'mypage.php' . '">my page</a>' . "\n";
[05:10]<syfvrzwyrr>a href ...
[05:10]<zdzxzzmfdgzx>SilverWing: 0 means that the session expires when they close the browser. Any other number is the number of seconds to keep the cookie hanging around, regardless of browser close/open.
[05:11]<mrvbjd>richardlynch, a include will not give that much problems with sessions will it ?
[05:11]<syfvrzwyrr>so i shouldnt use cookies
[05:11]<syfvrzwyrr>mean send
[05:11]<ffnnffiak>hi, what is the command to recursively chmod all php files to 644 in all directories?
[05:11]<syfvrzwyrr>and keep everything on the server side
[05:12]<ljvna>What are you trying to accomplish with the login Silverwing
[05:12]<mzzcl>cmmod -R 644 *.php
[05:12]<ffnnffiak>i've tried: chmod 644 *.php -R
[05:12]<drvvknffdxjdn>who would you guys recommend to register a domain thru?
[05:12]<zdzxzzmfdgzx>MatBoy: include and sessions don't care about each other at all. The most likely mistake with include is that you maybe decided to use functions at the same time, and your variables are not in scope inside the function.
[05:12]<ffnnffiak>but that only chmod 644 to all php files in the current directory
[05:12]<mzzcl>FlEeFlIcK: The -R means recurse
[05:13]<ffnnffiak>MarkL: yeah, i did: chmod 644 *.php -R
[05:13]<mrvbjd>richardlynch, it's good that you attent me on the fact of the functions.... i had the same before this night... I'm damn so tired :)
[05:13]<mzzcl>FlEeFlIcK: Did you do chmod -R 644 *.php ?
[05:13]<ffnnffiak>MarkL: yeah, i just tried that, and it doesn't recurse
[05:13]<ffnnffiak>it only does the php files in the current directory
[05:14]<ffnnffiak>it works if i do: chmod 644 * -R
[05:14]<ffnnffiak>but then it does the directories too
[05:14]<ffnnffiak>and I need directories to be 755
[05:15]<zdzxzzmfdgzx>F1EeF1Ick: You probably need a find with exec, but check in #linux or something...
[05:15]<syfvrzwyrr>var=$(find /path/to/something); for x in $var; do if [ -d "$x" ]; the chmod 755 "$x"; else chmod 644 "$x"; fi; done
[05:16]<syfvrzwyrr>s/the/then/
[05:17]<ffnnffiak>i figured it out
[05:17]<ffnnffiak>it's: find -iname '*.php' | xargs chmod 644
[05:18]<dzzaajffyg>hi, i get Undefined variable: HTTP_GET_VARS
[05:18]<dzzaajffyg>what file i need to remove this problem
[05:18]<ljvna>Silverwing what it after this, I can't make it out: echo '<href='.







