| |
| |
| |
|
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
Comments:
<0> !+g16 <1> You can be /kickban from ##php for being stupid <2> how can I echo a variable including all escaped characters ? like linebreaks (\n & \r etc) <0> s/"\n"/'\n'/ =) <3> Jymmm: Your made-up guidelines **** <2> Jymmm, isn't there a function for it ? <0> substring <0> or wth ever it is <0> !+strings <1> [STRINGS] Please read http://php.net/types.string for a basic understanding of how strings work in PHP, as well as http://php.net/strings for functions to manipulate strings. Be sure to read 'user comments' as well. <4> spuds: addcslashes might be waht you are after. <0> nforbes not as much as you do <5> ralf:any help with my problem? <3> Jymmm: No no, you're confusing the p***ive form with the active form <6> I have a script that does a thing 100 times and it takes like 20 seconds to do it but I would like it to print out each time it does one thing.. whats the command for that?
<7> I changed a php script last night that uses regexp to compare email addresses, and today I had problems with my webserver. I have read that there was a apache 2.0/php bug concerning regexp. Considering these, I was wondering if /(\w+)[\@](\w+)?[\.]?(\w+)[\.](\w+)$/ is a good string to match email addresses, or if it might be putting additional stress on the server. I need to match user@a.com and user@a.b.com also. Thanks in advance. <3> ralle89: flush() <3> http://php.net/flush <0> nforbes: I'm not confusing anything.... nforbes, you **** (and lousy too). You always have, and you always will. <4> Not followin the guidelines? That's a paddlin. Confusing the p***ive form with the active form? That's a paddlin. <0> Jonnay ok, [old guy from the simpsons] <4> Paddlin the ##php canoe? Oh you better believe that's a paddlin. <8> kinkah <3> Jymmm: "you are ****ed"* <9> haha <4> Jymmm: Jasper. His name is Jasper. <0> nforbes: Never felt a thing. Like I said, you **** lousy! <0> Jonbo Ah, ok. <2> Jonnay, addslashed doesnt work <3> I was correcting your sentence, loser <3> You fail! <2> there must be a function like show_real_string() or something, c'mon <0> spuds I gave you a link to the string functions go read! <7> spuds- have you tried addslashes? <4> spuds: Actually it does. I used it for exactly that purpose. addCslashes <7> spuds- that was already recommended to you... <3> Whoa, they have an sha512? <3> I'm so doing all my hashes with that from now on <10> spuds: You're asking to see characters that have no visual representation visually. My first thought is to dump their hex values.. :) <11> i have 3 php.ini files in the system .. how can i verify that which files is active and working? <7> Dr-Linux- Delete them at random and see if anything breaks <4> spuds: addcslashes($string, "\0..\37!@ @\177..\377"); is EXACTLY what you are after. <11> Auzer: all i want to load the gd.so module <4> unless I misunderstood you. ;) <3> o.O. <12> mattmcc: I whant to do it without internet <2> Jonnay, thanks it worked :) <4> zck: Tagging isn't really all that difficult. The hardest part is getting the tag intersections. If you are interested in building something like that, I can send you some code snippets that will help. <11> extension=gd.so maybe <13> Dr-Linux: yeah <13> Dr-Linux: phpinfo() will also show you which php.ini is being used <11> ok <11> FzZzT: <11> [root@I2C-PBX bin]# php -m <11> PHP Warning: PHP Startup: Unable to load dynamic library './gd.so' - ./gd.so: cannot open shared object file: No such file or directory in Unknown on line 0 <11> so should i mentioned complete path of gd.so module in php.ini file like >> extension=/path-to/gd.so ? <9> Dr-Linux: no. <13> try putting gd.so where all the other php .so files are located <9> The extension needs to go to the extension dir s[pecified in your php.ini <11> Stormchaser: yeah i'm trying to search extension dir :S <9> Dr-Linux: did you do 'make install' as I have told you? <11> extension_dir = "./" <2> how can I explode on newline characters ? <11> yes, and i have gd.so module <9> explode("\n",...) <14> spuds: php.net/file <11> :S <11> where is this path >> extension_dir = "./" <15> the curr dir <2> Stormchaser, thanks. I kept doing '\n' <14> spuds: Why not just use file()? <11> [root@I2C-PBX modules]# php -m <11> [PHP Modules] <11> ctype <11> dom
<11> gd <11> Stormchaser: but never installed php devel package <16> for mysql after i run $result = mysql_query($query) how do i find the number of results returned? i tried count($result) but it only returned 1 which i know is wrong <9> Dr-Linux: Why do you have the urge to spam the channel? <11> :S <11> where i spam? :S <14> Dr-Linux: When you pasted the output of php -m <11> i'm just about to fix my problem i wanna see graphs on my php pages <17> mysql_rows_count? <11> :S <11> TML: okey sorry <14> Dr-Linux: According to the list of modules you just pasted, you already have GD loaded <17> hadees <16> Liquid|Silence, yeah? <4> mysql_num_rows()... isn't it? <14> Dr-Linux: You might find you have better luck getting help from a group of people who speak your native language. Click on "Mailing Lists" on php.net and see if there's a list that speaks your language. <16> Jonnay, thanks <16> i kept searching for result size <16> doh <18> hello, i installed php4-mysql php4 ....mysq-common apache2 libapache2-mod-php4 etc. and when i'm trying to open a .php is giving me something to download . (debian stable). <18> can somebody help me ? <9> !tell tziku about at <18> oh thx :) i'm trying rigt naw <19> n8 <20> hi <21> anyone know of a tool that counts code lines, or maybe even bytes? <22> wc <21> watercloset? <21> word count? <21> wet c*nt? <23> Hmm silly question are there any pdo dlls for 5.1.2? <22> man wc <21> lol what is wc? <22> Solara: Yes <22> joe: RTFM <23> Pollita: Where? -.- <22> man wc <24> joe: wc stands for word count <21> Pollita, man as in a *nix manual? <24> read the manual page for options and controls by opening a shell terminal and typing 'man wc' <22> First you press the m key, then the a key, then the n key, then the space bar, then the w key, then the c key, then enter <23> hehe <21> bennyp, but i want to exclude comments <5> is there a way to find out what php.ini is used at run time or in a cli script? I have 32M in my php.ini but the script bombs out at 16Mb with a fatal error <21> Pollita, you're a smarty pants <22> joe: And you're an idiot. <21> i know <23> hehe <21> i don't even use *nix... you shouldn't ***ume such things... you know what they say about ***uming <21> besides, i asked about counting _lines_ or _bytes_ -- not words ...good effort though <22> You should be specific in your queries <22> And both wc and man are available for windows <22> Who's ***uming now? <22> joe: Nope, still a dumb*** <9> Pollita++ <21> 'man' is not recognized as an internal or external command, operable program or batch file. <21> -- windows xp <22> So install it <21> lol <22> I said they were AVAILABLE <22> !+english <1> ##PHP is an English only channel. If you need support in some other language, please try elsewhere. <22> hrmmm my sam jackson quote is gone :( <11> JpGraph Error This PHP installation is not configured with the GD library. Please recompile PHP with GD support to run JpGraph. (Neither function imagetypes() nor imagecreatefromstring() does exist) <21> IT'LL GET YA DRUNK!!! <11> wtf, my gd module is installed now but :( <22> Linux: Have you restarted apache since installing gd? <9> joe: No you won't... <11> Pollita: yes <21> Stormchaser ? <21> nvm, i wasn't referring to the same quote Pollita mentioned <25> hmm, I must have misunderstood scoping and require_once <11> Pollita: gd is installed, but still error .. any other suggestion ?
Return to
#php or Go to some related
logs:
manhatten distance
#linux #freedesktop from network+install Ubuntu #asm #math Client does not support authentication protocol requested by server; 5.0.18 #perl #sdl #physics
|
|