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



Comments:

<0> SunShineLady, that's silly
<1> aca: ya, we do it. I also [re]wrote the upload and download code.
<1> aca: print the header, stream the file.
<2> colder - why is that? what would you do write "htmlspecialchars()" on every output?
<0> SunShineLady, you should save the data as it is, and then decide if you need to change it before an operation.
<3> absentia: to just dump the header and read the file while writing to the response stream?
<4> colder: that sounds odd
<5> Anyone got any tips to create Dynamic Cache?
<6> how can i fix the message "Error CGI" ??
<4> if you do not want to allow, for example, html... why insert html?
<0> err ?
<7> colder: It's much cheaper to strip_tags() before INSERT than do it on every SELECT.
<1> aca: ya.. in your php .. you output the header that you want (ie: no cache, etc) ... and then just spew the flv ... you can stream_copy or you can loop it yourself.
<4> or if you want all numbers, why insert non-numbers?



<1> what do you mean -- dynamic cache?
<4> there must be a misunderstanding somewhere :)
<5> I was thinking, that i write cache cl*** that works only with the dynamic content, the rest is loaded as supposed
<0> philip, Viflux, who talked about strip_tags ?
<1> ?
<5> absentia, the very itself :) caching dynamic content
<1> what dynamic content?
<3> absentia: simple nuff... i thought the flv needed to be embedded in something to be able to play? sorry.. a bit new to flash here.
<0> I'm talking about converting data before saving it.
<4> colder: true
<1> aca: yes, but in your page... you have the flv player
<7> colder: SunShineLady is trying to prevent HTML tags but is doing it the wrong way. I'm hoping if I say strip_tags() enough times, she'll realize that it's the proper way. strip_tags() strip_tags()
<5> absentia, gallup, article lists, forum topics, ...
<1> I think we bought one from some guy in .eu -- was $12 euros
<1> and then you p*** back the url to the php that spews/streams the file
<6> someone can help me to install php in IIS ??
<4> we do not know if she wants to remove, or simply display it as text
<0> Viflux, strip_tags is not the proper way. what about a guy that write : hello I'm so sad :< ..... 200 lines .... now I'm happy :>
<3> absentia: sorry... i meant that i thought the flv needed to live as part of an swf file or something?
<4> rafacesar: consider the manual
<2> Viflux - Im using htmlspecialchars because you might want to show some code but not to corporate it in the page
<1> aca: nope
<5> Lets take example calendar, which obiviously is slow due to fact that PHP's own date related functions are slow, caching the Calendar i can reduce the load a significantyl
<3> absentia: i'll give it a shot, thanks!
<1> ffm_mpeg fvcks sound on conversion from other formats, though.
<6> [philip]: i tried it, but dont work :/
<0> philip, converting it increase the size of the data, doing so before saving it is silly.
<7> SunShineLady: Then you shouldn't have said you want to prevent HTML. You want to encode it, not prevent it.
<1> ciac: yes, I am doing that. but the cache is different on different features
<2> And besides when you see unsuccessful attempts of injecting HTML is makes you feel good :P
<4> colder: converting it on every request sounds inefficient too
<7> colder: I wasn't aware (but I'm not surprised) that the strip_tags() implementation would be stupid enough to strip that.
<5> absentia, not really, the basic prinicble is same, you can retrieve all modify times from dynamic content and use that to wethere recreate parts of page.
<1> when a user "logs in" ... I tag when that occurred.. and then for each faeture cache, I compare the login time - cache time and if that's greater than the cache-config-time for that cache, I regenerate
<3> i was going to use flix for the conversions
<2> Viflux - preventing HTML is also displaying is as text but your right about that I wasn't clear enough.
<1> I don't have experience with flx
<1> ok, back to coding.
<5> absentia, catching all the modify times from the dynamic content is not that easy
<5> First, i'll have to wrap all the blocks of different things in page to object or similiar
<1> c: it is, with my BE
<5> absentia, BE?
<1> back end, sorry.
<5> I'll have to improve mine to be able to create that smoothly
<5> It's causing headache to just think
<1> :-/
<8> hey ;)
<5> absentia, how do you separate the inner blocks? (Dynamic content block that has another block inside) ?
<8> have a script, that doesnt work on my server, but on another it does .. could anybody look at the output und say me whats wrong .. havnt enough knowledge =\
<8> files.foonative.org/upload.php
<8> files.foonative.org/upload.phps
<5> If you don't have enough knowledge, u'd perhaps shouldn't try to install it :-)
<1> well, I only cache on the inner blocks.
<1> (for now)
<5> absentia, innermost?
<8> Ciantic, php works already, but dont this script
<1> well, it's different on each module... some can go futher out
<5> absentia, i'm having hard time to determine the innermost block in my system, since the caching check should be always begin from the innermost
<8> get output like this : bool(false) array(1) { ["userfile"]=> array(5) { ["name"]=> string(4) "reli" ["type"]=> string(0) "" ["tmp_name"]=> string(0) "" ["error"]=> int(6) ["size"]=> int(0) } }
<1> ah. :-/
<8> cant go around with this



<5> absentia, you happen to have somekind of database of the structure of every document?
<1> my stuff is made up of divs, each doing a call .. (ajax ready) ... and the backend is split so the work is split to respond to each div, etc.
<1> no database of the structure, but of the data.
<1> food's ready.. bbiaw
<5> absentia, yea, i know what you mean... I have pretty much same thing here. But to get the caching work only to specific blocks and recreate the page from some places the structure must be known to cache system
<9> Hmm phing seems pretty cool.
<8> bye ;)
<1> cia: oh, I get it.. see, I don't cache the "page" .. I cache the data that makes UP the page.. so, ya, I still have to do like 3 to 10 calls -- but those calls don't have to "generate" the data -- every time...
<1> it's still a *huge* savings.
<1> so, ya, I only really cache at the very front things like huge static files -- but not dynamic pages, etc.
<10> I have a timestamp column in mysql how do i write the current time into it?
<10> timestamp(8)
<5> absentia, so basically you define by hand which blocks to cache
<11> hello, i am trying to search an array filled with data opened from a file with the file command using the array_search function, but it doesnt work. is there anything i should be looking like encoding etc etc that i am missing ?
<12> Why is my square black instead of green? http://www.draughts.info/a/img2.php src: http://www.draughts.info/a/src.php?url=img2.php
<12> sorry, my english is not great. does anyone understand my question?
<5> matthewk, well obiviously yes
<5> matthewk, you don't seem to trust ur english much ;)
<11> hello, i am trying to search an array filled with data opened from a file with the file command using the array_search function, but it doesnt work. is there anything i should be looking like encoding etc etc that i am missing ?
<12> Ciantic, i found the problem thank you
<13> anyone know any wireless keyboards that work with linux
<14> isn't that ##linux question?
<13> yes but ,many php users use linux right :P
<14> Wizz_Kidd13: You're an idiot
<11> ....
<11> :)
<13> Stormchaser: i was asking a good question
<14> True
<13> your the idiot for ebing in here all hours of the day ........everytime i come in here your here i guess its clear #php is your life
<14> Damnit
<15> he beat you to it
<11> anyone some help please ? i am stuck :)
<16> !+g1
<17> Guideline #1) Don't ask to ask, Don't state: "I have a question", Don't ask: "Is anyone around?" or "Can anyone help?". Just Ask The Question
<14> zircu: I said 'dammit because I forgot about the : in the command and it got cut odd
<1> ha
<16> Stormchaser: ****, I JUST cleared the banlist and the dumb*** has to ****up within 24 hours *sigh*
<14> Gah!
<18> i need a FREE host that will support PHP and i can get my site online right away! any ideas?
<14> Jymmm: Sadly so :(
<12> Ciantic, do you have idea for getting x y for green squares of http://draughts.info/img/tn/brd.gif ?
<12> http://draughts.info/a/img2.php shows how i am placing images
<5> matthewk, what do you mean to get x y? But aren't those known?
<5> matthewk, they are the size of the block times the amount of blocks in x and so on...
<12> http://www.draughts.info/a/img2.php , i am need to place the imgs in increments of 20 px
<5> matthewk, yes, and those are the places, so whats the problem?
<12> ok
<18> i need a FREE host that will support PHP and i can get my site online right away! any ideas?
<16> Andy298: http://127.0.0.1/
<5> matthewk, isn't it obivious that the first green block is 0,20 second is 0,60, then 0,120 and so on... y works same but with different x
<19> Andy298 i will host it for free if you know backbase :)
<18> Jymmm: lol
<18> Niacin: what??
<18> lol
<5> oh man we have expert here
<20> I was getting this error from dbase_open() that it couldn't open the .dbf file. Turns out the error was permissions on the file. Have to chmod 666 the file (I suppose 606 would have done it). Not sure why the web host service doesn't add the user php runs under to my user group ><
<19> anyone worked with the backbase ajax framework?
<5> mikere, to make it unsecure ;)
<16> $x_square = ($width / ($num_sqaures * $square_width)) * $sqaure_num;
<20> Ciantic: adding php user to my group makes unsecure?
<5> mikere, no i meant that you'll have to add other 6 or 7
<5> mikere, more like 660
<5> is best
<20> Ciantic: ah - understood. 660 is what I thought would fix it
<5> i don't give other anything more than i need to
<16> oh were talking permissions, nm.
<14> Jymmm: >:)
<5> The unix permission should be rewritten, it's not very practical if you ask me


Name:

Comments:

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






Return to #php
or
Go to some related logs:

kaneelson
prototype effect.toggle speed
y2pmsh
kernel panic -not syncing:fatal exception
#perl
#php
ubuntu root pass
PyShortcut
fc5 aoss
#lgp



Home  |  disclaimer  |  contact  |  submit quotes