@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
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> Warning: odbc_fetch_row(): 35 is not a valid ODBC result resource
<1> I'm on debian. how do I run a *.php? when I click on them then click run, it just shows the php code!
<0> where 35 is the reference=odbc_exec(db,query)
<2> redblades, install a web-server that supports php
<1> I... Oh dear...
<0> Meltir: any ideas
<1> I forgot apache
<1> thanks
<2> np
<3> BladeRunner05: i have no idea. the package i showed you is _supposed_ to make things like that easier - but if you already have something else - then im outta ideas. im no php+db guru.
<4> alright guys, im off to my interview
<5> hi, can anyone tell me what is wrong with the following:
<6> hi there
<5> $result=mysql_query("select count(*) as qty from steunpunten", $link);
<5> echo $result['qty'];
<6> having a problem with gd, in the deb package I'm getting a [Fatal error: Call to undefined function imageantialias()]



<6> looksaus: read mysql_fetch_***oc
<5> Epilog, thx
<1> i compiled php, so how do I remove it?
<1> I'm going to put it back after I do some work with other things
<5> Epilog, you have helped a good cause:
<5> http://vrijesoftware.be/steunpunten
<5> thx!
<6> looksaus: you welcome
<7> ttyl kiddos
<8> fred87, look at this, http://www.sics.se/~adam/phpstack/
<8> a tcp/ip stack in php :]
<9> is there a function to add R,G,B to a picture?
<9> like.. add 200 r, 100 g, 50 b :)
<10> babo: It seeems that p***ing a comma separated list to mktime is 'Not Good' TM. You need to p*** separate values for hour, min, sec etc
<11> wobbles: ok cool, got it thanks ... yes, the string value was the problem ... I needed seperate distinct values ... thanks :-)
<9> is there a function to add R,G,B to a picture?
<12> What's a good function to limit the amount of text from something. For example, if I would like to display 70 characters out of a 256 character paragraph?
<12> I'll use substr in fact, :)
<1> how do I remove a compiled program?
<13> make uninstall
<10> depends; if it has make uninstall use that. If not, you'll have to remove the components
<14> is there any forum ?
<10> Lots of tehm - on what topic?
<14> php
<14> php support
<10> Right here ?
<14> that room dont got a forum?
<15> hi, is it possible to render a php page p***ing variables by GET and obtain the html version of the page. I need this because i've to send a page by email and is easy to construct that page with php
<13> amak: http://pecl.php.net/package/pecl_http could help
<10> Guest69861: There may be a number of php forums, but AFAIK none are related to this channel
<1> make: *** No rule to make target `uninstall'. Stop.
<1> make uninstall ^^^^^^^^^^^^^66
<10> redblades: So, php doesn't have make uninstall. Remove the componenets
<16> phpinfo() tells me sockets are enabled but when i try to open on in php I get this error. What permissions should I set to allow socket ocnnections in php?
<16> Warning: socket_create() Unable to create socket [1]: Operation not permitted
<10> And before you ask 'where are they' that depends on your configuration
<1> the whole folder?
<1> I don't know where the components are!
<10> What whole 'folder'?
<1> php-5.1.1
<13> redblades: did you set the prefix configure option ?
<1> no
<10> redblades: I am guessing, but that might be where you unpacked the source? Exactly what are you trying to do?
<13> look after the default prefix :)
<15> Jenks what i want is libCurl but in the server that i'm working on is not installed
<16> The easy fix to the sockets thing is to run the php script as root, but i do not want my website running anything as root. surely there must be a setting i can change to allow the apache/php user (www-data) to use sockets as well.. ?
<13> you want libcurl and installed php ?
<1> that is where I unpacked the source, and I want to remove the PHP-5.1.1 program
<10> redblades: Do you just want to stop php working til later, or do you want to uninstall absolutely everything? What are you trying to do?
<1> uninstall absolutley everything
<1> *sp
<13> try to make uninstall and then remove the source directory from where you have compiled and installed it
<10> php doesn't have make uninstall :-)
<1> make uninstall doesn't work
<1> exactly
<15> is it possible to eval() a php page and get the page in html?
<10> So, what OS/distro?
<1> me?
<10> you
<1> Linux - Debian Sarge
<17> yawn



<17> goodmorning
<1> good morning
<18> morning
<10> Erk. Oh well. First, get rid of the php dso module (you are using apache?) which is probably in modules under your apache install. Remove htpd.exp and libphp.so or similar depending on your php version
<13> redblades: therefor I "always" use prefix :)
<19> If I only have one SQL hit in a query, I know I can do this: $myrow = mysql_fetch_row($qres); But presumably mysql_fetch_row() returns something different if I'm out of rows. What is that something? (Or should I be in #####mysql?)
<10> redblades: Once you remove those, restart apache and php support will be gone.Then under /usr/local/lib you should have a php directory with PEAR stuff in it. Remove that directory
<20> hi, is it possible to run php as an interactive shell? in Perl I would do "perl -de 0" but I am a total noob in php?
<21> http://www.hping.org/phpinteractive/
<10> redblades: then in /usr/local/bin you should find php, php-config, phpextdist and phpize. Remove them and there shouldn't be much left
<20> thx elvendrake
<21> np
<10> C_Dreamer: mysql_num_rows ?
<19> Ah, duh, thank you!
<22> hello
<22> Is it possible that nl2br($text) no change all \n of the $text?
<10> Kaners: What makes you ask that?
<23> Guys I am really struggling to get apache/mysql/php/phpmyadmin/dreamweaver/firefox to work together. I want to code some html/php pages. apache as webserver, mysql as database, phpmyadmin for config of mysql, dreamweaver to write php code, php itself i apparently need for apache and firefox to be able to spit out php? WindowsXP platform. I have apache,dreamer,firefox,mysql installed and working, im battling phpmyadmin + php, anyone able to help? th
<24> will a child cl*** inherit __construct in a way that it operates the same as if you'd explicitly defined it?
<24> or must you use parent::__construct
<25> Kingmilo: google "wamp"
<25> Kingmilo: it'll set it all up for you, totally painlessly
<23> neatnik, ty im on it ;)
<22> so... viewing a html source of my page, I've seen that there is a text in some lines. And I used nl2br to that text before
<26> Kingmilo: i personally use XAMPP
<23> Sacro, will look into it as well ty :))
<18> Kingmilo: go to http://apachefriends.org
<23> thanks xpowerstudios.
<18> Kingmilo: no problem :)
<22> wobbles are you still there?
<27> in php, If I want to divide 10 by 3. And I only want a whole answer (3) not (3.3) what should i do? Thanks
<10> No
<25> heh
<25> anyone able to help test a little script I wrote?
<27> Do i use % or something. I cant even remember how to do it in C.
<18> ceil
<25> http://neatnik.net/tools/plurals/ <-- not yet perfect by any means
<10> Gordo: Probably read the docs. Round, number_format, floor, etc
<25> hoping someone will play with it for a bit and give me some feedback :)
<22> Is it possible that nl2br($text) no change all \n of the $text?
<18> Gordo: try ceil()
<10> Kaners: What makes you ask that?
<22> viewing a html source of my page, I've seen that there is a text in some lines. And I used nl2br to that text before
<28> neatnik: its completely incorrect....
<28> person = people, virus != viruses
<28> etc
<27> thanks, I thought there was a way (like in c). I think you did 10%3 or something simple like that. No functions needed...
<28> major issues ;)
<25> row: yeah :|
<24> person = people, virus = vireol.
<25> row: I'll fix them :)
<18> Gordo: yeah the modulos operator works great in C :)
<10> Gordo: % is a modulus operator
<28> man => men is correct I was supprised at that.
<27> Thanks, thats it. Modulus give remainder which will work for me. Thanks.
<25> row: I think I've covered the majority of basic rules for plural formation, and yeah, I've tried to add a lot of the exceptions to the rules (such as 'man'->'men')
<24> just now i see: (9:12:12 AM) Stacy: n' theres are only $59
<27> (10 - (10%3))/3. Thanks guys, i knew it was simple!
<10> Kaners: maybe if you posted your code and the result on pastebin, someone might be able to help you. Otherwise we could spend all night guessing what you mean
<25> row: I know there's still much to do, but wanted to make sure that I hadn't at least missed anything embar***ingly obvious :)
<18> Gordo: Welcome
<25> (like "person") heh
<10> Gordo: That is just so... odd
<27> wobbles: really, it works thou. Doesnt read very well but it does work.
<27> might confuse the marker too (its an ***ignment) hopefully he'll give up and just mark it 10/10!
<10> For that particular case, yes
<18> not sure if <? $divide = 3; $amount = 10; ceil($divide / $amount); ?> works
<10> Gordo: Oh, an ***ignment. Sorry, it is the perfect answer
<24> if you call an overridden method, it now has access to all the child's properties/methods right?
<18> I am leaving the whole mathematical operators topic as it'll give me nightmares
<27> It should work, Im removing the leftover from 10. So i'll end upo wth 9. If i divide 9 by 3 i get a perfect whole number 3!
<10> xpowerstudios: Let him go - he's a silly Sydneysider trying to get us to do his homework :-)
<28> xpowerstudios: that just rounds it up if its a float...
<18> row: Ouch thanks didn't know that one! But useful i can imagine to its limits


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

#suse
Runtime error 230 at 08062D1D
#perl
#web
chroot AMD K3 gentoo
#perl
convert jpg to text
#css
#linux
#perl



Home  |  disclaimer  |  contact  |  submit quotes