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



Comments:

<0> you need list your images
<1> aidan: Dork :)
<2> i'm so glad we have fast 'net in this network
<3> :( :P
<0> or not, if you php is work
<4> MetaMorfoziS - ah, so I cant just point at a directory and say "Go through them all number by number"?
<2> Riggzy: you can, and you'd take a timestamp and modify it and use that for the image names
<5> hi! Anyone here that is good at mysql? (#mysql is sleeping...)
<2> mm2000_laptop: we dont like #mysql-worthy talk
<0> function foo() { document.getElementById('yourimage's id').src = document.getElementById('yourimage's id').src; setTimeout("foo();",10000); }
<0> i don't tested it, if it isn't work try use the <img name='blaa'> and replace the document.getelement... with blaa.src <-- it's work
<4> itrebal: hmm, but that would require an image for every 10 seconds of the day heh
<5> itrebal: what do you mean?
<2> back in a few, someone else can cover for me
<4> MetaMorfoziS: I need the output as just the JPG data, with an image/jpeg mime type etc
<6> what functions that strips from char 0 to char 12 of a string?



<6> substr
<6> thanks.
<1> um, you're welcome.
<1> =P
<0> Riggzy: if your php is work, so all refresh sends other image, you only need to refresh the img's src
<0> not?
<4> If my php is work?
<0> yes
<4> Whaddaya mean by that?
<0> http://www.swcity.net/tv/index.php
<0> this sends out other image, not?
<4> yeah, it displays the contents of an image... I'm just wonering how it changes it every 10 seconds
<7> Riggzy: "English is not my native language and I am still trying to help you." It means that.
<4> Yeah, thanks for helping btw MetaMrfoziS
<0> okay
<0> i'm not english
<0> :)
<8> my new niece is too adorable
<4> I was sent a script, apparentley one that is or was used for that site
<4> and all it did was divide the time() variable
<4> or something to that effect, I'll see if i can find it
<0> sent?
<0> is you speak for me?
<4> A ffriend found it on a message board
<0> i'm able to miss translate so please be patient:)
<0> Riggzy: the function that i wrote^^ is use setTimeout
<0> that do the first params the secondparam far:D
<0> so my function is calls selves
<4> Yes, that would work *if* I was placing it into a HTML document at the end
<0> and if you call it once
<0> from the body onload or sg
<0> and you hasn't got html?
<4> But unfortunately it has to be outputted as a JPG, as it's being placed into a "3D world" program that only accepts plain JPGs
<9> has anyone ever looked at 'mysqli_master_query'? It seems to crash both CLI and the apache module on win32. Does it even work on *nix?
<0> Riggzy: if your headers correct in the php, the 3d world program accepts it.
<0> (i think about content-length , content-type, name other...)
<4> MetaMorfoziS: if it's no bother, could you write an example so I can see where you're going with this?
<0> i spoke about html, if you use an 3d program, it not works
<4> Oh OK
<0> and in that case i hasn't got any other idea.
<4> No worries ^^ thanks for the help
<0> nm
<2> piera: oh yae?
<10> hi, i'm using php for the first time, what i'd like to achieve is decoding the base64 authorisation string sent when a WWW-Authenticate: NTLM challenge is sent to the client, so far I have <?php header('WWW-Authenticate: NTLM'); ?> can anyone give me any suggestions?
<11> I have a form that as part of it a user might upload a file (amongst entering some other text values too). How can I check if the user uploaded a file with the submission of the form or not?
<0> $_HTTP_POST_FILES['yourfilename']['name'] !=""
<0> :)
<11> MetaMorfoziS, that simple uh? Thank you :-)
<2> uhh no
<2> thats wrong
<0> or with the form? in the html?
<11> itrebal, is $_HTTP_POST_FILES['yourfilename']['name'] !="" the wrong check??
<0> eleftherios: you may define the form's enctype for the upload
<0> itrebal: why wrong?
<8> itrebal: yeah
<2> $_FILES is hte correct variable to use
<0> itrebal: try it, it works.
<11> MetaMorfoziS, I have defined it as enctype="multipart/form-data"
<2> and $_FILES will only exist if they tried to upload a file, i do beleive
<0> eleftherios: okay
<11> itrebal, why is $_FILES the right one to use?



<2> eleftherios: $_HTTP_POST_FILES is an old variable from...i dont remember which version, and you should use $_FILES now
<0> eleftherios: you has a lot of field of "file" not?
<0> not only one?
<11> MetaMorfoziS, oh yes, the PHP manual suggest $_FILES
<0> okay you use what you want
<11> MetaMorfoziS, no, just one, the rest are text inputs
<0> but all works.
<0> $_FILES and ^^
<2> and if(isset($_FILES['formelementname'])) will check to see if its been uploaded
<11> I will use files as is the newer :-)
<11> itrebal, thanks for pointing this out too
<2> yup
<11> MetaMorfoziS, thank you once more
<0> :) nm
<2> piera: good, as expected?
<8> very good
<8> this is what im getting my niece
<8> http://www.cafepress.com/lilgeekshop.38382526
<2> uh oh
<2> haha
<2> is she going to be a geek?
<2> piera's thinking "oh she will if i have anything to do about it..."
<8> itrebal: for sure she will be! She will be typing 80wpm by the time she's 1
<2> heh
<2> i could type at 120wpm by the time i was 1, if i was allowed to bang for an entire minute :)
<8> i think when i have kids they will have big feet cause i take a size 8 and my fiance takes a size 15
<2> heh
<2> nothing wrong with that
<8> 15 is big hehehe
<8> still debating how the heck gonna find him shoes for the wedding
<12> piera: i guess you are bigfoot
<2> hehe, i've got size 15
<13> shouldn't be too hard
<10> how can i print the ntlm username after i've sent a ntlm challenge?
<10> $_SERVER['REMOTE_USER'] is not set..
<2> jeffz: i think it should be stored in the $_SERVER variable, try dumping it
<8> i think i should clean my room
<11> no matter what check I specify to detect if a file was indeed uploaded (for example using if(isset($_FILES['img']))) the code branches inside as if a file was indeed uploaded althoug it is not :-(
<11> hm, sorted
<11> no I get permission deniad errors for the copying of the file from a temp directory to the permanent
<0> eleftherios: you need to set it
<0> 0777
<0> to that directory
<0> in krusader right click -> preferences -> permissions ...
<0> or sorry, in total commander click on the folder and go to the file menu and permissions
<11> MetaMorfoziS, I'll use it straight on the command line with chmod -r 0777 dirname/
<14> if i use some text from wikipedia, do i *have* to make a reference to it?
<11> MetaMorfoziS, thnak you :-)
<0> yes
<0> you can someways set it.)
<11> lra_, it would be the right thing to do but I am not sure you are required to
<0> nm again:)
<14> it would be 'morally' right, i'm just wondering as it's open source kinda
<15> isn't stuff on wikipedia released under the GFDL?
<14> gfdl
<15> or is it CC...
<14> i was thinking ahh - All text is available under the terms of the GNU Free Documentation License
<10> hmmm, ok, i've told my browser to authenticate using ntlm using the header function, i did a phpinfo right afterwards to see if there was a $_SERVER variable being set with the ntlm info, but there isn't, however it does show under HTTP Headers Information that the Authorization string is there
<10> how do I access it?
<14> very confusing: You may copy and distribute the Document in any medium, either commercially or noncommercially, provided that this License, the copyright notices, and the license notice saying this License applies to the Document are reproduced in all copies, and that you add no other conditions whatsoever to those of this License
<10> lra_, reads simple to me.
<14> so is that a plain simple "include this license"?
<10> include it and the copyright notices and add no other conditions whatsoever.
<14> i guess, if i change it though, write my own, google will rank me higher
<14> because it likes uniqueness
<10> can anyone help me with my ntlm problem?
<16> sure whats hte problem?
<8> no
<16> the*
<10> surfdue: i'm using the header function to tell the client authorization is required, i'd like to access the ntlm string it sends
<16> oh sorry mate, im not use to using headers ;)
<10> i've done a phpinfo(); after my the header function and there is no $_SERVER variable set with the ntlm details


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#dns
#math
portage unmerge options configfiles
bbc.com np
uninstall apache debian
#suse
#linux
xorg.conf mplayer depth nvidia 440
my fluid solver
ubuntu reconfig ethernet controller



Home  |  disclaimer  |  contact  |  submit quotes