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-14
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
49
50
51
52
53
Next >
[14:02]<cyzzzg>ace_me: you mean it's something from the applet?
[14:02]<orrlyrrdrsyrr>i need to replace with somethin else?
[14:02]<ran_dn>I am lost ! I don't know what happen ! did you saved the svg file ?
[14:03]<cyzzzg>ace_me: I can't see the embedded thing. And it's not PHP
[14:04]<ran_dn>are you using IE and windows ?
[14:04]<sydjg>which string comparison function uses glob-style matching? ("*")
[14:05]<tml>ace_me: You're just trying to fix the fact that it's outputting & rather than &?
[14:05]<ran_dn>yes
[14:05]<tml>ace_me: arg_separator.output = "&"
[14:05]<ran_dn>seems that is all what I need
[14:05]<orrlyrrdrsyrr>(Ciaran): http://pastebin.ca/87979
[14:06]<orrlyrrdrsyrr>not working :(
[14:06]<ran_dn>:) TML
[14:06]<tml>OneLineDesign: Can you be more specific? "not working" tells us nothing.
[14:06]<orrlyrrdrsyrr>Scroll up :)
[14:07]<cyzzzg>OneLineDesign: I said put it at the top of the file. it was fine where it was
[14:07]<cyzzzg>OneLineDesign: as I said you need to be checking $valid
[14:07]<tml>OneLineDesign: You have a parse error?
[14:07]<orrlyrrdrsyrr>yea i done that aswell but still id not work.
[14:07]<sydjg>which string matching function allows the "*" as a wildcard?
[14:08]<tml>OneLineDesign: You have a parse error?
[14:08]<tml>simon: None.
[14:08]<orrlyrrdrsyrr>no
[14:08]<sydjg>TML, oh okay.
[14:08]<sydjg>TML, TCL does, so I thought maybe.
[14:08]<tml>simon: Nope. In PHP, you have to use regex for that. See php.net/pcre
[14:08]<orrlyrrdrsyrr>re-pasted
[14:08]<orrlyrrdrsyrr>http://pastebin.ca/87980
[14:08]<orrlyrrdrsyrr>so line 52 i need to chnage that?
[14:08]<sydjg>TML, thanks. I'll just have to convert the glob-style matching to regex.
[14:09]<cyzzzg>OneLineDesign: yes, that will be a start
[14:09]<2zrd_>hey... is there a way to send header()'s to rename a file and than NOT pipe the file through PHP to send it to the user?
[14:09]<sydjg>TML, is there a function that escapes regex special chars?
[14:09]<orrlyrrdrsyrr>so like if ($valid) {
[14:10]<wjlllrws>simon: you mean preg_quote?
[14:10]<sydjg>bram_, you could use mod_rewrite...
[14:11]<orrlyrrdrsyrr>:( im lost lol
[14:11]<sydjg>Wolfpaws, ah, thanks!
[14:11]<2zrd_>can mod_rewrite be used dynamically?
[14:11]<2zrd_>I have > 20K files...
[14:11]<2zrd_>which all are renamed on the fly
[14:11]<2zrd_>well, "renamed" ;-)
[14:11]<wjlllrws>bram_: you should ask this in #apache
[14:12]<ran_dn>TML thank you very much but why there are these 2 versions ?
[14:12]<mrvy_>Is there any library to offer a user the posibility to change it webapp password ?.
[14:13]<wjlllrws>davi_: Google for it
[14:14]<wjlllrws>davi_: If it doesn't exists, you can write it in like 10 lines
[14:14]<wjlllrws>OneLineDesign: Are you sure you wrote that code?
[14:15]<orrlyrrdrsyrr>i just said i did not, ive edited to what i need and added this checking thing.
[14:15]<cxnr_t99>chea what it do my peoples
[14:15]<wjlllrws>!+g10
[14:15]<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. Contact the authors of the script for support options they provide.
[14:15]<orrlyrrdrsyrr>its not a script!
[14:16]<wjlllrws>it's not?
[14:16]<orrlyrrdrsyrr>its just a small snipplet i toke form somewhere.
[14:16]<mrvy_>thanks Wolfpaws, I would like to know such 10 lines :)
[14:16]<orrlyrrdrsyrr>and ive been coding to add to it
[14:16]<orrlyrrdrsyrr>that problem i have is what ive coded.
[14:16]<wjlllrws>OneLineDesign: That's considered a "script"
[14:16]<cxnr_t99>my friend wants me to finish this program for him ....its in this damn useless php gtk ..... what was he thinking
[14:16]<czlvzyrmjzrzr>trying to do a redirect to prevent resubmitting of postdata.. how do I do it? if I put redirect - header(Location:....) before html the page won't load. If i place the redirect after <form> tags I get a parse error. Once the form is submitted it reloads the same page and I would like refresh or multiple submits prevented.
[14:17]<wjlllrws>davi_: Give me $5000 and you'll get them
[14:17]<orrlyrrdrsyrr>the part i got from the net works, << i dont need help with it i just need help with what ive coded.
[14:17]<orrlyrrdrsyrr>:)
[14:17]<g2rrddn>hello, i would like to ask what does it mean when you prepend a function with '@' such as @file_exists(args) ?
[14:17]<wjlllrws>!+@
[14:17]<lxl-2jv>[@] The PHP error control operator that suppresses errors (@foo()), see: http://php.net/operators.errorcontrol - Don't use it. Think I'm wrong? Ask me about "GO".
[14:17]<cyzzzg>!tell ciaran about go
[14:17]<g2rrddn>thanks so much.... :)
[14:18]<2funn>!tell blue9 about GO
[14:18]<wjlllrws>OneLineDesign: So apparently you don't know, what you have wrote, right?
[14:18]<wjlllrws>!+msg the bot
[14:18]<lxl-2jv>Please speak to the bot in a private message for all of your personal requests!
[14:18]<2funn>I'm still not sure why error supression is a "Bad Thing (tm)"
[14:19]<orrlyrrdrsyrr>Look mate iuf your going to critasize me dont bother talking.
[14:19]<mrvy_>Wolfpaws, at least could you point me to any RUI ?
[14:19]<mrvy_>URI
[14:19]<wjlllrws>blue9: Because errors should be handled properly rather than supressed.
[14:19]<2funn>Oh, d'uh.
[14:19]<2funn>Makes sense.
[14:19]<wjlllrws>davi_: google.com
[14:19]<mrvy_>:)
[14:19]<cyzzzg>lol
[14:20]<gmlvm_mygm>is there a way to debug the information sent by curl to a server ?
[14:20]<wjlllrws>empty_mind: define "debug"
[14:23]<gmlvm_mygm>Wolfpaws, i want to see what is going throught the wire
[14:25]<2zrd_>hmm, thinking more about the redirect thing
[14:26]<2zrd_>it's actually a part of a larger problem
[14:26]<2zrd_>I want to keep count of the number of downloads a user does, and which file he downloads
[14:26]<2zrd_>so, I have to go through a script
[14:26]<wjlllrws>session and readfile
[14:27]<2zrd_>yeah, but readfile is, ... difficult: I'm gonna be piping up-to 700MB files through php
[14:27]<ran_dn>I will check with a new mouse ?
[14:27]<2zrd_>even with doing a loop over the file and buffering small buffers
[14:28]<2zrd_>every download is a -long time- blocked php script
[14:28]<wjlllrws>wha?
[14:28]<2zrd_>I'd rather rely on apache to serve the files
[14:28]<2zrd_>and not pipe through php
[14:28]<wjlllrws>bram_: Then #apache







