| |
| |
| |
|
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 35
Comments:
<0> Jymmm: Yeah, iPods are NOT worth the money. <1> kuja but apple is amking a killing on them <0> Apple puts great emphasis on style. <0> I just don't buy the whole style crap. <0> Uneducated decisions really hurt. <1> kuja hey, my mp3 was $15, you figure that out <0> lol <1> brand new from the store <0> How is it? <1> POS <0> Hahahaha <1> but it works <2> :) <0> iRiver... now *THAT* is great ****. <1> kuja but if I drop/lose mine, what do I care <0> Color screen, same or less price than an iPod, downside is having a smaller disk.
<0> storage disk, that is. <0> I think the iRivers at the time of the iPod spanned 5GB to 10GB, while the iPod spanned 20GB to 40GB <1> **** man, get a mp4 player <0> I plan on ditching MP3 all together. I hear Flac is a nice format, the format of the Mac world isn't it? <3> Is there a guide on how to build php-5.1.2 on RHEL4? <1> kuja mp4 == video <0> hxu: Building is not much different on any machine, unless it's Windows. <2> kuja: flac and aaac <2> aac, rather <0> hxu: It's basically a: ./configure stuff && make && sudo make install <0> hxu: If you're on RedHat, I'm guessing the native package manager is apt. <0> So you might want to try apt-get build-dep php <0> Or some crap like that. <4> so, is it typically diffacult to transform a graphicly intense webpage in html into php? I also has three different java scripts loading... I'm having a hell of a time with it. <0> so that you won't have to deal with missing libraries at least. <3> kuja_: no, I'm using CentOS 4.0 <3> kuja_: It's based on Redhat Enterprise Linux 4. <0> Well, if it uses apt, same **** :) <0> Same command, I mean <3> kuja_: It uses yum. <0> Hm... <0> hxu: If I were you, I'd search <0> For a PHP 5 package. Your repository may already have it. <5> greets all <5> Can anyone tell me what port cpanel usually runs on? (Random question i know) <0> 2802, normally. <0> Next time, don't ask such a retarded question, please. <5> ty :) <0> We don't like people randomly joining and asking randomly off topic questions. <6> Hm, glob returns the directory I am looking in for each element in the array. Anyway to not do this? Or do I just to manually strip it out of each element? <0> glob() returns the file list of a directory with the matching pattern. What's wrong with it? I didn't quite get your question. <7> he only wants the names of the files. <6> $file_list=glob($directory."/*.rpm"); ... basically, that leaves the elements of $file_list with the file, and the directory before it .. yeah <6> foreach($file_list as $key => $value) { $file_list[$key]=str_replace($directory,"",$value); } <6> Anyway better to do it or is that my best bet? <0> foo: Ah, I see. <0> foo: array_walk() it with basename() <6> hmm <0> Or array_map <6> What would you do? <0> $files = array_map('basename', glob('...')); <6> ah <6> Ah, sweet. I never knew something like basename existed. heh. <0> foo: It should work, but I don't have PHP by my side right now. <6> kuja_: hehe, thanks anyways <0> np <0> foo: Out of curiosity, did it work? <0> The array_map()/basename() <2> sooo, the price of fish <6> kuja_: Of course, you're a genious :) <0> :P <2> foo: genius <6> p0windah: heh, thanks, yeah. <0> Just making sure, I had an odd feeling it might not work :) <6> Err, still having this other issue. /me tries to find bug <8> could someone try uploading something appropriate, plz? http://brazucs.unitedti.org/courseaid/ <8> believe it or not, i've been coding that all day <8> though it probably takes less than 5 minutes for everyone else
<6> Bah, found it. e_modules - something with this name gets bumped up to the top of the list when I sort it with usort($file_list, 'strcasecmp'); ... how can I get it bumped down to the bottom of the list? <0> foo: What sort of sorting? <6> Bleh. If only there was something equivalent to mysql's ORDER BY column when it comes to PHP. That'd save me a lot of h***le. <6> kuja_: Just incase alphabetical <0> foo: There is. <8> thanks :) <8> works... <6> kuja_: What is it? Heh. <0> array_multisort() <6> AH. <6> Hmm, not too sure if that's it. <9> foo: You can also write your own condition for the sort and apply them with usort <6> Basically, I'm pulling info from a database and from a filesystem ... and, if both pulled in alphabetical order, they should generate the same md5 hash if imploded with the same delimiter. Bah. /me reads multisort <10> pants <0> shorts <4> wow, I got the page the work, but none of the java script that was working in the html version of the page is working in the php version. <0> ironpig: echo the JS. <0> echo '<script ... ... ' <3> I'm using the latest MySQL(5.0.18) rpms on RHEL4, and the php-mysql rpm version is 4.3.9-3.9. My phpMyAdmin does not work, it complained: could not load mysql extention, please check your php configuration. Any idea? <4> did , but I used echo " .. .. " does that matter? <11> hxu: check your php.ini <11> hxu: specify your extensions directory and uncomment "extension=php_mysql.dll" and/or "extension=php_mysqli.dll" <10> .dll's don't exist on *nix <10> :/ <11> well, the idea is there anyway <11> hxu: next time, read the installation guide <0> mazzanet.dll <6> kuja_: bah, that's case sensative. array_multisort($file_list, SORT_ASC, SORT_REGULAR); lame. <0> mazzanet.dll is a streaming porn library. <0> :D <6> Forget it, there must be a different way to do this. <0> foo: You'll probably want to make your own sort function and use usort(), then. <11> subtitiles? mpeg-2 subs or mkv/ogm subs? ;p <4> does it matter if the java script is split up between a bunch of different echo tags? Im asking, should I use one echo, for an entire <script> to </script> ? <0> ironpig: It doesn't matter. <10> subwoofers you twat :P <0> lol <3> deadroot: I installed these packages on my RHEL4: MySQL-client-standard-5.0.18-0.rhel4.i386.rpm <3> MySQL-devel-standard-5.0.18-0.rhel4.i386.rpm <3> MySQL-server-standard-5.0.18-0.rhel4.i386.rpm php-mysql-4.3.9-3.9 <3> php-pear-4.3.9-3.9 <3> php-4.3.9-3.9 <3> deadroot: DId I miss something? <0> hxu: I have one unrelated question. Why are you using MySQL 5 with PHP 4? <12> hi does anoyne know how to do php file uploads? <12> my $_FILES is empty even though it shows on $_POST <9> Tryblithe: move_uploaded_files <0> Tryblithe: Sure, but php.net explains it clearly. <10> `tar zxvf $1.tar.gz && cd $1 && ./configure && make && make install` > rpm <11> hxu: what you missed was customising your php configuration <0> Tryblithe: Wrong enctype I ***ume. <3> kuja_: Is it wrong? <9> Tryblithe: You are missing an HTML attribute <12> oh!!! <12> :O <12> we need that?! <9> Yes <0> Yes <12> ew <11> oh wait... php 4... it won't work with mysql 4.1 <0> Tryblithe: The browser needs to know. <12> .....thanks <0> So it knows how to send the data. <12> i feel stupid. wasted 2 hours <11> or mysql 5. you'll need to recompile php4 to use mysql 5's source <3> deadroot: You mean I can use MySQL 5.0.18 with php-*-4.3.4 as long as I work out the right php configuration? <11> *mysql 5's libraries <11> no. you can use php4 with mysql 5 as long as you compile php4's mysql interface with mysql 5's libraries <0> hxu: Well, one thing, there's no real point in using MySQL 5 with PHP 4. <0> You're not putting MySQL 5 to any good use if you use PHP 4. <11> there is a point. to get access to mysql 5's features <11> i don't use mysqli ;p
Return to
#php or Go to some related
logs:
#awk emerge mplayer faad dd noconv recovery bttv ubuntu #web your-browser-sent-a bankofamerica xlibs-dev debian 6.9 #asm #css libpng decoder
|
|