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



Comments:

<0> phos: is downlaods field a int?
<1> im using a php example from api.urbandictionary and it put an array inside of an array, is there away to get $soap['definition'] from $result[0]?
<2> number
<2> it's a download counter im trying to get the top ten downloaded
<3> Are you CERTAIN? Because '95' > '210'.
<4> !tell QuickTim about enter
<0> phos: but it's not a varchar() right?
<3> It would certainly explain the behaviour
<4> mmmm... Typecasting :)
<1> oh sorry
<2> downloads varchar(6) latin1_swedish_
<3> *blink*
<3> phos: It's not a number, it's text
<5> There's your problem.
<2> what should it be
<0> phos: there you go. numbers and char's sort very differently



<3> So when I said "Is the field number or a text?", your answer should have been "text"
<2> ok
<2> tml i said i didn't know
<2> thanks
<2> for your help
<1> so does anyone know the answer to my problem now?
<0> phos: it should be an appropriate numeric type, like int for integers and float for decimal numbers
<2> k
<6> Hello, I've a problem with p***thru : p***thru("/var/www/gen.pl"); does'nt dispaly anything whereas directly to the shell it works (it's not a right problem, i've done a chmod 777)
<0> QuickTim: you have not provided enough info. we don't read all the examples out there
<2> yesit works
<2> thanks
<2> !
<7> TML, No way to set those values in a cl*** then?
<3> ***imilate: I don't understand the question, but generally speaking, one would provide the cl*** with a "fetch" method that wraps the database API's fetch method
<8> TML, all I need is the instant client package - basic, correct?
<3> jonathan`: More or less
<8> Hmm.. still getting the same thing, and I added the directory I put the files to my PATH environment variable
<1> I want to get $soap['definition'] but that is inside another array $result[0]... is there a way to do this?
<8> restarted apache and same error, thoguh
<6> Hello, I've a problem with p***thru : p***thru("/var/www/gen.pl"); does'nt dispaly anything whereas directly to the shell it works (it's not a right problem, i've done a chmod 777) I think the problem comes from the fact that Apache can't execute Perl.
<9> include('do.php?login=y'); why can't this be used? :/
<10> Fushuing, because include opens a file on the filesystem
<9> then what would i use in this case?
<3> Fushuing: So unless you have a file named do.php?login=y, it will faile
<9> sending a $_POST?
<3> Fushuing: $login='y'; include('do.php');
<9> that could work too :)
<1> oh i got it
<1> i merged the arrays
<1> with $result[0]
<8> Do I need to add the path of the instant client files anywhere in the php.ini file?
<11> Hello. What would cause php to crash when executing a MS-SQL query, but only when the program is used over SSL?
<12> is there a php equivilent of "goto"?
<4> no
<5> jals: there will be, from what I've heard, but for now, no.
<12> that's annoying
<11> That's scary
<4> Ahroun: s/will bo/won't be
<4> s/bo/be
<3> jals: Generally speaking, goto is considered harmful
<12> i have an if/else statement, and i'd like to make the else part execute if the if part returns a certain value, if you get me
<4> jals: then either create a function or call a function on the statement edxecution.
<4> *execution
<12> yeah i suppose that's the best way
<13> Davey: i hear ya, its the lack of the ability to absorb the code produced by the 20% that unnerves me. its great for open source software that someone is making in there free time. for those of us who have fiscal time constraints we dont have time for all that :)
<13> ah crap
<14> Yo Stormchaser
<4> he, Julian|Work! Wazzup?
<14> Not much, how are you?
<4> kewl :)
<15> hey fellas, i need a quick answer....
<14> I need a quick question.
<16> 42.
<8> Ok, I've got the DLLs in, I've got the oracle instant client installed (and the path in my environment variables), I've restarted apache, php works fine, but function_exists() still tells me that all the ora/oci functions don't exist
<15> TrueType libraries, can they read a ttf and pull the font name from the forn meta data, not the filename
<15> mattmcc; lol
<3> jonathan`: You're on Win32?
<8> TML: yeah
<3> jonathan`: And using apache?



<4> LeeHambley: I can't figure out how that is connected to PHP.
<8> TML: yep
<3> jonathan`: Are you certain you edited the correct php.ini?
<15> Stormchaser; because it's in the truetype libs, but it's not documented in the php docs for truetype
<4> LeeHambley: PHP doesn't give a damn about TTF's metadata.
<8> TML: yeah, the one in windows folder
<15> no, but my client does
<14> jonathan`, that may not be the one.
<14> jonathan`, run phpinfo() and check the path in the top section.
<3> LeeHambley: PHP doesn't have functions expose that info
<15> TML - thankyou - much appreciated
<16> Does Freetype, though?
<3> jonathan`: See if other changes to php.ini make visible changes to phpinfo()
<3> mattmcc: It does expose some metadata, yes
<8> ok, one sec
<3> mattmcc: Such as foundry name
<15> TML: super quick answer; can a php script pull metadata from a font ?
<15> (anyhow)
<3> LeeHambley: Sure
<15> with the FreeType functions ?
<3> LeeHambley: You just have to reverse engineer the TTF format, fopen() the TTF, and then parse it
<15> or some funky binary parsing
<3> No.
<17> does anyone in here use geshi?
<15> d'oh, cheers - i'll hit it see what i can do
<3> Not with the freetype functions. PHP doesn't provide access to that metadata.
<3> LeeHambley: You might want to talk to caffinated
<8> yeah, that's the right one
<3> He's done more work with fonts than probably any 3 of the rest of us
<8> I turned startup errors on and now its telling me it cant find the dll that's in the folder
<15> TML: noted, thanks :)
<3> jonathan`: I don't think you're accurately reporting the error
<8> says unable to load dynamic library C:\PHP\ext\php_oci8.dll" - The specified procedure could not be found.. but im 100% sure the file is in that folder
<3> jonathan`: That's not saying it can't find C:\PHP\ext\php_oci8.dll
<17> does anyone in here use geshi? i'm having trouble making my own syntax file :\
<3> jonathan`: That's saying that something in C:\PHP\ext\php_oci8.dll can't be resolved
<8> Hmmm
<15> try using forward slashes.
<3> jonathan`: Only solution I know is to use a tool like dependency walker to load C:\PHP\ext\php_oci8.dll and see what the unresolved symbol is
<4> jonathan`: do you have oci8 client libs?
<3> Stormchaser: He says he does
<4> oh
<4> I somehow missed that... Damn comic :)
<8> Stormchaser, yeah, I switched to a different PC that had all the oracle apps (and apache/php) installed already
<3> jonathan`: But, as I've said once or twice before, you could fit everything I know about Win32 in a thimble and still have room for a double-shot of Jim Beam
<8> heh :)
<14> Yuck.
<3> Julian|Work: Yeah, I don't care for Jim Beam, either
<14> I'm biased though. The Russian in me will only take vodka.
<8> Stopped on an MPR.DLL and gave me "Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module."
<13> why do puple have all there |work parts in there name?
<13> people even
<14> winmutt: because I'm at work.
<13> you have multiple irc clients running in diff places?
<13> just wondering, i use screen and one client no matter where i am
<14> I do, but my client at home isn't connected to this server.
<14> Sometimes it is, hence the designation.
<13> ph
<13> i see
<18> winmutt, I used to do that, but I got tired of it :)
<13> it would be useful to let people know they ahve to sanitize their statements. good thing i work for a company that could care less
<18> heh, same here
<13> Davey: tired of screened irc clients?
<18> winmutt, indeed
<14> *|Work crew unite!
<18> give me X-Chat any day ;)
<0> um, doesn't "writing code that takes user input" automaticly mean you have to sanitize input?
<16> Davey|Work: Proxies are handy things.
<18> ||cw, if you're any decent coder, yes
<19> is it possible to use a variable cl*** name? ($this = new Module$name)
<11> Are there many things that can cause a segfault 11? Or is it a small list?
<18> ||cw, for 80% of PHP developers, that's a no
<13> bah gui irc is for nubs :)
<14> Jared555, not like that, but yes.


Name:

Comments:

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






Return to #php
or
Go to some related logs:

TOtorrentdeserialise. torrent is zero length
opti-ups fedora manage nut
mkpasswd.c ubuntu
#math
pam-login block shadow
debian swith 2.4.27 2.6.8
#asm
ubuntu libfdftk
ununium os
+everquest +sysinfo



Home  |  disclaimer  |  contact  |  submit quotes