| |
| |
| |
|
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 32 33 34
Comments:
<0> because they will still have numerical keys too <1> Zule, notice that PHP6 will break a lot of PHP4 things <2> like register globals and magic quotes? :) <0> they are already working on php6? Not many people have even adopted php5 yet <1> that's one thing <3> hopefully all php4 things <2> There was nothing wrong with php 4 :| <0> magic quotes <0> and register globals <2> colder: Those I don't mind, anything else important I should know about though? <0> is really really wrong <1> Don't expect your PHP4 code to work properly on PHP6, its not ment to keep complete BC <2> Well, granted that is true. But I like everything else. <3> Zule: php5 is miles better in many ways imo =) <2> That'll be fun :) <4> any talk of PHP6+ to become compiled?
<2> Maybe by then we can be trying to write applications to sell that are php4, 5, and 6 compatible! <5> will PHP6 have consistent function names and argument order? :-P <1> Nomikos, no (: <3> Nomikos, no <5> now THAT would be an improvement, even if it did break everything.. <2> Bazzi: Well personally I don't see many new things to entice me to update <6> Switch to another language and save yourself the h***le of umpteen rewrites. <3> Zule: well I see a great many. Native SQLite support, new PCRE version, string function taking more than a char for input, improved stream handling, encapsulation in OOP, etc. <5> error handling <5> simpleXML is nice <4> still planning on being loose type? <3> yeah the whole XML handling has been vastly improved <1> artax, of course <6> They should have implemented type hinting fully to at least give people a choice to use it if they wanted to. <3> they shouldnt have implemented it at all <4> i never got the whole "it has to be strict" <7> hello everybody <8> is there any way i can just have sessions variables registered as global NOT requests? <9> is there any opposit to empty() .. like notempty() ? :) <6> heh <10> Diphilus_: !empty() ? <5> Diphilus_, ! empty() :-) <1> Diphilus_, simply if ($var) <3> type hinting is the one thing where they went to far IMO, php should still be dynamic <10> colder: That's not equivalent. <1> Tresnar, it is <10> That can fail if $var is zero, or false in some other way <10> Hrm <1> Tresnar, empty($var) is the same as !$var <10> Actually, I'm thinking set in terms of the one that would not failf or those <1> Tresnar, read the doc about empty() <10> colder: Already did. Just had isset and empty reversed. It's morning on my coast, and I have no business tech-supporting yet :/ <1> ah ;) <11> hello <1> well, the only difference is that no error will be thrown. <11> is it true that the command line php interpreter has a different php.ini file? <6> ghost: do phpinfo() and find out <5> yep <12> does anyone know how to query the structure of a table so i can automagically print new fields when they're created in the db? <5> usually <13> ghost, yes usually depeding upon your distro <13> mandric, descride tbl; <5> mandric, "explain my_table" i think <12> i guess that's describe <11> i tried typing php phpinfo () at the command line but it didn't like it <5> ehr. something. <13> yeah spelling was way off haha <5> try a couple :-) <12> ok <13> http://dev.mysql.com/doc/refman/5.0/en/describe.html <5> mandric, mysql.com has bitching bad docs, but it's somewhere in there <11> it just says syntax error <11> does phpinfo() in a web page say anything about the command line interpreter? <5> ghost, doubt it, try $ php -i <10> ghost: It works differently than you're expecting. <5> where $ is your prompt <10> Type php, hit enter. <10> This starts the php command-line interpreter. <10> Then type in <?php phpinfo(); ?> and hit enter. <10> That's the actual code (Still requires PHP opening/closing like usual)
<10> Then, hit Ctrl-D to signal the End of File. At this point it'll execute. <5> Tresnar, "php -i" is the same only shorter ;-) <10> Nomikos: Mine has a valuable lesson on why what he expected didn't show up. USELESS EDUCATING FOR JUSTICE! <10> ... or something <shrugs> <5> ehr.. if you say so. okay :) <14> I'm observing some very strange behaviour with date() at http://transactionalweb.com/t.php <11> okay how do i output that to a file ? <5> ghost, php -i > file.txt <14> I'm feeding it a timestamp, but the result is chaning from 5/1/2006 to 4/30/2006 <14> if you refresh several times you'll see it <1> bewest, what is the strange behavior you're talking about ? <14> colder: if you refresh several times you'll see the date change from 5/1/2006 to 4/30/2006 <14> same integer... <14> different dates <8> anyone know if _REQUEST is part of register_globals or is it just _GET _POST? <14> very strange <8> since variables_order doesnt include it <1> bewest, I see, err, you should try to update php, 4.3.2 is quite old <11> hmmm see the error i'm getting is "Fatal error: Call to undefined function mysql_connect() " <14> define quite old <14> what version of php are you recommending? <14> 4.3.2 is pretty standard is it not <8> the newest <8> no <11> mysql module is installed <8> 4.3.2 has major seucirty holes <1> bewest, the most recent php version on the 4 branch is 4.4.2 <14> the newest... meaning 5? <14> ok <8> newest in 4 <11> can happily connectto databases from web pages <14> well <8> although i would suggest going to 5 <14> in my experience 4.3.2 or thereabouts is installed on many many platforms <14> I'm not sure I've seen 4.4.2. installed anywhere <14> has anyone seen this behaviour though, or does anyone recall a bug on this? <15> we have it <1> bewest, well, if you take a look at: http://php.net/ChangeLog-4.php you'll see that _many_ things have been updated since 4.3.2 <14> 4.3.2 actually is an upgrade <16> When i want to read a file and print it i use this code: $emaildata = fread($readlist,filesize($emaillist)); <16> fclose($readlist); <16> but, it gives its output on 1 line <16> while in the file, it are multiple lines <16> is there any way to split the output? <11> anyone have an idea why command line php would fail on mysql functions? <1> karim^, php.net/nl2br <16> thank you <14> colder: ok, at this point I'm just curious if anyone has seen this kind of behaviour before <17> stightly off-topic, but can anyone direct me to a magic.mime file that mime_magic or fileInfo would recognize? <14> colder: I'm wondering if maybe it could be some kind of host thing <1> bewest, you can search bugs.php.net <14> specific to this host <16> colder, i don't really see how i can use this, since i use the command print("$emaildata"); to output the content, where am i supposed to put the nl2br command? <1> karim^, 1) you don't need to put the variable in double quotes, and you would have to put nl2br() around the variable <16> ok <1> and 3) print doesn't require parenthesis, and its even better not to use them ;) <16> ok, thanks colder got it working :) <1> you're welcome. <18> my production server is ignoring php_value session.use_cookies 0 <18> my laptop use it well <1> phpError, check the allowOverride configuration directive <18> colder: I've no errors <1> uh ? <18> colder: it simply uses cookies <1> what are you talking about ? <18> colder: and I can state it by disabling them in the browser <1> ah :) <19> do a lot of people here use the MVC model? <19> or a particular framework? <1> in your script, use ini_get to check the value <20> shildebrand: I'm sure some do. <1> phretor, that was for you: check the allowOverride configuration directive <18> colder: the php_value session.use_cookies 0 does not produce any error, it's simply ignored because I can see that user customisation remains untill I disable cookies <19> is that the best way to switch between editing and presentation mode for an app?
Return to
#php or Go to some related
logs:
r2500 wireless debian python r0201 dev/random uuencode Solaris #debian #php wchan write_chan MYSQL ORDER BY COUNT(*) #perl #python #lisp
|
|