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



Comments:

<0> Yes, if you return something, to keep it you must ***ign it somewhere.
<1> so $var1 = $cl***var->functionname ?
<2> i need a regex wiz, to enlighten me: '@(\[([a-zA-Z0-9_][^(\|)]*)(\|[^(\|)]+)\])([^(\\1)]*)(/\\1)@' I want to match something like this: [one]two[/one] or [one|two|three:"X"]Four[/one]
<1> How neccessary is it to check user input? I don't understand why I've heard about this so much but I'm not sure when I need to do it
<1> And if so, how?
<3> http://www.securiteam.com/securityreviews/5DP0N1P76E.html
<4> how can I collect data from http://radio.orbno.com:8060/7.html, I want to create a varialbe for each thing between the cammas
<5> hi
<5> I need a simple index page in php
<4> quintin, what do you mean?
<2> good
<2> surfdue: quintin wants index.php
<4> what do you want it to do? lol..
<2> quintin: open up notepad and click File->Save as.. then type in index.php and change the filetype to (.*) (All)
<4> oh.. :P
<2> oh, and then click Save



<4> wykis_, would you be able to help me?
<2> on what?
<4> wykis_, "how can I collect data from http://radio.orbno.com:8060/7.html, I want to create a varialbe for each thing between the cammas"
<5> in bash is for i in *.jpg ; do echo -e "<img src=$i>" >>index.html ; done
<1> holy crap, RogueJedi, thakns
<2> ICY 404 Resource Not Found icy-notice1:
<3> Tarantulafudge: You're welcome. Cleaning input is very important.
<4> huh dont let the , get into the end :|
<4> lol
<1> RogueJedi: man I'm such a nub, lol
<4> " http://radio.orbno.com:8060/7.html " :P
<2> ok
<2> not found, surfdue
<4> what?
<4> lol works here?
<5> see what I nmean? for each jpg file I need it to print that to index... :) anyone tell me how to do that? I haven't used php for awhile
<2> ICY 404 Resource Not Found icy-notice1:"
<2> eh ups..
<6> is there a way to have the gd library not use anti aliasing and make the font pixelated?
<2> quintin: http://php.net/readdir and http://php.net/fwrite
<5> surfdue: would you know how to do that?
<7> If I have repeated values that have been key indexed in an array that was set within a foreach() ... is there any sort of function to remove the duplicate values from the array?
<4> quintin, if I did I would help sorry :P
<5> wykis_: I'll look and see if I put together. thanks :D
<2> quintin: it is very simple
<2> oh, an easier way, i recalled
<5> wykis_: I hate programming :P that's why I play poker for living now instead of IT
<2> ;]]
<2> $list=glob("*.jpg");$h=fopen("index.html","a");foreach($list as $i => $v) {$t="<img src=\"{$v}\" alt=\"\">\n";fwrite($h,$t);}fclose($h);
<5> wykis_: that will work as index.php? I want index dynamically loaded whenever page is viewed. that looks like i twrites to file each time executed?
<4> so wykis_ did you get it?
<2> hm
<5> the directory is jpgs captured from webcam for security purposes.
<2> allright
<2> do a simple cache then
<5> if you wanna see what my laptop is doing... http://cyanite.org/~quintin/security/ :D
<2> $list=glob("*.jpg");if ( filemtime("list.html") < (time()+60)) { $h=fopen("list.html","a");foreach($list as $i => $v) {$t="<img src=\"{$v}\" alt=\"\">\n";fwrite($h,$t);}fclose($h); } echo file_get_contents("list.html");
<2> that caches for 60 seconds
<7> Any ideas anyone?
<8> I keep getting the error "Can't connect to local MySQL server through socket '/var/www/var/run/mysql/mysql.sock' (2)", the socket exists and I able to logon to the mysql server locally with the p***word/username supplied
<8> Any guess as to why I can't connect?
<2> Capso: http://php.net/array_remove_duplicates or soemthing like that
<5> wykis_: what about looking in directory every time index is loaded?
<9> wykis_: array_unique(), perhaps? That function doesn't exist.
<2> DShadow: maybe
<2> i don't recall
<10> hello
<2> Capso: yes, DShadow is right: array_unique() :|
<2> hi PerL_MonK
<7> Alright.
<7> Wykis_ and DShadow: Thanks.
<11> this is pretty cool
<11> where did you find this?
<12> jhsmartie: yup channel for anything.
<10> does anyone have an idea, if if ($var === "\x4D") will be converted to if ($var === "M") and then compared or it'll be faster ?
<7> DShadow: How would I then reset the index of the array?
<10> like PHP will notice it's hex and convert $var to hex and make some binary operation on it
<11> how do you find channels
<2> Capso: array_values()



<13> http://hashphp.org/pastebin?pid=6676
<7> Wykis_: Ah, neat. Thanks.
<14> Hello
<5> wykis_: that seems to kind of work... all image links are broken though !
<5> wykis_: http://cyanite.org/~quintin/security/
<2> quintin: maybe the files don't exist..
<5> wykis_: of course they exist!
<5> -rw-r--r-- 1 quintin users 12K 2006-05-13 20:08 webcampic_1405470513.jpg
<2> does /~quintin/security/webcampic_1242040513.jpg exist?
<14> The requested URL /~quintin/security/webcampic_1242280513.jpg was not found on this server.
<2> http://cyanite.org/~quintin/security/webcampic_1242040513.jpg
<5> http://cyanite.org/~quintin/security/webcampic_1405470513.jpg
<5> it's some funny guy reading a book
<5> and no doubut eying my laptop! =)
<2> wow strange
<2> quintin: you at least need quotes in <img src="">
<5> wykis_: they're not needed, it'll just render in quirks mode. It seems the images referenced in the index don't actually exist (?)
<2> yep
<2> weird
<2> what is in your glob(); ?
<5> hell if I know. put printf("$list); at end
<2> :][
<2> quintin: are you using glob() or opendir/readdir ?
<5> and it didn't print anything
<2> quintin: $list is an array. use print_r($list); to print it
<5> wykis_: http://cyanite.org/~quintin/security/index.phps
<15> quintin - I've just saved a couple of images quoted the src="" on one and left the others unquoted. and added <html><body> tags - it now works on my machine
<16> is there an easy way to return a string with the last two letters chopped off
<15> at least, the "" quoted img works ;)
<15> evil - check out substr
<17> and strlen
<18> ?
<18> <afsafsafa> i
<18> whoops my fault
<4> hey guys i need to take this file http://72.232.27.132:8060/7.html and turn everything between the ,'s into a varialbe how?
<19> http://pastebin.com/715661 are there any easier ways to do this
<5> wykis_: huhm
<13> does limiting bandwidth with fread($file,packetsize) and sleep(1); consume alot of resorces when say, 50 users are downloading at the same time?
<4> i currently have this code it dosnt output anything though http://pastebin.com/715668
<5> lizards_online: uhm... what? the images don't eist as referencded in in index
<2> hm
<2> sorry
<2> quintin
<5> wykis_: wykis. someone will steal my laptop if we don't get this owrkin !
<2> quintin: it works for me ;]
<5> wykis_: on my server?
<20> hi all. i'm building a php ext, trying to get a static lib compiled in but PHP_LIBRARY_ADD does not seem to pick it up from the config.m4. Anyone have experience with this and a spare 2 cents?
<2> i improved it a bit :|
<15> quintin - I copied your page, copied a couple of your images, added the <html><body> tags and quoted one <img src="whatver.jpg"> and left the others unquoted, the quoted one worked, that's what I'm saying - it's an html problem
<5> wykis_: uhm.. pastebin? :)
<2> somethign is working strangely here :\
<5> lizards_online: I copy the names in the index.php and then paste and those files don't eixst it seems
<5> lizards_online: that really makes no sense since browser would just use quirks mode.
<15> quintin - I'm telling you to "" quote them and add <html><body> tags - if it worked for me it will work for you ;)
<5> lizards_online: uhm, no it won't. the references in the index are to files that don't exisit.
<5> lizards_online: you changed something
<2> quintin: http://rafb.net/paste/results/drH1Df65.html
<15> quintin - the files on your server DO existed - I clicked them, that's how I saved them
<21> So. I'm setting up PHP for Windows under lighttpd (as cgi, not fastcgi). My scripts seem to begin output in the middle of the HTTP headers, and can't detect query strings. Toughts?
<21> *Thoughts
<15> quitin - QUOTE the poxy <img>g and build the page correctly
<5> lizards_online: yes files exist, not files referenced in current index page though.
<2> Fennec: what lighttpd version are you trying to use with which php version?
<21> one moment
<15> quintin - you're patently retarded - I'm telling you how to fix it and you keep prattling on about some **** - it's an HTML problem I've proved that to myself - but you won't believe me. Suit yourself - keep struggling
<5> lizards_online: what are you saying to change just adding quotes won't fix it.
<21> php 5.1.4
<2> Fennec: can you use telnet to paste the exact output?
<5> lizards_online: Idon't seeany reason to act like a child. that's foolish and immature.
<2> Fennec: also, #lighttpd may help with configuration, if you have done it wrong. IIRC lighttpd works better with fcgi
<5> lizards_online: The files referenced in teh HTML as it is now DO NOT EXIST. thererfore, quoting the img tags won't change anything.
<21> #lighttpd is awfully quiet :)
<15> quintin - calling you retarded is immature ? more like factual :p
<22> case insensitive in_array?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#web
dsl-n mount usb
#perl
Can't modify constant item in scalar assignment Pearl
foreach post variable php addslashes
#perl
#oe
w3schools and gmtime
proview xorg.conf
border-size-bottom: 1px;



Home  |  disclaimer  |  contact  |  submit quotes