@# 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> heh
<1> nusoap doesn't seem to like me using it's object over and over again
<0> I met nusoap's author last fall
<1> 67,000 times to be exact...
<0> Nice guy, works at yahoo down in santa monica
<2> is there possible to check whats diffrent between 2 variables ?
<1> yes, i need to fire off 67,000 soap queries.
<3> xnor: depends on what you want to check
<2> ||cw 2 strings
<3> xnor: right, but what do you want to know?
<3> there's a whole herd of string functions...
<4> xnor: levenshtein (sp) would be my recommendation.
<5> levenstein
<4> thanks itrebal. :)
<2> ||cw: Why var1 is not the same as var2, i tought they were
<5> yup



<0> xnor: Is this for the purpose of debugging? or normal program flow?
<2> Pollita: debugging
<3> xnor: well, you can check length, or check case sensitive and insensitive, you could walk them one char at a time
<0> echo 'Str1 = ' . bin2hex($str1) . "\n";
<0> echo 'Str2 = ' . bin2hex($str2) . "\n";
<2> Pollita: great ill check it the hex way :)
<0> That'll give you byte by byte *precisely* what each char is
<3> xnor: or just echo and read
<2> ||cw echo didnt tell me
<3> did you view source on the web page?
<0> chars get lost in an echo.... you can't hide from hex
<4> itrebal: Perhaps if you get invalid info (2 sides), you should display an error image of a mobius strip or a klein bottle embedded in 2D. :)
<5> Ahroun: put in some number (above 0) in the radius,and 'cow' for the number of sides
<6> I see imagecreatetruecolor doesn't support 'gif', is imagecreate the closet thing or?
<2> ||cw yes
<4> itrebal: *LAUGHS*
<4> itrebal: You need help dude. Seriously. :P
<5> :)
<7> is there an article about the crutial changes of moving from php4 to php5 and some new features that should be taken advantage of?
<6> probably
<6> heh, sorry =) I have no idea, check php.net
<7> did you raise your hand in cl*** just to tell the teacher you didn't know the answer when you were a kid?
<7> heh, just making a point
<8> Pollita: looked at that ext_skel stuff .. i can see no advantage at all, because then i would have to maintain two packages, the lib and a aditional php wrapper (and as a bonus i would have to learn about php internals) ... so whats the big disadvantage in using something like swig?
<6> xange: might have a look at http://us2.php.net/README_UPGRADE_51.php
<7> ty cyphor :)
<6> np
<5> Ahroun: lol, i need to clean up my code
<3> pfote: for one, effeciency
<2> Pollita: It has diffrent hexcode, but how do i solve it :) see http://pastebin.com/657710
<8> ||cw: ok, swig adds a little overhead because it wraps all the functions. i doubt that it is much, though
<9> ok this is proving a little hard. I'm trying to find the position of the word "Score" - but the 3rd instance of it
<8> ||cw: but there must be stronger arguments, Pollita said immediatly "dont use it at all, it's ill-suited". so i wanna know why :-)
<2> how do i translate "Bl&aring;" into "Bl" ?
<2> or "Bl" to "Bl&aring;"
<10> str_replace("&aring;", "iwithcolonupsidedownquestionmarkhalf"); :P
<2> hehe
<10> htmlentities() might work, if it's a real entity?
<2> its 3 swedish charachters
<11> hmm go see
<10> I don't have a real client here, alas.
<3> pfote: lets start with this: why are you here asking about it?
<8> ||cw: i explained it some lines up .. i have a c lib, and i need its functionality in php and in python .. thats why i prefer a wrapper generator instead of coding on the native api's
<3> pfote: well, that's what you are doing, why are you asking
<3> enygma: bloggers are too busy reading myspace to irc
<12> heh
<3> and i'm to busy irc'ing to blog
<8> ||cw: because i was unsure about how swig handles memory allocation/deallocation, so i asked a question here how this is handled, and got as reply "uh, dont use swig, its ill-suited"
<2> when i p*** the string "Bl&aring;" to a $_POST['variable'] it converts to "Bl" whyyyy???
<10> What does htmlentities($_POST['variable']) give?
<5> how can i tell if a number is a whole number? (ie: no decimal points/fractions)
<13> floor($num) == $num
<10> (int)$num == $num
<13> Or ceil, round, intval
<12> is_int?
<14> i just freshly installed PHP, but running pear gives me this error: http://rafb.net/paste/results/eRPbYU36.html
<5> thanks



<10> interferon: Do you have pear's console stuff installed?
<2> FauxFaux it gives me the japan yen sign and some other strange char
<14> FauxFaux, i have nothing but a fresh php install
<10> xnor: Um.. sounds like misinterpreted utf-8..?
<14> FauxFaux, if i might be so bold, why does PEAR not install its own dependencies?
<10> That include path looks wrong.. dunno.
<10> Did you install as non-root, or something?
<2> FauxFaux: I have no clue, do you know something i can do?
<14> i just want to install SOAP. that's really all i want. i don't understand why pear is having so many problems
<14> FauxFaux, i installed as root
<10> xnor, interferon: Straange.
<2> :)
<14> this is absurd
<10> My (debian testing) require path is Fatal error: require(): Failed opening required 'foo' (include_path='.:/usr/share/php:/usr/share/pear') in - on line 1, /usr/share/pear includes the file you're missing.
<14> i don't seem to have that file anywhere on my system
<14> i guess i'll just install it manually but i still think this is ridiculous
<15> I am querying 3 tables using INNER join which is basically a search query to find Representatives in certain geographical areas.. but the results return the same rep over and over if you search all the areas he covers? How does this get fixed?
<14> not with php?
<16> how can you search a whole array for a value?
<5> in_array
<16> hang on
<16> array_search
<14> a dumbish question, but how do i add directories to the include path? can it be done with environment variables?
<5> oh i love this ad "the more services you buy, the more you save"
<17> Hi. Is there some way to create functions with variable number of parameters, like stdarg.h in C
<18> itrebal: i hate ads like that..
<5> Gimp_: me topop
<5> mg_: yea, hold on
<5> http://php.net/manual/en/function.func-get-args.php
<17> itrebal, thx
<19> where can i got php6 Logo ?
<5> mmhmm
<19> http://www.zend.com/var/corporate/storage/images/media/images/homepage/zend_com/zend_php_conference_2006/11585-2-eng-US/zend_php_conference_2006_large.gif
<5> Ox41464b: ..what?
<19> but... i dont like the border
<14> that's super
<20> does someone know of a nice color wheel for linux?
<12> color wheel for.....linux?
<20> yes
<21> Is there any way of suggesting a sort algorithm to php when sorting? I know the data is 97% in order.
<22> is there mechanism to recursively traverse an array other than n foreach ?
<22> something in spl ?
<23> Hello
<23> Can I ask something related to validating XHTML 1.0 Strict and PHP?
<5> if you must
<23> if I use <?php include(language.php) ?> it can validate
<23> but the page doesn't work
<23> if I use "" it works, but it isn't validated
<24> you think that your PHP syntax makes or breaks XHTML validation?
<5> you MUST have quotes for an include
<23> well <?php include("language.php") ?> works yeah, but the validator gives an error
<5> then your HTML is bad
<23> ?
<23> it can validate without the "" but then the php doesn't work lol
<24> you know the difference between HTML and PHP?
<5> you are not writing valid XHTML
<14> should php come with ARchive::Tar? if not, where do i get it?
<14> i just want pear to work
<16> well php isnt gonna validate is it
<16> cos its client side..
<16> server side even
<16> wtf
<14> Squalleh, you can validate html from anywhere
<16> the validation is client side....all your browser will see is whatever is echoed
<14> oh i see what you mean
<4> Takeyoshi: I would suggest then you peek inside of language.php and see if it's mangling your html.
<16> soo it doesnt matter if your php messes validation
<23> well it's the include that's the problem....
<23> I think
<16> for example, its impossible to use sessions and have "valid" xhtml, going by what you're saying
<5> Takeyoshi: no, its not, its your hTML
<23> ok thanks i'll have a look again
<5> Squalleh: no, its not impossible


Name:

Comments:

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






Return to #php
or
Go to some related logs:

3dchess apt-get
#asm
950gma xinerama
knemo y SuSE 10.2
Xubuntu min spec
fluxbox menu key
firefox view pdf howto
`RTLD_NEXT' undeclared
#perl
subversion mac insert key



Home  |  disclaimer  |  contact  |  submit quotes