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-06-06
Pages: 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
Next >
[00:00]<zdzxzzmfdgzx>klync: per dir / <Directory and <Location should all be the same... But what are you trying to set?
[00:01]<zzz0g>If i start the script, by going to the address at which it's hosted, would I stop it simply by changing address
[00:01]<afdga>richardlynch: php_value upload_max_filesize 20M
[00:01]<zzz0g>Or once it's started, it can never be stopped
[00:01]<azgsaggmj>I don't know th answer to this, but I'd think it would stop when you leave the page.
[00:01]<afdga>richardlynch: at this point, i suspect it might be the script being unable to deal with such a large file (or such a long request)
[00:01]<zdzxzzmfdgzx>klync: I *think* upload_max_filesize is a goofy one that, if set in php.ini, can only be reduced in .htaccess, not increased... So your webhost might say "No more then 10M", but your web app might say "No more than 1M"
[00:02]<zdzxzzmfdgzx>But not the other way around.
[00:02]<afdga>richardlynch: aah, i'll check that out
[00:02]<afdga>ty again
[00:02]<zdzxzzmfdgzx>klync: A 9M isn't small, but it ain't HUGE either...
[00:02]<vncy_>hello, I use vector Linux that is slackware based. I have MySQL 5.0, APAche 1.3.34.i486 and php 4.3.10. When I try to execute php I got message that HP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/mysql.so' - libmysqlclient.so.12: cannot open shared object file: No such file or directory in Unknown on line 0
[00:03]<vncy_>do yo knwo what is mistake and how to make it working?
[00:03]<sfjfjnd>Do you have that file it wants?
[00:03]<zdzxzzmfdgzx>veki_: Did you install MySQL package?...
[00:03]<wwdvgfdgw>anyone know how to go about making a download script that will cause a file to be downloaded without making the browser navigate away from the current page?
[00:03]<wwdvgfdgw>(like sourceforge's downloads page)
[00:04]<vncy_>richardlynch: yes, it is installed, but it says that cannot connect to cokcket
[00:04]<vncy_>socket
[00:04]<zdzxzzmfdgzx>whitelynx: header("Content-type: application/octet-stream");
[00:04]<afdga>richardlynch: well, i changed it in php.ini and success=false still ... i blame wordpress... i'm going home now ;)
[00:04]<zdzxzzmfdgzx>veki_: Can't connect to socket usually means you forgot to START mysql.
[00:04]<wwdvgfdgw>richardlynch: kwl, thanks :-)
[00:05]<vncy_>hmm. nut that is message when I try to start it
[00:05]<afdga>thanks again alll.
[00:06]<vncy_>when I say ./mysqld_safe it starts databases and exits immediatelly
[00:06]<zdzxzzmfdgzx>veki_: ps auxwww | grep mysql
[00:07]<zdzxzzmfdgzx>You either see mysqld, or you don't have it running.
[00:07]<vncy_>richardlynch: root 8300 0.0 0.4 1772 608 pts/2 R+ 23:06 0:00 grep mysql
[00:07]<vncy_>this is result of commenad you suggested
[00:07]<z2zjvdzg>close :)
[00:08]<zdzxzzmfdgzx>veki_: So mysql is not running, because mysqld program is not there.
[00:08]<vncy_>hmm,. but , it i sin /opt/mysql
[00:08]<vncy_>and I issued command to create datbase and it created test database, but I cannot get deamon running, it seems to me
[00:09]<wjlllrws>And STAY dead! :)
[00:09]<tjufgg>Why all the hate?
[00:09]<wjlllrws>I'm in playful mood :)
[00:09]<tjufgg>Got ya
[00:10]<vncy_>richardlynch: I started from /etc/rc.d by ./rc.mysqld start
[00:10]<vncy_>and done again your command and this is result root 8304 0.0 0.3 1564 420 pts/2 R+ 23:08 0:00 grep mysql
[00:10]<wjlllrws>Touqen: But you know me... I'd stomp you dead anytime :)
[00:10]<vxyzmly2z>hey i have a professional question..my boss hit on my girlfriend the other night. what's the best way to milk this situation so i get a raise
[00:11]<wjlllrws>o.O
[00:11]<zdzxzzmfdgzx>veki_: No, you TRIED to start it, and it didn't start.
[00:11]<zu22gzggac>thirdLibr: tell her to sleep with him
[00:11]<wjlllrws>lol
[00:11]<vncy_>hmm, how can I start it successfully?
[00:11]<vncy_>which command
[00:12]<zdzxzzmfdgzx>veki_: Try asking in #mysql
[00:12]<vncy_>ok, thanks
[00:13]<saxyddyq>I am using fastcgi+php5+suexec. Problem: php is spawned umlimited often for users with a FastCgiServer entry. PHP_FCGI_CHILDREN and PHP_FCGI_MAX_REQUESTS are set. Any idea?
[00:13]<saxyddyq>correction: for users without...
[00:15]<ydrnc>I have a question about efficiency.
[00:15]<vncy_>richardlynch: I am on mysql channel. I will get back later . OK?
[00:15]<ydrnc>If I have a table with a unique key, and I do not know if the primary key exists, and I want to overwrite it if it does, what is the best way to go about that?
[00:16]<tjufgg>an update query
[00:16]<ydrnc>Send an UPDATE first, then if no rows were affected, insert the row?
[00:16]<zdzxzzmfdgzx>imaek: In MySQL, the REPLACE query will do that.
[00:16]<ydrnc>will REPLACE insert it if it isn't there?
[00:16]<zdzxzzmfdgzx>imaek: But that is not cross-database platforms.
[00:17]<zdzxzzmfdgzx>Yes. http://dev.mysql.com
[00:17]<ydrnc>Alright. Thank you.
[00:29]<sfjfjnd>THE PLAGUE!!!!!!!
[00:32]<jufyzg|wjzc>The plague!
[00:32]<wjlllrws>the woof!
[00:34]<xzgsjzj>i read somewhere that php-cgi runs via fastcgi by default as of php 4.3.x. does this mean that i dont need to point the server at an isapi fastcgi dll, but rather just php-cgi.exe?
[00:35]<y2j271>I am trying to find Map-script for php5 - but I can't seem to find it. Can anyone point me there?
[00:36]<drud>is there a way to tell what the next key is in a sql database using php
[00:37]<a2zyd2fn>What's the difference between require and include?
[00:38]<drud>required won't load hte rest if it doesn't find the fie
[00:38]<drud>include will just throw and error
[00:38]<zu22gzggac>jbrimble: your script will stop if a require file is missing
[00:39]<a2zyd2fn>ahh, i see. Thanks Rubberneck :)
[00:39]<azgsaggmj>Are there any open-source ecommerce packages out there that support barcode printing and scanning...?
[00:39]<drud>hey i beat Rubberneck jk
[00:41]<wjlllrws>erf
[00:41]<gznnnmj>http://pastebin.com/760798 does anyone know why
[00:41]<xzgsjzj>ok, i guess fastcgi support is built in, because when i run php-cgi -v i get (cgi-fcgi) in the string
[00:41]<gznnnmj>I keep getting Undefined variable: carrier
[00:42]<wjlllrws>is the variable defined?
[00:42]<gznnnmj>yes
[00:42]<gznnnmj>i have it defined
[00:42]<wjlllrws>SURE?
[00:42]<xzgsjzj>so now i'll ask, if i just use php-cgi.exe as my executable on the server, will it run in fastcgi mode, or do i need a special param
[00:42]<gznnnmj>i believe so
[00:43]<wjlllrws>yes, and where is defined, if I may ask?
[00:43]<gznnnmj>in the form
[00:43]<azgsaggmj>Repeating a question... Are there any open-source ecommerce packages out there that support barcode printing and scanning...?
[00:43]<zu22gzggac>Greeedo: only if you have register globals turned on
[00:43]<gznnnmj>argh
[00:43]<gznnnmj>let me see if i can turn it on
[00:43]<zu22gzggac>Greeedo: why don't you use $_POST instead
[00:44]<gznnnmj>register globals are on
[00:45]<wjlllrws>but they should *not* be on
[00:46]<zu22gzggac>Greeedo: you should really not be using them and instead be using $_POST and $_GET and whatnot
[00:46]<wjlllrws>*nod*
[00:47]<wjlllrws>!+register globals
[00:47]<gznnnmj>*shakes head
[00:47]<wjlllrws>Damn insane bot
[00:47]<||aw>missed the _







