| |
| |
| |
|
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 29
Comments:
<0> i tried addslashes, htmlspecialchars <1> smartquotes? <2> ALORA: I guess it has something to do your your locals on your system <3> ALORA is it the fancy single quote? <1> sounds like it <3> yeah, if it is, the workaround that I used was to make sure that the pages were sent as utf-8 encoding <3> then it displayed properly <0> ’ <2> ALORA: Sorry, I can't help you on that one. I think you have some sort of encoding issue here. You may be trying to copy an UTF-8 specific character into a form which is served in ISO-8859-1 or similar. And somehow your OS/Browser is not allowing this. But I can't be sure though <3> ALORA, try adding this to the top of the scripts giving you issues: <2> header("Content-type: text/html; charset=UTF-8"); <2> Try that one <3> thats the one ;) <2> ;) <2> Must admit that I did the same. Was not sure of the exact syntax :)
<4> Jemt, JasonSetNine, ALORA: What's the issue? <3> and also look at the utf8_encode() and utf8_decode() functions <3> Elazar, its the curly quote not displaying properly deal <0> thanks <5> php4 on gentoo... can't even get it installed.... anybody in here had any luck? <2> Well, combining UTF-8 which is a multi-byte encoding with ie ISO-8859-1 which is a single-byte encoding, is a very bad idea in PHP as most of it's library consists of functions that can only handle single-byte character encodings. So I have learned to live with ISO-8859-1 :) <0> my_string = strtr($my_string, $unicode_array); <2> duderiffic: Nope, sorry - I'm using Ubuntu. Everything just works out-of-the-box ;) <0> $unicode_array = array( <0> "–" => "-", <0> "—" => "-", <0> "?" => "-", <0> "‘" => "'", <0> "?" => "'", <0> "’" => "'", <0> "?" => "'", <0> "…" => "...", <0> "?" => "...", <6> ACKTHP! <2> pastebin.org <0> "?" => "\"", <5> unfortunately ubuntu don't work on the box i need it to <2> duderiffic: Ah, bugger :/ <5> trust me, i'd much rather run CentOS on it, but it's jacked too <3> duderiffic, are you emerging dev-lang/php or dev-php/php <5> gentoo is the only distro i can get to work on it.. <5> dev-lang/php but it gets blocked by the other <5> as well as mod_php <3> and that is why I left Gentoo for Ubuntu ;) <5> heh, i know the feeling <2> Long live Ubuntu ;) <3> have you checked their forums? <5> first time i've NOT been able to find good documentation <3> php has been a gripe for alot of users of gentoo <3> http://forums.gentoo.org/ <7> id like to fetch a table, grab the ***ociative column name, echo that, then echo the contents of the column/row <3> whenever I got stuck I had good luck finding help there <7> is there a place for example code for that? <5> yeah, between there and the wiki, but i can't get anywhere with this <3> have you tried removing all the blocking stuff? <5> that's the thing... dev-php/php isn't installed <5> i'm lost... <3> doh <5> yeah, feels like rpm hell with RH7 <3> been there too....did you ask in #gentoo, they might be able to fix <2> sky: It would probably be the DOM you should look at <5> spent the whole rest of my lunch break there <5> i gotta get back to work.. maybe i can find something tonite <7> url? <2> sky: It can be used to handle HTML elements as well as XML documents <2> sky: php.net <5> appreciate the help though <7> look under what? <2> sky: http://dk2.php.net/manual/en/ref.dom.php <2> sky: But you probably won't figure it out right away. I played around with DOM for a couple of days before I got the hang of it <7> i can see why <7> seems like there should be functions in php to build an html table <7> or list <7> from an array <7> oh well
<8> http://www.hypervisual.com/winbinder/examples.php <8> geez... thats really works ? <4> JasonSetNine: How is Ubuntu? I actually have yet to try it. Does it's motto "Linux for normal people" hold true? <6> Ox41464b: Why not? <4> Ox41464b: What really works? Using PHP to program desktop applications? <9> Elazar, its the first distro I've ever actually been able to use to get work done <4> Ox41464b: Never heard of PHP-GTK? :P <8> Elazar, produce.exe file ? <4> Davey: *nods* I had the same problem with previous distros I've tried... they were OK to mess around with, but I wouldn't install them on any machines I actually used to work. <4> Ox41464b: I don't know about that. I've never used PHP for desktop applications myself. <9> Elazar, I installed Ubuntu at home, within about 2 weeks I was missing stuff enough I had to switch to Ubuntu at work too :) <6> Speaking of which, did PHP-GTK ever get updated for PHP5? Last time I looked was a long, long time ago. <4> Ox41464b: I imagine it's possible, but I don't know of anyone in particular that's doing it. <6> Ox41464b: No, winbinder does not generate *.exe's. <4> Ahroun: No clue. I've only vaguely heard of it and the notion of using PHP for desktop programming. <4> It should be possible to generate an EXE that basically bundles the PHP interpreter with a compiled version of a PHP script. <2> I have been using Ubuntu Linux as my primary OS since december 2005. And I'm never going back to Windows. I was SO tired of that OS. If an application crashed, it took down the entire system. There is no security and stability in Windows what so ever <9> Ahroun, PHP-GTK2 is almost ready to my knowledge <4> Jemt, Davey: Thanks for the opinions. I may try it come the summer when I'm out of school. <6> Davey: Awesome. I'll have to keep my ears open. <9> Jemt, I wouldn't agree with the application/window crash or stability, I still use windows on my laptop most days and it's fine <8> <4> It should be possible to generate an EXE that basically bundles the PHP interpreter << Yes, php is open-source <9> Jemt, but I work better in Ubuntu :) <10> I've been with linux on the desktop for at least 4 years now <2> Hehe :)) <8> but, the question is... Do i capable to do that ? <11> how can I count the characters of a value in a variable? ie $variable = 'girl' ==> $characters = 4 thanks <2> Well, I have been using Linux since Red Hat 5.2 - but always as my secondary operating system. Windows was great until Windows XP came along. That version really ****s <4> Ox41464b: I know PHP is open-source. I don't know of any particular software packages that do what you're asking, though. Only ones that provide bindings to GUI toolkits. <2> And my new laptop was bundled with XP <8> carlos-the-man: http://php.net/strlen <9> carlos-the-man, strlen <4> Jemt: ME was worse. ;) <2> Elazar: Yea, I must agree on that ;) <11> thanks guiys <2> Win95, NT4 and Win2K - great systems :) <2> And DOS btw <9> I find WinXP to be the best windows to date, and I look forward to Vista <9> I'm dumping Ubuntu in favor of OSX (getting a mac mini and making my dual boot windows only for gaming) <4> Jemt: ME was the biggest piece of crap in the history of M$. It was meant to be a taste for people who were overly anxious for XP, I think. <12> is there any free php script, that can show my current server status on website. <6> Elazar: even Bill Gates HIMSELF decried ME as 'a joke' <2> Elazar: Hehe, yeah. Really crappy ^^ <4> I look forward to Vista myself, mostly for WinFS and Avalon. <12> is there any free php script, that can show my current server status on website. <2> Ahroun: LOL :) <13> davey|work: I'm going to do the same thing. I love the mac osx, esp with the unix core <2> archii: I dosn't help much repeating your self.. <7> i have an Array( [User_ID] => 3 [FirstName]=>blah <4> Is there a shortcut for the bot to tell someone about multiple topics in one shot? :P <2> gamengineer: Oh yeah! OSX Rox! I'm considering purchasing a MiniMac within a year or two <7> how can I grab the ***ociative index name for the current item? <9> Elazar, WinFS isn't shipping with Vista <4> Davey: May or may not... how many times have things been taken out and put back into Vista so far? :P <2> WinFS was actually the one thing I was really looking forward to see <4> If I could afford it, I'd probably get a MacMini myself. <9> Elazar, they're planning to release WinFS some time after Vista as a SP <4> Lord knows the iPod Shuffle I got wasn't worth a damn. <2> Ah, MacMini not MiniMac - that's right ^^;; <7> like can I get the Key for the current row of my array? <9> my wifey is buying me a mac mini for my birthday :D <9> sky, key() ? <14> tell her to buy me one too...as a wedding present <2> Haha :) <9> enygma, hahahaha. hah. ROFL. <9> enygma, you didn't even invite me to your wedding :( <14> or better yet, give me yours <9> you're not even coming to VISIT me! <14> pfft <14> I got better things to do <9> you call your honeymoon more important than ME? pffft. <9> pfft I say! <15> enygma got married?
Return to
#php or Go to some related
logs:
Cannot instantiate non-existent class: mysqli xorg default-display-manager etch #css #linux intelfb half-screen #perl #gentoo #perl ubuntu 6.06 emac screen geometry today.getYear() error firefox
|
|