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



Comments:

<0> kumi2: well, he says for my particular case, he would 'bother with it'
<0> deadroot: by the same token, its not 'hard'
<0> writing those scripts are fairly trivial.
<1> Any idea why a PHP 5.1.2 installation tells me "undefined function mb_strlen"
<0> I dont know. I think i'll just have to try it and see if its worth the h***le.
<2> yes, writing them is trivial, but it is an overhead
<1> It was working fine on linux, but tells "undefined function" in php-win32-5.1.2
<0> EricCartman-iBoo: because it wasn't compiled with --enable-mbstring
<0> or whatever the switch is
<0> EricCartman-iBoo: http://jp2.php.net/mbstring
<1> php.net should have note that in the function manuals too
<1> :/
<1> yeah I saw it in the multibyte there now
<0> its there under installation
<0> did you compile it yourself?
<2> chrome: how about a transparent proxy server to serve the images?



<1> nope
<1> and I won't
<0> deadroot: what, box with the storage runs apache, and front-end boxes proxy for it?
<2> yeah
<0> EricCartman-iBoo: win32 = pure evil
<2> it's not pure evil. it's diluted evil
<0> deadroot: maybe. Not sure.
<0> Once my app gets to the point where I can play with the idea, I'll try it and see if it works out or not
<1> what would be the best way of checking if there's mb support, function_exist ?
<2> EricCartman-iBoo: phpinfo()?
<1> ehehe
<1> in the runtime dear
<2> function_exist then
<0> EricCartman-iBoo: looks like the right way to me
<1> yeah didn't see a constant PHP defines which I could check
<3> EricCartman-iBoo: save the value into some static variable
<3> will be faster afterwards ;-)
<4> y
<5> im curious anyone used PHP-GTK?
<6> !+gv
<7> Global Variables - this will show you everything that php sees: <pre><?php print_r($GLOBALS); ?><hr size=5 noshade><?php var_dump($GLOBALS); ?></pre>
<8> hey could someone with knowledge help me out with this one?: http://forums.gentoo.org/viewtopic-p-3081217.html#3081217
<9> hi
<9> I've got no support for GD, do I need to change mod_php ?
<10> pants
<6> on your head
<9> weird
<11> how can you p*** a javascript var to a php script? what i want to do is setting the title of my html document depending on the browserwindow-width and i need to p*** window.innerWidth. if anyone know how to get the innerwidth with PHP only this is also fine of course
<9> I had a checkbox doing submit, I think you can do the same way
<12> hi
<9> but now gotta go
<9> bye
<12> Fatal error: Call to undefined function preg_match() in [blablabla]
<12> how do i enable perl functions?
<13> triablo: http://de2.php.net/manual/en/ref.pcre.php
<12> i figured
<14> hi , what is the difference between file() and fopen() function ?
<15> nandan: fopen opens a file and returns a file handle.. file reads the file and returns an array with each element being a line of the file
<15> nandan: i think you should read the manual entires for them
<6> meacan you might wnat to turn off back/away msgs in your client.
<6> at least for ##php if you can
<14> niraj, i know the difference what u told as its in manual i need to no is it required to close handler if i use file() funcation :-)
<15> nandan: nope.
<14> niraj, u mean to say that file() just gives file elements as array and i cannot write into file ?
<16> yes nandan
<6> !+u
<7> 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
<17> hi again friends.
<17> meep, which function should I use to strip like .php from a string? Some function starting with 'c'
<18> Is there a command to automatically copy entire directory trees or do I have to code it myself? I have found code for this in php.net/copy. Just wondering if thats the only way?
<17> ah, explode
<19> Smegzor: you can use system() or similar to copy and entire directory (with all the risks that might include), otherwise yes, you need to code it yourself
<18> hmm.. thanks.. i think :)
<20> hi
<20> got some questions about open basedir with virtual domains
<20> the doc suggest to set differents opebasedir for each virtual domains (which seems logical)
<20> so any idea on doing that ?
<20> should php be used as an apache module ?
<20> and what about letting the users writting .htacces files
<21> can any one help me to connect php with mysql?



<21> i cant access mysql from php
<21> i need help to configure my php.
<18> my recursive directory copy works (stolen from php.net/copy), but I am getting "Maximum execution time of 30 seconds exceeded". I don't want to increase that timeout if I can avoid it. Apart from raising the time limit, is there anything else I can do to avoid timing out?
<6> less files
<18> ha
<3> Smegzor: are you doing some busy loops there?
<6> use rsync
<18> unfortunately thats not an option unless I break the script up into several scripts.
<3> Smegzor: 30 seconds of cpu time is ltos
<3> lots
<18> yeah. copying a large directory
<3> you seem to be doing something wrong there ;-)
<3> Smegzor: billion files?
<18> um.. i'll check.
<6> i iso will take more than 30 seconds
<6> one
<18> 5,257 files atm (and rising)
<22> hey guys, I'm a bit confused about the error_reporting flag - I was thinking that if I wanted to disable notices, I would set error_reporting to 512, but this seems to disable everything that's not a warning, including fatal errors. What's whe correct number for "all but notices"? 1023?
<23> casey: php.net/error_reporting
<22> Dangermouse: I know, I have it open - it's still not clear, hence why I asked.
<23> And it's better to use the constants, eg E_ERROR E_NOTICE
<23> casey: What do you want, every other error except notices?
<22> if I put php_flag error_reporting E_ALL & E_STRICT in a .htaccess, I get an HTTP Error 500.
<22> Dangermouse: yes.
<22> Dangermouse: well in most cases, where I've been using 512 to disable notices for certain sites.
<23> casey: I'm just checking, because there's a clear example on that page
<22> Dangermouse: I'd rather understand how the number is calculated correctly.
<20> hey im using : /usr/bin/php-cgi -d open_basedir=xxx but it doesn't seems to work, the old open_basedir from php.ini is still the real one
<23> casey: lookup bitwise operators
<22> Dangermouse: They're on that page. I'm asking for clarification on them.
<23> ^ is bitwise XOR, exclusive OR, | is bitwise OR. How much do you want to know lol
<22> How to calculate the number, as I clearly stated in my original request.
<6> casey bitwise operation
<6> casey say right there --> The above values (either numerical or symbolic) are used to build up a bitmask that specifies which errors to report. You can use the bitwise operators to combine these values or mask out certain types of errors. Note that only '|', '~', '!', '^' and '&' will be understood within php.ini, however, and that no bitwise operators will be understood
<6> within php3.ini.
<6> !4096-8
<7> 4088
<6> there ya go casey
<22> Jymmm: Again, I am not asking about the operators, I was asking for clarification on how to come up with the *number*. 1023 in this case, which I've figured out now no thanks to the responses here :/
<22> cheers anyways.
<6> casey YES THAT IS WHAT I JUST PASTED FOR YOU...
<23> Jesus 8-)
<23> What did he want, an explanation of logic gates?
<6> and 1024 aint all of em either
<6> he doens't know bitwise ioperations
<24> hi
<25> anyone on windows willing to check if the encoding works like it should on a page of mine?
<25> in internet explorer
<24> i had a problem when i was installing phpnuke in my computer
<6> !+nuke
<7> Nuke: Just Say No, See http://img.voidofmind.com/?d=funny&x=phpnuke7.jpg for what the author of phpnuke has to say about version 7! We don't support PHP-Nuke here. Please contact the PHP-Nuke support team.
<24> when i type http://localhost/mynuke in my browser i can see nothing
<26> what does nothing look like?
<24> browser shows a blank page
<24> but
<15> lol, jymmm
<24> when i change index.php for other index.php which have into a phpinfo works fine
<15> o_O http://secunia.com/product/2385/
<24> mysql_connect works fine...
<3> the future of the web......
<6> there's "The Future", then there's THE FUTURE!
<27> hi all, is it possible to search through Word documents from within PHP?
<27> (some kind of plug-in to import Word documents into memory, or something?)
<6> in your dreams
<15> lol
<15> can't he use COM or something?
<28> if you open .doc document with notepad you can see the text in it
<28> i guess it's possible to read it..
<27> I could use the program 'antiword' to create txt files
<27> I guess
<15> vasily: thats not true all .doc files
<28> haven't checked in .doc with pictures, but the ones i did it was readable
<28> kinda..
<15> well you'd have a hell of a hard time reading data from tables and stuff


Name:

Comments:

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






Return to #php
or
Go to some related logs:

gentoo stage tarball uri gli
#suse
rzablade
texas sd card hp ubuntu
red hat yum error: Can't find X includes
procmail DSN service unavailable
ddwrt ipw2200 wpa_supplicant
kde manager unable to create temporary printer
ant tools.jar ubuntu
cedega depends on xlibs (>> 4.1.0)



Home  |  disclaimer  |  contact  |  submit quotes