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



Comments:

<0> it is so simple but it doesn't go
<1> i forgot my sister's boyfriends name the other day, even though i know that i know it
<0> i'am not a newbie about php programming but maybe there something i made wrong when compiling php on linux and missed some libs
<1> i'm forgetting a lot of things lately
<2> I forget my girlfriends name all the time *shrug*
<1> i need to go back to school
<1> lol
<3> alexxio: "Any problems or questions contact dan@freelancers.net."
<4> well, sometimes i accidently mixed them up
<4> but that's different then forgetting isn't it?
<0> ok thanks all
<1> dojo looks cool, scriptaculous (sp?) too
<1> man i've had it with my ISP's DNS servers...
<4> just point to other DNS servers?
<5> hi there!



<6> hi
<4> aint you enthousiastic :) hi
<6> anyone use linux in here?
<5> I've got a little question I've not been able to figure out by myself:
<1> Ruud: well i'm going to startup my own on the LAN
<6> that can help me
<4> even better
<1> yeah :D
<5> nter I do
<3> !tell netr about g1
<7> netr: Nope. We're all Windows users.
<7> -_-
<6> quick question.. i'm just learning.. how do i find my .htaccess with redhat?
<1> i use everything you can imagine
<8> Is there a way I can specify the temporary files name during the file upload?
<4> lol
<7> netr: Sounds like a ##linux question. A general "how to on Linux"
<8> For instance retrieve the raw data and dump to the file I specify
<9> netr, if updatedb has run, you can 'locate .htaccess'
<1> i'm biopersysual
<5> well... I've got a sql sentence "select * from T", and I want to show the fields names before the value... anyone got a hint about it?
<7> Jrwa: #sql
<3> Jrwa: php.net/mysql
<3> kuja: I think he's trying to figure out how to get the field name from the result set via PHP
<5> that's it TML
<7> Hm, I thought he was trying to get the field name into the value. Nevermind :)
<1> i was at my aunts today, i saw a post it note something like "To select all students with names that start with w, use w%"
<1> that was kinda humorous to me
<1> last night *
<6> LOL
<6> Nice
<4> Jrwa mysql_field_name should do the trick
<3> Jrwa: Take a look at the examples on php.net/mysql
<1> she used to do a bit of programming.. forget in what, she stopped at arrays :\ some people just cant handle them
<7> =P
<6> lol
<8> I'm guessing no one knows any wiser, looks like I'll have to inter-mangle another language to get the functionability.
<1> i'm talking like back in the laste 80s or early 90s :p
<1> cobol?
<6> BREAD
<6> Yes
<1> or... ***embly... i have no idea
<6> I believe so
<6> Let me check my code real fast....
<7> Bread: "functionability"... nice word :)
<5> ok, already got it
<5> thank you all :)
<1> functionality*
<6> $_FILES['IDNAME']['tmp_name']
<6> :)
<8> Heh *functionality it's late.
<10> Bread: i think uploaded files are written by the php engine
<1> i like the word "extensible" sounds so wrong and yet so right
<10> before your script gets evaluated
<6> That works if you are using PHP, Bread
<10> netr: that doesn't allow you to set it
<6> Just name your filename box and it should work.. It works for PHP 4.x
<10> that's just where it's already been written to
<8> netr, that's after the file has been upload also.
<6> Not true



<8> The file is copied to tmp first off with a randomly generated name netr.
<6> Ahhhh
<4> var_dump($_FILES) ???
<4> or FILE
<6> I see what you mean.
<8> That's what the multipart does
<10> Bread: you have to handle it between apache (or your httpd) and php
<4> ow damn
<8> So sort of write a layer to interface between the two p00ya?
<4> answering without reading properly again
<4> sry
<10> Bread: yes, i'll see if i can find some references for you
<8> Thanks, I'm tempted to use ROR or PERL just to upload the file and then let php handle it from there
<8> Though if there's a fully native PHP method I would be much happier.
<10> also, what's wrong with just moving it post-upload?
<10> yeah i'm just wondering if there's a hook you can use with mod_php
<8> It's for a status bar p00ya, I want to retrieve the current uploaded size
<8> So then I can calculate a percentage of completion etc.
<10> do you have access to php.ini?
<8> Yup
<8> It's for a client, but I'm friend with the server administrator, so patches should be plausible
<8> *friendly
<10> hmm, you might be able to save some coding time and just use http://sourceforge.net/projects/megaupload
<10> (i haven't ever used that though)
<8> I'll have a look, thanks p00ya, I tend to be somewhat of a purist and like to write my own material though.
<10> yeah i agree
<10> actually i wouldn't want to use that myself as it uses JSP
<8> Ahh, they interface with PERL
<8> THe PHP one doesn't seem to
<7> "Perl"
<10> oh i see, there's a php version and a jsp version
<10> but yeah, the basic problem is that you have to handle the postdata before php gets to it
<8> Seems so, I wouldn't go anywhere near the JSP one
<8> Looks like i'll have to use a middle language and write some sort of unique identification for the file to interface between the two
<8> sounds like I'm in for some fun :p
<8> What would you recommend, Ruby on rails or "Perl"?
<7> Bread: Recommendations are biased. Use what you want, whatever gets the job done for you.
<7> And Perl is a language, not a framework. Rails is a framework, not a language.
<10> i guess you'd look at perl + cpan to make a comparison
<7> Not really
<8> Thanks for your help p00ya, better get stuck in :)
<7> PHP -> PECL/PEAR, Perl -> CPAN, Ruby -> RAA/RubyForge =)
<10> ok, so would you say ruby -> rails, php -> zend framework then?
<7> p00ya: Probably.
<10> just so i don't look like i'm pretending to know what i'm talking about, i haven't looked at rails at all
<7> p00ya: Or, Ruby -> Rails, PHP -> CakePHP
<7> Cause CakePHP is supposed to be a closer imitation of Rails.
<7> That is to say, CakePHP tries to imitate Rails more than it puts focus on the actual design pattern that Rails used.
<1> i love... xcode
<1> god damn
<1> it's... it's like ***
<1> anyways, im taking a little break to think about my app design, bbl
<11> what should the parameter sendmail_from in php.ini be set to if the mail server is on my computer
<9> _zz, sendmail_from just sets what the From: header in the email looks like, you can put whatever you want
<12> _zz: sendmail_from is iirc the default From: header.. so whatever you choses
<12> _zz: so if your on win. your should set the snmp-server-directive (that I can't remember the name of) to 127.0.0.1/localhost and if your on *nix you should set the sendmail_path to the path of your sendmail binary...
<11> SMTP = localhost
<11> smtp_port = 25
<11> fangel:that's what i have at the moment
<11> fangel: but my mail server keep complaining "Invalid email address" and it routs all email to root@localhost
<11> wherever root@localhost may be
<11> im on windows
<9> _zz, that sounds to me like it doesn't like the recipient email address
<12> and what have you set sendmail_from to?
<11> fangel: i've tried various things. at the moment it's on localhost
<12> actually yes, I would think leri is on to the right stuff there.. what are you sending _to_ ?
<13> while developing I'mg usin databases functions without @ to get debug output, but while commiting i'd like to change it all to @ (ie non verbose), what can I do ?
<11> just normal email addresses
<11> fangel: i think you're right though. the recipeint address is causing the problem, cos i can set sendmail_from to anything and i get the same error
<11> but i've tried various email addresses and i get the same thing
<12> andrownz: stop adding the @'s...
<14> Anybody knows if there is a sybase powerdesigner plugin to generate PHP (4) code of an UML design ?
<15> i have a multidimensional array (eg: $array[$inc]["key_1"] $array[$inc]["key_2"], etc etc) and i want to sort it by ["key_2"], how would one do so?
<16> If I make a query like this: $q = $db->query(" ... "); then do I need to free up this query after I've done with it, or is it done automatically?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#physics
bob8x
#centos
#php
ubuntu no screen dapper
tar relocation error debootstrap
#gentoo
#linux
nmap scan wireless
query_filter :,sasl



Home  |  disclaimer  |  contact  |  submit quotes