IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.57 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-05-11
Pages: < Prev
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
35
36
37
38
39
40
41
42
43
44
45
46
47
Next >
[18:55]<||aw>dlon9: the date() function is going to be exec'd first, order of precedence
[18:56]<mfjgn>oh :p
[18:56]<mfjgn>thx then
[18:56]<||aw>dlon9: see preg_callback
[18:56]<||aw>er, preg_replace_callback
[18:57]<gyrcjrgn>Anyone familar with setDBConnParms();? I can't find any information on it.
[18:58]<sgzdgdvd>Is there something like is_utf8 ?
[18:58]<mfjgn>oh thx :)
[18:58]<zdzxzzmfdgzx>NickJane: How about a pointer to what software you are using, as it's not even listed at http://php.net which makes me wonder if you're trying to use an undocumented internal function, which makes me think maybe you shouldn't...
[19:00]<luzgpusyjg>anyone know how to navigate the mysql site?
[19:00]<cs>use hyperlinks
[19:00]<luzgpusyjg>not finding that BETWEEN function anywhere
[19:00]<luzgpusyjg>there's no search feature either
[19:00]<cs>go to developers
[19:00]<luzgpusyjg>I'm there
[19:00]<zdzxzzmfdgzx>purefusion: A) It's not a function, it's part of the syntax. B) there is a search function. I use it a lot.
[19:01]<sgzdgdvd>purefusion, there's a search feature on their site but it SUCKS use google like this: between site:mysql.com
[19:01]<gfvggmzrcg>go to developers, the manual, get the index page for it and hit ctrl + f
[19:01]<luzgpusyjg>Serinity, thx
[19:01]<sgzdgdvd>yw
[19:01]<zdzxzzmfdgzx>purefusion: Yeah, you DO need to drill down into the manual and version before using search engine, or it sucks.
[19:01]<luzgpusyjg>ah
[19:02]<luzgpusyjg>why can't it be simple, like php's??
[19:02]<luzgpusyjg>lol
[19:02]<zdzxzzmfdgzx>purefusion: Because they're DB geeks, not PHP geeks :-)
[19:02]<luzgpusyjg>lol, i see
[19:03]<luzgpusyjg>you'd think they'd be one in the same ;)
[19:03]<||aw>purefusion: between is part of SQL
[19:04]<luzgpusyjg>what chapter might this be located in?
[19:05]<sgzdgdvd>purefusion, i bet with google you find it right away
[19:05]<luzgpusyjg>serinity, nope, just descriptions using the word between in normal english
[19:06]<sgzdgdvd>using site:mysql.com ?
[19:06]<luzgpusyjg>yep
[19:06]<maasaz>hello everyone
[19:06]<sgzdgdvd>hum
[19:06]<sgzdgdvd>allright
[19:06]<luzgpusyjg>oh well
[19:06]<sgzdgdvd>sorry then, for other keywords it works
[19:08]<zdzxzzmfdgzx>purefusion: http://dev.mysql.com/doc/refman/4.1/en/comparison-operators.html
[19:09]<maasaz>anyone know of a php/mysql script for comparing mysql tables and syncing them?
[19:10]<zdzxzzmfdgzx>MACscr: No, but MySQL replication is probably what you SHOULD be using in the first place...
[19:11]<gnjpp_c>Hello.. is there a limit on the number of records a "SELECT * FROM x" will bring back. I have about 600 records, and only get the first 500.
[19:11]<gnjpp_c>I am using php5.1 and mysql btw :)
[19:11]<zdzxzzmfdgzx>Geoff_C: There is no limit. You have no WHERE clause at all? What does SELECT count(*) FROM x say?
[19:12]<gnjpp_c>no where and no limit clause
[19:12]<maasaz>Richardlynch: I am just wanting to use it to look over clients records before i update/sync it in between my accounting db and crm db
[19:13]<zdzxzzmfdgzx>MACscr: And what portions of the 2 dbs should match? Name? [shudder]
[19:13]<luzgpusyjg>richardlynch: thank you! :)
[19:14]<zdzxzzmfdgzx>Geoff_C: SELECT count(*) FROM x
[19:19]<maasaz>Richardlynch: I would need to manually look over the differences, so it wouldnt be anything that was automated. But i only want to live records that have changed
[19:19]<maasaz>since the last sync
[19:20]<zdzxzzmfdgzx>MACscr: I think you're going to have to write it yourself, as it does not sound like something you'll find to fit your needs off the shelf... Least, not to me.
[19:21]<zyns>Is there a binary format I can store data in on the HD? Currenty I use serialize... but I can imagine that loading that data takes parsing time... although fast ofcourse I can imagine it still takes parsing time.
[19:22]<xsffjyv>if ((isset($_GET['submit'])) && empty($_GET['email'])) { <--- this doesnt seem to be going through on .php?email=&submit=Submit&remove=true ... anyone know why?
[19:22]<zdzxzzmfdgzx>ries: I don't think there is any kind of binary dump/load for PHP data.
[19:22]<luzgpusyjg>I don't think the BETWEEN feature is for me after all
[19:24]<zdzxzzmfdgzx>Xsploit: It's possible php.ini has different arg_separator character than &... That's ONE rational explanation.
[19:24]<zyns>richardlynch: I thought so to... would be cool to have though....
[19:24]<xsffjyv>richardlynch no its not that
[19:24]<zdzxzzmfdgzx>ries: Write it and submit a patch. :-)
[19:24]<maasaz>Richardlynch: i was figuring so, but was hoping something existed. i had found a sourceforge project that was supposed to do exactly what i wanted. but their cvs was empty and no published files =(
[19:25]<zdzxzzmfdgzx>Xsploit: How about showing us a working URL, and the PHP source in http://pastebin.com
[19:25]<d0ddrg>are you dumping binary data?
[19:25]<xsffjyv>nah the code is fucking aweful, im trying to edit someone elses code
[19:25]<efvysj>Xsploit, you might try ($_GET['email'] == null), or ($_GET['email'] == '') or something different to see what happens
[19:25]<mzzcz9q>ries: serialize outputs something which isn't exactly text, it's a representation which is not terribly human-readable
[19:25]<xsffjyv>mmkay ill try
[19:26]<d0ddrg>ries: are you dumping binary data?
[19:26]<avww99c>||cw: hmm, its curious, an "echo 'x\n';" will fix the problem... perhaps its a hardware-problem... i will check it..
[19:26]<luzgpusyjg>Does PHP have a between function?
[19:26]<xsffjyv>it isnt being run because of a previous if
[19:27]<cs>purefusion yes
[19:27]<luzgpusyjg>or, could I use something like 25 > x > 2
[19:27]<zdzxzzmfdgzx>purefusion: if (3 <= $x and $x <= 5)
[19:27]<luzgpusyjg>that works too
[19:27]<cs>or write your own between
[19:27]<czzfyssjg>hello\
[19:27]<zyns>m0dman: I want to dump a object.... MarkR42: still it needs to convert data...
[19:28]<luzgpusyjg>I don't think 25 > x > 2 would work, would it?
[19:28]<d0ddrg>use wddx
[19:28]<zdzxzzmfdgzx>purefusion: Try it and find out.
[19:28]<mzzcz9q>ries: PHP's serialize format is as good as a binary format for most purposes. I don't think it's very slow, but it depends.
[19:28]<mzzcz9q>Of course numbers and stuff get converted to ascii, but that's not too bad
[19:29]<luzgpusyjg>wait.. I doubt it would...
[19:29]<efvysj>purefusion: yeah, it would probably try to compare a bool on the 2nd part
[19:29]<luzgpusyjg>I should just go with what I know works already
[19:29]<luzgpusyjg>such as richard's option
[19:29]<luzgpusyjg>with the 'and'
[19:29]<zyns>MarkR42: I understand... still it takes 800us to load a object from HD... I wanted to optimize that
[19:29]<czzfyssjg>please, could someone say me what's the command to catch the url the user wrote before being automaticaly redirected by a proxy??
[19:30]<luzgpusyjg>I'll think it over during lunch.. my brain needs some rest
[19:31]<czzfyssjg>Please, could someone say me what's the command to catch the url the user wrote before being automaticaly redirected by a proxy??
[19:31]<mzkguggz>hi, I am looking for a document management system(preferably a php project) that users can upload and manage their files(give and remove access to other users) on the web server. thanks
[19:34]<zyns>MarkR42: can I create an object using new in a shared memory block?
[19:36]<||aw>MrKeuner: try freshmeat
[19:36]<zdzxzzmfdgzx>karlisson: If it's not in phpinfo() it probably isn't provided by Apache, and you would have to patch Apache to get it.
[19:36]<mzzcz9q>ries: I don't think you can share a reference to an object in PHP, as its architecture doesn't support that sort of thing. You can use shared memory by various means, so you can serialise something into / out of shared memory, but it may be a bit of a locking nightmare
[19:36]<zdzxzzmfdgzx>ries: I do not think so.
[19:36]<||aw>ries: I don't think you can store objects directly in shm
[19:37]<mzzcz9q>I don't know how you're measuring this 800 microseconds, but I assume you're repeatign the operation a lot to take the avg







