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: 1982.48 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-05-26
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
Next >
[20:40]<sfdffayufauyfdca>will[werk]: php does nearly everything u want to do online ;)
[20:41]<drvvdaa>Except make money.
[20:41]<sfdffayufauyfdca>it can create the tools to do so
[20:41]<xrds>Does PHP support the halting problem?
[20:41]<sgwdkgg>mattmcc: Is this good you think? http://www.capitalone.com/directbanking/mm/index.php?linkid=WWW_Z_Z_Z_SP4FQ_R1_01_T_SP4
[20:42]<rjgrvxrg`>is there an "if" specification (ie: equals, greater than) that is equivalent to "ends with"?
[20:43]<xrds>SexyKen: Before you do anything with your money I suggest you read "The Intelligent Investor" by Benjamin Graham. Get the annotated one if you can.
[20:43]<drvvdaa>SexyKen: Yeah, that's a decent rate.
[20:43]<rgsydrvyjg>jonathan`: ?
[20:43]<fyzxv2zyzznz>Anyone seen kog in a while?
[20:44]<sgwdkgg>jonathan, Are you saying a money market is giving my money away?
[20:44]<rjgrvxrg`>SexyKen, I'm not talking about the market thing at all
[20:44]<sgwdkgg>That's true
[20:44]<sgwdkgg>hays ;-)
[20:44]<rjgrvxrg`>ansimation, like "if $var equals bob" would be if ($var === "bob") is there a code snippet for "if $var ends with ID" or something?
[20:44]<drvvdaa>jonathan`: http://php.net/substr
[20:45]<drvvdaa>lightbringer: Have you tried NickServ?
[20:45]<fyzxv2zyzznz>mattmcc, no, but you're right, I should.
[20:45]<xrds>seeking financial advice on IRC is a Bad Idea (tm). Seeking it in #php is absurd on top of it.
[20:48]<ran_dn>anyone have any idea what this happen ? http://pastebin.com/739729
[20:50]<srgvjg>I have an external function process_card, it returns $approved, How do I echo $approved after the process card os run?
[20:50]<srgvjg>*after the process_card is run
[20:50]<ran_dn>echo processcard()
[20:51]<xrds>SexyKen: Not joking its a great book if you want to understand how to invest.
[20:51]<sgwdkgg>I see.
[20:51]<sgwdkgg>What about a CD -- what's that?
[20:51]<sgwdkgg>An agreement that you cant take any money out for the term?
[20:51]<ran_dn>what book ?
[20:51]<srgvjg>if I just echo $approved , the variable is blank
[20:52]<drvvdaa>SexyKen: There are lots of useful financial info sites, y'know. Fool.com is probably a good starting point.
[20:52]<add2xs>hi, im doing same basic form processing, however some input fields in my form which i have set to "disabled" to prevent them from being modified are not passing the values... any way around this?
[20:53]<ran_dn><saeton> because maybe is blank
[20:54]<add2xs>n/m, i think i need to set it to readonly
[20:54]<drvvdaa>cdmbhs: That's the point of a disabled input.
[20:55]<ran_dn>anyone have any idea why this it happen ? http://pastebin.com/739729
[20:55]<srgvjg>ace_me, but it is not... it returns, 1 or 0, The function has not been touched, it was written by a former employee, I had code that echoed $approved from it, yet I overwrote the displaying page the on accident... the function code is 100% untouched
[20:55]<ran_dn>the classes are persistent in php ? NO ! i guess
[20:56]<cyjvj>what mean persistent, you mean over the http
[20:57]<cdgns>how can I keep the mysql connection when redirecting to a page with Javascript ?
[20:57]<ran_dn>is because I've included php files ? in fact the script work ! delete and save but it look like is it cached ?
[20:58]<zzjzp>hello! i have an array with keys encoded in UTF-8. when i get the value of a key, it won't return the right value. any ideas?
[20:58]<ran_dn>working version is here http://facturi.talente.ro/default.php?table=filme&fieldkey=ID&fieldname=&fieldvalue=&page=2
[20:59]<svzrv>what's the fastest way to select duplicates from a table?
[21:00]<mz-mznw>DISTINCT
[21:00]<mz-mznw>INDISTINCT
[21:00]<svzrv>thanks
[21:00]<mz-mznw>ISTINK
[21:01]<svzrv>da-drew.. INDISTINCT?
[21:01]<drvvdaa>He's a little imbalanced.
[21:02]<rjgrvxrg`>TML, right now the "Array" is beind printed out with $rw1[$rows["ID"][$row["Field"]]] -- is there perhaps a simpler way to write that?
[21:02]<ran_dn>I even used header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
[21:02]<ran_dn>TML can you look a little bit please ?
[21:02]<ran_dn>http://pastebin.com/739729
[21:03]<svzrv>jonathan` echo "<pre>";
[21:03]<svzrv>before the print_r(array)
[21:05]<rjgrvxrg`>each one is Array(FIELD_NAME => FIELD_NAME)
[21:05]<rjgrvxrg`>[FIELD_NAME] => FIELD_NAME, rather
[21:06]<sugsxdgnlrmd>ace_me, whats the problem?
[21:06]<svzrv>jonathan` i'm not following you
[21:06]<rjgrvxrg`>thats what print_r output
[21:07]<svzrv>and you wanna see something nicer? try echo "<pre>"; before the print_r line
[21:07]<rjgrvxrg`>strat, that was with <pre>
[21:07]<ran_dn><SunShineLady everything I change in methoid show is not shown in the browser
[21:07]<ran_dn>look at that 122345235 echo under <form element
[21:08]<rjgrvxrg`>strat: http://pastebin.com/739714 is my code -- I'm trying to basically auto populate the values of rows in the DB into an input box based on variables for table names and field names
[21:09]<sugsxdgnlrmd>ace_me - it will look really stupid if you edit the wrong page please revalidate
[21:10]<zj2ajfn>when i add order by desc to this line it fails. why? $query = "SELECT job_title,posted FROM jobs LIMIT $offset, $rowsPerPage";
[21:11]<rjgrvxrg`>robcole, that's more of a mysql question, but you haven't specified a column name to order by
[21:11]<sugsxdgnlrmd>robcole - ORDER BY field DESC
[21:11]<zj2ajfn>ok got it
[21:11]<ran_dn>what do you mean ? <SunShineLady>
[21:12]<svzrv>sorry, can't help you jonathan`
[21:12]<ran_dn>I've changed the method as : Function dbtemplate_show(){ echo '<div align="center"><center>'; echo '<form name="form0" action="'.$this->dbtemplate_post().'" method="POST">'; die ("1232154234532456234654");
[21:13]<ran_dn>but if you surf http://facturi.talente.ro/default.php?table=filme&fieldkey=ID&fieldname=&fieldvalue=&page=2 you will see the table entirely
[21:13]<sugsxdgnlrmd>ace_me - it sometimes happens that you upload/edit the wrong page, if its the right page try adding some no catch tags
[21:14]<ran_dn>header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
[21:14]<ran_dn>header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
[21:14]<ran_dn>class dbtemplate {
[21:14]<ran_dn>I did that !
[21:14]<ran_dn>in top of the class
[21:15]<ran_dn>could be enough ? and the edited file is that !
[21:16]<svjzdzxzsnz>!+enter
[21:16]<lxl-2jv>Don't use the enter key as punctuation. Think in complete thoughts, then type.
[21:17]<ran_dn><Stormchaser> can you help ? you see that i am much closer
[21:17]<sugsxdgnlrmd>ace_me - try adding those: http://pastebin.com/739777
[21:18]<ran_dn>to class or to the file which is calling class
[21:18]<sugsxdgnlrmd>To the whatever that goes inside your <head></head>
[21:20]<ran_dn>Still the same Lady !
[21:21]<cry_wl>Does anyone understand why this wouldn't work? http://pastebin.com/739783
[21:21]<ran_dn>but delete and save work <SunShineLady>
[21:22]<sugsxdgnlrmd>ace_me _ see them in the source so it shouldn't be chaching
[21:23]<ran_dn>what do you mean ?
[21:23]<sugsxdgnlrmd>The page updated its not brower/server catching
[21:23]<sugsxdgnlrmd>caching
[21:24]<sugsxdgnlrmd>Can you pastebim the full page?
[21:26]<ran_dn>which one ?
[21:27]<sugsxdgnlrmd>The one incharge of the <html> tags for start
[21:27]<sugsxdgnlrmd>kai_wp - Its open for mail injection







