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.49 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-07-08
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
Next >
[07:51]<vmmwno9>i can post my script hold on
[07:51]<cryggrvyjg>why doesn't $value['title'] on line 123 output when i echo? http://hashphp.org/pastebin.php?pid=7484
[07:52]<[rgs]snzyrfcyffn>Pollita : Hey thansk
[07:52]<[rgs]snzyrfcyffn>Pollita : its working now
[07:53]<pjffyvr>Groovy
[07:53]<vmmwno9>http://cmsmadesimple.org/pastebin/35 could someone help me i keep getting a error saying
[07:53]<vmmwno9>Parse error: parse error, unexpected T_STRING in /home/content/b/a/r/barbhaynes/html/categories/classifieds/foo.php on line 69
[07:53]<vmmwno9>well actually line 26
[07:54]<pjffyvr>'type'])."'" LIMIT
[07:54]<vzzsynz>missing a closing } ?
[07:54]<pjffyvr>More likely a superfluous "
[07:54]<pjffyvr>'type'])."' LIMIT
[07:55]<pjffyvr>Change it to that and you should be okay
[07:55]<vmmwno9>yes i put it back in
[07:55]<vmmwno9>k hold on pollita
[07:55]<vmmwno9>trying to get this pagination to work lol
[07:57]<vmmwno9>pollita did not work
[07:57]<vmmwno9>if (isset($_GET['type'])) { $sql .= " WHERE type='". mysql_real_escape_string($_GET['type'])."'"} 'type'])."' LIMIT;
[07:57]<vmmwno9>thats what i got
[07:57]<yvzn2rf>.el
[07:57]<yvzn2rf>..woop
[08:02]<drvvknffdxjdn>is there a function to remove all line breaks?
[08:03]<vmmwno9>Mattkellyhome: create one :)
[08:03]<vmmwno9>how I don't know
[08:04]<drvvknffdxjdn>hm ok
[08:04]<vmmwno9>Mattkellyhome: you good with php?
[08:05]<yvzn2rf>MattKellyhome: theres one to replace line breaks with <br /> and you could use str_replace to replace all linebreaks
[08:19]<txzzzzdjdzvzzzzz>MattKellyhome: $text = str_replace(array("\r", "\n"), '', $text);
[08:33]<ayzzsvnz>I have a problem with PHP
[08:34]<vmmwno9>jiggster whats the problem
[08:36]<ayzzsvnz>It's installed on my server
[08:36]<vmmwno9>yea?
[08:36]<ayzzsvnz>that's the problem
[08:36]<vmmwno9>lol
[08:36]<vmmwno9>why don't you want it on your server
[08:36]<ayzzsvnz>nah i'm just trolling to see who's up :P
[08:37]<vmmwno9>i see lol
[08:37]<vmmwno9>you good with php?
[08:37]<txzzzzdjdzvzzzzz>jiggster: Reset your quantum flux valve
[08:37]<ayzzsvnz>used to be, quit for a while
[08:38]<ayzzsvnz>TheRandomAvenger: I'm not rich enough to upgrade to that, i'm still using plain old simple electricity
[08:38]<_dx>isn't the quantum flux valve known to leak?
[08:38]<ayzzsvnz>Most likely
[08:38]<txzzzzdjdzvzzzzz>_mh: Only when not being observed
[08:39]<ayzzsvnz>"I thought i filled it up last week!"
[08:40]<_dx>i'll consult the dvr tapes ; maybe a hot-spot definition within the dvr will catch it
[08:41]<jzcgcjggjz>is there a function to merge arrays together that are in an array? for instance i want array(array(1), array(2), array(3)); to be array(1, 2, 3); ?
[08:41]<txzzzzdjdzvzzzzz>array_merge
[08:42]<jzcgcjggjz>i have to loop through it and merge it myself?
[08:42]<_dx>array_merge don't work recursively
[08:42]<txzzzzdjdzvzzzzz>array_merge_recursive does
[08:42]<_dx>damn, and i wrote my own
[08:43]<jzcgcjggjz>how?
[08:43]<_dx>vi
[08:43]<txzzzzdjdzvzzzzz>$array = array_merge(array(1), array(2), array(3));
[08:45]<jzcgcjggjz>TheRandomAvenger: there are more than that though
[08:45]<jzcgcjggjz>like 100 in the array
[08:45]<jzcgcjggjz>is there a more programattic way?
[08:46]<fdvvfnznlxdz>Couldn't you just do a loop?
[08:46]<jzcgcjggjz>yeah i could just wondering
[08:47]<fdvvfnznlxdz>for( $x=0; $x<$arraylength; $x++ ) { $array[$x] = $otherArrays }
[08:47]<tjufgg>It sucks being a programmer with no inspiration.
[08:48]<sxynv>Warning: unserialize() [function.unserialize]: Function __autoload() hasn't defined the class it was called for in <file>
[08:48]<sxynv>the class is defined in the same file that the unserialize is being called in. any idea why it's throwing this warning?
[08:49]<lnd2jw1>what do i put into a php file to show all errors?
[08:50]<nrvym>error_reporting(E_ALL);
[08:56]<lnd2jw1>what is the best function to use to download a file from the web>
[08:56]<lnd2jw1>?
[08:56]<[rgs]snzyrfcyffn>anyone knwo who to disable this? Using keyboard-interactive authetication"!
[08:57]<pjjcd>[AGS]Serialkille: that sounds like an ssh question
[08:57]<pjjcd>[AGS]Serialkille: you may want to check your sshd.conf
[08:57]<[rgs]snzyrfcyffn>yup pooky it is
[08:57]<[rgs]snzyrfcyffn>:)
[08:58]<pjjcd>or just make key pairs, and if you have further issues, probably want to join #ssh
[08:58]<pjjcd>or #openssh
[08:58]<pjjcd>whatever ;)
[09:05]<lnd2jw1>does fopen _not_ work with ports other than 80?
[09:10]<cswjjcyn>Could someone help me set up php to work on my computer? http://lehmanap.dyndns.org/~lehmanap/zoobody/Zoobody-agency/www.zoobody.com/html/actorsearch.php
[09:10]<nrvym>is there a function that returns how many elements are in an array?
[09:10]<pjjcd>array_count?
[09:11]<cswjjcyn>I'wait... maybe I've figured it out.
[09:11]<tjufgg>count
[09:11]<tjufgg>sizeof
[09:12]<pjjcd>pembo13: http://us3.php.net/manual/en/function.fopen.php#58099
[09:12]<tjufgg>What's so funny bout peace, love and understanding?
[09:14]<cswjjcyn>I hate sysadminning.
[09:14]<lnd2jw1>Pooky, thanks
[09:14]<cswjjcyn>I yearn for the glorious day when there are people who I can pay a reasonable fee too, and they will make sure my computer does what I want it to in a secure and orderly fashion.
[09:17]<tjufgg>Oh dear.
[09:17]<tjufgg>I think I may have hit a bit of an emotional lull.
[09:20]<gyfnsxwww>can any one give me url for php tutorials with which i can run linux commands
[09:20]<gyfnsxwww>using pgp
[09:20]<gyfnsxwww>*php
[09:20]<tjufgg>what do you need a tutorial for?
[09:21]<tjufgg>php.net/exec
[09:21]<tjufgg>php.net/shell_exec
[09:21]<tjufgg>php.net/popen
[09:21]<vmmwno9>hey guys i have the apache installtion up, but what do i enter in the network domain?
[09:23]<tjufgg>network domain for what?







