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-16
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
Next >
[16:08]<dreer[w]>yay :D
[16:08]<dreer[w]>only 53 mins left of friday though :(
[16:08]<wjlllrws>BigE: *nod* :)
[16:08]<byre>Wow... there's a lot of nfsd running.
[16:08]<dreer[w]>23:07 16/06/06
[16:08]<byre>I'd think that could run through inetd.
[16:09]<curr>BigE: Maybe if my connection would stop dropping, I could actually read my mail while vim is running -_-
[16:09]<byre>Heh.
[16:10]<byre>I don't know why your connection keeps dropping... I have issues every now and then from work here, but it hardly ever drops.
[16:10]<curr>BigE: I think your connection is racist :P
[16:10]<byre>Oh... djbdns tools is causing that funky process.
[16:17]<mnuano7o>anyone suggest best method of taking a config xml file and not allow it to be fetched by the browser? Is htaccess best bet or are there any tricks that ruin the output of it as you can do for a ini file and such?
[16:18]<pnvpzjrr>ok
[16:19]<pnvpzjrr>does soap create some sort of log where i can see exactly what php is sending en recieving
[16:19]<pnvpzjrr>?
[16:19]<wjppyn6au>deuce, why not place the config.xml outside of the web servers docs, and place somewhere that theweb server user can still read?
[16:19]<curr>deuce868: <!-- <?php exit ?> --!> Add a comment like this and name it .xml.php or something, something that gets parsed as a PHP file.
[16:19]<curr>deuce868: Or just keep it out of your document root.
[16:19]<mnuano7o>Wolfie7AU: I'm limited by the environment I'm deploying in.
[16:20]<byre>deuce868: Disallow access to it via the .htaccess file... not reliable though because .htaccess can be turned off.
[16:21]<wjppyn6au>deuce, so can't get the xml file outside of your websvr's docs?
[16:21]<xgg0g>Can anyone think of a reason why PDO would suddenly stop having any drivers?
[16:21]<xgg0g>As far as i can tell, nothing on the server has been touched since it was last working
[16:27]<dreer[w]>kuja smells
[16:27]<curr>mazza[W] is uncool
[16:28]<dreer[w]>:(
[16:29]<rrdrdr>dis
[16:33]<curr>w00t
[16:33]<syffyjg>hi world !
[16:34]<syffyjg>i v got a question unaswered and i m fed up to find a solution
[16:34]<ajfmnz>ask already
[16:36]<syffyjg>i use xml + php and when i import a xml fil or string in a new domdocuemnt created by the new docdocument comand; if i ve got a return carriage thing the dom command didnt find my nodes
[16:37]<syffyjg>id i type my all xml document or string on one line everything woking
[16:38]<ammd_>hi
[16:38]<syffyjg>like: <page><title>Accueil</title></page> work but :
[16:38]<syffyjg><page>
[16:38]<syffyjg><title>Accueil</title></page>
[16:38]<syffyjg>doesnt work
[16:39]<ammd_>i want to make a generic function which accpets a SQL query and returns Data along with column name
[16:39]<wjlllrws>Sillion: *blink*
[16:39]<wjlllrws>Sillion: Ask in #web since it's #web question
[16:39]<ammd_>how can i return both field name and data,i can handle single column via field_list() method but what if there is a Join query?
[16:39]<fynvu><page>? ;)
[16:40]<syffyjg>Wolfpaws,: it s a php question
[16:40]<fynvu>oh, xml, not html
[16:40]<ammd_>anyone?
[16:40]<wjlllrws>Sillion: it is? How come?
[16:40]<nzzz>Wolfpaws: I think he saying his parser doesnt work if he has a \r\n in his xml
[16:40]<syffyjg>that s right
[16:41]<dreer[w]>then get a new parser?
[16:41]<syffyjg>but my parser is php5
[16:41]<dreer[w]>or strip \r\n
[16:42]<ammd_>why not just replace with <br> ?
[16:42]<syffyjg>dont you work with php5 and xml?
[16:43]<syffyjg>i ve search on the web but didnt find anyone having my problem !
[16:44]<nzzz>Sillion: post your code to a pastebin so we can see it
[16:44]<syffyjg>pastebin?
[16:44]<mrvbjd>Is it possible to give a priority with mail()
[16:46]<ryac>Is there any way to tell mktime() that I want it to fill in the value for me? (eg: mktime(0, false, 0)) ?
[16:46]<ryac>don't see anything in the docs
[16:46]<-- svgvsdyzgjvr_ xrs>/dev/null")
[16:47]<ajfmnz>Rick, you want the current date ?
[16:48]<ryac>colder: I want to specify some values but let mktime() fill in the ones I don't want to specify
[16:48]<ajfmnz>what do you want as value for them ? the current one ?
[16:49]<ryac>yes
[16:49]<ryac>without having to use getdate() or such :)
[16:49]<ajfmnz>you'll need to
[16:49]<ryac>yeah -- that's what I'm already doing
[16:50]<ryac>no problem :)
[16:51]<ryac>Just thought it would have been common sense to provide that sort of feature
[16:51]<syffyjg>errr: pastebin: http://pastebin.com/712946
[16:52]<ryac>Sillion: why doesn't it work?
[16:52]<syffyjg>don't know
[16:53]<syffyjg>the variables are empty when i say "doesnét work
[16:53]<syffyjg>there is no message error
[16:53]<syffyjg>error messages
[16:53]<syffyjg>i use php5
[16:54]<syffyjg>php5.04
[16:54]<syffyjg>iv got the same problem even if the xml comes from a file or not
[16:55]<syffyjg>a file or a string
[16:55]<syffyjg>the same problem !
[16:55]<czdwjpp>evening all. can someone help verify a bug? set short_open_tags = Off, and try the following line in a script: <? echo "foo"; > bar
[16:56]<frrrj>Hi.. I have a "message of the week" that changes roughly once a week (unsurprisingly), and I am a bit reluctant to put it in a database because it is relatively static data, and it seems a bit of a waste to do another database query for every single page request. How much should I worry about the server load/additional execution time? Are there any other cunning ways that you can think of that will let non-technically minded people edit the message of the week, with
[16:56]<vxyzmly2z>you gotta either use xml or php
[16:56]<vxyzmly2z>err a database
[16:57]<vxyzmly2z>it's not that much of a server load to query a table for one row
[16:57]<vxyzmly2z>it's actually pretty negligible
[16:58]<frrrj>an additional 0.05 seconds for 30k of data
[16:58]<vxyzmly2z>i suppose you could use a flatfile too
[16:58]<tml>Fango: None that have significantly lower overhead than a database query.
[16:58]<frrrj>(although 30k is a lot of data to be pulling..)
[16:58]<frrrj>ok, thanks very much
[16:58]<frrrj>I guess I'll just put it in a database
[16:59]<syffyjg>no php/xml specialist here?
[16:59]<tml>Fango: That should be a relatively cheap DB query, as long as you don't do anything colossally stupid.
[16:59]<syffyjg>http://pastebin.com/712946
[17:00]<frrrj>I wouldn't rule out that possibility :|
[17:00]<tml>Sillion: What's the question?
[17:00]<syffyjg>TML: http://pastebin.com/712946
[17:01]<tml>Sillion: You have two different DOM trees there.







