@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 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



Comments:

<0> kdean06: I dunno either, but a bad setting for php.ini sendmail_path could do it... Yes, base64 encoding would look like that too.
<1> richardlynch, I'll tak a look. :-)
<2> hmmm, i've recompiled apache, once more, cleared the httpd.conf ... remodifed ... php still refuses to load
<0> lepine: Is the log still claiming PHP is "there"? Cuz our current theory is that PHP is "loaded" but that your server is not actually USING php to process .php files.
<2> [Fri Jun 16 16:17:00 2006] [notice] Apache/1.3.36 (Unix) mod_auth_p***through/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/5.1.4
<3> xshad: http://storm.homeunix.org/misc/bts/flight.jpg
<2> there's the php stuff for directory index ... AddType application/x-httpd-php .php
<2> LoadModule and AddModule
<2> AFAIK, nothing's missing
<4> check /server-info, would be an option



<3> have you restarted apache?
<2> many times
<0> lepine: Okay, try this. Go into an .htaccess file in the same dir as index.php or whatever you have and put <Files index.php> ForceType: application/x-httpd-php </Files>
<0> lepine: ^^ that was 3 lines of code.
<4> Wolfpaws: that looks like kittyanna's work
<3> zircu: But it's not :)
<5> AaronJaeger, are you still here?
<6> Wolfpaws nice one :) but these feet... don't seems proportional ;(
<7> Yes Crazy
<6> a bit small
<7> I'm in the other thing with you.
<7> You havn't asked your question yet.
<3> xshad: Agreed. /me fixes
<5> AaronJaeger, thats weird, because my private chat window is not open... one sec let me exit and come back in
<6> very nive though :)
<6> s/nive/nice
<4> Wolfpaws: nice work, i like that kind of work
<2> Internal server error
<8> If I am supposed to change the PATH environment variable, would that be
<8> ;include_path = ".;c:\php\includes"
<2> no specifics
<0> lepine: Errr. Double-check for typos?
<3> zircu: I'm getting better :)
<0> lepine: And check the Apache log -- it may have the more details you want.
<2> richard, i believe there are no typos
<6> Wolfpaws lol
<0> Apahce log says...?
<2> invalid command "ForceType'
<2> perhaps misspelled or defined by a module no included in the conf.
<0> D'oh! Just plain Force. Sorry.
<9> hi
<9> how do I compile php with mail() support, I don't see the option in ./configure --help. using 5.1.4
<6> pheorehs it's default
<0> lepine: Nope, never mind. ForceType is correct... Hmmmm.
<9> ok, then why do I get this error: fatal error: Call to undefuined function mail() in soandso.php
<9> ?
<3> pheorehs: You need a sendmail-compatible program in your PATH



<2> richardlynch still not (typo or not)
<9> I have /usr/sbin/sendmail
<0> pheorehs: You might also get that if the webserver has put 'mail' into the list of functions to disable in php.ini
<10> what is a tag cloud and what's it for
<3> pheorehs: Did you installed that after or before compilation, and did PHP saw it, when you made configure?
<9> Wolfpaws, dunno
<0> lupine: Does httpd.conf have AllowOverride All?
<2> yes
<0> lepine: Then I cannot begin to guess why ForceType would not be "there"... You may want to take this to #apache, cuz at this point, your Apache setup is what's not working...
<3> pheorehs: If you can't see sendmail binary with `which sendmail`, then you can't see it, and neither can configiration... Add /usr/sbin to your PATH and reconfigure and rebuild
<2> :(
<2> will do so, but monday ... i'm caling it quites for the weekend!
<9> Wolfpaws, gotcha. so here's a question. I built php on 1 machine, using it on another. the other machine is using qmail's sendmail, and the compiling machine has none, If I download sendmail-x.x, compile it on my compiling machine, can I then use the same binaries on the other machine, using qmails sendmail ?
<9> orr, how about this, does configure actually need to run sendmail ? or can it be a broken binary, and it just needs to find the path ?
<10> anyone use cakephp?
<3> pheorehs: As long as PHP can find 'sendmail', it's fin... I'm not sure, if it checks for the sanity of the program as well...
<3> !9g8
<3> o.O
<3> !+g8
<11> 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.
<6> lol
<3> xshad: Don't ask ^^
<6> what did I say ?
<9> k, will try it. don't feel like compiling sendmail
<3> Damnit... If I want the legs bigger, than I have to change few things
<6> Wolfpaws not the legs, only the feet
<3> xshad: Damn... Too late... Already erase the legs :/
<6> lol
<3> *erased
<12> Hmm. In PHP, can you open a program pipe (like you can in perl, say, to read "gunzip -c foo.gz |")?
<3> Zemyla: yes. php.net/popen
<13> okay
<13> say I have a block of text
<3> o.O
<6> ............
<13> this block of text contains several paragraphs, which are delimited by newline characters. I would like to insert <p> elements for each paragraph
<13> doing <br>'s for each newline is pretty simple
<13> but then again, I hate using <br>s
<10> n2lbr()
<3> no
<6> IamEthos echo "<p>" . str_replace("</p>\n<p>", "\n", $string)."\n</p>";
<13> xshad, thanks.
<6> hope it works ;)


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

#perl
apt upgrade mysql 4.0 4.1sarge
#css
#perl
albacker
#suse
failure to add user gentoo
perl leftshift
+Segmentation fault +running emerge
megahal little endian



Home  |  disclaimer  |  contact  |  submit quotes