| |
| |
| |
|
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> $foo['bar'] = 'baz' <1> $array_name['key'] = value <0> php.net/array, please. <1> yea <1> what he said <2> k, ty. <3> What function can split a string like "ab" into arrays and that is compatible with PHP 4.4.1? <3> *into an array <0> A string like "ab" into what kind of array? <4> isn't a string already an array? $string[0] <0> lig: Not cl***ified that way in PHP. <5> lig: a striang can be TREATED like an array of characters, but that's abou tit. <0> It's bad to reference it as an array. <0> Try distinguishing between string indices and array indices, so like $str{0} and $arr[0] <5> lig ****s too, da bastards!
<5> kuja {} has been depreciated <0> Oh? <6> lol <5> I love it too! dumb***es keep changing **** <3> nm, I just used preg_split instead of str_split <3> I hate my host, they don't have PHP5 yes <3> *yet <0> kuja@shugotenshi:~/downloads$ php -d error_reporting=E_STRICT -r '$str = "foo"; echo $str{0}, "\n";' <0> f <3> I keep making the stupid habit of not RTFM <0> Doesn't seem to say anything about deprecation <0> Or is PHP sticking deprecation somewhere else, when it belongs in E_STRICT, or has this been pre-PHP5 as well? <7> so strings in php are [] yes? for sure? <7> $str[slice] ? <7> freaking code monkeys :\ <7> consolidation! <0> Any deprecation notices should belong in E_STRICT, and if at all in PHP4, it should be in E_NOTICE. <4> http://www.php.net/manual/en/language.types.string.php <4> String access and modification by character <4> Jymmm: I think you have it backwards... array bracks are deprecated <4> not braces <8> lig: braces are going to be deprecated and square brackets the new old way, as of PHP6, so might as well start now. <4> LOL - thanks TML... <7> so, stick to brackets :\ <5> place <0> TML: That would explain no deprecation notices. Will PHP6 eliminate them or note on their use? <8> *shrug* <8> kuja: That's more thought than has gone into it at that stage, I think <0> Relooking at PHP6, there's still some plan of backwards compatibility to the most. </unliked_idea> <5> TML: fwiw, can't be done (easily)... RewriteBase is for url's, not paths. <4> night guys <0> Night? It's only 5PM where she is <0> :P <1> how can I make a timestamp for "15 minutes ago" ? <0> time() - 60 * 15 <1> you sure? <9> lol <0> 60 seconds times 15 times. Sounds like 15 minutes to me. <0> kuja@shugotenshi:~/downloads$ php -r '$timstamp = time(); var_dump($timestamp - 60 * 15 == strtotime("-15 minutes", $timestamp));' <0> bool(true) <0> tek_: Does that satisfy you? <8> Jymmm: I'm not sure what you mean. Adding 'RewriteBase /~joey' to the .htaccess file fixes the problem for me <10> what security i have to worry about running a smtp email script from a shared server, (dont want noone else using it) just make a account for mail only, (but how do i only allow this user and not everyone on localhost) <10> this aol blocking nobody crap is hurting my biz bad <10> about ready to sue them <5> TML: You dind't use a RewriteCond with that? <11> can anyone help me? <8> Just RewriteCond %{REQUEST_FILENAME} !-f <8> ReAn: no <11> lol <8> Why are you laughing? <12> sql..... uggg <0> He finds denial funny. <11> http://www.rafb.net/paste/results/hn3DTw78.html <--- my entire problem is detailed here, mysql will not load into php, if anyone feels inclined to aid me, it is much apreshiated <0> I guess attempted relationships are a joke. <8> Jymmm: PM? <5> TML anytime <0> ReAn: If you're going to ask in the first place, why ask?
<11> to see if anyone is around really <8> ReAn: Don't do that, please. Read our channel guidelines <0> ReAn: libmysql.dll, move into your system32 directory. <11> mysql has a PATH entry <0> Then restart apache and try again. <0> This really has nothing to do with mysql itself. <8> ReAn: libmysql.dll needs to be on your %PATH% <11> according to the site it said adding my mysql /bin/ to my PATH was reccomended <11> which is what i did <11> and rebooted <8> ReAn: libmysql.dll is in /bin/? <11> yea <8> Are you sure about that? <11> yep <8> ReAn: Google for dependency walker and load up php_mysql.dll, it'll tell you what library is missing <11> http://www.rafb.net/paste/results/KN2Y9u22.html <--- 1st one <11> apparantly "MSJAVA.DLL" is missing <11> and that's it <11> but MSJAVA? <11> it finds libmysql just fine <13> hello all <14> Anyone know how I can get the full url on the current page INCLUDING the anchor tag? I can't seem to acomplish getting the anchor tag <14> anyone? <10> is setting up some sort of pear::mail system take long? i need something quick for mail that will get thru <11> no clue Goosemoose <10> in a big hurry <14> doh <11> TML: it's all fine, the problem is apache can't seem to 'find' a file that clearly exists <10> ReAn: docroot <11> that's not it <10> are you on windows? <11> fooster; http://www.rafb.net/paste/results/hn3DTw78.html <11> that's a full detail explanation of my problem <11> with all my .conf .ini file entrys shown <0> ReAn: That's not an Apache error, if you haven't noticed. Clearly libmysql.dll is in the right place, sure. But it might be failing on the dependency. <10> you don't want php.ini in c:/windows <10> that doesnt work anyhow, put it in the php dir <0> ReAn: That's like saying PHP can't load php_mysql.dll, but clearly php_mysql.dll but maybe libmysql.dll isn't? Do you get it? libmysql.dll needs what its missing, check on that. <11> kuja: did you not read the error? but i checked it, and libmysql in the dependency walker <11> they are clean <11> it said it can't find the php module tho <10> what php install did you use? <11> 5.1.2 <10> use the full package and unzip to php, remove the other <10> dont use installer <0> ReAn: Try the libmysql.dll comes with the PHP package. <11> i did <11> kuja: tried both <0> ReAn: Confusing. I have no clue. <10> where is libmysql.dll <10> i dont see it <11> it's in mysql's bin, which is in my %PATH% <11> and <11> it's in the php root dir <11> and now <11> in the ext dir <11> and system32 dir <15> hello. is there a way to set PHP charset or something? It seems to be sending UTF-8... <11> and still apache is gay <0> ReAn: Um, that's not an Apache error. Do I have to tell you again? <10> wheres your loadmodule? <11> in httpd.conf <11> for apache <0> ReAn: It's just logged in error.log because mod_php logs there. <11> kuja: the only questionable dependency is MSJAVA.dll, which is used by some 10th tier depenency thru wsock32.dll <11> but <11> if that was a problem, i wouldn't be able to talk to you right now <11> cuz irc uses sockets <16> oskie: UTF-8 rocks! <11> and my apache server rocks <11> loads <11> danmit Nomikos i read that as i typed <16> oskie: other than that, use header() <16> ReAn: :-D
Return to
#php or Go to some related
logs:
mondo-rescue gentoo unmask +php tutorial +optional parameters +functions
juhazone quiznos infomercial
#gentoo Unable to find libpq++.h LDAP slapmodify #kde phishy nickserv tslib+Segmentation fault
|
|