| |
| |
| |
|
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
Comments:
<0> Hi everyone, <0> I whant to use your greate project(Mojavi) to write a CMS! <0> I want to know what is the good way of loading CMS blocks in to my page layout(you know, i mean 3 or 2 column CMS layout). <0> corrently my CMS use a filter to load all blocks presentation and grab current request(module::action) presentation and then sent these presentations in to a layout Module::Action. <0> then that layout Module::Action shows presentations in correct place( center column, right or left, etc) <0> i dont know this way is best way of doing this? may be i should use decorators or extending a new View? <0> if i use decorators than My CMS modules and actions can use decorators too? <0> New Request --> OSC_Filter <0> |--> grabbing current mod::act <0> |--> execute all blocks and get presetations of blocks <0> |--> forward to layout action <0> sorry for my very bad english sad.gif <1> Best job evar: http://www.qdb.us/57267 :) <0> xxxoxx: yes <2> raidman glad to see somebodyhere <3> TML: thanks again for the patience and help
<2> could somebody help me with setting up xdebug with komodo? <2> i can't get xdebug working nicely with komodo <2> anybody help done that before? <4> xxoxx: Type "/msg php-bot guidelines" without those double quotes. :) <5> my system's timezone is "Australia/Brisbane" but PHP seems to think it is "Australia/ACT" <5> right country <5> but still the odd thosand kilometres off <5> thousand even <6> I'd like to check that a string has that format : "INT:something". For example "8234:bla bla", or "93:qwerty kdfdmq", anyone has an idea ? <5> is PHP's list of timezones missing some or something? <7> andrownz: if( preg_matches('/^[0-9]+:[a-zA-Z]+$/', '432:blahblahblah')) { ... } <5> PHP claims to support my timezone, in the docs <5> and yet phpinfo differs from /etc/timezone <6> fangel, how could I forget regexp! Thanks a lot ! <5> how could it get my country right but my local area wrong? <8> check your system clock :P <5> HkS-3207: my system clock? PHP says my location is "Default timezone: Australia/ACT" <5> HkS-3207: I'm a thousand kilometres north of there, in a different timezone <8> holy cow <5> I wonder where PHP's list of timezones is kept <8> :x <8> never happened to me before i dont know what to say <5> oh well. Guess I'll work around it for now. <7> andrownz: anytime.. <4> Dewi: http://id.php.net/manual/en/timezones.php <4> Are you sure your system timezone is set correctly? <5> tws: I believe so. /etc/timezone contains 'Australia/Brisbane' which is in that list <5> and /etc/localtime -> /usr/share/zoneinfo/Australia/Brisbane <9> Parse error: syntax error, unexpected T_SL in /data/www/prgs.php on line 61 <9> Line 61 is Address 2 E. South St. <9> There is NO << there, so what the **** is going on <10> What is the purpose of binding variables to types and lengths in PDO bindParam()? <11> Narada: they cannot be out of bounds then <4> Dewi: I can't help. Anyway, which version of PHP you're using? <10> Bazzi: So what happens if you feed the wrong type or feed the wrong length? What does PDO do exactly? <5> tws: PHP Version 5.1.2-0bpo1 <11> it should refuse to do anything on the database and throw an error at you <10> Hmm weird. Isn't the db supposed to do that/ <10> s/\//?/ <5> Narada: the DB can't do that <12> rixth: that's in a heredoc? double check that you're using print<<< and not print<< <11> I dont know how PDO handles it, since PDO is a layer on top of the DB <12> whichever line it says the error is <5> Narada: the DB can't do anything until the data is converted from your format to its format <9> GarethAdams|Work, yeah, I have checked for that, thugh <11> So it'd be PDO's task <12> no idea then <10> Hmm. <9> GarethAdams|Work, turned out to be whitespace after $var = <<<TEXT <5> Narada: this is especially apparent in php, since php has no explicit types, but DBs do. So somewhere along the line somebody has to decide which type to send to the DB <13> In <input name="title" id="foo" value="yes">, to get the value "yes", I have to use this $_GET['title'], now, is it possible to get the value from the id instead of the name of the input ? <12> alainlucas, no <10> String or numeric. Simple. <10> Quoted or unquoted. <12> alainlucas, HTML sends form inputs in name/value pairs, PHP doesn't have a clue what ID you're using :) <5> Narada: DBs have a lot more than 2 data types <4> Dewi: Try to put date.timezone="Australia/Brisbane" in your php.ini file, restart your server and see if it can `fix` your problem. <5> Narada: but even those 2 are enough <10> Don't confuse data types with data structure types. <10> It's many to one. <11> this year australia silently changed the DST changes by a week, didnt they?
<5> Bazzi: maybe. But I'm not in DST <5> Bazzi: only PHP thinks I am :P <5> Narada: I'm... not <10> Name some other types so I know what you mean. <5> Narada: there is way more than just textual and numeric data. There are also dates <5> Narada: there is binary <10> Dates are a data type. <5> Narada: but who cares? Even the difference between quoted and unquoted is enough to require manual intervention <10> Those are data types not data structure types. So you are confusing them possibly. <5> Narada: I don't know what you mean by "data structure type" <11> Dewi: hey php cannot know your gov't just changes the rules ;-) <10> Mysql data types vs PHP data structure types. <10> Anyway, better get back to work. <11> Dewi: you'd need a glibc update or just edit the glibc timezone data manually <5> Bazzi: um... so the date of a DST change justifies PHP getting my location off by 1000 km? <11> your location off? <11> aaaww <11> stupid php <5> Bazzi: this location hasn't had daylight saving in decades <5> :P <11> huh <5> tws: cool. that fixed it. thanks. <4> Dewi: Welcome. <14> hello <14> I am exporting some data to a csv file... I double quote all values... <14> the thing is, when I enter a string that resambles a date (2006.10.3) when opened with excell this string get automatically changed (formated) to local date settings in my case 3.10.2006 <14> is there a way to preserve the original entry? no matter what settings someone uses on their system/excel? <15> What has that to do with PHP? <14> I am exporting data with php... I know it's not directly correlated <14> but is there a function or method in php that would easy this process? <15> That's a excel problem... <15> *an <16> hi <17> hi <18> hey <17> dont spose anyone here has messed much with phpbb? im trying to display the active topic name on a website <19> #phpbb <20> and I'm sure they have a support forum. That is, ***uming it hasn't been annilated during a nightly exploit :p <1> quickie: does JavaScript respect integer division? <21> any dataobject_db users here ? <1> You mean DB::DataObject? <21> yes <1> Yeah, me. <22> i hate forms <21> pmv using ::factory will make it share the db connection along the diffrent access in the page ? <22> ah btw hi everyone <1> pearQ: If you've set up the db to maintain connections, yes. <21> pmv: how do i do that with mysql? <21> and does using proxy = full effect performance? <23> hi all <23> Where do i find a list with all the special chars? like ¨ etc? <1> pearQ: Not sure. I've only done Postgres. <22> http://www.utoronto.ca/webdocs/HTMLdocs/NewHTML/iso_table.html <22> dont know how complete it is <22> is just latin 1 <22> its <23> thnx m8, that was the one! <22> aah yeah <22> try this one <22> http://www.webmonkey.com/webmonkey/reference/special_characters/ <23> yes, that one is better! <24> anybody "messed around" with the progress database in here? I'm trying to convert one to mysql and use php as an interface.... <25> how do I explode a string of 12 integers after 4th, 6th, 8th and 10th integer? <26> babi, substr <27> <?=$filelist?> <27> this is not working <27> any idea <12> there's plenty of ways something could 'not work' <26> torque: put error_reporting(E_ALL); on top of your file.php <12> doctors ask you what the symptoms are if you visit them <26> and tell us, what you got after refreshing <27> nothing
Return to
#php or Go to some related
logs:
#linux #linux CX2610 linux eth1 does not exist gentoo #php rp8_linux20_libc6_i386_cs2_rpm ubuntu #gentoo #mysql PHP strip non-alpha numeric characters gentoo HOWTO_Update_Full_System
|
|