| |
| |
| |
|
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> then how'd you get it, Fushuing? <1> that's cheaper than what you said <2> i didn't wrote it for them -_- <2> it was written for myself <2> but the gov took my PC as "evidence" :@ <3> Hmm, I did pear install http://pecl.php.net/get/id3-0.2.tg ... last few lines say this ... http://pastebin.com/661905 - everything looks fine. I restarted apache. Still getting the Fatal error: Call to undefined function: id3_get_tag() in /var/www/stream_functions.php on line 32 problem ... any idea? <0> Fushuing: I bet. <4> can somebody please help me i updated my systme last night now mysql_connect() is an unknown function <5> instruction Google Adsense--> http://planet.nana.co.il/hartk2003/en.htm Download free Firefox --> http://planet.nana.co.il/hartk2003/Firefox.htm <6> foo: did you edit php.ini? <0> I3ooI3oo: reinstall http://hashphp.org/pastebin.php?pid=6533 <0> err <7> anyone know of some good, advanced shopping carts? oscommerce, cubecart, zencart and the like... all pretty much **** :\ <0> i mean, reinstall libmysqlclient14 <0> Monkey_b: cpCommerce
<3> philip: hmm, no /me goes back to site <0> www.cpcommerce.org <7> thx, ill take a look <3> philip: bah, what page was that on again? hmm <6> you'll find it <6> basically you created a .so file, now, it would seem reasonable to include such a file in php.ini as an included extension, right? :) <3> philip: hmm, yeah. /me still learning <6> aren't we all <8> philip: array_merge_recursive just appends the data <9> I don't understand the answer to this question: If the variable $a is equal to 5 and variable $b is equal to character a, whats the value of $$b? <6> lorfds: also consider a creative use of array_combine <10> where i can find documentation about how php works internally, like how it do parsing, lexical analysis <5> instruction Google Adsense--> http://planet.nana.co.il/hartk2003/en.htm Download free Firefox --> http://planet.nana.co.il/hartk2003/Firefox.htm <6> Kira: $a = 5; $b = 'a'; echo $$b; // 5 <11> I'm trying to find out how to connect to a irc network, and count the users in a room as well as print the names out. Can anyone help with this? <8> philip <8> Returns FALSE if the number of elements for each array isn't equal or if the arrays are empty. <8> number of elements is not equal <3> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 817692000 bytes) in /var/www/stream_functions.php on line 32 <3> Hm. I think that means I need to increase a size in php.ini, eh? <8> philip: there is no way to simply append for each $i value? <8> i feel like this can't be that hard to code <8> or append where $i = $i <2> who of you guys write PHP on PAPER? <2> FLAWLESS ? :) <9> philip: the answer on the website (where I found the question), is 100, strangely. <12> which salt does php use for encription when using the md5 function? <10> anyone have an idea of where do i find info about internals of PHP? Like how it do syntax checking, lexical analysis <13> Fatal Error: PHP can't be written on paper. <12> i have some md5 encrypted p***words and need to convert them to unix style $1$<salt>$<encrypted> <3> Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 817692000 bytes) in /var/www/stream_functions.php on line 32 - eek. Does this mean I need to increase php's memory size to like 600MB? Is this bad? I guess this is why id3 support isn't natively compiled in with php, maybe. Any ideas? <3> I mean, like 850MB, heh. <14> _spq_: too late, md5 isn't encryption, it's hashing, non-reverseable <12> Davey, but unix uses md5 too <14> _spq_: but it used the salt when it did the md5 <12> yea, which salt does php's md5 function use? <14> PHP doesn't use one <2> unless you specified it <12> so why doesnt crypt('pw','$1$') does not generate the same? <14> because crypt doesn't use MD5 <2> hrmmm...how do you rename a fieldname in mysql? <12> it does! <2> oops, wrong chan <14> _spq_: no, it doesn't <12> it does, if the salt given begins with $1$ <14> crypt() will return an encrypted string using the standard Unix DES-based encryption algorithm <3> Any ideas anyone? Hm. <14> _spq_: quite right <14> never read that far down before ;) <11> Sorry foo, am quite new at PHP. <12> ;) <12> so md5 can use a salt - which one could php use in the md5 function? <3> Anyone else here use id3_get_tag before? I am grabbing id3 tag for 10 mp3 files, and php is trying to allocate about 800mb to do this ... is this normal? <2> foo: unless these mp3's are over 300MB each... <2> correction, 80MB+ <3> Fushuing: hmm, actually, they are. heh, thanks <15> hello, i would figure someone in here might know the answer to this: when browsing with firefox, and you go to an annoying site like myspace.com and people force your browser to immediately play crap.... and when you're watching a dvd or listening to music, this is super annoying... does anyone have any tricks? <16> foo: you can fopen, fseek to end - 128 bytes, then read those 128 bytes and split them according to this: http://en.wikipedia.org/wiki/Id3 <3> drgalaxy: ahh, thanks. hmm. /me wonders if it is worth it. I was just going to rename the mp3 files <16> id3 is pretty easy.. 30 bytes for song name, 30 bytes for artist, 30 bytes for album <3> drgalaxy: I see
<16> foo: search around on freshmeat... there is software that will do that already made (although I am all for reinventing the wheel in the name of science) <3> drgalaxy: In the long run, I think just renaming the mp3 and using the filename will be quicker. haha <16> foo: whatever works for you :-) <3> drgalaxy: Would you agree? <16> foo: I don't know what problem you are trying to solve <17> anybody know about jiax webphone? <3> drgalaxy: Basically, trying to read header information to grab the id3 title from an mp3. Could be up to 100 mp3s, though. <17> please <18> depends on what id3v it is <4> is "PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)" a database permmissions error ? <19> no <19> its a Can't connect to local MySQL server through socket error <18> I3ooI3oo: more likely that you dont have mysql running or that is not the proper socket location <16> foo: I would use the linux program 'id3' and probably bash script <4> i can connect with mysql -u root database name <4> from console so it is running <16> foo: 'sudo apt-get install id3' <4> and that is the socket location <18> I3ooI3oo: then the path is wrong, check your mysql server settings for the location <20> what permissions do i need to set to make files writeable by php? chmod 555? <16> nekrom: you also need to take into account user and group ownership <20> oh <3> drgalaxy: Yeah, I know how to do it that way. I think for performance and what not, just renaming the mp3 and using the filename would be much easier. Thanks, though <18> nekrom: well, if you dont need to read it, that might work, but 550 or 500 would be better <19> just change your mysql host to 127.0.0.1 and it will connect over tcp/ip instead of using a unix socket.. <18> oh wait.. your chmod is all backwards <21> 666 <21> if the webserver is running the script, might need chmod 666 <16> has anyone here ever consumed a .NET WSDL SOAP service with PHP5 before? <22> yeah i ate some Dial yesterday <22> note to self... don't eat soap <21> I've consumed a NuSOAP service before <21> :) <16> I'll take that as a no... oh well <3> Bah, I'm trying to search an array. I have looked at in_array and array_search ... but say the element is "hahasomething1234" ... and I search for "something" ... I want the key of that element to be spit out. How can I do this? array_preg_search would be cool. hehe <23> in array <3> Jymmm: hmm, /me checks again <16> foo: if in_array doesn't work you can use array_map and have your function do the preg_* <3> Jymmm: hmm, yeah, but that doesn't spit out the key. It just returns true. <18> you can't do partial matches on in_array <3> zircu: ah, thanks <3> drgalaxy: I'll look at array_map, thanks <21> foreach ($arr as $key => $value) { preg_match(... <18> i'd also look at array_walk <3> fleckz: Yeah, I know I can do that. Just didn't know if there was a more effective way or not. <3> zircu: hmm, alright. <16> simple is best <23> array_search <23> if you ppl would just RTFM... http://us2.php.net/array <3> Jymmm: Doesn't do partial match. <3> Jymmm: haha. <16> yeah Jymmm.... RTFQuestion <24> foo: You can always crank out your own function... <16> :-) j/k <3> Stormch[a]ser: Right. <24> drgalaxy: *blink* <25> TML: Where the heck are you? <9> Let's see how many of you get this right: How are objects p***ed around by default in PHP5? <26> if i have a php.ini where i know php looks for it, but also a php.ini where PHPRC points to, will the second php.ini be included as well, or does php stop reading conf when it finds the first one? <16> Kira: by reference? <2> why does SQL hate me >.< <9> 1. by value 2. by reference 3. by reference-value <9> choose the correct answer. :) <25> Kira: *blink* <26> Kira: i go for 3 :> <16> yeah, I think 3 is right <25> I'd go for some food... <2> i choose for 4 <26> does anyone know the answer to my question? <27> All of the above <25> Fushuing: Yeah! 4) food! :) <9> -o- <9> anyway, the correct answer is 3. :) congrats to all of you.
Return to
#php or Go to some related
logs:
linsta icons installed ut2004 in ubuntu,how to run php mysqlclient.so.14 iptables_filter cgi_irc freenode #gentoo #lisp #python xubuntu f5d7050 #gaim
|
|