| |
| |
| |
|
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
Comments:
<0> TML: That the fileinfo extension uses the same library as file(1)? <1> One could make a C compiler in PHP <1> phpGCC <2> joh: That *apache* uses the same library as file(1) <3> roadsend is a compiler for PHP .. the concept is laughable though <4> http://www.swiftmap.com hows that look? <1> Artnez: whyso <0> TML: Ok, I meant that fileinfo uses the same library as file(1)... libmagic <2> joh: But, coincidentally, fileinfo does too. <3> Myconid: standalone apps written in PHP? come on... <3> thats like building a car with play-do <3> h <1> Artnez: wow! thats ingenious <1> wow.. yahoo maps kicks *** <1> ah.. but its all flash <4> it is myc
<0> TML: Yeah, but libmagic doesn't recognize openoffice documents, but apache does. <5> wierd getting a Invalid command 'AddModule' when I try to add do AddModule mod_php5.c <3> if someone comes up with a way to let search engines easily index flash documents -- flash is the wave of the future <3> i'm serious about that, btw <4> artnez, im with ya <1> DavidB`: whered u get all the businesses? <3> i spent a few months playing with actionscript and the results are ASTOUNDING <4> pull it from yahoo local <3> you can create fully featured 3d engines with flash <6> php's mail() is sending mail as apache.. any fix? <1> DavidB`: its cute.. whats the point <0> TML: You talking about apaches mod_mime_magic? :) <7> Question: why can't I do this? --> $foo = "c:\"; ? <8> Artnez: well, what about ming, doesn't is compile flash docs...? and flasm decompiles flash docs... so if metadata and text is actually coded rather than just stamped into a bitmap... googlebot probably already does some of that. <2> Yes. <4> myc, dont know really.. probably just resell it? <0> Scatha: You have to escape the \ <2> joh: You mean file(1)/fileinfo recognizes your openoffice documents as Zip files instead of open office documents? <7> i have to place the \, what should I do? <0> TML: Exactly <3> Chicago: true, but doesnt google base much if its results on site linkage? ie: my site links to yours so your site goes up in rank <3> Chicago: I hear meta data isn't a search engine's #1 resource <4> Myconid it look good? <6> php's mail() is sending mail as apache.. any fix? <2> joh: Apache isn't doing any MIME detection on them or it would *also* resolve them to be Zip files. Because, guess what, they *ARE* Zip files. <0> TML: It seems they indeed *are* Zip files, so it's correct :P <8> Artnez: I agree with you, but before google can interpret page rankings it has to ***emble a collection of information... <2> joh: Apache is sending the correct MIME type because it doesn't do any MIME detection, it simply looks the file extension up in /etc/mime.types <0> TML: Well, when downloading the file directly from apache, it's detected as an OpenOffice document. Doesn't apache determine the mime-type and send a Content-Type header to the browser? <0> TML: Oh, the file extension :p <3> Chicago: you're right <3> I'd love to see flash really take off <8> Artnez: did you try ming or flasm yet? <0> TML: You're right. <3> Chicago: no, never played with it <3> the thing i love MOST about flash is the fact that it's a plugin <2> Anything that does detection on the file will say Zip. <3> no more worrying about browser standards <4> whens new ie come out <3> beyond actually embedding the flash SWF file, you're good to go <2> DavidB`: Whenever Vista does <0> TML: Maybe I should just stick to apaches approach... <8> Artnez: I last heard 99% of all browsers can interpret flash. <4> damnit <4> thats a while no <3> not to mention, it's very easy to conceal your source code. yes, you can decompile an SWF but there are plenty of encryption methods out there that work great <3> its a win win <3> so while all those shmucks are worrying about getting CSS to work right in IE, Opera and Safari ... everyone could have saved a boat load of time and just worked on getting flash into the real mainstream <8> Artnez: can you point me to a easy tutorial for making a swf form... very simple tutorial, including where to click to do each step? I have the php down, and can send to mysql database... but I don't know flash at all. <1> david: did you write that all yourself? <4> Myconid yea <3> Chicago: have you ever messed with Javascriupt at all? <9> i hate flash sites <9> hate <4> i copied a few java lines <1> ditto. <9> cant use the damn back button <10> Tortel: ++ <1> DavidB`: lol <1> DavidB`: can I make one suggestion? <2> A growing number of users disable Flash
<4> absolutely <8> Artnez: not really... is it easier for me to make a javascript form? <1> DavidB`: personally, on 'production' sites.. i dont liek seeing file extensions.. or even files really.. <2> It's actually estimated to be down to 93% rather than the old 99% they used to give <3> Chicago: no, check this out <3> http://www.actionscript.org/tutorials.shtml <1> DavidB`: I would prefer swiftmap.com/search/searchfield <4> modrewrite is possible <3> for a form tutorial, go here http://www.actionscript.org/tutorials/intermediate/php_send_mail/index.shtml <4> i just made it <4> havnt really thought much into it <1> yea yea.. i know .. its sweet.. just my minor tidbit :) <4> ill do it now :) <3> great tutorials are also located here: http://www.kirupa.com/ <3> and the Flash GUI has all the references to the language itself (much like PHP's manual) <8> Artnez: googling got me to kirupa's site before. <3> blah.. GUI.. lol.. I meant IDE <3> Chicago.. and here is the single most important thing I have ever used...... <11> how do I capture everything after the dot in this string for example? google.co.uk (everytuing from the first dot, the tld) <3> http://hosted.zeh.com.br/mctween/index.html <3> its a tween extension .. amazing .. truly is <3> it allows you to do easing animations very easily <3> and they look beautiful <10> isnt there a #flash or a #macromedia somewhere around here (on freenode) ? <0> TML: You don't know if there's any standard database containing a descriptive text for each mime-type? i.e. application/vnd.oasis.opendocument.text -> OpenOffice Text Document <3> Meltir: yea, how did you guess? <1> DavidB`: is swiftblue you? <2> joh: I've never heard of such a thing, no. <8> Meltir: #flash is dead. <12> wasn't macromedia bought by adobe anyways? <0> TML: Ok, thanks. <1> lietu: yes <10> Artnez: it was a blind shot - what being on a ##php channel and listening to #flash conversations :/ <12> thought so <8> Meltir: Artnez: I did register a #flashphp channel though. <3> Meltir: yea, what a world we have these days. Terrorism, m*** media... now this <10> hehe <0> TML: I guess it's not a good idea to parse /etc/mime.types for every file either... <2> joh: *shrug* I can't think of a reason you'd *want* to. <0> TML: Well, I'm writing this file browser, and I need to somehow determine the file type of every file to display small nifty icons next to them :P <1> joh: whats wrong with just relying on file extensions <13> could a foreach go inside of an if() ? <13> need to check if the file matches any of the items inside an array <0> Myconid: I have to parse /etc/mime.types, and some descriptive text doesn't actually hurt... <0> *I would have <3> stedios: um.. yea <3> if( condition ) { foreach( .... <0> I guess I could parse /etc/mime.types and dump them into a database... <10> joh: read mime.types once, get it in an array, write a file containing var_export($array,1). include it whenever needed. <10> faster then a db, and already formatted the way you want it. <0> Meltir: Hmm, clever :) <10> stedios: php.net/in_array <0> Meltir: I doubt it's faster than a DB though. <10> joh: connect, query, read results, format, use -> read file, use. :) <13> Meltir: thank you <0> Meltir: That doesn't mean it's any faster ;) <10> joh: it byp***es the need for a database. a couple of steps less with the same result. how do you see it being slower ? :) <4> Myconid all set :) <10> a db is good for _dynamic_ results. i would hardly find filetypes and such to be dynamic. <0> Meltir: I'm already using a database, so that's no problem. How it's slower? Using a database, I don't have to load the *full* file every time I need *one* mime-type. <0> Meltir: A DB has some clever indexing for that, AFAIK. <13> how can i grab the extention off of a file name? <13> i have my own way, but there has to be a function for it already ;0 ? <10> joh: yes, but you still query it. no matter how clever - the indexing doesnt get rid of that. imagine a high load when every query begins to matter - with this method the results are basicly cached in that file. <13> my way would be to explode by '.' and grab last array entry, but sounds likea alota work for a simple thing <14> $s = $s.explode(".")[sizeof($s)-1]; isn't a lot of work... Codewise, anyway. <0> Meltir: Well, my sense of logic tells me that databases are used over plain files for a reason... <13> freeone3000: yea, but there isn't a function for it already? :0 <14> Databases are faster and smaller than an equivilant file... <10> stedios: sometimes files dont have extensions :> <10> joh: yes. but i find this method to be much faster when dealing with complex queries, that give the same results over and over again on high load. but its my experience not the word of god. close, but not quite ;) <0> Meltir: Hehe, ok ;) <15> hiiiiiiiiiiiiiiiiiiii
Return to
#php or Go to some related
logs:
gentoo undefined symbol: PyGILState_Ensure #fedora dapper gdm.conf dpi Switch in Perl FHost is not allowed to connect to this MySQL serverConnection closed by foreig gentoo chrot howto devide string +perl wget mms Unsupported scheme linux mysql migration toolkit errno 150 .frm whats a loogey
|
|