logs archiveIRC Archive / Freenode / #php / 2006 / June / 6 / 1
Aar0n
If i start the script, by going to the address at which it's hosted, would I stop it simply by changing address
klync
richardlynch: php_value upload_max_filesize 20M
Aar0n
Or once it's started, it can never be stopped
Crescendo
I don't know th answer to this, but I'd think it would stop when you leave the page.
klync
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)
richardlynch
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"
But not the other way around.
klync
richardlynch: aah, i'll check that out
ty again
richardlynch
klync: A 9M isn't small, but it ain't HUGE either...
veki_
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
do yo knwo what is mistake and how to make it working?
         

sloloem
Do you have that file it wants?
richardlynch
veki_: Did you install MySQL package?...
whitelynx
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?
(like sourceforge's downloads page)
veki_
richardlynch: yes, it is installed, but it says that cannot connect to cokcket
socket
richardlynch
whitelynx: header("Content-type: application/octet-stream");
klync
richardlynch: well, i changed it in php.ini and success=false still ... i blame wordpress... i'm going home now ;)
richardlynch
veki_: Can't connect to socket usually means you forgot to START mysql.
whitelynx
richardlynch: kwl, thanks :-)
veki_
hmm. nut that is message when I try to start it
klync
thanks again alll.
veki_
when I say ./mysqld_safe it starts databases and exits immediatelly
richardlynch
veki_: ps auxwww | grep mysql
You either see mysqld, or you don't have it running.
veki_
richardlynch: root 8300 0.0 0.4 1772 608 pts/2 R+ 23:06 0:00 grep mysql
this is result of commenad you suggested
abrotman
close :)
richardlynch
veki_: So mysql is not running, because mysqld program is not there.
Touqen
(Action) waves
veki_
hmm,. but , it i sin /opt/mysql
Wolfpaws
(Action) stomps Touqen dead
veki_
and I issued command to create datbase and it created test database, but I cannot get deamon running, it seems to me
Touqen
(Action) ressurrects after 3 days
         

Wolfpaws
(Action) stomps Touqen dead again
And STAY dead! :)
Touqen
Why all the hate?
Wolfpaws
I'm in playful mood :)
Touqen
Got ya
veki_
richardlynch: I started from /etc/rc.d by ./rc.mysqld start
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
Wolfpaws
Touqen: But you know me... I'd stomp you dead anytime :)
thirdLibr
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
Wolfpaws
o.O
richardlynch
veki_: No, you TRIED to start it, and it didn't start.
Rubberneck
thirdLibr: tell her to sleep with him
Wolfpaws
lol
veki_
hmm, how can I start it successfully?
which command
richardlynch
veki_: Try asking in #mysql
veki_
ok, thanks
schimmi2
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?
correction: for users without...
imaek
I have a question about efficiency.
veki_
richardlynch: I am on mysql channel. I will get back later . OK?
imaek
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?
Touqen
an update query
imaek
Send an UPDATE first, then if no rows were affected, insert the row?
richardlynch
imaek: In MySQL, the REPLACE query will do that.
imaek
will REPLACE insert it if it isn't there?
richardlynch
imaek: But that is not cross-database platforms.
Yes. http://dev.mysql.com
imaek
Alright. Thank you.
sloloem
THE PLAGUE!!!!!!!
Julian|Work
The plague!
Wolfpaws
the woof!
(Action) eyes rogger
hansoro
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?
ibob63
I am trying to find Map-script for php5 - but I can't seem to find it. Can anyone point me there?
daum
is there a way to tell what the next key is in a sql database using php
jbrimble
What's the difference between require and include?
daum
required won't load hte rest if it doesn't find the fie
include will just throw and error
Rubberneck
jbrimble: your script will stop if a require file is missing
jbrimble
ahh, i see. Thanks Rubberneck :)
Crescendo
Are there any open-source ecommerce packages out there that support barcode printing and scanning...?
daum
hey i beat Rubberneck jk
Wolfpaws
erf
Greeedo
http://pastebin.com/760798 does anyone know why
hansoro
ok, i guess fastcgi support is built in, because when i run php-cgi -v i get (cgi-fcgi) in the string
Greeedo
I keep getting Undefined variable: carrier
Wolfpaws
is the variable defined?
Greeedo
yes
i have it defined
Wolfpaws
SURE?
hansoro
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
Greeedo
i believe so
Wolfpaws
yes, and where is defined, if I may ask?
Greeedo
in the form
Crescendo
Repeating a question... Are there any open-source ecommerce packages out there that support barcode printing and scanning...?
Rubberneck
Greeedo: only if you have register globals turned on
Greeedo
argh
let me see if i can turn it on
Rubberneck
Greeedo: why don't you use $_POST instead
Greeedo
register globals are on
Wolfpaws
but they should *not* be on
Rubberneck
Greeedo: you should really not be using them and instead be using $_POST and $_GET and whatnot
Wolfpaws
*nod*
!+register globals
Greeedo
*shakes head
Wolfpaws
Damn insane bot
||cw
missed the _
Wolfpaws
nick is confusing him
Greeedo
so if i echo it using $POST
it should work fine
Wolfpaws
!+register globals
stormbot
You may have a register_globals issue. Read the following thoroughly: 1) php.net/variables.predefined 2) php.net/variables.external 3) http://www.snipe.net/content/php_stuff/globals.php 4) http://php.net/register_globals
Wolfpaws
There we go :)
Greeedo
anybody know how i can fix up my code
Wolfpaws
read the link
Crell42
'ello. Question. In phpDocumenter, what's the correct format for an @example? I tried putting it on the same line and the generated docs said it couldn't be found, and tried the next line and it showed nothing. I'm still Googling but so far I've not found anything more than "phpDocumenter is cool and you should use it". :-)
Wolfpaws
Crell42: That's not a ##php question
!+g8
stormbot
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.
Crell42
What channel would it be, then? Is there a #phpdocumenter channel?
Wolfpaws
probably #phpdoc
Crell42
Hm, so there is...
Wolfpaws
This is supposed to be written in support
lig
Morning
Crell42
And it's pointing to effnet. *sigh*
Wolfpaws
yo \o/
lig
hey Wolfpaws
Wolfpaws
(Action) waves his tail
lig
(Action) scratchs Wolfpaws behind the ears
Wolfpaws
(Action) arfs of joy
GarethAdams
(Action) stealthily arms a tranquiliser gun
Wolfpaws
(Action) throws a hand grenade in GarethAdams
*Boom*
s/in/at
Xen0n
try { Grenade(); } catch ( BodyPart $b ) { }
function Grenade() { throw new BodyPart("arm"); }
ok, yes, i need to get out more..
Wolfpaws
rofl
(Action) waves to piera
redrain
Hi, I use this function to send email: http://pastebin.com/760881 But all html tags displaying as mail body text, how can I solve this?
daum
why does while (list($k)=each($_FILES))
on http://matttah.info/submit.php never enter the loop if i add two pictures?
elec
coool asp 2.0 c# Took 0.234375 To write 80000Lines VS php 5.1 in writing Took 0.87658405304 To write 80000Lines uahh asp is the faaaast :)
Julian|Work
daum, I would var_dump($_FILES) and see what's in there.
foreach() is an easier method anyhow.
foreach($_FILES as $file) {
daum
ok
Jumping
hi im creating a massive online multiplayer game but i need assistance, i have hosting paid for and a domain name (www.ageofdomination.com) ready to go... if your interested please PM me it has the potential to be VERY lucrative and i will split profits 50/50
it requires PHP and SQL
Julian|Work
Jumping, no advertisements or job postings in here.
Take it somewhere else.
Jumping
my apologies
elec
jumping : did you write a short infotext ?
Jumping
if you mean summary of the website...yes
« prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 next »