@# 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



Comments:

<0> we are on work experience
<0> so i gotta go to work tommorow... like this whole week, in OU, that place is Wicked !
<1> Drakas are you a server a administrator? :-)
<0> its around 3 miles away from me, i take my bike but the land isnt flat and my bike is shabby so i always come back with painful legs
<0> mantukas hm my own - yes
<2> is that a lithuanian joint?
<0> huh kombi ?
<0> nah, i live in UK
<0> OU = Open University
<2> ok... sorry..
<2> oh..
<0> i didnt undertsand what you asked :)
<2> is OU that wicked?
<2> ;)
<0> well, working with the IT team is
<0> but working just in an ordinary offfice would be exhausting



<2> i get the picture..
<2> do they run online exams?
<0> we gotta reinstall stuff, upgrade PCs, write articles etc.
<3> Sounds stressful. :P
<0> kombi they sell you exam papers from last years, but i amnot sure
<0> i dont think so at least
<4> no, programming is stressful...
<3> Stormchaser: True. But, it's fun.
<0> Stormchaser Programming is fun for me :D what is stressful is coming back to delhi after one year
<0> * delphi
<4> ek: Depends on the viewing point
<0> i really was trying to get my head around all rthose issues i used to do, got them right but took soo long :]
<1> Drakas, what organisation/firm?
<1> :-)
<0> mantukas: Open University :] in United Kingdom
<1> You teach lectures there?
<0> ugh i gotta go
<0> whats "lectures"?
<1> see ya later ;)
<1> Nevermind :-)
<0> my mum is back from salsa after two days which i spend php ing :D
<5> hey
<5> silly question perhaps
<5> when i'm writing a function
<5> how do i say that a paramater in the function is optional?
<4> $var='defaultvalue'
<5> so that function( $one, $two ); will work, but function( $one ); won't error?
<5> Stormchaser, hm? whatnow?
<4> !tell macdan about enter
<1> !tell mantukas about enter
<1> :-/
<6> hi. the command used to move a file without renaming is still rename, isn't? or there are other ways (not talking about move_uploaded_file)
<4> yes, it's still rename()... And it was from PHP3...
<6> Stormchaser, thanks :)
<7> For a script which required mysql, it requires my to fill in host, user, p***, port and sock. Anyone know what I should fill in the 'sock' field?
<8> nothing is required
<8> (for sock)
<7> oh, ok
<7> thanks:)
<8> i dontthink, at least... i dont recal
<7> Getting "Database access error" so I thought there was an error with it, couldnt find what to fill in :\
<9> hi.. I'm using header() and trying to set a http status code for the result of an operation for which the user does not have permission. how can I test to be sure this is working as I want using ff? or should I just use telnet?
<9> ok.. looks like telnet was the key.
<10> is there an equivalent of qsort() in php? i want to sort objects, not strings or numbers
<4> qsort?
<11> hey http://pastebin.com/540681
<12> God I love python.
<11> for some reason when submit is clicked it won't update the db
<8> BigE: why?
<10> Stormchaser, quick sort. ill just write it myself. its simple enough
<12> itrebal: Because it's fast, and easy to do stuff in.
<8> ok
<12> I've rewritten my IRC bot in about 200 less lines already.
<8> could i get a copy when your done?
<4> itrebal: There is a repository somewhere, IIRC
<13> does anyone have a regexp laying around that checks if a string is a valid URI (like http://www.filipdewaard.com/archives/46-Podcasting.html)
<13> ?
<12> itrebal: Surely, I'd link you right now, but it's still quite a bit incomplete...
<4> itrebal: Have you already poked Python?
<12> Right now it lacks basic commands and a user base.



<14> Does anyone know how i would install php_tidy in ubuntu? Im using the binary package in synaptic right now.
<15> Ow.
<4> *noone* pokes me
<8> dewaard: theres one on the internet lying arround thats about 6 pages long
<16> BigE: Can you hook it into webservices @ hashphp.org?
<13> itrebal: do you have link? I googled a lot, but I can't find one
<4> evil biggie :)
<4> yo, Davey :)
<12> Davey: With the bot? I'm sure I could figure it out, yeah.
<16> BigE: yeah, seems the best way to hook them up.
<12> It'd take time, cause I'm not familiar with python's HTTP stuff yet.
<8> dewaard: nope
<8> dewaard: but its about 6 pages long, it wont be effective in software
<4> BigE: What are you trying to pull?
<17> Is there way where I can find the number of elements in an array?
<8> count
<13> itrebal: ouch, I thought that was a joke :)
<8> dewaard: nope :)
<12> Stormchaser: No clue yet. :P
<4> heh
<17> Thx
<12> Davey: I'll talk to you more about it once I get the bot completed a bit more.
<8> dewaard: although it will match any URL possible
<4> BigE: is it in your repository?
<18> anyone can tell me where to read more on pear .phpt test files syntax
<19> hey
<13> there must be someone in here who has a URI validation regexp, its one of the most common validation checks I can imagine...
<19> i'm having a problem trying to use fgetcsv, the first field it returns in each line allways has a NUL (0x00) character at the front
<13> I need it, because I'm writing a script that takes input from RSS and I don't want people to be able to put evil stuff in the link
<11> http://pastebin.com/540681 when submit is clicked the db isn't updated?
<12> Stormchaser: Yep.
<12> Stormchaser: Most up to date version isn't though...
<13> I could do a htmlentities and convert the &'s back, though
<13> I guess thats what I'm going to do
<20> Doea anyone know a way to determine if JS is enabled?
<20> Does anyone know a way to determine if JS is enabled?
<17> how can I add two variables together inside a quote?
<20> .
<19> Jymmm, test clientside
<13> $this->link = $this->link = str_replace("&amp;", "&", htmlentities(trim($item->link)));; solves it as well, even though it might be a bit ugly ;)
<19> Jymmm, or better yet, figure out a way to avoid involving the server and make the pages degrade properly
<13> oops, the first $this->link should be removed, of course
<20> aurora No, I need to determine if JS is disabled.
<19> what are you going to do if it is?
<21> Jymmm: on the server-side or the client-side?
<22> I have a select thats name and id is set to ".t_sel", in the $_REQUEST its in as "_t_sel", anyone know why?
<20> I need to let php know if JS is disabled
<19> why?
<20> aurora does it matter?
<19> yes
<20> aurora why?
<21> Jymmm: That's not easy...
<19> because there is probably a better solution
<20> aurora and why is that?
<21> Jymmm: You could make the browser call a PHP script if JS is enabled, and make the script set some session/cookie.
<21> Jymmm: but as aurora points out, there is probably a better solution ;)
<19> Jymmm, because when a browser connects to a web server it doesn't say "Hi! i have javascript!" or "Hi! i dont have any scripting!"
<20> solution to what? I just need to know if it's enabled or not, that's all.
<19> you can only check clientside, then bounce back to the server with the new info
<19> Jymmm, why do you need to know? what do you use this information for?
<20> aurora it doesn't matter.
<19> Jymmm, it does
<20> aurora you are pissing me off
<19> fine
<20> aurora you are not helping, I said what I need, knowing WHY I need it doens't matter one ****ing bit.
<8> Jymmm: what do you need?
<20> itrebal I just need to tell php if javascript is enabled or disabled.


Name:

Comments:

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






Return to #php
or
Go to some related logs:

Dojinx
#centos
#perl
Inconsistent duplicate attributeType
how to enable gd in php5 + ubuntu
gnomebake
php fseek
smp USE flag gentoo
unbuntu grub parameters
Filloy linux



Home  |  disclaimer  |  contact  |  submit quotes