@# 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



Comments:

<0> what'd u search for?
<1> itrebal: the first arg in array() in call_user_func is a string representing a cl***name
<2> !tell tuxtheslacker about u
<3> GarethAdams: yea, i read the page, and saw that
<1> what are you trying to do?
<1> why does the function have to be dynamic, I mean
<4> GarethAdams: it was Drakas' question.
<1> oops
<1> same question to number 3
<0> Stormchaser, sorry about that.
<5> tuxtheslacker: php.net/ldap for ldap info, php.net/session for session info, php.net/session_set_save_handler for custom session handlers. just gotta glue that stuff together
<3> tuxtheslacker: kerberos session PHP tutorial google those
<4> and variable variables... and variable function calls... i don't like them neither.
<3> rodion: though, rarely, necissary
<2> GarethAdams: The bariable function names are quite usable in the plugin systems...
<3> like so



<6> how do i parse through $row = mysql_fetch_array($result); and print the column name and data in the row?
<0> itrebal, will this ldap example on php.net/ldap work for kerberos?
<7> daMaestro: with a loop
<6> i can select out fields... but i want to print out whatever i spit at this function
<3> tuxtheslacker: i have no idea, havn't dong anything with it
<6> dannyp_, i have one setupo
<1> use mysql_fetch_***oc I think
<6> i just don't know how to dump the full row.
<7> daMaestro: I'm not really sure what you're trying to do... try restating it?
<8> can anybody help to code me a script that searches a MySQL database and then shows the results?
<9> I can't seem to get gettext compiled into php, although I have all of the use flags on in package.use and make.conf necessary... is this hopeless?
<9> I am using Gentoo, so I'm at the mercy of not being able to make --with-gettext
<2> daMaestro: I see tnohing wron with print_r($row);
<2> Egonis: Go complain to #gentoo
<2> !telll d3sol4t3 about msg
<8> blah ok
<8> nobody replied, that was all
<10> d3sol4t3: are you looking for someone to write a script for you? because that's consulting work, and I'll do it for $40/hr
<2> d3sol4t3: I can't see nothing else than do a simple query and show the result
<10> d3sol4t3: if you are asking a question about a script you're trying to write, maybe you can share what you tried, what works and what doesn't work, etc.
<2> dannyp: Cheapskate... I' do it for $50/minute
<8> lol
<11> any recommendations on reading material for teaching oneself php
<11> like an official book
<11> i need something to read while not at a computer
<2> php.net/manual, binary
<10> Stormchaser: hey, I'm a starving student over here
<11> Stormchaser: i'm going away for an extended period of time
<10> 3 and a half months to go...
<2> dannyp: More the reasons to raise the rate...
<10> ;)
<8> geeez all i need is a simple search script!
<8> shouldn't take one of your pro's no longer than 30 secs
<10> d3sol4t3: are you seriously expecting someone to write you a script, from scratch, out of the goodness of our hearts?
<8> a script which is like 5 lines ?
<10> if people would write scripts of any length here for free, I'd outsource a good chunk of what I do for my job (where I'm horrendously underpaid) to this channel
<8> connection not required, funnily enough managed to do that myself
<2> !+g10
<12> Guideline #10) We don't support xyz script. We help you *write* PHP, not download and install/hack/use pre-written scripts
<2> I believe that covers it
<8> blah
<10> d3sol4t3: seriously, you can either 1. pay us or 2. make some effort yourself, and we'll support you when you get stuck
<8> sigh might as well try myself lol
<10> I'll sell you a fish or I'll teach you how to fish for free
<10> s/teach you/help you learn/
<8> how old are you btw dannyp ?
<10> I'm 21
<10> why do you ask?
<8> you talk like your 50
<8> :s
<10> considering I've pointed out that I'm a "starving student" that would really make a nontraditional student...
<2> dannyp: You probably mean something like:
<2> !+fish
<12> Give a man a fish, you feed him for a day. Teach a man to fish, you feed him for a lifetime." The moral of this lil story is if you spoon feed someone information that's fairly obvious, you're not really helping them, just preventing them from growing/learning and being able to be resourceful for themselves.
<5> sell a man a fish, and you're making profit. teach a man to fish and he'll soon be a competitor. ;)
<13> sell a man a fish, make a bit of money. sell him your boat, your wife and your 3 children and you can buy a car :D
<10> fwiw, I consider myself an anti-capitalist and much of the work I do I do for free, but that doesn't mean I work for others for free
<10> I would give away my extra fish
<14> .
<13> dannyp: but would you sell your boat, wife and kids.. for a car?
<10> I ride a bike



<15> How can I sort an array of cl*** objects?
<3> dannyp: i approve, what country do you live in?
<10> I live in the United States
<2> Well... I'd Gave away free pre-made explosive as much as person can carry... Then I'd lit the fuse.
<16> ppl what do you mean?
<3> Stormchaser: did you have your tenses confused?
<2> itrebal: probably few :)
<2> s/lit/light
<3> Stormchaser: hehe
<17> hi boys
<17> and girls...
<2> and Storm
<2> s
<18> my stuff is progressing. woot. how do i p*** a variable from one php file to another? it's defined in a, and after i press a submit button, it takes me to b
<15> cl*** Foo { var $name; } I have an array of Foos and i want to sort them base on the name member. How?
<17> when you use HTTP over SSL, the HTTP headers are encoded too?
<17> or only the content?
<15> Drakas: in C++ i'd overload operator< or write a functor.
<19> .oO(php-bot: fire is <reply>Give a man fire and you warm him for a night. Set him on fire and you'll warm him for a lifetime.)
<2> beatdown: I think so... But you should read an article or 2 on HTTPS
<20> any ideas on how to replace all "###SOME_NAME###" string on a string to $var['SOME_NAME'] ?
<19> beatdown: of course the headers are encrypted too.
<2> !+factinfo fire
<12> Stormchaser: there's no such factoid as fire
<10> or just load up a sniffer and see for yourself
<2> o.O
<21> Hello fellow PHP's
<17> ok, then when you use SSL you cas p*** a p***word using the post command without any risk?
<2> I'm NOT a PHP!
<21> i'm trying to use ftp_fget() to download a file, and have it written directly to stdout
<10> there are generally some HTTPS headers that are in the clear at the beginning, during negotiation... but nothing of important/application specific
<2> beatdown: yes
<21> Although I am unable ot do so, I get "ftp_fget()" not a regular file!
<19> dannyp: not those that are part of http
<19> beatdown: well, learn http. even if the headers were plain, POST data is not contained in the headers
<17> where is it then , et?
<21> This would totally be possible in python :)
<19> beatdown: in the request body.
<10> et: correct
<17> yeah, do you mean the post isn't in the server answer?
<17> am i right?
<6> GarethAdams, you got it... mysql_fetch_***oc was what i was looking for
<6> i like perl hashes
<15> If I have an array of cl***, how can I use sort() on the array?
<6> that gives me something i can work with. thanks.
<22> hi. anyone alive? i need to set up mysql with php. i got the mysqld running, but i guess i have to modify some configs to get mysql to work. i basically need to use phpBB
<23> yo
<15> aha! uksort() is what i need
<22> ppl hi
<23> How exactly does the whole << DELIMITER text stuff work?
<24> guys (gals) -- what do you think? php in html or html output by php? I guess it would depend on how much is html and how much is php-ish... I have to output tons of variab les, with little html, so I'm making php print out html.... any comments/
<3> hmm... i really need to do something with my website
<10> absentia: template engines are really nice... I'm partial to smarty
<3> absentia: i use a hand-built template engine, with replaceable variables
<24> php is a templating engine
<15> hackmiker: hi
<24> me too. it's called php
<10> no, it isn't
<3> dannyp: yes, it is
<22> ppl: can you help me setup mysql? i need to make it work with php basically
<3> hackmiker: does mysql work atm?
<23> I can never get heredoc to work
<24> (and, yes, I do have a templating engine -- it's using php... etc... but that wasn't the point of my question)
<22> itrebal, i got the mysqld working, i guess
<10> I disagree--- php is a language, not a templating engine. just because you can have inline php in, say, an HTML document, that does not mean php is a templating engine
<23> Ah nevermind I had to unindent it
<24> 'tis'ok danny.. we don't have to beat that point.
<3> absentia: i have small templates in other files, outside the main template, i start anew templating instance, grab the contents and use that
<10> well, I'm even willing to concede the point, but smarty is my recommendation
<15> hackmiker: I've never done this before. There should be plenty of tutorial on google, no?
<24> it: same here
<22> ppl i guess
<24> how do you do a for loop in smarty?
<15> there's also #apache if you have apache problems


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#sql
requested range not satisfiable vlc
#debian
kodekrash
LDCPP ebuild
knoppix non-free repo
unable to enter compaq armada 1700 bios
e17 bling deb
perlbop
hdparm -T dothan



Home  |  disclaimer  |  contact  |  submit quotes