@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 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



Comments:

<0> use file_put_contents then.. its really handy
<1> its not my file
<2> can anyone recommend a good provider for colo services? i need a system built as well as hosted.
<1> i dont want to modify it
<0> file_put_contents($filename, $string, FILE_APPEND);
<0> ok, then whats the problem?
<0> bobnormal: I use simpli
<1> its pear's logging solution
<1> because it wont write
<0> well it must be right >_>
<2> numist: thanks, will check them online
<0> bobnormal: simpli.biz
<1> drwxrwxrwx 2 mmastran mmastran 512 Mar 9 22:48 logFile
<3> bobnormal: www.ev1servers.net
<0> SupIAmMike: what error are you getting? usually pear's stuff is pretty verbose
<1> Warning: fopen(logFile/out.log) [function.fopen]: failed to open stream: No such file or directory in /home/mmastran/public_html/trunk/modules/Log/Log/file.php on line 229



<0> SupIAmMike: you sure you are working in the right working directory then? try using an absolute path
<1> k
<1> let me try
<2> kodekrash: i asked them for a quote already, thanks.
<1> absolute path worked
<1> hmm
<0> so your working directory for the script is not what you think it is
<1> hmm ok - i will check that later
<0> iirc there is a pwd() command that'll tell you outright
<0> or you can echo `pwd`;
<4> when I use explode with delimiter '\t', is $pieces = explode('\t', $data_insert[0]); correct?
<0> ya
<5> Greetings... :)
<0> do it in a loop so you can iterate over lines, and you can use output from file() directly
<5> How can I make sure that I've properly implemented php-based If-Modified-Since HTTP 1.1 headers on my site?
<4> numist: I read $data_insert from a file but I can't separate the strings using the delimiter '\t'. Why?
<0> because it's not tab separated? or I got the args wrong...
<0> array explode ( string separator, string string [, int limit] )
<0> dump a sample string and see if you really are using the correct delimiter
<4> numist: it works. thanks
<0> no problem
<1> thanks numist
<0> no problem
<6> what is aspx ?
<6> some form of asp?
<7> yes, generally asp.net
<0> ya
<8> this is ##php and not ##aspx :p
<6> deadroot so **** sherlock
<6> thank you Vanish
<0> :o
<7> Yes, deadroot, but if he wanted an intellectual and accurate answer he needed to ask it here. ;)
<0> haha
<8> heh
<9> </smart***>
<0> like: "get outta the channel!"
<0> :P
<9> numist: That's not very efficiant now is it?
<9> doh
<10> Jymmm: can I ask you to unban my work ip ? :)
<0> worked a few minutes ago :P
<11> How can i do the opposite of htmlspecialchars()
<9> myconid as soon as you stop using a proxy.
<10> Jymmm: ?
<10> Jymmm: Im not using a proxy at work.. or at home
<9> myconid then how can your ip be banned and your still here?
<10> Im at home.. you banned my work IP
<0> ^ATOMIC^: http://us3.php.net/manual/en/function.htmlspecialchars-decode.php ?
<0> This function is the opposite of htmlspecialchars(). It converts special HTML entities back to characters.
<0> it's all in the manual :)
<9> myconid Oh, so I should ban your home subnet too.
<10> Jymmm: Im in here all the time helping ppl.. and I was kidding with that one guy about his website when you banned me..
<9> myconid I cannot count how many times you've been banned over the last month, and I really dont even want to bother counting.
<10> twice.
<9> far more than twice
<10> ive been kicked a few times.. once for using 'u' accidentally
<10> but only banned twice..
<9> myconid: Ok, here's the deal... I'll unban it, but if I ever have to ban it again it'll be perm. deal?
<12> is there a way to verify that a file is an image.. kinda like on *nix when you do file image.jpg it will tell you that its an image..
<9> errr getimagesize



<12> thanks
<9> myconid I'm waiting?
<10> Jymmm: Im a contributing member.. I honewstly dont even know why I am banned.. If you want to perm ban me.. thats your accord..
<10> I dont try to tick off ops on purpose..
<11> numist that command wont work in php4
<9> myconid I dont want to hear the bull**** or the excuses, is it a deal or not?
<0> ^ATOMIC^: it's probably in PEAR's Compat lib though
<10> Jymmm: Im not giving you bull****.. I dont purposely piss the ops off.. nor will I in the future.
<0> matter of fact, I guarantee it is
<0> since I have it in front of me
<9> myconid: ****... is it a deal? Yes or no?
<0> ^ATOMIC^: check out http://pear.php.net/package/PHP_Compat/download/1.4.1
<0> lots of good stuff in there
<9> **** it...
<10> Jymmm: yes.
<9> myconid subnet?
<10> can I msg?
<9> if you must
<0> we'll all find out anyway when he removes the ban :P
<10> whatever.. the 63 162 33 one
<10> numist: im aware :P
<0> :)
<9> numist: Now wth am I gonna do with tequilia and a cookie?
<0> sorry... a lime better?
<9> that'll work.
<0> $_COOKIE = array("lime", "lemon");
<10> lime coke and raspberry rum is strangely good..
<0> there, take your pick
<10> numist: .. what would that look like on a client if you sent a cookie like that?
<9> lemon is ok, but totally different flavor mix.
<0> myconid: except for the part where you're drinking flavoured rum
<0> myconid: I'm pretty sure that something would break :P
<0> but this cookie was only for this client :P
<13> hi all
<10> numist: it works fine.. http://vtwireless.com/php/cookie.php
<14> Jymmm, can i have your time to looking at my code? i need some *Optimize* in here, because the whole process takes to long
<9> Ox41464b no promises, url?
<10> require_once('optimize.php');
<0> myconid: cool
<14> [20060310_112216]Processing: 2295.2296.2301.2304.2305.2312.2316.2317.2318.2322.2323.2329.2331.2333.2336.2343.2351.2356.2363.2371.
<14> [20060310_113757]subProcess 20s UID Complete in 941.08 secs
<0> myconid: hah, if only it were that easy :P
<14> Jymmm, hold on... ill prepare .phps file
<0> heh, looks like Ox41464b could use the lil util I'm writing :P
<10> option b is of course eaccelerator
<10> but that rarely shaves over a half second
<0> well, my thing slows down the script by a bit, but it provides some excellent output, so you can spot the inefficiencies yourself
<15> hi
<10> numist: url?
<0> myconid: its sid atm, the final bit isnt done yet
<0> just started it 3 hours ago, as an improvement over a more complicated profiler that only runs on one server I've found :P
<0> renaming all the database functions so I could track queries turned into a bad idea :P
<16> what is the significance of {$var} vs $var ?
<10> Kaitlyn: $this[1] = "hello";
<10> echo "$this[1][]"; will return an error.
<10> echo "{$this[1]}[]"; will print "hello[]"
<10> also lets you access arrays in here(doc?) .. and such
<16> oh... i see
<16> i ***ume there is a php page for this
<10> just seperates out the variable.. there are times you need it.
<16> do u know where it is?
<10> probably operators page
<16> okay
<16> thanks
<0> woo, the part that binds into a running program works great :D
<17> i prefer to just concatenate. it's much clearer in code.
<14> Jymmm, The Process flow is like this: grab 1 id from MSSQLDB, get 10 BLOB Data from 2 Database, Extract the BLOB into Rows and Finally Insert it into MSSQLDB
<17> "{$var}" looks messy
<10> rdwPHP: its needed sometimes
<10> like in heredoc's
<0> {$var} *is* messy :P
<9> Ox41464b: what is '2 database' ? 2nd database? two databases? Just tell me in plain english what it's doing and what it's not.


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

qmail qeue
slackware megaraid_sas
#perl
YUI Fonts CSS *font css error
cyrus sasl ldapdb debian
ubuntu fglrx drirc
kemurii
downgrade apt-get ubuntu mesa
#perl
#perl



Home  |  disclaimer  |  contact  |  submit quotes