| |
| |
| |
|
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> Ciaran: Thanks, I did goodgle but i was hoping to get some reccomendations. There is a lot of trashy php editors out there...thanks again. <1> Gordo: not editors, standalone code indenters <1> Gordo: google = http://www.bierkandt.org/beautify/ <0> ahh code indentors is probably the keywords that will help google! thanks. <2> tdd1984: alive? <3> includes work with fs-path and url, true of false? <4> yes <3> isn't that an aweful security hole..? <3> no super-globals there.. <5> flaccid: yes im alive <5> just reading something on the web <2> i have pm you the link <6> los-lucas no, at this case i need something much simplier than cake <7> CakerLatvia: cake is simple as hell, but I haven't checked the oceanCMS yet... <4> kombi if the unix user has access to that path file, than you can, else you cant. about URL's, it depends on the server <2> tdd1984: is that all good?
<8> hello <8> guys is it hard to make something to backup my MySQL database as .sql file :| <9> NiQoN, IIRC, phpMyAdmin has a function like that built-in. <5> i think im starting to get the hang of this phpmyadmin <5> its actually pretty simple <5> just gotta set the php script to connect to the server to send data, and retrieve <5> whats not null mean under phpmyadmin <10> any character but null <5> whats null mean thow <11> Depends where - if you are defining a filed, then it means the field must have a value <12> is there a more easy way to know the key of the following array. $bla['foo'] = array('food'=>array('id'=>'bar'), array(...) ... I want to know the key "food" if it contains in the sub array 'id'. Now I loop them with foreach <13> hey guys, i'm looking for a quick tutorial for page generation time <11> Null essentially means undefined <5> i see <11> tdd1984: See http://www.mysql.com/search/?q=null for more detailed info <14> Hi, how do I get preg_match() to start finding matches from the end of the string and go backwards? <5> wheres the extra screen at under phpmyadmin to set to auto increment? <7> Tangotango: reverse the string ; ) <7> and the pattern <15> los-lucas: Hmm, good idea :) Thanks, I'll try that. <16> Hi all. <16> Can anyone recommend a good tutorial for PHP 5 OOP? <17> rindolf: did you read the manual, that's pretty good <7> rindolf: awormus is right <16> awormus, los-lucas: OK. <16> awormus: at http://www.php.net/? <17> most OO tuturials are useless <18> Does the \W (non-word characters) for preg_replace also include \s (whitespace characters) ? <17> "You have a farm, they are all animals..." <7> http://uk2.php.net/manual/en/language.oop5.php <18> And to answer myself; yes <7> rindolf: if you ever programmed in java, that should be a piece of cake for ya <19> http://www.rafb.net/paste/results/upha8r29.html <16> los-lucas: I've done some OO in Java (JDK 1.0.2) <16> los-lucas: also a lot of OOP in Perl 5. <19> that produces the error :Could not initialize Mcrypt <19> whyyyy? <19> two days, and i cant see the error <20> session_cache_expire(0); <20> session_cache_limiter('private_no_expire'); <20> will that make my session never expire? <20> and always be there for hte browser i logged into ? <11> thyko: You might try getting the return value from mcrypt_generic_init and see what it is - that could be a pointer to your problem <19> wobbles: its returning false, and 'FALSE is returned if incorrect parameters were p***ed.' <19> but whats incorrect there? <19> false === 0 <21> false !== 0 <19> i'm saying what i mean by false, not portraying syntax <7> i have some problems with PHP5's SOAP over HTTPS, and I think it's due to invalid construction of my pem file <7> do you guys have any experience with that? <11> thyko: Well, if the previous calls have worked, it seems the possible culprit might be $_POST['key'] - best you check that contains what you think it does <19> wait, <19> thyko: does php see characters the same way C does? <19> as in any single char is 8 bits? <21> yes <21> for any real purposes <19> hmmm ... <21> and PHP is happy to deal with your characters [0-255] <21> HTML and browsers, however, are less understanding with strange strings <19> should mcrypt_enc_get_key_size be returning '$%}' <19> th-that?
<2> tdd1984: did you get the d/l? <20> how do i set my session settings to never expire? even when the browser is closed? <19> wobbles: that reealy should be an integer <19> not egyptian <18> acidjazz: How do you think php sees a browser closing? :) <20> k; php sessioning defaults to kill the session upon the browser closing <20> k; browser knows to expire it or something <11> thyko: The docs indicate it should be an integer; I've never actually used it.... <19> could this be a bug in the php/mcrypt code? <19> ok, its not a bug <19> wobbles: in this case $_POST['key'] == 'la' <19> and the max key size == 16 for rijndael-128 on cbc <19> and thats only 2 <22> hi, shouldn't it give me value 0 in $_POST['archive'] after submitting the form?<input name="archive" value="0" id ="archive" type="checkbox" onClick="setValue(this);" /> <2> frog: negatus, its a checkbox <2> take out value attribute and evaluate with if (!empty($_POST['archive']) && ($_POST[ <2> oops <22> flaccid: so why this value at all? <2> take out value attribute and evaluate with if (!empty($_POST['archive']) && ($_POST['archive'] == 'On')) <22> :/ <2> because it is used for the other input types <22> and i have other checkbox in same form that works <22> :o <2> were you testing with several browsers? <22> under same browser one checkbox works as i wan and one not <2> fair enough <2> i remember going through this <2> so i don't ***ign a value to checkboxes anymore <6> los-lucas no cake isn't simple as when you have to create quite complicated custom apps <6> los-lucas for example - universal cms <23> is it possible to do something like if(($foo == '') or (bar == '')) { <6> NickJane yes <20> how do i set my session settings to never expire? even when the browser is closed? <6> logic allows <23> Is that the proper way Caker? <7> CakerLatvia: ever tried Symfony? i never worked with that, but it's claimed to be one of the best frameworks <23> I did not know what to look it up as on php.net... <2> acidjazz: not sure if its possible <23> acidjazz: Use cookies <20> NickJane: i am, its default, then what? <2> NickJane: not a good practice when using the same sessid <11> NickJane: Operators - the one you want is || (or) <2> its arbitary <2> especially when using static ssids <7> CakerLatvia: i haven't written any complex apps in cake yet; just 5 or maybe 7 simple apps, but from what I know wbout cake, it's rather scalable... <23> acidjazz: there is no way to make it not expire but you can make them last a long time. <23> setcookie("", "", time()+60*60*24*7*365); that will last a year unless cookies are cleared <24> is there a more easy way to know the key of the following array. $bla['foo'] = array('food'=>array('id'=>'bar'), array(...) ... I want to know the key "food" if it contains in the sub array 'id'. Now I loop them with foreach <25> my cookie isn't being set; what can i check to see to why not <23> Your code? <25> NickJane: Is that extent of your insight? <23> Kind of hard for someone to explain your issue when they don't know if you even have the <?php tags to begin with... <23> Not much help we can do if you don't help us help you. <20> NickJane: why " " ? you just have to have setcookie run once? <23> acidjazz: setcookie(name, value, expire, path, domain); <20> NickJane: right but i dont set any cookies in my code i just add to $_SESSION <26> I'm taking up a new (spoken) language and it'd be cool if I had a nice program to help me store / test vocab, that perhaps linked into a dictionary ... and that kinda thing. Does anyone know of anything out there that is free ... ? <23> acidjazz: ... I am talking about persistent cookies not session cookies... <20> NickJane: well <20> NickJane: check session_set_cookie_params() <20> you can p*** it a value <20> 0 means when browser restarts <23> acidjazz: If you dont want them to have to login on each visit (even after closing the browser) you need to use persistent cookies which are stored on the users computer. <20> the largest value ive been able to p*** it <20> is 9999999 <27> anybody could help me with a header problem? <20> which is under 3 months <20> NickJane: the session id cookie that is set is persistent <27> does anybody know why is this error Warning: Cannot add header information - headers already sent by when i try to convert html to php? <27> pdf sorry <20> ok454: you gotta send the header stuff before youve sent anything else <20> ok454: even an echo or anything before taht will dis-allow you to send header information
Return to
#php or Go to some related
logs:
ubuntu pci0680 gentoo genkernel smbfs renice boinc xchat gethostbyname fails frostwire in edgy stage of solveing problem lilo Fatal: volid read error #perl odin_ fatal error
/TOPIC topicsmite
|
|