| |
| |
| |
|
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> lith: no, really, they do. especialy yahoo and hotmail <1> well im running it in a SQL LIKE statement <0> alecs: it will looks less like spam is the email comes from and address the same domain that the urls are for <2> oh man, i believe you <1> so i would kinda like to keep it and just drop everything after the 06 <2> those bastards! <0> ManiacMac: then #sql or #mysql or something <1> well i just wanted to know how to make php parse out the first 2 dashes <0> ManiacMac: if you want to do date fomating in php, you generaly need to convert to timestamp and then use date() <1> so you would see 2006-06 and the rest of the datetime would be dropped in the variable <0> ManiacMac: treating it as a string is kinda the weird way, but strpos() and substr() will do. or a regex <3> good evening... <1> thanks <0> ManiacMac: it'll be easier to use date() though as you'll have to figure out how to match the pos of the 2nd dash <4> TL_CLD: i don't know this topic <5> hey folks - lookin' for a small simple mysql lib for retrieving mysql data
<4> php.net/mysql :) <5> funny, I've heard that one before :-p <0> TL_CLD: flock() it <0> though then you can't query it :D <4> :) <0> bemson: what's so hard about the examples? <0> bemson: doesn't get any smaller <5> I like wrapper functions <5> if anyone knows of a lib with them - lemme know <0> the only "small simlple" wrapper would be one you write <4> function bemson_mysql_fetch_***oc($result) { return mysql_fetch_***oc($result); } <0> all the premade ones are made to cover all kinds of cases and fall way past the "small simple" mark <6> I guess I should just stay in here lol <3> I'm writing an application which makes use of mod_rewrite (or the apache errorhandling) to provide "permalinks" like the ones which are used in most blog software to provide shorter uris like /foo.html which will be rewritten to something like /index.php?page=foo or similar... The problem is, that when there is a (POST-)form on such a page which will be called through /foo.html and where the form-action is also /foo.html too, the POST data gets ... <3> ... lost. /foo.html (or /index.php?page=foo) is not able to react on the POST-data... any ideas how to solve this? <5> fair enough, but you can let me be the judge of that or keep giving me yo' 'pinions <6> I can't find out how to delete a whole array,I need to delete $_GET or remove everything from it <4> unset <7> Errr, why would you want to do that though? <5> .oO(is google my only friend) <8> why is it that sometimes when you create an array on the fly ina for loop and then return it outside the loop it works and other times it complains of Undefined variable: pending <4> bemson: this channel is not a "I need a script for..." script suggestion box <6> philip: unset ($arrayname) ? <6> ok, I will try it <4> yes <5> thx guys - see you on the flip side <9> Where can I register .fm domainnames ? <4> JaredCE: php behaves randomly on thursdays <9> Enom does not have them :( <4> MatBoy: you want the asp channel for that <9> philip, is it ? Ok :) <8> yeah i support that <4> or it could be your failed logic <6> yay it worked :) <10> i have images stored in BLOBs in a mysql database that i want to display on pages with <img src=".."> how can i do that? <7> Oh gross, heh <11> js_, make it point to a php file that sets the correct content type and output the image content <10> ahh, of course <7> You need a PHP page to return the blob data, and then <img src="img.php"> <10> thank thee <7> But binary data in SQL is gross <4> search google for: header php mysql image <10> it wont be a lot of images <10> only like.. 25 <7> Still, filesystem is better at all that <12> What do you guys recommend for a php page there has to be in multiple languages. XML, gettext or something else? <7> But whatever <4> filesystems are made for files, this is true :) <7> gettext, maybe run through a template engine <10> alindeman: i read that i will get less overhead when storing it in mysql <7> I doubt it <7> There used to be an informative factoid about it, but I don't remember the name <13> philip: is that a joke? <13> oops <13> sorry <14> what would be faster and wiser: I got a table with all stats about entry's. Each entry has a date. I want to know how many visits there where in a week, a month, a year and so on. Would you A. make each time a query to the database. B. one query put it all in an array and arange the data you from the array <15> andrew! <15> ltns <7> Yah! <7> Skool <15> bleh
<16> now i get:L The sender of this message could not be verified by Sender ID. Learn more about Sender ID. <15> I keep forgetting how young you are <17> Heh. <7> Almost 19, heh <17> I don't have school, but I should be at work right now. <7> But I guess you'll always be equally older <17> alindeman: When's your bday? <7> 11 Aug <15> At the risk of turning into an ASL check, who lives in the bay area? <17> Ahh, coming up then, heh. <7> I'm excitd to be able to smoke in Alabama <15> Rather, I should say: San Francisco Bay Area <15> No doubt there are many bays each with their own area <0> enquest: are displaying all details ot just sunmmaries? <4> the party is in portland oregon <15> philip: Partytown USA <14> summaries, depending on what I need... For example visits this year, month, week, total visits, most visited product etc... <4> we need a fast train between our cities <15> Vancouver<->Tiajuana Bullet <15> With stops in Seattle, Portland, Eureka, San Francisco, Los Angeles, and San Diego <4> let's do it! <18> im trying to install the zend optimizer. when i run the install as root i get: ln: /usr/lib/libc.so.3: Read-only file system ELF interpreter /libexec/ld-elf.so.1 not found Abort trap <18> what does this mean?? <15> Call sinpe, she can start on the south line <13> btw... whoever was talking about mysql query wrappers, unless they are really small, they are generally much slower than just writing your own queries and using mysql_fetch_***oc. Learning about SQL queries is a very good idea. Things like the use of JOIN, MAX, GROUP BY etc can save an enormous amount of execution time. I reduced the main page of my site from an execution time of over 1 second to under 0.2, just by being smarter with the queries <0> enquest: sql group by's, even via severaly queries, is probably much faster than looping to get sums in php <14> ||cw, thanxs I thought so <14> ||cw but was wondering about access time to harddisk, while one fetch will be in the memory and the PHP doing the things <0> but that depens on amount of data <14> ||cw allot of data! <0> enquest: unless it's sqlite or something crappy, the db server will cache the query <0> and especialy, it will cche the indexes <19> So guys, it's impossible for linux to be able to use the skype protocol one-click link properly then ? ... I'll have to use a windows machine to run my web app ? <14> ||cw so that it wont do everything again <0> that's where the speed comes from, stick an index on your date :) <20> I've been translating some javascript to php, and right now the only problem is that a regular expression that I copied and pasted over to php is being too effective <20> I'm taking a normal javascript regex and puting it into preg_match_all, which is a perl-compatable regular expression match function <20> err.. 9copy & pasting from #havascript) <20> err <0> finger: you'd have to ask skype. firefox supported protocol handles where it will p*** off the protocol to an 3rd part app <20> http://pastebin.com/710885 <-- that's the regex <0> k4st: preg_match is mostly perl compatable, but not 100% <19> ||cw: someone told me that the linux dbus can't handle IPC in that manner, and so linux won't work ... <20> ||cw, the problem is that I'm plugging a javascript regular expression as a pcre one <20> and something is being misinterpreted <20> because it's matching too much :P <0> finger: dbus and ipc are just implemtation choices, they are not required in this type of feature <0> k4st: so change you regex. <0> k4st: try a regex coach program <20> it's not actually my regex, and I don't understand all of it.. I've just been translating js to php :/ <20> I will google for one :D <19> ||cw: IPC isn't required between /usr/bin/firefox and /usr/bin/skype ? <21> k4st: The Regex Coah is good... or Expresso <21> coach* <0> finger: IPC is name for a way to doing thing, it isn't a specific thing <19> ||cw: ok thanks ... I guess I'm out of luck either way ... :-( <0> finger: so you asked skype? <0> specificaly... <22> hi <19> ||cw: I asked on their forums, and someone told me to forget about it ... it's not going to happen on a linux system ... :-( <23> hi <20> damnit, I'm on a mac :P <23> i was wondering, what's the best way to store checkbox information from a form in the database? <24> hey all <24> Is this possible to identify two different computers using the same IP <21> k4st: no bootcamp? <25> hi, im working with xml+xslt transformation on php 4.4.2 linux. Im using xslt_process and when im p***ing filepaths everything is working well, but I must work with strings, tried xslt_proc($proc, $xml, $xsl) where $xml and $xsl are strings containing xml data, but im getting an error... <20> I have bootcamp, but I don't really want to install windows/linux just for this <23> has anyone got an efficient way of storing checkbox info in the database? <15> int(1) <8> _DunK_: create a matrix
Return to
#php or Go to some related
logs:
grounds for dissmissal gentoo no supported sound cards found ubuntu dapper amd64 libstdc++2.10-glibc2.2 #ubuntu #php alin means
driver toshiba e161 skymouse bittorrent #kde #kde
|
|