@# 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> Yo Stormchaser.
<1> yes, Julian|Work
<0> "Hello" would work too.
<1> yes, Julian|Work
<0> :(
<1> :)
<0> How's life treating yee?
<2> Hmm. I've downloaded some libraries using PEAR, but I can't seem to get my php install to recognize them
<3> http://pastebin.com/725371
<1> Julian|Work: Bad, as usual... You?
<3> why does that loop infinitely?
<2> is there something I haveto do after installing them with PEAR?
<1> jplibre: Burn the machine :)
<2> Stormchaser: I'm about to :)
<1> \o/
<4> i want my name back :)



<5> i want 1994 back
<5> the moral of the story is you can't always have what you want
<4> ...yeah.. thanks
<5> any time
<1> vinadelmar: I want papaya-coconut orange ice cream with a voodoo stick and lemon twist.
<6> I want some pizza. pizza would be good
<4> Stormchaser, same for me.
<5> so buy one
<5> it's not like pizza is hard to get
<1> Nah... That's okay, too :)
<4> wooh caffinated takes this very serioulsy :/
<1> caffinated: The pizza places are almost extinct... Didn't you heard?!?
<5> Stormchaser: ah, you've been reading netcraft reports, haven't you?
<1> caffinated: *nod* :)
<5> heh
<5> vinadelmar: not really, i just think if you're going to whine about wanting something, make sure it's hard enough to get to warrant the whining ;)
<7> mh.. ok, what permissions should files have that are uploaded by apache? my docroot is chowned: myUser:myUser and i added apache to myUser group. i have all dirs 750 and files 640. for the upload dir i have the dir 770 owned myUser:myUser. files created are owned by apache:apache. is this all correct?
<4> caffinated, i think you need a cup of tea. you seems a little be stressed
<1> the irony -- I am developing web pages for last 5 years, made bunc of pages, and now that I want to set up one for myself -- I can't do it :/
<6> caffinated: yeah but i'm at work on lunch with no cash and no transport :P
<5> vinadelmar: I'm just fine, thanks.
<8> Jax: yes, because apache's primary group is apache
<6> anyway
<5> nathe: that's what overdraft is for
<5> nathe: you know, so you can sell your soul to the bank for pizza
<1> lol
<6> I'll give it one more shot in here, anyone know why a semaphore key might suddenly be invalidated when put in a race condition?
<7> Pollita so is this optimal configuration?
<9> anyone got any experience with apache mod_rewrite? having a few problems
<10> Mmm, forbidden pizza...
<4> i heard you can sell your soul on ebay
<8> Jax: nonsense question.
<6> caffinated: I said I wanted it, not that I want to sell my soul for it ;P
<5> vinadelmar: it has been done. my boss was not impressed :x
<8> Advocated: Don't ask to ask, just ask.
<4> i know
<11> plus ask in the right channel : P
<7> true. advantages / disadvantages of this configurtion, Pollita ?
<9> doing: RewriteRule ^guide/([0-9a-zA-Z_]+) index.php?page=$1 yet when i go to guide/1 im getting: Warning: main(guide/referencing_a_book.php) [function.main]: failed to open stream:
<5> vinadelmar: i doubt it. you don't know him.
<9> Pollita gimme chance, i was typing :p
<8> Advocated: And yet you stoped to say that.
<4> i mean i knew it already had been done before
<5> oh, ok
<11> Advocated: it might not be finding the file but im not positive
<9> Pollita no, read what i put
<11> let me ask my uncle
<11> he says yes.
<8> Advocated: ^/guide
<9> Pollita what do you mean by that?
<8> How is it that people miss that documentation on the RewriteRule page?
<12> so, how do I actually use a PECL extension?
<8> Advocated: I mean that you're missing a leading /
<8> enygma: pecl install extname
<11> oh that's cute. the new firefox update blew away all my bookmarks
<11> that's handy
<9> Pollita nope, made no difference, that code above is what ive used previously, so i know the rewrite bit is ok, i just dont understand why its not taking me back to the page
<1> thirdLibr: That's what you het if you add explosive to FF...
<13> is there a linked list cl*** in php?
<1> litb: probably... But why do you want it?



<8> litb: No, arrays are more than fine for that
<7> just be sure to know the differences of rules in a .htaccess and rules in a vhost.conf file
<13> cause i want to read lines from a file and reverse them and print them out afterwards
<7> mod_rewrite treats them differently. quite important to note.
<8> echo implode('',array_reserve(file($filename)));
<8> erm reverse
<8> not reserve :)
<1> reserve is okay, too :)
<13> Pollita: not that simple... the lines are encoded and contain serveral fields...
<14> hi, howto to delete directorie and files created by php in my ftp ?
<8> litb: That's not what you said.
<7> jessy_: find . -user nobody -print0 | xargs -0 rm
<7> be sure apache is running as nobody ;)
<7> might be apache
<13> yeah, sorry :D
<7> oh in your ftp.. >;/ have fun deleting by hand
<14> Jax, i can't do commands
<13> so, how can i use a arry for that? a=array(); a.push_back("hello") ??
<8> litb: Describe *precisely* what you want and we can try this again
<4> never noticed this array_reverse() function
<8> $a = array(); $a[] = 'hello';
<13> i want to add something into a list and iterate reversly over it
<13> from back to front
<7> sounds like a stack
<11> litb: no. stop fighting the system
<15> i know there are some functions in php for creating on the fly flash swf files and getting properties of current movies, ive looked but i cant seem to find out if you can find a file's width/height. anyone know if its possible?
<8> foreach(array_reverse($array) as $key => $value) { ... }
<13> yeah, a stack would be ideal...
<9> hmmm, so if im using: RewriteRule ^guide/([0-9a-zA-Z_]+) index.php?page=$1 then the correct path to use is guide/1 etc, which should equate to index.php?page=1 ?
<8> You can treat an array like a stack...
<10> Using arrays as a stack is a simple matter of using push/pop.
<8> Use array_push()/array_pop() or array_shift()/array_unshift()
<8> or rather, unshift/shift.... to keep the syntactic meaning the same
<13> may i use $a=array(); a[] = userdefinedcl***object; ?
<16> Yes.
<8> sure
<10> Sure, that's the same as pushing.
<8> arrays just store variables
<4> of course
<10> ...Down the stairs.
<8> Their type is basicly irrelevant
<10> To protect you.
<13> sorry, i'm too c-ish :)
<8> litb: All variables are of type: zval* (which is a stuct)
<8> The "stack"/array holds instances of zval*
<8> better?
<13> yes :)
<8> fwiw, an array (hashtable) is a doubly linked list with a vector index
<11> *yawn
<7> Pollita: so generally it is accepted to have new files created apache:apache (or whatever user httpd is running as)
<8> Jax: Depends on your use
<1> thirdLibr: *blink*
<8> It may be perfectly fine.
<7> can you give a couple cases with advantages / disadvantages ?
<8> Jax: Generally I like to put the uploads into a dir with the group stick bit set to ensure that as the user I'll be able to futz with the file (without having to sudo to do it)
<7> hm so they should be apache:myUser then
<8> right
<15> i know there are some functions in php for creating on the fly flash swf files and getting properties of current movies, ive looked but i cant seem to find out if you can find a file's width/height. anyone know if its possible?
<7> how do i set group sticky bit again chmod 2xxx mydir ?
<7> always forget >;/
<17> hello
<17> how can you have two different submit buttons for the same form?
<10> Just do it?
<4> what for anyway ?
<17> how will my cgi script differentiate the different action?
<10> The actions wouldn't be different, just their names and/or values.
<18> palomer: if needbe you could change the value of the submit
<17> it doesn't appear in my cgi-script input
<17> for some reason
<7> Pollita i did a chmod 2777 on the upload dir, and the new file created has apache:apache and 777 perms.... missed i guess? ;)
<13> is there something like 'newobj = {10, "SecondMember", 3 };' in php ?
<13> eg such a default constructor?
<13> that i can do a[] = obj("first", "second");
<1> a dictionary?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

installing KLibido for Suse
unable to create IPC semaphore alsa
#perl
centos 4.3 fstab ignored
Stage 2 Read Error
#oe
gentoo mysql ps switches
#oe
generic wireless driver linux
taboo ıove



Home  |  disclaimer  |  contact  |  submit quotes