@# 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> php-nuke-esque moment of genius
<1> Elazar: By return value... you mean $smallDesc?
<2> insites: Show some code and we can stop making guesses
<3> itrebal: Hmm. What, sessions?
<4> grr JS pisses me off
<4> Stormx2: how do you mean?
<5> njdavid: As in the return value of the funtion preg_match_all(). I don't know how to make it any clearer to you.
<6> streaky, i prefer that genius to your lack of
<0> Rhasta, if it has to be secure use https or don't bother, simple as
<5> njdavid: int preg_match_all ( string pattern, string subject, array &matches [, int flags [, int offset]] )
<5> njdavid: As in the _int_ part.
<3> itrebal: I was asking about sessions... What session data should I store to say a user is logged in? is a simple loggedIn() flag ok?
<1> Elazar: I've never done that before... how would I do it?
<3> wait
<3> not loggedIn()
<3> $_SESSION['logged_in']



<3> rather
<4> Stormx2: yes, but store it as $_SESSION['username']
<4> so you can refer to it
<5> njdavid: http://php.net/echo
<0> isn't a user id enough?
<4> crap my wisdom teeth are bleeding again
<1> Elazar: Lol... I don't see how I'm supposed to do this
<5> njdavid: http://us3.php.net/manual/en/langref.php <-- start reading
<5> njdavid: Because you obviously have no clue WTF you're doing.
<3> itrebal: OK, Thanks
<7> Anybody give me a hand with Mail_mime? I can't seem to get addHTMLImage just right.
<7> Do you give it the complete path or the one from the site root?
<7> It's attaching 0 bytes to my mail. Everything else is working just fine.
<8> jules: hello
<7> hey koocyton
<9> how can i check if the session extensions are successfully installed? installing it through ports
<4> norse: session_start();
<10> itrebal can you pm me i need to talk to you about svn
<4> sure
<11> how much time can you put in?
<11> oops.. wrong window
<9> itrebal,
<9> thanks
<9> itrebal, Would it help if we a corporate blocking software like WEBSENSE running & limited rights to all the computers on the network.
<11> and they say it isn't an OS
<9> itrebal, sorry dude wrong paste
<4> norse: lol ok
<9> itrebal, Fatal error: Call to undefined function session_start() in /usr/home/alphabits/session.php on line 3
<9> here it is
<4> you don't have sessions installed
<9> f*ck
<11> or the php package that includes session support
<9> Fatal error: Call to undefined function session_start() in /usr/home/alphabits/session.php on line 3
<9> ===> Cleaning for php5-session-5.0.3_2
<9> ===> Cleaning for php4-extensions-1.0
<9> [root@rootbox:/usr/ports/lang/php4-extensions]
<9> i think i got it installed
<11> norse: why is it using php5-* with your php4-* stuff?
<11> norse: bsd?
<9> zircu, yes
<11> norse: there is a problem with ports of those two clean statments are issued on the same command
<9> yeah i have to double check
<11> also, when was the last time you did a cvsup on ports?
<9> last week
<12> Hi guys, there's any built-in date cl*** in php ?
<11> I've never installed php via ports so i'm just guessing something is wrong based on that output you sent
<11> xshad: what kind of date cl***?
<5> xshad: Not a cl***, no, not that I know of. Not one that's built in, anyway. Plenty of date functions, though. Or you might check PEAR.
<11> xshad: and also, what version of php are you using?
<12> Anything like pear date, but built-in. 5.1.2
<12> ah only pear ? :(
<5> xshad: Far as I know, yeah.
<13> is there something special i need to do in order to get "php_value register_globals off" to work when i put it in a .htaccess file?
<6> check apache's allowoverride for that directory
<6> if it isnt working that is
<11> xshad: hmm.. there should be something in 5.1.2, unless it was decided against releasing it
<12> zircu, that's why I'm asking :) I've heard that 5.1.2 come with any kind of date cl***es
<13> Rhasta: it's in a virtual host, so i probably need to set it htere?
<12> I'll try pecl date_time :P



<12> thanks
<11> xshad: i recall a date cl*** discussed a few months back, the problem is the cl*** can't really be called Date() since it clashes with the function
<14> the issue wasn't the function, but other cl***es using that name like PEAR::Date
<14> i'm not sure of the current status but it doesn't seem to be in 5.1.2
<14> might be a configure option somewhere
<4> grr javascript pisses me off sometimes
<6> sleek, probably yeah
<11> xshad: if you compile with the make option with -DEXPERIMENTAL_DATE_SUPPORT it will include the builtin stuff
<13> Rhasta: thanks
<15> is []<> consider alphanumeric?
<15> or just numbers and letters?
<13> say wha?
<15> will this return true for html tags-
<15> if(ereg("^[[:alnum:]]+$", $sStr))
<13> ewww
<13> use preg_match
<13> ereg ****s
<15> not my code
<14> or ctype_alnum()
<13> Kill them.
<11> and if you converted to preg_match, no
<15> **** it... i'll leave it
<13> that's the spirit!
<16> http://dominicahotjobs.com/v1/postjobs.php anyone care to tell me if i should break these forms into how many tables for normalization please
<17> Yo..
<17> Anyone in?
<18> Hi guys, I am having an issue with multiple databases being opened at the same time on the same server. Looks like the resource ID's are getting mixed up. I have used mysql_select_db as instructed on php.net, yet the resource ID's are still the same for both DB's, anyone know how to solve this?
<16> or should i make this one table apart from stuff with drop down menus
<4> spyro_boy: no
<17> itrebal, I knew I was going to get that.
<4> good
<17> itrebal, I've got a question for ye'.
<4> shoot
<17> Okay.
<17> I may have to whip out a .phps so just ask if you need it
<11> clyrrad: the simpliest way is to use a different username and p*** for the db's
<17> I've got a php function I made that takes <html> that is put into a variable that is then processed in the function and shot out in the right spot..but I have no idea how I'll <?php ?> inside the <html>
<18> zircu, is that what is causing the problem?
<4> spyro_boy: seems like what you want is eval, but eval is satan
<11> clyrrad: or use the extra param in the mysql_connect called new_link
<11> clyrrad: yes, php will use the same connection if the server/user/p*** is the same
<16> anyone care to answer my question please?
<18> damn.... thats annoying :p
<19> itrebal: now, i get that its satan, but why is it that everyone says if the answer is eval, the question is wrong?
<17> itrebal, I also have that problem when I file_get_contents for <html> when it also contains php tags.
<19> why is eval so bad...
<11> clyrrad: just add teh new_link option to make it even easier
<4> spyro_boy: i'd do something like ob_start(); include('thatfile'); $output = ob_get_clean();
<4> spyro_boy: is it a template cl***?
<18> zircu, should it be true or false?
<17> itrebal, no.
<17> itrebal, I'll show ye in a sec.
<4> spyro_boy: ok
<11> clyrrad: true
<18> zircu, thank-you I will give that a shot, this has been driving me insane lol...
<17> Jesus this server is slow.
<17> itrebal, http://secant.chules.net/~spyroboy/test3/?p=blog here's the problem
<4> spyro_boy: err... i'm not hte bets to be asking, i'm up on drugs atm
<17> itrebal, lol!
<17> okay.. :P
<17> http://secant.chules.net/~spyroboy/test3/index.phps this is the PHPS..can anyone help me out?
<17> http://secant.chules.net/~spyroboy/test3/cssource.phps this is another if you need more..info
<20> hello all
<17> Hi jalopy
<17> Jayinwww*
<4> gah! why does this fail
<20> ?
<4> javascript issues:/ i'm rather new to it
<17> itrebal, I see by eval();..I gotta parse that too eh?
<4> spyro_boy: i told you, not the best time :)
<17> yeah haha
<17> stupid me..does does everything need to be parsed!
<17> Jesus. Life is complicated.


Name:

Comments:

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






Return to #php
or
Go to some related logs:

gettext bullshit
#perl
#perl
wireless-tools 28pre9 ubuntu
NVIDIA: failed to set MTRR
#javascript
#fedora
#bash
Temporary failure in name resolution emerge xorg-x11
#linux



Home  |  disclaimer  |  contact  |  submit quotes