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-06-16
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
Next >
[14:46]<c1ysrrry>Wolfpaws, suck my cock bitch
[14:46]<lrndmuccn>there was nothing that stated any limitations
[14:46]<c1ysrrry>;)
[14:47]<nyzqwq>guys... i have a problom.
[14:47]<nyzqwq>>Warning: move_uploaded_file(../../Clients/001000/Upload/ToServer1.jpg): failed to open stream: No such file or directory in /var/www/client_doc/Admin/ClientFileUpload/Upload.php on line 69 > >Warning: move_uploaded_file(): Unable to move '/tmp/phpGKRu1K' to '../../Clients/001000/Upload/ToServer1.jpg' in /var/www/client_doc/Admin/ClientFileUpload/Upload.php on line 69
[14:47]<wjlllrws>...
[14:47]<nyzqwq>why am i getting this?
[14:47]<ajfmnz>LazyMukke, because there is no limitation, beside the memory available.
[14:48]<ajfmnz>Nir212, does the directory exist ?
[14:48]<alnr>Nir212: ...."No such file or directory"....
[14:48]<nyzqwq>yeah
[14:48]<lrndmuccn>colder , oh but is it possible it's limited on the server with some pref ?
[14:48]<nyzqwq>directory exists
[14:48]<ajfmnz>LazyMukke, no.
[14:48]<nyzqwq>i checked twice mate
[14:49]<wjlllrws>Nir212: mayube it exists, but you don't have a permission to write to it
[14:49]<nyzqwq>ok
[14:49]<ajfmnz>how sadomasochist you must be to name you jpeg. I can't imagine the number of false highlight you get during a single day...
[14:49]<nyzqwq>that's what i'm thinking
[14:49]<nyzqwq>how do i set premissions?
[14:50]<alnr>colder: it's not that bad.
[14:50]<wjlllrws>lol
[14:50]<ajfmnz>jpeg, well, "jpg" would be worse :)
[14:51]<alnr>i wanted 'jpg' instead of this, actually
[14:51]<ajfmnz>heh
[14:51]<alnr>my initials ;0
[14:51]<lrndmuccn>jpeg : that's a reason :)
[14:52]<alnr>some people do call me jpeg, so this is ok.
[14:53]<nyzqwq>how do i set premissions?
[14:53]<lrndmuccn>chmod
[14:53]<wjlllrws>##linux
[14:53]<nyzqwq>my client played with the chmod thingy
[14:53]<nyzqwq>he changed some shit and now telling me it doesn't work
[14:53]<nyzqwq>(after it worked great)
[14:53]<nyzqwq>now i have no clue why it doesn't work :(
[14:54]<lrndmuccn>Nir212 : well that could be the problem
[14:54]<nyzqwq>yeah.. the nice part?
[14:54]<nyzqwq>he is blaming my code for not working
[14:55]<vxdcj>Nir212: can you get into the box?
[14:55]<lrndmuccn>ssh u mean ?
[14:56]<wjlllrws>!+
[14:57]<wjlllrws>!+u
[14:57]<lxl-2jv>Surely you mean 'you', not 'u'? The letter 'u' is not a personal pronoun. Talking like this in ##php may get you silenced. For details, /msg php-bot aolbonics
[14:57]<nyzqwq>can't :(
[14:59]<vxdcj>Nir212: well you need to, the client must have changed the perms on the php files
[14:59]<nyzqwq>one more question
[14:59]<nyzqwq>i use Force download
[14:59]<nyzqwq>but when page is *.php
[14:59]<nyzqwq>it... doesn't come down as original file but after server "worked" on him
[15:03]<nyzqwq>like.. complied php file instead of original none compiled file
[15:04]<rkw-x>hello... i have a question about performance. i have a page that is a yearly view of data... each record has a timestamp, and there are 12 mini month calendars, where days are highlighted that have items. currently, i am running 2*365 queries (two types of items) to determine what days are highlighted... obviously, this takes way too long. what is a faster way to do it?
[15:05]<rkw-x>i could do two queries, selecting the dates for the year for the two item types... and then manually split up the data... is that really a better way?
[15:06]<mrvbjd>Can I run the mail function in a function ?
[15:06]<ruum>matboy, of course
[15:06]<lynzr>MatBoy: only iN ASP.. Cause ASP Rocks!
[15:06]<mrvbjd>Ruud, my script does not work than :(
[15:07]<rkw-x>MatBoy are you sure your data is accessible where you are calling the mail function? you should post the code online
[15:08]<mrvbjd>gKw-X, Yes it is accessible.
[15:08]<rkw-x>are you sure your server is configured properly for the mail function?
[15:08]<lyqzrw0q>hello..
[15:08]<mrvbjd>gKw-X, yep... that works OK !
[15:09]<rkw-x>MatBoy; well then you'll have to paste the code
[15:09]<rkw-x>cuz i dunno what else it would be without looking
[15:09]<mrvbjd>gKw-X, when I I have an if() and in that if I want to use the mailfunction... the code is not parse. When I echo there something it works
[15:10]<rkw-x>you're saying you have if (bla) { mail() } and it fails, but if you change it to if (bla) { mail() echo() } suddenly it works, even though the if(bla) is exactly the same?
[15:10]<rkw-x>that sounds like magic
[15:11]<mrvbjd>gKw-X, the second one without the mail() because that does not work
[15:12]<rkw-x>you're gonna have to paste your code
[15:12]<rkw-x>there are sites to do it
[15:12]<mrvbjd>gKw-X, I will later !
[15:12]<rkw-x><_<
[15:12]<rkw-x>ie. you don't actually need help
[15:22]<zgmzryg>Hi, I want to get only today's records. But this doesn't work: mysql_query("SELECT news.*, DATE_FORMAT('news_date', '%Y-%m-%d') FROM news WHERE news_date='$today' ORDER BY news_hit DESC LIMIT 10");
[15:22]<zgmzryg>And $today = date('Y-m-d');
[15:23]<wjppyn6au>refrain, is mysql_query the problem, or is thisa SQL question?
[15:24]<zgmzryg>Wolfie7AU: It's a sql question, I couldn't get any reply from #mysql
[15:25]<wjlllrws>!+g8
[15:25]<lxl-2jv>Guideline #8) SQL Q's: #sql, #mysql or #postgresql. Apache Q's: #apache. Linux Q's: Either #yourdistro, #linuxhelp or #linpeople. HTML/CSS/JavaScript Q's: #web. Just because some other channel is 'dead' does NOT mean you can ask here.
[15:25]<wjppyn6au>Two suggestions, first always place a query into a string, second, get mySQL browser and get the query working there
[15:26]<dzmzaivnz>Hmm. As well as #web there are perfectly active #html, #css and #javascript channels. Perhaps that should be added to the message? :)
[15:26]<zgmzryg>Wolfie7AU: Thanks...
[15:27]<vxdcj>http://rafb.net/paste/results/T2IYD470.html
[15:27]<wjppyn6au>Refrian, one last tiplook at the NOW() function in SQL
[15:27]<vxdcj>those two code gems produce two different SHA1 signatures
[15:27]<vxdcj>of the same file
[15:28]<wjppyn6au>Going nuts trying to get a handle on PHP regexp, which works nothing like AWK/Grep :(
[15:28]<lynzr>toodles kiddos
[15:29]<mrvbjd>gKw-X, do you have a very simple mail line + hearders that will always work ?
[15:29]<vxdcj>Wolfie7AU: its works like perl
[15:30]<vxdcj>it
[15:30]<wjppyn6au>Trying to write a function to scan a string and return false if stringcontains anything beyond alpha-numerics and puntiation, could someone post a example (on pastebin) to get me started?
[15:31]<wjppyn6au>thtko, which sadly I have never used
[15:31]<vxdcj>:(
[15:31]<wjppyn6au>I've coming from a unix background, so know awk regex very well
[15:32]<wjppyn6au>So having to do some "un-learning" :D
[15:32]<dzmzaivnz>I thought grep used something very close to perl regexps.
[15:32]<vxdcj>Wolfie7AU: google for 'Esential perl by nick parlente'
[15:32]<vxdcj>it explaind regxp very clearly
[15:32]<dzmzaivnz>But I've not used either extensively, so I guess I'm probably wrong.
[15:33]<wjppyn6au>yhyko, spent most of the evening reading web pages on PHP/perl regex, my head is ready to explode







