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



Comments:

<0> I see caffinated has kicked him, I bet it was for this
<1> Yeah, think so
<0> lol yeah I was thinking exactly that
<2> luckyshot: part of the reason for not PM'ing people is that they might not be there. Not that I'd reply to someone with your domain name.
<0> heh, yeah if your skills are so great why keep bugging us
<2> !tell luckyshot about g9
<2> should have started with that, really.
<3> hi
<4> hi.. how can I be sure that someone have downloaded a file 100%.. with a script that calls @readfile on a .jpg file?
<5> is there a limit to the size of an array in php (aside from external memory limits)?
<3> any idea of how to prevent a bool number from apearing in nE-nn notation?
<6> Renich: nE-nn?
<3> yeah, cientific notation
<3> exponential
<6> is_int?
<3> i need it to apear, actually



<3> but not on cientific notation
<7> *scientific
<3> i want a .00000001, not a 1E-8
<7> printf('%.02f', $number);
<7> convert it to a float, or an int... not a boolean
<3> thanks EvilWalrus... is there an instantiation method... like (decimal) or something)
<7> echo (int)$number;
<7> (int), (bool), (float), etc...
<3> that will give me 0, EvilWalrus
<3> in any case, printf is good for me
<7> smoke break!@
<4> if a user cancle a download of a file.. how can a php script know about that?
<4> ***umed the php script feeds the user with a file trough @readfile
<8> anyone know why this http://pastebin.com/658944 doesnt send data to the database at all.
<9> how do you create a function with ..
<9> ummm...
<10> joseph?
<9> hehe
<9> I don't know how to explain it.
<9> http://www.revisualized.com/createtextinput.phps
<9> I want to be able to run.. echo create_text_input('name', 'val');
<11> hi, I'm been trying to install PHP-GTK, but I'm confused with this pear thing, anyone could point me in the right direction?
<9> Warning: Missing argument 3 for create_text_input()
<9> how do I make it so that arguments are not required?
<12> Tomorrow I'm going to call a potential employer for a PHP job. I haven't done any PHP in almost 2 years now (I've been doing Java servlets/JSP instead). What's a good resource to refresh my knowledge of PHP? Is there anything other than the official php.net manual? :S
<9> Kira.. http://www.w3schools.com/php/default.asp
<9> try that.
<12> joseph: great. Thanks. :)
<10> joseph: http://www.codecomments.com/archive221-2004-8-253958.html
<10> kira: i'd suggest honesty and a good portfolio of php work
<12> nater: heh, I have a big problem there. I have used PHP really only once for my intro to database systems cl***... All my other major works have been jsp and servlets. >_<
<10> kira: a programmer is a programmer is a programmer... other than syntax and data constructs, learning the language is really just learning the vocabulary
<13> !+thinking
<14> TML says: First, you need to learn to think. That's going to be the hard part. Once you know how to think, you only need to spend a short while with any language to learn the syntax, and BANG! You can program in that language. It's that first one that trips everyone up.
<12> I wish I learned about MVC before starting to do PHP back then. OMG was it painful to manage the request processing and response generation in the same PHP file.
<13> Of course, you'll do *better* if your thinking is done in the language you're working with, but it's far from a requirement
<15> true
<15> trick is finding an MVC for php that works for you
<15> a framework that already exists
<16> the trick is not using php
<15> lol
<9> nater.. I don't think that works.
<9> http://www.revisualized.com/createtextinput.php
<12> Well, I figure that _simulating_ true MVC shouldn't be too hard, if I can let the top script generate the required objects and then include a View php file.
<13> joseph: You did something wrong. Where's the source to createtextinput.php?
<9> http://www.codecomments.com/archive221-2004-8-253958.html
<9> I think I got this.
<13> joseph: function foo($arg1, $arg2='default') $arg2 is now optional
<13> If you don't p*** anything there, it will contain the string 'default'
<9> TML.. thanks.
<9> TML.. http://www.revisualized.com/createtextinput.phps
<13> joseph: Is it working?
<9> TML.. http://www.revisualized.com/createtextinput.php
<9> yes.
<13> joseph: Then I don't need to see your source
<9> heh



<13> lith: You were never 14
<13> That's just an implanted memory
<13> heh
<12> (ahh... the b and c cups...)
<17> I hate to ask this here, because i know what the guidelines are like, but i still feel you people might no best - do you know of any *good* PHP5 shared hosting providers?
<17> *know
<18> Hello everyone. I have a project coming up and would like your advice. This project will be commercially sold to a niche market, and encoded and licensed using the Zend Encoder (Now known as Zend Guard). The app will mostly be CRUD stuff with only a few non-typical features. I'm tired of all the tedious coding I usually do with CRUD apps. I would like to use a frakework of some sort, but am boggled by all the choices. What would you sugge
<15> Xen0n, yes
<15> any requirements?
<19> while we're on that topic
<15> carlc.com very reliable/friendly and great product. I highly recommend them. nevermind the crappy website :)
<17> mick_linux, >=$10, at least 500MB space / 10GB bandwidth, and the ability to have at least a few addon domains...
<15> i know their colo service and dedicated servers better
<19> does anyone know of a decent webhost that provides externally accesible mysql?
<17> mick_linux, what is the support like? I am with hostgator at the moment, and their support is great and actually 24/7.... but they dont support php5 and i am starting to really need it
<17> mick_linux, hmm, still too expensive for me...
<15> you get what you pay for
<17> $10 i can cope with
<17> Yeah, i know
<15> ;)
<17> thats why i had no problem paying at that much at hostgator :P
<17> But looking at the package specs...
<12> Xen0n: also check site5
<20> hey guys... how can isset($_POST) return 1 when i TYPE in the url of the page ?
<21> http://url.domain?lol=1
<21> arf $_POST
<21> sorry
<20> :)
<20> it's okay
<19> I use 1and1 myself
<21> mmm i think u could it adding header()
<19> but afaik they're php4 only thus far
<15> many are php4 only still
<20> K-eSaR was that for me?
<21> yes StaZ[home]
<20> well no i don't... the if(isset($_POST)) is the first line of the page
<21> i dont try it.. but if u add a header() with the correct post params.. maybe..
<21> ahh
<20> what are you talking about
<20> i DON't want isset($_POST) to return 1 when there's no post
<22> um, $_POST is always set.
<20> so what would be a proper/standard way to check if there is a post?
<22> if (strtolower($_SERVER['REQUEST_METHOD']) === 'post') { ... }
<21> count the elements of $_POST
<20> O_o
<> "" then
<20> :P
<20> sleek... that can't work... there can be a post and get at the same time
<22> StaZ[home]: it works.
<20> and how would i check if there is a $_GET with that method?
<22> are you lookin for a specific form element?
<17> Damn!
<17> who here uses site5 ? :(
<20> no... in fact if there is a post, i gotta save the form's elements... and if there's a get... show the record specified in the get
<17> I need to know whether their php5 or php4 is the default :(
<23> what function do i use for file uploads?
<23> default?
<23> php4 is on most prod servers right now... at least most shared hosts use 4 i think
<23> i.e. pair and interland both use 4 iirc
<23> but i could be wrong
<22> StaZ[home]: var_dump($_GET, $_POST); and figure out what type of logic you want to use.
<22> i'm going to sleep
<24> r0xoR: php.net, click manual, then "file upload handling"
<20> hm... i guess i'll just count the elements in the array as K-eSaR suggested thanks anyway sleek
<25> anyone know a vim colorscheme that looks like default php-source .phps
<26> does anyone have an idea why the variables $_POST["u"] and $_POST["p"] are not set in my script -->http://hashphp.org/pastebin.php?pid=6518
<27> because it's not id
<27> it's name
<26> oh for!
<26> bleep**
<28> hah, the easiest things can be the last thing on your mind


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#fedora
#debian
k00zk0
ubuntu network driver broadcom 57xx
Unable to find library containing res_mkquery()
XForms + suse10
NDOutils
k31th debian
clear mysql passwd dapper
#javascript



Home  |  disclaimer  |  contact  |  submit quotes