| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9
Comments:
<0> nope ? <1> question: i'm trying to get the MM session module to work on PHP4.4.2 on FreeBSD 5.4. phpinfo() says shows that php is compiled with '--with-mm' and that session.save_handler in php.ini is set to 'mm'. In /usr/local/lib/ i find libmm.a, libmm.la, libmm.so.14, libmm.so (symlink to libmm.so.14), libmm.so.13 (symlink to libmm.so.14). Still i get "session_start(): Cannot find save handler mm". Does anyone have any idea what i'm doing wrong? <2> okay <2> Oele: did you point php to the correct directory on ./configure <2> or did you just add --with-mm? <2> the problem just looks to be that php doesn't know where to find the library <1> spox: sorry, got distracted for a moment.. What *is* the correct directory for --with-mm? I tried /usr/local/ and /usr/local/lib/, but no success.. <0> i have a question <3> no, you don't. <0> really <3> really. <0> i want to search in my DB by date <0> but just using the year as a Parameter <4> you got a field storing date? <4> and if so, what kind of field is it? <3> $10 on varchar!
<4> no no no <4> a int! <0> i want to create a post method page <3> a varchar containing an int! <4> YES! <4> no <4> a BLOB contining an int <3> largeblob <3> :P <0> where the user will enter a year , for example 1983 <4> damn <4> Djanov, you're funny <4> you keep talking with worthless info <0> then the post method will send the 1983 to a php page <4> and have yet to answer the two questions I asked you <0> why worth ? <2> well if you would answer his question, then he would answer yours <0> oh sorry ^^ <4> <4> you got a field storing date? <4> <4> and if so, what kind of field is it? <0> i have dates stored in my sql DB in a table <0> in a DATE field <2> lol <4> ok that's one <3> christ <4> that's two <4> YAY! <0> ^^ <4> datefields**** btw <3> ^^^^^^^^^^^^^^^^^^^^^^^^^^^ <2> yes they do <4> I recommend a timestamp field <0> :\ <2> ints! <0> but i have already putted 160 members on my DB <0> i can't change now :( <4> spox, mysql timestamps basically are ints <0> put* <4> Djanov, question for you <4> if I walked you through it, would you be willing to convert to timestamps? <4> I can help you change your table <0> to be honest i prefer to keep the current field setting :)) <3> it only hurts the first time <4> Djanov, might I ask why? <4> seriously, its a VERY bad way of storing the data <4> did you see evulish and I joking above? <0> because i have other codes which uses that field <4> how we were guessing bad possible formats? <0> i can't change thoses code <0> i p***es too many time on <4> a date fields are basically just varchars <2> yup <2> horrible for sorting <4> yup <2> at least compared to an actual number <0> the default date format is 0000-00-00 <4> you could do a search where mydate like %2004% <5> if (isset($_POST['doaction'])) { <5> echo $_POST['doaction']; <5> echo $_POST['name']; } <2> well, you can use date/time functions for that
<2> instead of wildcarding <5> it only echos doaction for some reason <2> select * from table where year(datefield) = '2004'; <2> fedt: well then i guess you aren't setting name correctly <5> how else would i set it? <0> where year(datefield) = '2004' is it possible ? <2> Djanov: how about you try it and let us know <0> ^^ ok spox ! <0> i'm checking... <0> cool ! it works perfecktly ! <5> while ($test = $_POST) { print_r($test); } is this infinite? <0> mhhh maybe you should use foreach ($_POST as $TEST) print ... <6> if(isset($_POST['doaction']) && isset($_POST['name'])) { echo "$_POST['doaction'] <br> $_POST['name]"; .. if that doesn't work, it means name isn't set. <0> i'm not sure ;) i'm newbie <6> Djanov that's right. You are. Never suggest anything like that ever again. <0> :))) <6> fedt.. while($test == <6> not = <0> ^^ <6> er <6> nvm <6> it's not an infinite loop .. =/ <0> i have another question <0> .P <0> :P <0> select * from table where year(datefield) = '2004'; <0> can i use > or < instead of = <0> ? <6> yes <0> reaalyy ? <0> wow i'm genius ^^ <0> i will send my CV to Bill Gates <7> sure oyu want to work with him? <0> i can make coffe <0> wash car :PP <8> can i have sumthing about php <3> no. <8> wrong place i guess <9> you can have all the php you want at php.net <8> okay then <0> ^^ <0> i know that site :P <0> poor little boy <7> sup Tb <9> man, i forgot how much windowblinds ****ed... so bad, that when i switched to windows cl***ic, i actually liked it. <7> go fluxbox <7> ;o <10> I had a quick question. I was wondering if there was a negative side to using $_REQUEST to pull variables in general instead of $_POST or $_GET? <7> o_O <7> oh, thought it was +b <7> hi comcor <11> good morning <11> or afternoon <11> or whatever it is <9> well, if you have to look at the wcs, if you're using a form to submit data, and in the action link, you add variables to be p***ed over the url &id= etc,etc, and it just so happens that a form input field is named the same as a variable in the url, then that, i believe, would overload the variable... not sure what would happen though. <7> 5.20am, what do you care <7> :P <10> Stoned: Ya. That's the only negative side I can think of. I've just been making sure I don't have duplicate variable names. <10> That makes things confusing anyway. <9> and.. you can just use $_POST for form fields... i mean, no reason to use anything else imo <10> I wasn't sure if there was a version incompatibility problem. That was my main concern. <9> no <10> I can't remember now why I started just using $_REQUEST instead of $_POST. I think its because I started running into a problem where some variables could be sent to the script as $_GET or $_POST. <10> I wanted a consistent variable I could pull from so I just started using $_REQUEST. <0> i have to go <0> thank very much for your precious helps <3> http://newyork.craigslist.org/mnh/fee/134970372.html <3> i want that place. <12> 4300? <4> it ****s that you have to enter through the dining room <3> trollboy: why? <4> I dunno
Return to
#php or Go to some related
logs:
INDIAN DIVAS.COM
MUFFBURGER.COM
Syntax error on line 67 LoadModule php4_module faymen script #kl #allnitecafe #worldchat #asp leena+orkut #india
|
|