| |
| |
| |
|
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 30 31
Comments:
<0> Is it possible to add extra modules to php.ini in an allready installed PHP configuration, running on a Fedora Core 4? <1> VideX: <1> Are tiy reading the responses? <1> *you <1> Gargoyle asked the same q. <2> ElliottHird, i think maybe he means like - yum install php-mysql for eg <3> how might i keep the text formatting when information is entered from a textarea to a mysql database? <0> <2> Yes, something like that. I want to add GD support. <4> Rich97: You don't need to. However, if you are displaying it as HTML, then you will probably want to use nl2br() when you output it! <2> VideX, so do a - yum search php <4> back later... <2> and pick the modules you want to add with yum install <3> Gargoyle: yes but if i output the information from the database will the text still be in the form it was entered <1> I WUB MY SITE. <1> Well <1> that's what happenes
<5> anyone know how to get the part numbers in imap message attachments? <1> just add it <0> <2> Thanks, I'll try that... <2> np <5> ElliottHird, but aren't they like 1.1, 1.2, 2.1, 2.1? <1> Sorry <1> wasn't talking to you <5> Oh, hehe. :) <1> Was talking to rich97 :P <1> CHANEL IS DETH!! <0> <2> It worked! Thank you, you saved my day! <6> anyone could try print date("m/d/Y H:i:s", strtotime('+1 month')) ? for me it writes 03/03/2006 14:34:37 and it doesn't clear why ? is it bug in php or i'm doing something wrong ? <1> Erm <1> strtotime can't do things like that <1> I don't think <1> It isn't magic <6> ElliottHird, +1 month you mean ? its correct string to it. Anyway, you can try mktime(0,0,0,2) instead of strtotime, result is the same - 03/03/2006 <1> oh <1> it can <6> any clues why it writes like this ? <1> well <1> what's wrong <5> anyone here worked with the imap library in php? <7> pod: check the Mail_IMAPv2 PEAR package.. it makes it all a bit easier ;) <1> imap library is nice. <1> Making logos with only XHTML and CSS = fun <1> Hahah. <1> nick|nick :P <1> nick|nack anyone? <8> I am working on setting up a stable environment to build the rest of my project on. Using PHP5 / mysqli interface.. is this the correct way of using my database connection in my other objects (will be about 15 different objects). http://pastebin.com/532027 <8> For the record.. i have no error or whatever.. the script is working fine and looks to me as fast & secure. But IS this the way to go ? <1> It uses globals. <1> Therefore it is wrong. <1> =P <8> Plz explain... <1> Globals are evil by definition. <1> construct should take a peramater for $sql <1> not have it defined beforehand <1> IMO. <8> are constants okay ? <9> when i try to run a .php script, it tries to d/l it, why ? <1> Sure. <1> Alainlucas: <1> You got a server that uses PHP? <1> or is it freewebs or something <9> i got apache2 <1> With php? <1> and the file extentions sorted out? <1> did you even install it? <9> but i have just upgraded php4 to php5 <9> on ubuntu <1> Read the install file - might have changed the process since last itme <10> alainlucas: you need to add a few lines to your httpd.conf to tell apache what todo with .php files. <1> Yes <1> that's what i meant <9> dlb: which lines ? <1> Read the readme <1> that's why it's called readme <9> i have openned apache2.conf ... <1> !
<10> you know i really should know these lines.. ill look and tell you but you dont do this often. :) <1> Why should we tell you, there's a good readme <1> that tells you how <1> =/ <11> !tell ElliottHird about enter <9> and I uncomented the line "AddType application/x-httpd-php .php", but it changes nothing after restarting apache2 <8> If global=bad.. then EVERY function / object that needs to connect with mysql (that's about all of them) require an extra parameter for the mysqli like. Is this REALLY the way you should do this ?? <10> alainlucas: actually goto the php website very good install there for booth php and apache. <9> ElliottHird: i don't know where is the readme of php, i installed it using synaptic <11> T-Start: IF you're doing that in a ch***, you can just set / call $this->conn, and there is no need for 'global' <10> alainlucas: this should tell you everything you need to know ->http://www.php.net/manual/en/install.unix.apache2.php <1> ch***, heh <11> *cl*** <11> T-Start: Even better... If you're using 'global' in your cl***, then that's probably a design flaw. <9> dlb: the guide doesn't help to make it work... <1> Storm: i said that <10> alainlucas: its the same way ive installed my set up many times from and had no problems. <11> ElliottHird: Sorry... I couldn't make it out from the spam you sent.. <10> did you restart apache? <12> how could i keep swf content from being directly dl'd? <10> after adding those lines? <9> dlb: for example, they talk about apachectl, but it doesn't exist, it's apache2ctl <10> alainlucas: did you add the addmodule lines and the addtype? <9> dlb: also when i add the line "LoadModule php5_module modules/libphp5.so" in httpd.conf or in apache2.conf, the server fails to restart <11> !tell ElliottHird about msg <9> dlb: yes, the Addtype line is uncommented in apache2.conf <10> alainlucas: which error does it give you? and it is php5 you installed yes? <9> dlb: yes, i use synaptic on ubuntu to install php5 <13> gh <10> i dont know unbuntu :( im not sure of synaptic and how it installs things. <13> apache2ctl configtest <11> alainlucas: Then dpkg should do that automatically <9> Stormchaser: that's what I thought... <14> !tell KALASH about msg <11> !+msg the bot <15> php-bot does not allow tell requests to yourself, please talk to the bot in a private message to get information. <16> Excuse me, is there a function that replaces Umlauts by their HTML-Entity counterparts? <11> htmlentities() <17> and it's counterpart, html_entity_decode(); <7> don't you just love how consistant php function names is? <16> lol <16> Thanks :-) <11> fangel: Not to mention it's needle / haystack thingy... <7> Stormchaser: exaaactly ;) <18> :) <18> yes <7> and the array_map, array_walk thingy.. ;) <18> indeed <18> i need to look those things up all the time <18> hey needle/haystack things :) <18> s/hey/the/ <17> i still get jazzed off of being able to use a function called explode(). and sometimes implode() ! <17> but the needle and the haystack is neat too ;) <9> J'ai a quand j'ajoute la ligne load module: Syntax error on line 392 of /etc/apache2/apache2.conf: <9> Cannot load /etc/apache2/modules/libphp5.so into server: /etc/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory <9> comment faire ? <11> Well... explode() and implode() makes sense, <11> !+english <15> ##PHP is an English only channel. If you need support in some other language, please try elsewhere. <19> hi all <19> I am looking for a IDE for php that offers code completion <17> the needle and the haystack make sense too :o <11> aethera: Quanta+ <17> aethera, a lot of them do <19> sid`laptop: for linux? <20> auto comletion rocks <18> sid`laptop: but not the sequence of the params <19> and not quanta <17> aethera: yes <21> i have a form and then a button anmed btnSign with onClick ="true" and after that i start my php code with this: if(isset($_POST['btnSign'])){...} but it never goes into this part <19> sid`laptop: can you give me some names? <18> subject, needle, haystack or haystack, subject, needle <17> on my linux box i use the zend ide <18> etc etc
Return to
#php or Go to some related
logs:
uClibc UnicodeencodeError graymatter4tw ubuntu apt-get cannot find ogle #osdev #debian linux on ibook M6497 ratemyphoto gentoo kompmgr ebuild T L E D R E A totem xvid not handled
|
|