@# 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 33 34



Comments:

<0> hello all
<0> my Configuration File path as shown by phpinfo() is /usr/local/lib
<0> I've copied the php recommended file into that directory, called it php.ini and altered the include path
<0> I then restart the web server but it's not picking up any changes
<0> have I missed a step?
<0> brand new install as of today of 5.1.2
<0> How can I find out where my install is looking for a php.ini file?
<1> $result_2 = mysql_query(sql_2, $conn);
<1> $row = mysql_fetch_row($result_2);
<1> did i mess something up there?
<2> hi there, how do i get to the output of a external command into an array? i'm currently using backtick operators, $output = `ffmpeg -i file.mpg`, i just want to get the duration of the mpg file
<3> jlulian38: shouldn't there be $sql_2 ?
<1> i just noticied that...
<3> :)
<1> *headdesk*
<1> wait



<1> i don't have a desk
<1> *facepalm*
<4> hi.. ive a question regarding executing php from a url which isnt working like id hoped
<4> i want the php file to execute if i call http://domain.com/phpscript/
<4> ive got it working like http://domain.com/phpscript .. but if I add the "/" on the end i get a 404..
<4> any ideas how that might be possible ?
<2> vanderkerkoff : <?php echo phpinfo(); ?>
<0> lost and unfound, I tried that, it's stated that the path to the file is /usr/local/lib
<2> oghran : i might be wrong but that sounds more like a webserver prob/solution
<0> so I created a php.ini in that folder, but it's not seeing it
<1> http://talk.pastebin.com/576481
<1> i can't figure it out but i always get invalid MySQl data out of that...
<4> lost_and_unfound, i think you're correct.. ive had it working before on another webserver for a perl script, but its not working on this webserver for php :/
<1> Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/export/www/vhosts/funnetwork/hosting/jlulian38/talk/view.php on line 14
<2> vanderkerkoff : i dont know what os you are running but i found mine in /usr/local/etc/php/
<0> are you using the php that comes with a mac?
<0> i'm on macosx 10.4.5 and I've jsut compiled a fresh install of php 5.1.2 from source
<2> hmmm... mac and FreeBSD have a similar FS, so it should be in same area
<2> vanderkerkoff : no i use php-fcgi in freebsd
<1> . is used for concateonation right?
<2> vanderkerkoff, what changes do you wanna do in your php.ini ?
<0> add include paths
<2> jlulian38 : $sum = '123'; $sum .= abc; thus... output echo $sum -> 123abc
<1> ok
<2> jlulian38 : understood ?
<2> vanderkerkoff : still trying to figure that paths of your out
<0> sorry?
<1> uh
<1> yes
<2> vanderkerkoff : when it outputs the phpinfo() u see the section "Configuration File (php.ini) Path" ?
<2> is that where you make your changes to php.ini ?
<0> lost and found
<0> yes
<0> the firectory named is usr/lcoal/lib
<0> so when i ran my configure command, I didnt use a path option, so it's installed here bdy efault I'm guessing
<2> then do you kill and restart your webserver/php ?
<0> i restart my lighttpd web server engine yes
<2> lighttpd ? nice choice :)
<2> <==--- running lighttpd with php-fgci
<1> Does anyone see any problems with this script?
<1> http://talk.pastebin.com/576496
<1> or whatever you wannna call it
<0> the bin-path to my php install is usr/local/bin/php, which is fine
<2> vanderkerkoff : have you tried this... locate php.ini-dist ?
<1> i call em scripts cause i'm used to coding LUA scripts
<0> lost and found, I copied my php.ini file fromthe recommended one in the source code folder
<0> wrong?
<2> your ini does not necesarrly have to be in the source code folder
<2> jlulian38 : what is the problem ?
<0> lost and found, I have to restart, back soon, thanks for the help by the way
<5> I'm confused 'keylogger'
<5> What exactly are those commands?
<5> Is it some sort of XP thing?
<5> Ok talking to myself is always fun.
<2> the-erm.. what are you talking about ?
<5> "If you issue any of the 'keylogger' commands, you will be immediately removed and banned, no questions asked."
<5> Right in the subject
<6> the-erm: Windows users may be effected by some worm that is triggered by those commands.
<5> ok
<5> thanks kuja
<7> I get this error message: http://paste.ubuntu-nl.org/9526. How can I correct it?



<2> oh ... that... didn't even read the subject
<8> the-erm: well... in fact you just did
<5> ... what commands?
<6> the-erm: Also, Windows users running Norton may get disconnected from IRC (a safety thing by Norton)
<5> joy
<9> that's hilarious
<5> glad I don't run windows.
<2> Mitja - it looks like your mysql.so is missing or extentions.ini is not configures correctly
<7> lost_and_unfound: mysql.so is there
<8> the-erm: http://trout.snt.utwente.nl/ubbthreads/showflat.php?Cat=0&Number=150890&an=0&page=0
<2> hmmm... Mitja or maybe it is corrupt? tried reinstalling yet ?
<7> lost_and_unfound: there is no extensions.ini
<7> maybe that's causing it
<2> Mitja posibly...
<10> Hi, I want to strip off the start and end tag of a multiline string (number of lines can differ) but my regex doesn't work http://pastebin.com/576513 could anybody give me a hint?
<7> Is extensions.ini necessary if you have extensions?
<2> Mitja so far as i know... YES
<2> mkl1525 -> http://www.php.net/manual/en/function.trim.php
<7> lost_and_unfound: extensions are defined in php.ini
<7> Now I get twice the same error :)
<10> lost_and_unfound, thanks ltrim and rtrim seem useful
<2> mkl1525, glad i could help
<2> Mitja, i really have no idea then...
<0> config question, when you run ./configure whats the option to tell php where to install itself?
<11> vanderkerkoff: have you tried ./configure --help ?
<0> having a look now
<12> vanderkerkoff: --prefix :)
<0> ta jens
<0> what is the default one? is it /usr/local? macosx system
<12> vanderkerkoff: I think /usr but dont know it exactly
<0> thanks jens
<13> Anyone know how to merge two pdf:s with PHP?
<12> rightnow: have not done that myself, but I saw http://pear.php.net/pepr/pepr-proposal-show.php?id=95, maybe it can help you
<13> thanks, ill look!
<1> I fixed all my bugs :D
<0> jens, where shall I create my php.ini file?? prefix was /usr/local if that helps
<14> any suggestions/links for including javascript within php so that the child select input changes depending on selection in parent select input?
<12> I prefer /etc/php5-fcgi/php.ini, or /etc/php4-cli/php.ini etc.
<0> jens, my echo phpinfo() is now saying that my php.ini file should be in /usr/local/lib
<0> so, all i need to do is creat a php.ini file in there, is that right?
<12> vanderkerkoff: then you have to copy php.ini-dist from the php source directy to /usr/local/lib/php.ini
<0> ta
<15> veepster: nothing to do with PHP, everything to do with javascript -- see #web
<14> well, the inputs in mysql tables
<15> veepster: if you want the changes to be "live", ie, without a request back, then its all javascript.
<16> is there a way to specify the configfile name instead of just the path during configure?
<15> hannesd: yes, there is.
<16> fyrestrtr: would you tell me? :)
<15> --with-config-file-path iirc
<15> see http://www.php.net/manual/en/configure.php for more options
<16> fyrestrtr: ah, so I can supply a filename there as well?
<16> thanks
<15> hannesd: no, a path -- not a filename.
<16> fyrestrtr: well I want php-cli.ini, php-fastcgi.ini, php-apache.ini etc.. so no way?
<15> you can alter that in the webserver configuration (for fastcgi and apache).
<16> mh ok
<15> and why you would need three different .ini files, I don't know.
<15> I only have one on my entire system.
<15> and it uses both cli and apache
<17> Hey guys. I need a regexp help here. I'm trying to match \*\sACL\s(.*)\s(.*)\s(.*) Where the value is something like: * ACL user/mailbox username acllist, but that regex I'm using now matches everything from user/mailbox to acllist, instead of seperating them out. Any suggestions on how to adjust my regexp to work properly?
<16> fyrestrtr: output buffer and a handfull other option don't make much sense on cli, does it?
<15> First step in understanding regexp -- is understanding that its regex, not regexp.
<15> hannesd: they are ignored.
<16> but thanks.
<15> hannesd: you don't need different ini files.
<16> hm ok
<15> hannesd: with cli, you can manually specify the location of the ini file to look for anyway.
<15> Psi-Jack: what are you trying to match?
<17> fyrestrtr: I.. Did say that.. Something like * ACL user/mailbox username acllist where user/mailbox, username, and acllist are my three matches. Space-seperated values past the *\sACL\s
<17> Err, \*\sACL\s
<17> fyrestrtr: I'm trying to match user/mailbox, username, and acllist seperately, so that I can stuff them into an ***ociated array.
<18> Why does php session served pages expires : Expires: Thu, 19 Nov 1981 08:52:00 GMT ? Why that date ?
<15> Psi-Jack: preg_match('|^\*\s+ACL\s+(.*?)\s+(.*?)\s+(.*?)$|mi',$text,$matches); print_r($matches);
<17> fyrestrtr: Ahhh, the ? was the key.. Thanks.


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#linux
/bin/sh error while loading ubuntu
#perl
#css
irc passwordschannel
postfix equivalent MASQUERADE_DOMAIN
#javascript
copy a live cd ubuntu
dvdrip doesn't run scanning transcode's module path
#math



Home  |  disclaimer  |  contact  |  submit quotes