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



Comments:

<0> did anyone see my last few posts?
<1> no.
<0> and does anyone have an answer?
<1> RootSnatch: If you do that again, I'll kick you out. Again.
<0> Stormchaser: I am sorry, what did I do?
<1> RootSnatch: How about spammed the channel?
<2> RootSnatch, pastebins are your friend
<0> Sorry guys
<0> didn't mean to
<1> RootSnatch: Read the guidelines. .msg php-bot guidelines
<1> er... /msg php-bot guidelines
<0> where is a paste site
<0> so I can re-ask the question
<3> hi, i need to replace </head> or </ head> or </ HeaD> with XXX</head> how can i do that? (preg_replace won't go case insensitive will it?)
<1> RootSnatch: Read the guidelines.
<4> JowWSmith: yes it will



<4> JowWSmith: if you use the case-insensitive flag
<3> . //ie?
<5> Hello all
<3> or what's the case insensitive flag?
<5> does anyone know of a good article on how to intergrate javascript with php?
<3> Shaba1: make php render javascript, that simple
<0> ok so I am going to ask this again
<0> I am trying to append text to a file at 10 characters from the end
<0> I am using this code
<0> http://hashphp.org/pastebin?pid=6678
<0> yet when I do that, It goes to the very end, not 10 characters from the end, I have printed out a ftell to see where the "cursor" is and it is in the correct place
<0> What am I doing wrong?
<6> is it pointing to the right place directly after you fseek()
<6> or is the fseek not doing what you expect?
<7> Hi all! Can i do the following in PHP: start a process with system(), then wait for some time and if not returning, kill the process? I tried with thread, but seems the process called with system() remains running.
<7> I made the parent thread to count, and then sent a posix_kill() to the child thread, which started the shell command earlier.
<8> hello
<8> i have a trouble keeping sessions on a page
<5> Hello
<8> you may see this url for a test: http://www.chroma.ro/test.php
<8> http://www.chroma.ro/test_s.php and http://www.chroma.ro/page2_s.php as samples of code
<5> anyone know a good thumbnail graphic php program that uses javascript
<8> http://www.chroma.ro/ as phpinfo
<9> http://www.rafb.net/paste/results/hdvIKK29.html
<9> Could someone please help me with this error? I do not understand why I am getting it even when I point it to the mysql installation
<10> hi all
<10> so i've got a problem...i have a string that could be any length, i need to make sure allt he words that are greater than say X characters have a soft hyphen every X characters
<10> how would i do that
<11> is there a global PHP variable that holds the path to php
<10> getting preg_replace(): Delimiter must not be alphanumeric or backslash on $body=preg_replace("\S{20}","$0&shy;",$_POST['body']);
<10> help?
<12> preg_replace(
<12> oops
<10> ?
<12> accidentally pressed enter ;P
<10> heh
<10> well have any idea what is wrong iwth my current
<13> hi
<12> preg_replace("/\S{20}/", "$0&shay;", $_POST['body']);
<10> lol
<10> its showing &shay ...do i need to escape the ;?
<12> Lol, remove the a, I can't type today
<8> hello. i have a trouble keeping sessions on a page. you may see this url for a test: http://www.chroma.ro/test.php | http://www.chroma.ro/test_s.php and http://www.chroma.ro/page2_s.php as samples of code http://www.chroma.ro/ as phpinfo
<10> awesome thanks!
<10> hm thatws interesting
<10> firefox doesn't support the &shy;
<14> anyone knoe how to install php eaccelerator? #eaccelerator is dead!!!
<14> I am having troubles getting mine to install
<14> i configure, make, make install it fine
<14> but when i add it to my php.ini, doesnt work
<14> i do /etc/init.d/httpd restart and it ignroes restart due to broken conf (php that is)
<2> how can i subtract/add "-/+HH:MM" from/to "YYYY-MM-DD HH:MM:SS"
<14> thebag probably convert it to a timestamp
<2> "-/+HH:MM" ?
<15> hello!
<15> whats the most secure method of login? sessions, cookies, or something else? this is for a hosting control panel so it needs to be pretty secure, and I understand that you make it secure on how you store the variables in the cookie or session just want to know which is harder to hack or to fake.
<16> put it on localhost only
<17> thebag: something like: strtotime(str_replace('-/+', '', $var))
<2> "-/+" == "-" or "+", i want to make all times GMT so i delete/add the time diff
<12> What about gmdate? gmdate('Y-m-d h:i:s');
<18> can anyone recommend a user management cl***... only thing that looks promising that i've found so far was patUser, but it hasn't been updated since 2003 =\



<19> what should user management cl*** do? :)
<19> i can recommend user management software -)
<18> well, I don't want to reinvent the wheel on this
<18> just need a simple groups to put users in
<18> admin, user, view only
<18> or something like that
<17> thebag: $var = strtotime(trim($var, $charArray)) might do the trick
<2> SecondV, how can i use that when i need to convert user time input to GMT relativ to his country?
<20> Weird ... so quiet
<21> is it possible to carry the incremental counter from a FOR() loop on in $_POST? I can't seem to get it...
<22> fonixz: _POST is an ***ociate array.. so not unless the names of the variables p***ed to POST are incrementing numbers. use a foreach () instead.
<22> ****ociative
<21> okay... how do I tell how many of a prefixed variable exists in an array then?
<1> fonixz: Um... Why do you need that number?
<21> i have a variable number of a pair of values being p***ed on from a dynamically built form, and i need to find how many of those variables exist so i can store them
<21> so i figured using the counter from the FOR() loop would be an easy way to do it
<21> i am relatively new to this, as you may be able to tell
<21> :P
<1> huh? That's some screwed-up logic. read on php.net/foreach
<21> like i said, im new to this
<14> fonixz you can do foreach($_POST as $key => $val) { if( substr($key, 0, 7) == 'prefix_') { doit pimpin } }
<14> or you can have arrays in _POST
<14> in html have <input name="arr[newkey]" />
<14> foreach($POST['arr'] as $key => $val)
<21> awesome
<23> I have a question, i'm new to PHP POO, i usually work with databases through PEAR::DB cl***,. Ok here is my doubt, i'm writing a method inside a cl*** that query the database but using methods from DB cl*** of pear.. how could i call PEAR::DB methods from my cl***?
<14> what is pdo /
<14> ?*
<1> !+pdo
<24> New in PHP 5.1, there is a little thing called PDO, the PHP Data Objects. This isn't database abstraction layer (as many believe)... It's more or less database function unification. If you want abstraction layer, take a look at ADODb or PEAR::DB.
<14> wow thats sweet
<14> what is mysql
<23> ?
<14> ( for the bot )
<14> what is mysql?
<14> what is php?
<25> !+mysql
<26> is there from london?
<14> ooooohhh i c lol
<26> is there anyone from london?
<16> Google!!!
<14> you gotta do the !+mysql
<1> !+msg the bot
<24> Unless you're a ##PHP channel operator, please speak to the bot in private.
<27> !+mysql
<1> Damn full moon :/
<26> please, does anyone know any london channel?
<1> usuario: o.O
<26> i know this is wrong but i need to contact with any one from london. is very important for me
<14> anyone know how to install eaccelerator?
<23> I have a question, i'm new to PHP POO, i usually work with databases through PEAR::DB cl***,. Ok here is my doubt, i'm writing a method inside a cl*** that query the database but using methods from DB cl*** of pear.. how could i call PEAR::DB methods from my cl***?
<14> and anyone know if it is like really really good compared to zend optimizer (v3 if that makes any bit of difference)
<1> !+g2
<24> Guideline #2) Don't repeat.
<1> !tell usuario about jobs
<14> !tell cdizzle about jobs
<26> ok stormchaser, i understood your msn.. this channel is too much hard... thank you very much. godbye friends
<1> usuario: For an english speaking person you don't make any sense.
<1> !+g10
<24> Guideline #10) We don't support script(s). We help you *write* PHP, not recommend or download and install/hack/modify/adapt/use pre-written scripts
<14> !+gd
<26> but php only is not programming
<14> !+imagecreate
<1> Anyone else?
<28> Before I ask a question about Amazon Web Services, would it be considered an inappropriate question for this channel?
<1> twidget: Ask away
<28> Stormchaser, is the Access Key ID (AWSAccessKeyId) the same thing as the developer token?
<1> twidget: *shrug*
<28> It seems like the token is the old name for it and the ID is the new name, but I could be wrong
<28> okay, just wondering
<1> twidget: PRobably the best way it would be to ask Amazon directly...
<28> yeah, I should


Name:

Comments:

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






Return to #php
or
Go to some related logs:

kmod-ndiswrapper source
mod_js
#math
noteedit libpng error: Read Error
#css
#ubuntu
root-tail dissapears
phpmyadmin subprocess pre-removal script returned error exit status 127
2 different isp one gateway
unichrome_dri gentoo



Home  |  disclaimer  |  contact  |  submit quotes