@# 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> I think i got it
<1> crashy: are you reloading apache or restarting it?
<1> and yes, there's a difference
<0> thanks guys
<2> stop and start
<3> eew
<3> lol
<2> uh.
<4> ||cw: Isn't she a little young for you?
<4> ;p
<2> bbl
<4> lol



<5> my mom is younger than i am
<3> i dont doubt that
<4> haha
<4> Keal: I think someone lied to you about who your mum is
<5> :P
<6> Hello, I am using setlocale() to have my dates print in my language. Using strftime(), I get the date in my language by the accented characters are not utf8 encoded. I can have the date correctly encoded by p***ing the output of strftime() to utf8_encode(). Is there a way to tell PHP to return everything utf8 encoded? That way I won't have to encode it by hand everywhere php return me some string (like strftime()).
<6> Dangermouse: Sorry :)
<6> Dangermouse: Need a tissue?
<7> i don't understand... a big program... why don't ur do any good installer ? EH ??? EHHHHHHHHHHHH??????????''
<8> I should kick you for just being annoying ;p
<5> yes roychri
<7> ok
<5> create a new strftime that calls the original strftime
<9> noky: huh?
<7> huh!?
<6> Keal: I searched for charset on php.net but haven't found anything conclusive. Any pointers would be appreciated.
<7> PHP ****S
<10> ....
<9> Wow, a self correcting problem.
<10> yeah
<10> Love those
<5> roychri you can have your original functions replaced by your own that call the originals
<10> Saved the effort of kicking him
<6> Keal: Ah, yes... well... I would have to re-create a function for every function that returns strings which is affected by setlocale(). Right?
<11> Hi, I'm looking for something to read the content of an excel-sheet. But I could only find the Spreadsheet_Excel_Writer from PEAR. Is there also something to read excelheets?
<5> sure
<5> just be careful
<5> it would be good to alias the originals
<8> schrankwand - export it to a CSV file
<5> something i dont know how to do yet
<1> roychri: the mbstring stuff might help some. you'll have to wait for php6 for full utf8 support though
<1> schrankwand: haven't heard of one in php, but there's one in perl-cpan that you might be able to port
<11> enygma: ok, that would be a way. But I want to offer my customer to be able to upload his xls-file without the need to convert it
<1> or just exec via a wrapper
<6> thanks Keal and ||cw.
<5> welcome
<11> ||cw: exec something else from php ...you never have used a web-hoster or? ;)
<5> your welcome roychri
<1> schrankwand: nope. and I woulnd't consider it for anything serious
<1> such as file upload processing
<12> schrankwand: I've used hosting services that allowed exec()
<1> or storing customer data
<3> i've used exec, but again, for nothing serious
<10> I have a problem in my syntax highlighter
<5> how do i convert the image format of a binary safe string?
<1> exec can be vary usefull, and much easier than writting an extention wrapper. problem is it doens't scale
<11> TML: I guess you are talking about a hoster for vhosts or root-server, but there are no sane webhoster wich allow exec()
<10> it uses regexes with the 'e' (eval) flag
<1> Keal: php.net/image
<13> Keal: Again, load in the source format, and save it to the one you want.
<12> schrankwand: you and I have different versions of exec() then, I suppose
<11> ||cw: For own projects I wouldn't use a webhoster, too. But it is for a sportsclub wich have not much money
<12> schrankwand: Since the apache user should be locked down to almost no permissions in a shared environment, exec() isn't really that dangerous.
<3> schrankwand: all my web hosts allowed it
<3> but.... i dont alllow it on my server
<3> (except for my domains)
<12> Not that I'm advovating exec() as a solution to your problem, I'm simply saying "shared hosting" and "exec() disabled" are not equivalent expressions
<1> schrankwand: since it's on the cheap, make the users save as.. CSV
<11> ||cw: I think will gonna do that
<14> do I need oracle installed to see if PHP can just -perform- the ora commands like OCILogon() and ora_connect() ?



<12> jonathan`: No.
<14> I didn't think so... hmm.. so there's definitely something set up not quite right then
<1> jonathan`: function_exists()
<12> jonathan`: if (function_exists('ora_connect'))
<14> ok, not reading them as existing
<14> I have the DLLs in the extension_dir, and I have the lines uncommented, and I double checked to make sure both oracle DLLs were there, and I've also restarted apache
<14> does the windows extension_dir parameter in php.ini use \ or / for directory trees?
<15> Is there any way I can use .htaccess for a RewriteRule so that subdomain.domain.com, the subdomain is really a $_GET variable
<1> jonathan`: php should transpaently convert / to \
<14> hmm.. not sure what else it could be then
<1> Axsuul: probably, but why? just parse it out of $_SERVER
<15> ||cw: oh, how would that work
<15> i mean to rid of the subdomain.domain.com gives 404
<1> Axsuul: start with print_r($_SERVER); and find the key that has the server name, then list($sub) = explode(".", $_SERVER['whatever']);
<16> how do I apply a function to every value when you do an implode
<16> ?
<17> mattmcc, sorry to bother you here, but apparently i'm banned from #web, but i haven't joined that channel in a while and it's probably a too-wide ban. can you help me?
<18> hi
<19> vhuren- foreach, array_map
<18> whats the maximal file size for a file upload with html/forms?
<16> k thanx
<1> atari: depends on your config
<15> ||cw: Oh ok I see, but how do I get rid of the subdomain.domain.com from giving me a 404 error
<18> ||cw: config of httpd/mysql or php?
<20> are there any functions available for adding data to a simplexml object?
<21> I have a cl*** that stores mysql_fetch_row into a var. How come when I call while($row=$cl***->resultrow) its in an infinite loop? There is only 3 record returned.
<1> Axsuul: that's a different problem. you could do a vhost that answers to any subdomain, or use mod_rewrite. both of which are questions for #apache
<19> Nick-Atis- I think SimpleXML is supposed to be only for reading. You can use the DOM cl***es instead
<1> atari: all of the above. plus server RAM and tmp dir space
<1> plug projected simultanius users
<18> ||cw: hm... ;)
<13> allanw: Don't see a matching ban. Hostmask?
<1> beh, speeleeing
<18> ||cw: i'd just like to be able to save about 10mb big files...
<17> mattmcc, i think its: c-69-251-197-205.hsd1.md.comcast.net
<1> atari: 10M isn't unreasonable for an average server to handle, so you probably just need php.ini and apache POST limit configs
<15> thanks
<18> ||cw: ok. thanks!
<14> just having the DLL inside the extension_dir and having the DLL uncommented in the php.ini should let oracle functions work correct?
<14> I have the php_oci8.dll and php_oracle.dll both uncommented
<12> jonathan`: if (function_exists('ora_connect'))
<12> What does that say?
<14> it said the function doesn't exist
<12> jonathan`: Did you stop the web server?
<14> TML, yeah, restarted completely
<12> jonathan`: And you have the oracle instantclient?
<14> TML: I ***umed you wouldn't need the oracle client to make the php functions work correctly
<12> jonathan`: That was a bad ***umption
<12> jonathan`: Just like any other thing that PHP provides an extension for, the PHP code is just a translation layer between the PHP engine and the client library
<12> You *always* have to have the actual library itself
<14> ah... i see
<12> You don't have to have the Oracle *engine*, but you have to have at least the instantclient
<13> allanw: Hrm. No, I don't see what would match for you.
<17> mattmcc, yeah, i can't find one either
<12> allanw: Do you use tor?
<17> nope
<13> Man, some of these are stupid.
<17> bah, im trying to figure out why IE prints the 1st page of this: http://www.biomax.us/tissue-microarray.php?TP481 blank, except for the logo. and then the table continues on the 2nd page. firefox prints it fine
<17> i'll be afk though, brb
<18> ||cw: its working! :) thanks!
<21> I have a cl*** that stores mysql_fetch_row into a var. How come when I call while($row=$cl***->resultrow) its in an infinite loop?
<22> when steping through a mysql query is their a way to go back a line?
<23> allanw: all i can say is well w3c validator says it is *not* valid XHTML 1.0 Transitional
<23> zezom: mysql_data_seek() probably but i would question why you need to do such a thing
<24> hi everybody
<24> please...
<22> zircu, thanks, well I need to recompair a line right att he end of a very long compairing function
<12> "recompare"?
<20> does anyone know of a tutorial on using the DOM Functions?
<12> zezom: Store all the rows in an array, then you can walk them in any fashion you like
<12> zezom: while($row = mysql_fetch_array($foo)) $rows[]=$row;
<22> TML, it's a VERY big query
<24> i need fill a page with data, but i must to open each hiperlink and cath the Numbers, and set it in the initial page... who can help me????
<23> zezom: then just hold the last row in an array


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#python
kzenexplorer could not find any jukeboxes
#perl
ubuntu ca106 kernel module
perl *** target pattern contains no %. stop.
#linux
#perl
unrarit linux
#perl
opengl test ubuntu



Home  |  disclaimer  |  contact  |  submit quotes