| |
| |
| |
|
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
Comments:
<0> here, I'll give you the link to the source <1> In particular, what kind of query is it <2> in php5 is it good practice to convert all errors to exceptions? <0> http://farhnware.homelinux.com/software/index.phps.txt <0> that's the source <1> "t's worth noting that mysql_query() only returns a resource for SELECT, SHOW, EXPLAIN, and DESCRIBE queries." <1> Er <1> Add an I to the beginning of that <0> ah, that explains something <0> so I don't need to do anything with $result2? <1> mysql_query returns true on a successful update, insert, etc. <1> Not a resource <0> okay <3> I currently have a thumbnail script, but Im not sure how to return the image. Like: http://www.myresourcespace.com/thumbnail/?i=60.jpg&w=100 is how you can access it. <3> but I want to be able to make the src=http://www.myresourcespace.com/thumbnail/?i=60.jpg&w=100 <3> Hrrm...
<3> I have to save it somewhere temp? <4> wtf <1> You'd want to make it a .php <4> just do src = <1> Then use header and imagepng/imagejpeg/imagewhatever <0> alright thanks guys I got it working <3> Dragnslcr, it is a php, I just do it with mod_rewrite <1> http://www.php.net/imagepng <3> http://www.myresourcespace.com/thumbnail.php?i=60.jpg&w=100 <1> Should have examples of what headers to send <5> should i make email comformation <5> enforced <5> on my site <4> hey <4> which one would mp3 be here? http://www.iana.org/***ignments/media-types/audio/ <3> Dragnslcr, Im using the right headers. <4> heh theres mp4 but not mp3 <6> Wizz_Kidd: it helps, but i dont use it <5> for a freelance site should i make it required <6> Wizz_Kidd: d'you think it'll get spamed? <5> well i dont think a freelance site would be tooo much of a place for spamming <5> but i dunno <4> maybe you should focus on your business plan <6> i'd use it, as well as one of those images to keep bots from registering <4> instead of that <5> yea <6> what're they called? <4> what content-type is mp3? i cant really find it here http://www.iana.org/***ignments/media-types/audio/ <5> you know the best way to just avoid the whole bot thing itrebal is just to make sure the POST came from your site <6> Wizz_Kidd: how do you acheive that? <5> its easy <6> referrer? <5> pretty much yes <5> i did it a while ago <5> casue those bots dont actually fill out the forum they jus POST all the info to the page <6> its easily fake able though, at one point i had a site getting m***ivly spammed.... i put in tokens, and pretty much solid random data into a cookie, token, and a database that tied it together <5> what kind of site <6> it was a blog i made for someone <5> i c <6> it worked <6> though extremly DB intensive, apparently he had alot of visitors <7> itrebal: captcha <6> GarethAdams thanks <8> !tell Wizz_Kidd about typing english <9> Hello, think i need some help with regexp... At the moment im using an str_replace like this: str_replace($key, '<img src="img/'.$value.'">', $replace_hand); The thing is that i only want to replace $key when its inside [ ], and it cant be more than 10 blankspaces from [ and same with ] ... Any ideas? :) <10> Is there a way I can get all the states in an array? <8> states of array? <5> stormchaser: a little late <11> its very complicated.. but looks something like array('Alaska','...); <8> Wizz_Kidd: And your point is? <5> Stormchaser: think about it <5> :P <11> children <6> inono: $array = array('Alaska', 'Florida', 'Georgia') etc <10> itrebal, yes <10> I don't want to type all that out <10> well <6> inono: go to a site that already does have it typed out :) <10> AL, FL, GE, etc <5> Stormchaser: im sorry for using aolbonics better :P <11> inono: go find one to rip off
<8> Wizz_Kidd: Okay... Next time I won't do it... I'll just kick you out, okay? <3> When I create my thumbnails, if their "gif" and have transparent backgrounds, it turns to black, anyway I cna change that? <5> Stormchaser: im really not to much of a fan of irc anymore myself ...... the old saying absolute power corrupts absolute poer back in 93 when it started irc was a different world hmmmm <12> FatalRemedy: what do you want to change it to? <11> Wizz_Kidd: wasn't it 1992? <5> myconid: sorry <5> 1993 <11> FatalRemedy: try using imagecolortransparent() ? <11> Wizz_Kidd: hows your site coming along? <8> Wizz_Kidd: If my knowledge is correct, then nobody is keeping you here... You're free to leave at any time... <5> its coming along good myconid <5> Stormchaser: im just saying ....... <5> Stormchaser: people enjoy the frills of having power, to be able to kick ban or w/e its hman nature its why a dictatorship doesnt work <8> oh, gawd <5> human* <5> Stormchaser: am i wrong <5> huh? lol <13> Rand, probably <8> lool <5> Stormchaser: all im saying is 10 years ago people didnt care about no aolbonics no one did , you use them yourself everyone does its slang english andi do say Half the talking in #php is not php related its the fun of irc when bored talk to someone with related knoloedge of yourself , or if you need help of course <13> wizz: Lies. I cared about grammar on irc in 1995. <8> so did I <5> Stormchaser: you werent on irc in 95 <8> Wizz_Kidd: ... <5> you said like few months back that you have been on here ofr like 2.5 years <8> Wizz_Kidd: /ns info stormchaser <5> Stormchaser: i used ot be a mod in alot of in #python and #mysql you feel its your job to straighten people out and you find things wrong when they are really not ? am I wrong :P <14> hi, if i define a constant on some file and include_once it, the constant will be carried? <6> Wizz_Kidd: stop arguing <11> Stormchaser: why is your subnet masked? <13> or stop projecting, perhaps <8> myconid: BEcause I'm an evil person, and I don't want to be found. <5> Registered: 2 years 27 weeks 3 days stormchaser << <5> itrebal: far from arguing my friend <12> Wizz_Kidd: Then quit being annoying. Take it to #NagBitchComplain. <13> I love p***ive-aggressive 'not arguing, just discussing' <12> !+pafy <15> [P***ive Agressive Fsck You] We aint buying your crap, so knock it off! <8> Wizz_Kidd: And where did get the idea, that freenode is the only IRC server in existance? <5> i didnt say it was <5> Jymmmm: you a mod ? <13> you see it everywhere on the net. 'your decisions were stupid! hey, why are you angry? i'm just being constructive!' <12> Wizz_Kidd it doens't matter if I am or not, enough of your crap <8> Wizz_Kidd: Stop being annoying. Ask your question, that is related to PHP. If it's not, then don't talk. <16> does anyone have any working or decent mime mail tutorials? i've had a look on google and found lots of crap <5> im jus messing with you but its true <5> any one else here work for Zend <16> i'm trying to send a fairly simple mime mail (multipart) with a single attached image <17> Welly: http://www.sitepoint.com/article/advanced-email-php/5 <16> cheers insin <17> you're welcome <18> can somebody help me with phpmyadmin? <8> no <18> pretty please? <8> We don't support #phpmyadmin <12> shadow` try #phpmyadmin <12> shildebrand try #phpmyadmin <18> i did there's nobody tehre <8> I'm off <8> !+g10 <15> Guideline #10) We don't support xyz script. We help you *write* PHP, not download and install/hack/use pre-written scripts <12> !+g8 <15> Guideline #8) SQL Q's: #sql, #mysql or #postgresql. Apache Q's: #apache. Linux Q's: Either #yourdistro, #linuxhelp or #linpeople. HTML/CSS/JavaScript Q's: #web. Just because some other channel is 'dead' does NOT mean you can ask here. <19> cheers all <20> anyone here know about web programming api's that don't use MVC? <20> i tried ruby on rails and i liked some parts.. but i find the lack of flexibility disheartening.. <20> so i'm wondering if there are any new ideas out there.. <17> it does love its conventions - that's Ruby on Rails for you rather than MVC as a whole, though <20> ah <20> it's a little too rigid i think <20> hard to debug compared to php.. <17> depends how well you know it, I suppose
Return to
#php or Go to some related
logs:
tkcximage fedora #perl how many different license plates involving red hat console ownership #lgp #gentoo install eclipse on linux Error inserting snd_es18xx (/lib/modules/ #suse #qemu
|
|