| |
| |
| |
|
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> how do i build a new gd module? do i download and build the gd source, or do i make it from the php source? <1> no really <1> i am from england <2> lith im there but not useful <3> OneSeventeen: A single query is PROBABLY faster, but you have to test on YOUR hardware to know for sure. <4> I wish i was from england <5> when in england <5> where <4> debiankid: well you have to actually read it.... <6> zan: rElly... I'm from Jupiter... Actually one of the moons of Jupiter <2> i mean useless <2> im trying to edit the script <1> i live in Oxford <7> richardlynch: good point, I guess I'll just play with both for a while. <5> burton on trent here
<3> shadfc: What you mean by "build a new GD module"? <2> ahh headers <2> wait <6> zan: I live in Keraan. My city. <0> richardlynch gd.so ? <1> Keraan ? never heard of it :P <4> debiankid: in the time i posed that link until you said "its useless", unless you froze time with your handy dandy decoder clock or can speedread theres no way you could have seen any use. <3> If you compile from source, just add --with-gd to your ./configure line. <7> Is it possible to make a link on my PHP site to an MP3 on a separate website set the headers as a download so the "save as" dialog box comes up? <6> zan: It's a city on Europe, Jupiter's moon. <8> Europa? :) <1> omg <1> anyone speaks russian inhere :P <6> o.O <1> i am russenglish <1> lol <8> Nyet. <6> nein <3> OneSeventeen: Yes. header("Content-type: application/octet-stream"); readfile("http://example.com/some.mp3"); <4> zan: how old are you? <1> that is a personal question :P <1> hehe <1> guess :P <9> just spanglish =) <6> no. <3> zan: nemnoga <7> richardlynch: is that going to grab the file from the other server, then send it from my server? (meaning is my bandwidth going to go up?) <1> mne tolko 18 <0> richardlynch yeah, i did that, but it didnt create a gd.so anywhere... at least find . -name "*.so" from the toplevel php source didnt find it <10> hi <3> OneSeventeen: Your bandwidth as measured by the ISP will include the MP3, yes. <10> should i delete the objects? <6> you're not 18, zan <1> how u know ? <6> I'm thinking 13/14.. <8> etam: Er, what objects? <0> richardlynch is there another target (than just 'make') that i need to do? <1> dude honestly ! <3> shadfc: make install ? <2> c $headers .= "Message-ID: <".$now." TheSystem@".$_SERVER['SERVER_NAME'].">".$eol; <2> $headers .= "X-Mailer: PHP v".phpversion().$eol; // These two to help avoid spam-filters <2> # Boundry for marking the split & Multitype Headers <2> $mime_boundary=md5(time()); <2> $headers .= 'MIME-Version: 1.0'.$eol; <2> $headers .= "Content-Type: multipart/related; boundary=\"".$mime_boundary."\"".$eol; <2> $msg = ""; <10> mattmcc: that i created in php ($obj = new Constructor;) <4> Were going to have to put a line at the entrance to the room "You have to be at least this tall to ride ##php" <11> lith: my husband has one of those on his Jeep <6> lol <1> realy i am 17 <7> richardlynch: I meant if the bandwidth measured by the host. The reason we host it elsewhere is we don't want the host's bandwidth limitations/speed to slow down the download process. Would grabbing it from the other server and pulling it through readfile() use up my Host's bandwidth? <1> i am studing in college. <3> shadfc: Examine config.log for GD stuff... <6> zan: I doubt that. <1> i dont realy care. <3> OneSeventeen: Yes. <6> I don't either, zan
<1> how old are you ? <7> richardlynch: cool, thanks. I'll tell the guys I'm doing the site for to see if they have the bandwidth, because that would definitely make it easier on the end user! <6> enough. <1> no realy <3> OneSeventeen: You could juse header("Location: http://otherserver.com/some.mp3") but then you don't get to force a download -- whatever their server does is what you get. <1> go on. <6> As said: I'm old more than enough, zan. Now drop it. <10> should i delete an object when $o = new O();? <1> ok ok , i am 17 , no need to go sci-co. <7> richardlynch: yeah, that's the issue now. I think we'll just have a popup that describes the whole right-clicking process for the people who don't know how... <3> etam: Yes, if you want that RAM back. <6> *rawr* <12> sci co! <10> richardlynch: how? <3> OneSeventeen: NOT a popup! Ugh. Just tiny text. <12> lern 2 spel <3> etam: unset($o); <10> richardlynch: delete $o? <6> richardlynch: Heh... from what I saw, PHP doesn't free the memory :) <10> richardlynch: ok, thanks <6> etam: unset() <7> richardlynch: http://calvarymontreal.com/special/ (one of those sites that are so bad even popups don't make it worse... the camel's back broke a long time ago) <13> Hello <6> woof <13> How would I print to standard error in php? <3> jak: fopen('php://stderr', 'w') or die("RTFM"); <7> why do some characters on my site show up on some pages, but come across as question marks in other pages? (all are UTF-8) <0> richardlynch ahh, needed --with-gd=shared <3> OneSeventeen: You need charset in header AND in META for stupid IE. <13> richardlynch, heh, thanks <7> richardlynch: This even happens on my firefox/linux box... (I'm thinking it might be because the user entered it with IE using a weird character) <3> OneSeventeen: It could just be stupid MS Word crapole. Read User comments at http://php.net/str_replace Good Luck! <7> richardlynch: weird, I just copied and pasted from one section to another, saved it, and it still comes across as the question mark... I think I might be calling htmlentities() or something similar too many times or something.... <14> I'm stumped by something. Trying to run this sed command to add a piece of php to a bunch of files, and it complains. Maybe someone with a larger brain can spot my error: <14> sed -i s,http\://frazetta\.ragnarok\.no/thumbnails/,\\\<\?php echo THUMB_LOC\; \?\\\>,g *00??.php <14> sed: -e expression #1, char 48: unterminated `s' command <3> OneSeventeen: Once it's in there, it's in there. Even with copy/paste. <14> Oops, that command had extra \ in it (one of my many attempts). <15> wad: It's getting confused at nails/ because of s// <7> I'd love to blame this one on MS, but I've been developing this primarily in linux, and have entered the data in firefox... It may be a stupid coding error on my part :( (copy/paste meaning I deleted the bad character, copied the good one from the same site, and pasted it) <14> Lateralus: I don't quite understand... <14> oh <14> I'm not using the s// syntax, I'm using s,, syntax. <14> Because I've got slashes in my text. :) <7> well, I've got to run, it was quitting time 20 minutes ago... I'll probably be back in in a few minutes to figure out where I went wrong =P <15> ah, yes. <15> Heh, I use Perl. <7> thanks for the help guys (richardlynch esp.) <14> sed -i s,http\://frazetta\.ragnarok\.no/thumbnails/,\<\?php echo THUMB_LOC\; \?\>,g *00??.php <3> wad: I just use PHP to add PHP to my PHP scripts. :-) <14> There, that command is the one I'm thinking should work, but doesn't. <14> Yeah, I would do that too... but I've got like 50 files to update. sed can be my friend, when it wants to play... <3> wad: Maybe try putting the whole damn thing in quotes after the -i and at the end, so shell expansion won't kick in. <14> okay, good idea! <3> wad: I mean write a PHP script to edit the PHP scripts, not by hand. <14> richardlynch: Ah! meta-PHP! woot. <14> Hey, the quotes worked! Slick! <14> Thanks, richardlynch! <16> mysqli error: Call to a member function bind_param() on a non-object <16> Anyone know that one? <0> this may seem strange, but can you guys get http://shadsplace.org/~shad/duck.jpg and try to open it with createimagefromjpeg(). That image (which is perfectly fine from what i can tell) makes php die a silent death <3> mhillyer: No, but odds are that you have $something->bind_param() and $something is not what you think it is.. echo $something; <16> K, thanksyou. <14> Sweet. Thanks, guys. <14> My update is complete, for the time being. Should be a bit more streamlined, now. Here's the site, if anyone wants to see it: http://frankfrazetta.org/ <1> anyway guys and rare girls gtg bb all <3> shadfc: works fine for me.. <3> shadfc: what version of PHP/GD? <17> Is it possible to load multiple XML files into a single DOMDocument? <6> ljbuesch: <6> er... <6> ljbuesch: I doubt that
Return to
#php or Go to some related
logs:
xserver-xorg postinst warning: not updating /etc/X11/X; file has been customized gentoo boot partition minimum size libpam-mysql squid sarge loglan resolver #ubuntu rtl8201CL ndis gensplash initrd problem kernel panic rug-zmd suse fedora 5 automount dvd ubuntu boot-up to terminal
|
|