| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Comments:
<0> if nothing is missing, then the only reasons it woulnd't load is because either the file is corrupt or it's compiled for a different build of php than what you have <0> kennebel: I don't recall any either, but you never know what's gone missing with windows <1> Corrupt or wrong version is all i can think of as well at this point. <1> ||cw: Very true. <2> $stuff = mysql_fetch_array($result) <2> $max_keys_limit = $stuff['limit']; <2> Parse error: syntax error, unexpected T_VARIABLE in /do_add_key.php on line 19 <3> PHP5TS.DLL; but I have PHP 4. Is there a php_imap.dll for PHP 4? <2> $max_keys_limit = $stuff['limit']; is the line 19 <2> do i have something wrong here ?!?! <4> hmm <5> PHP_Devil:" semicolumn ( ; ) <5> $stuff = mysql_fetch_array($result) ; <------------- <2> ****, yeah <2> my dump mistake.. <6> ihoze and his imac. sad :P
<1> Phoenixman: Yes, it is in the php4 zip archive. <6> ibook* <7> its a semicolon btw <5> hehe, i hate that word, but thanks <0> PhoenixMan: sounds like you got the wrong file. you need the hp_imap.dll for your specific php version, not just 4, but match 4.x.x <0> and yes, there is one <8> has somebody been able to install an I module in php to be able to be connected to a database" sql anywhere?" <0> N0S3: you should be able to use odbc <0> possibly even the sybase functions <3> where would I find a list of php_imaps? <0> PhoenixMan: it should have come int he zip file you downlaoded when you installed <2> $query="INSERT INTO `keys` (id,keyword,response,email,url,limit) values ('".$id."','".$keyword."','".$response."','".$email."','".$url."','".$limit."')"; <2> where is my fault ? <8> ||cw: ahh, would you recommend me some guide? <8> <9> hi, i have $array[$i][$n] and i want delete [$i] to keep $array[$n] please <2> it says query error <0> N0S3: php.net/sybase and php.net/odbc <0> PHP_Devil: echo it <3> it works! <3> thanks <8> ||cw: ok thankx <2> echo what ? <10> I am trying to print out the first value of $_POST using echo $_POST[0]; but I get error Notice: Undefined offset: 0 <10> print_r($_POST); gives Array ( [name] => 1 ) <10> or echo $_POST['0']; gives Notice: Undefined index: 0 <0> PHP_Devil: $query, so you can see what it is <0> Falcon|: POST is not numericaly key'd <0> er <0> fangel: <0> er <10> Fango? <0> damit <10> mm <11> can i reconfigure php once is installed? for just adding or removing some features? <12> Fanty. Mingo. <0> sorin: yes <12> ||cw: ;) <11> ||cw, how? pls <0> sorin: change the php.ini and restart apahce <10> ||cw: I am trying to loop through the $_POST array to striplashes from each variable. I was using foreach ($_POST as &$postdata), but my server has changed PHP version <2> INSERT INTO `keys` (id,keyword,response,email,url,limit) values ('389','A5','fsngsghb','sgbsfbg','fbgsfbgsfbg','sfbsfbg') <11> ||cw, thanks <2> i dont see something wrong... <2> do you ? <9> hi, i have $array[$i][$n] and i want delete [$i] to keep $array[$n] please <2> thats what echo resulted <10> ||cw: can I just do $_POST = stripslashes($_POST); ? <0> Fango: try foreach(array_keys($_POST) as $key) { $_POST[$key]... <13> $_POST = array_map("stripslashes", $_POST); <10> ||cw : cheers <0> oooh, array_map... <14> Quick question.. can i safley remove all /tmp/sess_ files ? Just asking to be sure.. <15> why the hell does php in error messages make links out of the functions?? <0> T-Start: sure, but it may kill any active sessions. php will clean them up on its own though <15> i mean relative links... it would make sense if they for example pointet to php.net/function or so... <0> kon: becuase you have that option enabled in your ini <15> yeah i know <0> and it's expecting a local install of the maual <15> ah oke <15> can i also let it point to another directory or host even?
<13> Fango, I might even do a little more, to make it less configuration-specific <0> kon: if there's a config option for it <13> $_POST = get_magic_quotes() ? array_map('stripslashes', $_POST) : $_POST; <15> ok i will check it out, thanks for the information ||cw! <16> is there any magic function to secure a filename? $filename="hello>world";touch($filename); //will failed <13> secure? <0> Ox41464b: shell_escape_cmd() i think <16> ||cw, thanks <0> Ox41464b: look at the "see also" on exec if that's not it <0> there is also an _arg one that may or may not be better <16> er... > became chr(32) <16> its that safe on *nix ? <11> i installed php with --enable-memory-limit... can i disabe that in php.ini? <16> boo... didnt escaping : <0> i don't know why it would make it as space... other than it's probably not a valid char to have in any file on any os <0> sorin: no but you can increase it to a really high value <16> sorin: make it became 50000GB ? (unlimit == disable memory limit i guess :p) <0> a mem limit is a good thing though <11> i want to install horde and is asking me to have php without memory-limit enabled <17> i swear to god. in this pile of $*@@ code i'm being forced to rewrite, i've just found: <? include($PHP_SELF) ?> <0> sorin: that's pretty damned scary <0> sorin: is it forcing it or just asking? <16> m4lu6, thats more better than: <?php echo file_get_contents('http://'.$_SERVER['HTTP_HOST'].'/'.$_SERVER['REQUEST_URI']);?> <0> set it to 50Meg, that realyl should be enough <17> ha <16> thats what im doing today :( <16> and yes, i must restart apache <11> ||cw, i'll try.. thanks <16> its really not respond any request anymore <18> php-bot, test <19> hi <8> where i can find drivers of ODBC for sqlanywhere? <20> anyone know a good alternative to phplist ? <21> omfg, how did it take me so long to discover zend studio template <21> dream come true <22> why <22> er <23> hi guys, i want to do a shell_exec("ifconfig eth0"); but he doesn't do it. Is that normal? <6> Aap: What do you mean it doesnt do it? <24> Aap: mind that ifconfig needs root privileges on some OS's <25> hello. in php5 is there a way to get the key names of an array based on the array index? <25> like i want to know what the text key is for array[i] <26> I don't like to name my multiselect form variables 'var[]' in html, is there a way to get all chosen values without the '[]' behind the name? <6> bas: no <6> Well, give them invdividual names.. <6> var1, var2, var3 <27> dracflamloc: array_keys() <28> Dangermouse, not for a <select multiple="multiple"> <6> Hence [] being there a for a reason? >:) <28> yes <23> ai <23> not on debian <26> Dangermouse: well you can grab them from QUERY_STRING manually <6> bas: Whats wrong with []? <26> Dangermouse: it makes my urls long and ugly <6> Use POST? <13> user POST then <13> -r <26> no, I want GET, so people can bookmark the pages <26> ok, guess i should override import_request_variables then... <13> well... if your biggest problem is that URL's are long and ugly, you are in a great position <26> Mithrandir_: yeah, I have a job like that :) <13> if only my biggest problem was the urls ... <13> :) <13> anyway - if you want a really nice URL, you could use POST to submit to a page, where you change it <13> like - submit to a page with a lot of []'s etc. <13> then send the user along to a page with ?vars=1,3,4,5,2 <13> and on that page, explode the vars <13> makes sense, bas ? <7> you can use base64_encode to make the url prettier <7> but beware of the max length of the request uri <29> hi folks...
Return to
#php or Go to some related
logs:
#gentoo #perl relay dfilt gentoo username haldaemon dbus #perl xampp how to pronounce r00t++ ut2004 xinerama get_client_info perl emerge --info ccache disabled
|
|