| |
| |
| |
|
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> MZXGiant, it is enabled - I just enabled it and I still get the same error <1> http://www.thewritersguild.net/~mzxgiant/chorale/ <- That black and white image underneath the upper left ball with the G-clef in it is the result of the PHP script trying to use GD to write to a transparent PNG <2> oh <2> then it's not enabled <0> MZXGiant, Distro is Kubuntu <2> or you have the wrong library <2> etc. <1> Celeste; Do you use apt? I forget what Kubuntu uses <0> MZXGiant, extension=gd.so <1> but at any rate, all ubuntu distros should have a package for php4-gd <0> MZXGiant, apt-get or aptitude <1> make sure that's installed <0> whatever you want <1> Celeste; apt-get install php4-gd <1> (I'm ***uming you're using PHP4... I'm not sure if the repository got updated with a GD extension for PHP5)
<0> MZXGiant, thank you I am just downloading it <2> I had to re-compile PHP withGD support <1> Celeste; Ah... <1> Not sure, then <1> I use the repository stock PHP <0> MZXGiant, Thank you very, very much!! <0> MZXGiant, you made it work with your tip <3> whats the deal with so many sites not using newlines in their source (meebo, gmail, etc) <1> Celeste; No problem <1> Celeste; If only my problem was that easy to fix <1> I'm pretty sure the stock GD I used is buggered up... <1> I cannot, for the life of me, get those damn images to render properly <0> MZXGiant, I am sorry that I cannot help you - I am a newbie <4> MZXGiant: what's the problem? <5> deadroot: Transparent PNG. <6> What variables does php use for command line arguments? I thought it was $1 but that doesn't seem to work. <4> tws: he wants to generate transparent PNGs? <7> hey! can i use different methods te fetch mysql result rows? - like mysql_fetch_accoc() to get field names and the first set of values, then mysql_fetch_array() for subsequent rows? <4> TJNII: you mean for php-cli? <4> dad_: read up on www.php.net/mysql_fetch_array <6> deadroot: I believe so. I'm writing a small script to be run at the command line in php. <7> i'm there already ;) <5> deadroot: <1> I seem to be having a problem with manipulating transparent PNG images <4> TJNII: then var_dump($argv) to get the arguments <8> hello all ... is there a way to stop php from incorrectly replacing dots in form element names to underscores (its really pissing me off). Eg. <input type="hidden" name="word.blah"> ... should not be changed to $_POST["word_blah"] <6> deadroot: ty <9> sema4: php replaces all characters which are not legal in variable names with underscores <4> sema4: word.blah isn't a valid value for the names <10> hi all <7> deadroot: oic! i can use the same function for both... <7> deadroot: kule! <10> i search php script to know my furur pagerank <8> CryWolf: deadroot you sure dot is not valid in a form intput name ? <9> sema4: dot is the concatenation operator <10> any one know whare i ca find it ? <8> CryWolf: http://www.w3.org/TR/html4/types.html#type-cdata <9> sema4: http://php.net/operators <4> sema4: whether or not a language allows it, it is always easier for the programmer to keep things simple <5> sema4: Invalid as to PHP. <4> so don't use the . <1> deadroot; Do you understand my problem? <4> MZXGiant: all i know is that you have a problem with transparent PNGs. what's the problem? <8> ahh ... so php deamed . in an array key is invalid? ... ok <0> How can I allow my local installed PHP to send E-Mails? <1> deadroot; Remember the bug in an older gd library that caused true color transparent PNGs to turn black and white? <1> It seems like it's the same bug in a different version <4> Celeste: there's the www.php.net/mail or google for a third party script "phpmailer" <4> MZXGiant: um.. that sounds like out of my usual stomping grounds. <5> Celeste: A mail server? <4> MZXGiant: so what's the current problem? <1> deadroot; 1 sec, let me reproduce it <0> Tweakin, I think I have one, "sendmail" is a command which my shall knows <8> deadroot: CryWolf: im confused ... why is this allowed ... $myArray = array("asdf.asdf" => 'val'); ... but not for get/post input ? <5> Celeste: Then you can use the mail() function or just use the third party script deadroot mentions, `phpmailer`. I use it myself, it's superb. <0> tws I use joomla and jooma (a cms) tries to send emails <0> but I always get an error message that there was an error while trying to send mails <9> sema4: probably because of register_globals, which should be off, but which can be on. That's just a guess, though. <1> alright now it's just being a dirty whore and not even working at all... *reinstalls GD* <8> CryWolf: nah ... just checked ... it's off <4> sema4: personally, i'd advise you not to try to use them in the first place. it'd be simpler <8> deadroot: yeah ... i know ... it's just gonna make my code a bit more complicated now
<9> sema4: but you could turn it on if you really wanted. My point is that I don't think they check register_globals when getting post variables. <11> quick question... if I p*** an object to a function without the ampersand.... any changes I make would directly affect the original object, correct? <8> CryWolf: even if it did/didn't ... I cant see any logical mapping dot to underscore <5> Celeste: What's the error message? <9> sema4: what would you replace illegal characters with? <4> FenixRF: i'm not 100% sure, but i believe objects are always referenced <8> it's going in as an array key ... so in this case ... why is it illegal? <11> deadroot, thanks. <9> sema4: see what I said about register_globals <12> question: how do i call an object method from in a function then the object was created outside <12> when* <8> I saw ... but didn't realy understand ... it doesnt matter if reg_glob is on or off ... ? <9> sema4: since post variables can become actual variables as opposed to array keys, php cleans them up. <8> CryWolf: ok ... that I get <9> sema4: you could put in a feature request that when they drop register_globals completely, they stop cleaning post variables. If they'll do it or not, I couldn't guess. <8> CryWolf: hehehe ... they should have never done it in the first place <1> deadroot; http://www.thewritersguild.net/~mzxgiant/chorale/navbar.php?Home <1> That's the problem <1> =P <1> http://www.thewritersguild.net/~mzxgiant/chorale/img/navbar.php <- That's the source image, basically it's just writing black text to it and outputting the modified image <4> MZXGiant: 404 on the second link <1> err <1> http://www.thewritersguild.net/~mzxgiant/chorale/img/navbar.png <- That's the source image, basically it's just writing black text to it and outputting the modified image <4> damn that's bad <4> what gd functions did you use? <1> heh <8> CryWolf: I just found always_populate_raw_post_data ... guess ill use that <4> there's the 24-bit and 32-bit functions <1> Mind if I PM you the code? <9> sema4: they had to do it. register_globals used to not be an option <1> heh <1> connection hiccup? <13> yeah <8> CryWolf: ... yeah ... because the orignal php0 behaviour was to put the input variables in the main scope ... which was a dumb thing to do ... but then ... php wasn't expected to become this big <1> I just pasted you my code into a PM <4> MZXGiant: i went down before i got it <1> heh I directed at deadroo1 <1> and it should have sent before you did the nick change <4> damn... >__< <1> should I resend? <4> yes <1> oh... <1> I just realized why <1> heh <1> PMs are blocked from unregged users... <1> hm <14> there <12> anyone know how to call an object method from inside a function when object was created outside? <14> global I believe <4> Em`Zee: have you read the user comments in www.php.net/imagecreatefrompng ? <15> did anyone notice php.net is a blank page ? <4> just did <5> Yeah, zero sized reply. <4> replace the subdomain `www` with your local area <14> yes, but did I miss something important? <4> Em`Zee: i think you're manipulating it as a 24-bit image and not a 32-bit image <9> us2.php.net and us3.php.net are working. <4> 32-bit contains the alpha channel <14> aha... <14> hmm let me try that <16> hello <5> Someone should have the Greeter status in this channel to reply those people. <14> awesome. Thanks, deadroot <14> looks like it works now =) <14> I'm just retarded apparently ;) <4> Em`Zee: heh :p <17> guys, there is this web-based email program that I am trying to remember. It is a simple and neat looking interface, but it has a really wierd name which I am trying to remember. Its kind of japanese'ish.. like uchiban or something. does anyone recall? <16> mm <17> no one knows? <18> DarezGhost: No <19> hola <16> hola <19> I've got apache 2.0.55 and 2.2.0 on my box. I've built php 4.4.2 --with-apxs=httpd-2.0.55/bin/apxs . Is there any way to build the libphp4 module for apache 2.2.0 without rebuilding all of php? <12> how do you create global object
Return to
#php or Go to some related
logs:
#suse #python kernel waiting for root fs sata ubuntu slow dns #gentoo workbone dae updating suse with ksmarttray rpblems with parents ut2k4 gentoo nosound #mysql
|
|