| |
| |
| |
|
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
Comments:
<0> kuja: Can you do that with any extension, or just certain ones? <1> You can load any extension like that if it creates the shared module from compiling with your PHP version. <2> can anyone tell me what to enable to get this function? imagecreatefromjpeg() <2> i have enabled libgd with libjpeg.. <1> GD with jpeg support <2> i think,, let me check php.info then hehe <2> or do i need config file entries to enable php-gd/jpeg? <0> voidy: Nope. Check your phpinfo() output to check they are activated properly. <2> ok.. all activated, apart from no mention of jpeg :( <2> let me see <1> voidy: Does your configure line include --with-jpeg? <1> Pollita: Did that trigger you? :) <2> aye ahaa.. no it doesn't.. has --with-jpeg-dir= thoughg hehhe <2> ok, i specified the folder to use libjpeg from to php.. but not to use libjpeg hehe <3> hi
<4> hi <3> does anyone know the exact difference in PDO between PDO::FETCH_OBJ and PDO::FETCH_LAZY? <1> Pollita: I can't compile operator -_-; <5> what the option session.save_path do in php.ini ?? <2> damn.. well configure says that it found libjpeg... <2> but it's still not in the gd section of phpinfo() <0> anirban: changes where the session files are saved. <2> the only mention of jpeg in the whole php.info file is the configure strings... <5> okay <5> acctually I am installing a PHP poject and its INSTALL say set the session.save_path option <5> so setting this option to /tmp will be a good idea <2> --with-jpeg & --with-jpeg-dir=/usr <0> anirban: I think that's what it is by default <5> or a place inside my home folder with write permission will do <6> voidy: isn't libgd a separate thing from libjpeg? <2> dj_segfault, i have installed libjpeg already, and the two configure strings enable it in the standalon gd.. but not php gd it seems <7> hey guys, did anyone deal with installing ImageMagick as source? <8> how can I make php not error out and stop in the middle of the script when opendir takes longer than 30 seconds? this is in a loop, it needs to open several DIRs... if it's unable to open it, I'd like for it to just move on... any ideas <7> I installed it... but I just cant get it to get recognized.. is there anything that I need to do for apache or php to recognize it? <6> voidy: I'm saying they're two different .so files <7> so basically, did anyone here did deal with ImageMagick ? <1> exes: set_time_limit(0); at the top of your script. <2> dj_segfault, so it won't be statically compiled? <0> voidy: You have --with-gd on your php configure line too? <8> kuja: does that mean it's going to just hang tehre forever? because after 30 seconds it'd be a good idea to move on <1> Yes, it just removes the time limit. <2> aye yes.. gd has a whole section in phpinfo() for gd.. with png, freetype, fontconfig and stuff <6> voidy: All I'm saying is that you noted that it found libjpeg, but you didn't say whether it found libgd or not. <2> dj_segfault, i was going for the integrated libgd.. but separate libjpeg.. <9> i am going nutty, pecl refuses to work on the basis that preg_match() is a undefined func <2> checking for GD support... yes <0> voidy: That's fine! <1> pUmkInhEd: Didn't I already tell you this? <2> checking for the location of libjpeg... /usr <6> exes: The browser's gonna time out shortly after that anyway. Trying to get around a 30-second timeout is a bad idea. Find a way to make it faster. <1> You need PCRE support, "check your ports" <-- I remember saying this, pUmkInhEd <9> kuja: yup but pcre is installed <10> print "$htmlstring"; how do i print the htmlstring with it showing the html tags <1> pUmkInhEd: Then I have nothing more to say, except FreeBSD *****s* ... we've already discussed this, "why do distros disable stuff like PCRE" :P <2> so how do i go about loading the jpeg module? <1> Cause PCRE is enabled by _DEFAULT_ <1> Well, I don't know if PCRE is... <0> voidy: So under /usr/lib you have libjpeg.a ? <1> Though some sort of regex lib is. <9> kuja: running php -a and entering <? preg_match(); ?> tells me that it requires more variables... <0> voidy: and under /usr/include you have the .h files? <1> pUmkInhEd: Okay, so it works, how about the PEAR script? Undefined? <2> Gargoyle, only libjpeg.so actually.. <10> how do i print a html string so that it displays the html tags <0> voidy: I am on a mac... I think *.la is the same thing as *.so <1> cecil: <?php echo htmlentities($html); ?> <2> Gargoyle, and doesn't seem to be any libjpeg* or jpeg* header files though... <0> voidy: jpeglib.h ? <9> kuja: u were right, when i looked at pecl binary (a shell script) it had the -n flag to php <9> kuja: removign the -n flag (meaning pcre is broken, not freebsd) <9> kuja: and it works <2> Gargoyle, it's not there.. i'll check the libjpeg dir to see if i can install the headers <1> pUmkInhEd: Does FreeBSD have a PHP-sessions port? <9> :p <9> yes <1> pUmkInhEd: Okay, it ****s.
<11> here's another good one... i'm printing out an array that has some duplicate values one after the other, but i only want to print each value once... how would you do that? <0> voidy: type "locate jpeglib.h" <2> i'll have to updatedb <1> php-bot: tell pUmkInhEd about u <0> voidy: Won't take long. <10> kuja thanks! finally made my script work =] <2> ok, Gargoyle it's confined to the src dir hehe <6> kuja gets another gold star on his report card <0> eh? <4> STUCK! <4> MY MAIL CANT BE SEND! PLEASE HELP ME! <0> voidy: You did remember to do "make install" ? <9> kuja: whoa <2> it's only in the actually tarball.. not installe.d. libjpeg.so is installed.. <2> make install doesn't list the headers actually <0> _Felix: read the guidelines, and try again! <4> I DID! <2> why doesn't libjpeg install the headers... <4> I have it on IIS, so I dont know how to configure options! <0> Then take the brick of your capslock key! <2> shall i copy all the headers to /usr/include/jpeg-6b? <12> <6> Well said, itrebal. <0> voidy: Not 100% sure if the library headers are the same as source headers! <13> well said? all i see a blank line <13> :P <14> anybody know of any good web based FTP apps? <12> dj_segfault: thanks. <15> jiggster: sometimes that's the most intelligent thing that can be said <12> jiggster: its hidden from anyone with the nickname "jiggster' <0> voidy: Mine are just in the include dir... not a jpeg-6 subdir <12> s/'/"/ <11> ||beta yes <6> "It is better to remain silent and let others think you are a fool, than to open your mouth and remove all doubt" <0> :) <13> hmph <2> Gargoyle, i should RTFM :) <11> ||beta check out NotFTP by Ryan Grove <2> it says you need to manually copy them hehe <0> voidy: Yeah! <0> lol <0> That could have saved you about an hour! <14> thanks <0> voidy: That's odd tho, I compiled libjpeg the other day, and make install poped them into the correct place under PREFIX <2> need make install-lib then? <2> yeah it's make install-lib <0> ahhh hang on <0> I did have to do something extra with lib jpeg <0> It's on my blog, but not sure if that's just a Mac (OSX) thing! <16> hello all <16> how do i verify whether the connection with the browser is via ssl ? <0> voidy: http://www.paulcourt.co.uk/wordpress/?p=27 <0> voidy: Not sure if it will apply to any other systems - possibly BSD. <2> tanks GarethAdams <17> is the book 'php|architects Guide to PHP Design Patterns' any good <2> oops... Gargoyle <0> lol <0> thats twice this week... someone should kick GarethAdams... He never speaks! ;) <2> haha <18> gt3 - yup, it's got some great examples <18> Jason did a good job with it <19> I'm having problems getting rid of all empty values in a multi-dimensional array. Here is the paste: http://nomorepasting.com/paste.php?pasteID=56978 <20> !tell AaronCampbell about func array_filter <19> basically, I want to remove all empty nodes...including those that contain only empty nodes. It's multi-dimensional, but always the same depth (3) <21> Hi ...I have enable gd.so in my php.ini but it's not showing in my php info http://www.mambotech.co.uk/info.php ? <21> I have restarted apache as well <1> =O <2> hmm, well i tried what that page suggested Gargoyle , but still no mention in php.info.. <0> You restarted apache? <2> aye yes <2> think i should go standalone gd? <2> configureing gd itself says that it will enable jpeg support.. <21> Gargoyle:...any ideas why gd is not showing as enabled in my php info ?
Return to
#php or Go to some related
logs:
#linux mono no version information available #css luimis rpm fc5 dvdbackup fedora #sdl Cippo+meaning latin1 table name mysql and java #qemu Search gianluigibuffon
|
|