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



Comments:

<0> but it's ***y!
<0> and it does the laundry
<1> you would have been better off with like jbuilder or something
<1> it better be under the desk giving all the programmers head or something for that price
<2> ^Migs^: did they dnot SHOW you the end product?
<2> ^Migs^: or let you TRY it for a certain price?
<3> Hey guys -- I have a quick question. I have an array -- $array. Within the first element of the array $array[0] it will be a value of "testing" or a value of "testing.com" or "testing.net" etc. Of course, "testing" could be anything, and ".net" or ".com" could be one of any TLD..
<4> how do you generate a "This page was requested in <X> seconds." line? Is there a $_SERVER global I'm missing?
<5> so?
<3> ...either way -- I'm trying to figure out how to decipher if the element includes the TLD or if it doesn't. IE: either it includes ".xxx" or not..what's the way to do this?
<5> Necromancer, requested in seconds?!
<5> Necromancer, are you sure not processed
<4> well milliseconds.
<4> whatever it does
<5> Necromancer, u'll have to use microtime to calculate it
<3> Necromancer, you ever heard of "JADE"



<6> ***yKen: You can parse it with a regex, do some substring hackery, or you can run parse_url() on it and check the return.
<7> Necromancer: time() and math
<4> Nope. :(
<7> !tell Ciantic about u
<2> Necromancer: you could do something like $_SERVER['time'] = microtime(); and then at the end of the script do echo 'blah blah blah time '.microtime()-$_SERVER['time']; ...
<4> oh okay
<5> itrebal, what on earth?! that is horrible, i dont think nobody should add own variables to $_SERVER
<8> any special reason why to use $_SERVER?
<2> danf_1979: its a global, accessable anywhere
<2> there could be better vars to use, just an example
<8> yes, I was just curious
<3> Flaming: Of which do you think would be more efficient?
<6> parse_url, most likely.
<6> Read the panual page, though, parse_url will do its best to parse any string you give it.
<5> Necromancer, so to note again, don't use $_SERVER to hold that data, or use it but u should know that it is wrong
<6> s/panual/manual/
<4> i won't use $_SERVER
<4> i'll just use a normal variable
<9> !+u
<10> Surely you mean 'you', not 'u'? The letter 'u' is not a personal pronoun. Talking like this in ##php may get you silenced. For details, /msg php-bot aolbonics
<4> lol
<5> oh sorry :)
<4> [16:57] <7> !tell Ciantic about u
<4> so that didn't set it off?
<6> Necromancer: If you're running PHP 5.1.x, you can use $_SERVER['REQUEST_TIME'].
<4> dammit, i ran PHP4 so I could load vB
<4> I have 5 on another machine. :D
<4> i love 5 so much more than 4 because it has OOP.
<4> 4's OOP ****s
<5> both oop ****s
<6> PHP5's OOP is decent.
<11> no you ****
<12> Morning
<11> it's not morning
<6> Hi lig.
<12> Morning FlamingCows - haven't seen ya around in a bit
<8> did your cpu loads got lower? 5?
<8> %?
<8> I mean, with php5
<6> lig: Yeah, I got a bit tired of IRC for a bit.
<9> PHPoop... nuff said.
<13> hi
<9> itrebal: In C++, sure. Non existant in PHP
<2> ah, i was under the impression you hated all oop ever
<13> does anybody know where I can get a very very simple php gallery, that creates only thumbs and a clean gallery ?
<9> !+g10
<10> Guideline #10) We don't support xyz script. We help you *write* PHP, not recommend or download and install/hack/modify/adapt/use pre-written scripts
<13> I don't need a counter or admin functions just a simple version
<2> Dai: I recomment opening your favorite text editor, and type <?php echo create_gallery(GALLERY_SIMPLE); ?>
<8> http://www.zenphoto.org/
<2> recommend*
<8> Dai
<14> Seems rmdir requires the target directory to be empty. If I run the shell command rm -fdr it removes the directory and all it's contents. Is there an equiv php function?
<15> Hm, GALLERY_SIMPLE is a predefined constant?
<13> danf_1979: I don't need a comment area
<8> remove it
<13> I am not a pro in php
<13> could you help me in that case ?
<15> cyphor- don't think there's one built-in, but you could write a function to recursively delete everything



<8> .. /* code */
<14> yea, I know, figured I'd ask though since I was already signed on =)
<2> Dragnslcr: it is now :)
<13> danf_1979: can I count on you ?
<8> If I'm available, yes
<13> so can you help me with my problem ?
<16> hi folk
<16> s
<17> if (isset(danf_1979)) count(danf_1979)
<17> :)
<8> lol, good geek joke
<2> palm + fist
<18> Hi.
<16> a friend of mine tries to compile php and gets the following error when running the ./configure script : The output of /usr/local/apache2/bin/apxs follows:
<16> ./configure: line 6323: /usr/local/apache2/bin/apxs: No such file or directory . does anybody know what the reason for the error is?
<2> lehmann: apxs isnt there
<14> sure it's not apxs2 ?
<13> so there is no index.php that can do all what I want ?
<16> yes sure
<13> I want a gallery with thumbs
<19> is there a quicker way to remove the first 2 elements of an array than doing 2 array shifts?
<2> :( i think i have to install mysql :(
<14> numerically indexed?
<14> unset($array[0]) etc..
<20> yup
<19> ah ha
<21> Are there any issues with using a named placeholder in PDO that has an underscore in it?
<14> Dai: see http://us2.php.net/manual/en/ref.image.php
<16> the problem is that the file /usr/local/apache2/bin/apxs exists
<22> lehmann: WHat happens if you run that apxs from the command line?
<13> ok guys, I will try it again
<13> I need a very simple php gallery
<13> with very simple functions
<13> just thumbnials
<13> and a clean gallery grid
<16> MarkR: it lists the arguments
<13> I am not a coder
<13> so please MTV pimp my rider
<23> !seen jymmm
<13> I mean help me
<22> lehmann: Weird, you're sure it's got the right path for apxs in configure?
<16> well yes
<14> Dai: I don't think you're going to find anyone in here willing to program a gallery for you. Learn to program with php/html etc..
<24> I'm getting data corruption when I do a bind_result using php5 and mysql 4.1. Has anyone ever seen anything like that?
<25> Help!!! :'(
<25> _oci_open_session: OCIHandleAlloc OCI_HTYPE_SVCCTX: OCI_INVALID_HANDLE
<25> **** the ****ing oci!
<24> The data in the db gets selected but when I print it to the screen it's all messed up
<24> Has anyone had any trouble with bind_resutl()
<23> jlhenry: Use MySQL. :)
<26> Which are the chars that I need to put \ in front of when creating a regular expression?
<27> function foo(&$foo) { } <-- what is &$foo do?
<26> (I want a var with chars that are allowed for an url)
<14> p*** by reference
<25> [RainMkr], would like!
<27> cyphor: can you elaborate?
<28> nowec|: Try preg_quote() prehaps?
<14> it's p***ed by reference instead of literally
<27> cyphor: what's the difference?
<26> plundra, will do. thanks
<27> it's not copied?
<14> I believe that's it, yes..
<27> k
<24> has anyone experienced data corruption using mysqli/php5 with bind_result?
<29> Hrm. Trying to get php set up with IIS, but it doesn't seem to be actually saving any sessions in the dir I set up. Has permissions, and even sends a cookie to the web client on another machine, but not session file appears. Is there something I should look for that I've probably missed? been searching the manuals etc for a few hours now.
<27> cyphor: thanks.
<14> np
<29> cyphor: IIRC, isn't the default directory c:\php\phpsessions?
<14> I don't know
<29> Eh. no dice. Sigh. Back to reinstalling. :P


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#css
#awk
ubuntu pass-agent
#perl
installing AIXGL ubuntu
#perl
#perl
php-admin ubuntu apt-get
bash change all file names
fedora authentication failure sudo



Home  |  disclaimer  |  contact  |  submit quotes