| |
| |
| |
|
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> why not <1> lol <0> how could you fix that <1> becuase its not an array name? <1> i dont know jeez <0> no, its not an array key <1> why wold i be asking for help <2> oh, in PHP can I return the whole array by going, return $array; ? <0> http://us3.php.net/array http://us3.php.net/foreach <3> * as wildcard in and array O_o <0> Seadog: absolutely you can <2> good :D <1> listen itrebal i need this to be int he function! <0> surfdue: sounds good to me <2> hehe, I'm still amazed at using an object as an argument and using that object inside the function XD <3> Seadog, PHP pwn's :)
<1> i know the foreach($array as $array[] => $array) <2> yes <1> will that work? <0> no, you are overwriting the $array variable twice in that loop <4> can mysql and php can understand this format? ---> 3/21/1984 <0> axscode: it is a string,how much more do you want it to understand it <3> surfdue, go to Undernet in to #ebooks and see if you can find and LEGAL php learning book <4> i want tso save a current date with that format... <0> axscode: i recommend you just use a timestamp, you get all the information you could possibly want out of a timestamp (regarding the date) <5> Ever hear of a tutorial website, that has to add spaces to code so their site doesn't execute it? lmfao <0> Jthomas: Oo thats dumb, they should use highlight_string/highlight_file <5> Exactly. <3> haha <4> ok timestamp... thanks <5> They have a bunch of tutorials also <0> axscode: time and getdate are great functions <5> 30 almost of just phph :p <0> axscode: hell, even date will work with a timestamp <0> hehe gmail caches the crap out of their RSS feeds, at least mine: i deleted it about a month ago, still showing the old data :/ <3> gmail RSS?? <0> the WebClip feature <6> is it better to have safe_mode_gid = on/off? <0> ultimated: hosted environment or personal server? <6> hosted <7> anyone who was listening <0> are you the host? <7> you can appened the php with -q <7> it hides the headers <6> yes <0> ultimated: i would turn it on <6> thanks <3> dentist? <0> ultimated: look into safemode and what it does, and then make a more educated guess, but most hosts have it on <0> Sillyman: the powered-by headers in a CLI php-script <3> oh :) <3> need to cut the number of channels im in to be able to follow :/ <0> lol, how many? <2> I'm on 22 now, used to be like 36 :P <0> doesnt freenode limit it to 20 :/ ? <2> not just on freenode lol <8> hi, i need a strpos()-like function with a string offset...can't find it <0> substr? <8> itrebal...nope, i want something like function($string_to_search_in, $length_of_string_to_display, "start"); <9> 'display'? <9> o i c <0> karim: uhh your going to have to make a wrapper for that, or use substr and a few others <10> What's the most search engine friendly OPEN SOURCE Bulletin Board ? <8> itrebal, keej..thought maybe php5 provided it <11> i have two arrays of the strucuture [$data][$i][fields] <11> one of the arrays has an additional field at the end called [id] that i want to move onto the other array in the appropriate places <11> so for each [data][$i] I want to move [id] from one array to the other <11> or i guess each [i] rather, since data is the encomp***ing array <0> ****, i borked my site <12> Hi there <12> on my server (FC2) php is not compiled with sqlite support. Do i have any other way to enable this support than compiling it again? <13> pecl install sqlite <3> loiic, isent there and rpm? <12> i installed a package called php-pcel-sqlite but doesnt work much <12> aidan: what is pecl ? <13> loiic: locate "sqlite.so" <13> loiic: add that to your php.ini under extensions
<14> How come when I include("cl***_file.php"); and try to call that cl*** inside of a function... it doesn't work? <12> forget to restart the server, might be the reason ... <13> Tranceric: it should work <14> aidan: it doesn't. <12> lovely package which messed up my system Cannot load /etc/httpd/modules/mod_auth_mysql.so... <13> Tranceric: and we're meant to help you ... how? <13> loiic: perhaps #fedora may be more help <14> aidan: well according to http://us3.php.net/include/ --- other people are experiencing the same problem... <12> thanks aidan, i ll find a way anyway <15> hello <15> can anyone help me with array push -- or whatever i need to push one variable from one array to another <13> Tranceric: I don't see anyone with the same problem <13> Tranceric: including a cl*** file is done on 99% of PHP scripts in existance. There's no magical bug preventing it from working. If it's not working for you, you're doing something blatently wrong, like mispelling the cl*** <7> mmm easyest way to append a string with another string? <0> bah! that was a silly mistake <14> aidan: your ego is inflated to hell. you speak to speak. if you bothered hitting ctrl+f and taking 1 second out, you'd have found the post: 10-Sep-2005 12:33 --- which is the same problem I'm experiencing... and that post is in regards to another related one. Was expecting a little bit more educated / less arrogant of a response than EFNet/#php, but I guess your kind is all over the place. <7> hang on, ignore that lol <0> too bad that post has a syntax error " this->sample="value":" <7> ok heres a more intesting one, easiest way to make the first letter of every word in a string a capital letter <16> ucwords() <7> damn i cant beleive there is a function for that, how cool <13> haha, what that guy meant to say was "oops, found the typo, thanks aidan", obviously <0> yup <0> i really need food :/ <17> hi guys <9> hi <18> hy. do you know of any tutorial on how to add a uploaded file to an mysql blob/text column ? <17> is there a command/function to grab the folder contence and display it on a page? <18> do I just read the contents as string, and generate the insert (doesn't this make the insert sql string huge?) <17> fierarul: if you have a huge table then yes <17> sory didnt read your previous line <13> mmm, there's all these notes about included files having a local scope <13> I swear (although come to think of it, I don't think I've ever tested this), that's not right <17> fierarul: id say just upload the file to the server and put a link to it in the mysql table <13> okay, tested, no local scope ... kinda weird, there's a dozen or more notes about it <13> there _was_ <15> http://hashphp.org/pastebin.php?pid=6529 <15> can someone take a look at this <15> i want to copy ID from array #1 to array #2 <15> however, the array has multiple key values for "data", and I want to copy id from one array to the other for each key value <15> the only difference between array #1 and array #2 is that #1 has the id key at the end <13> http://us2.php.net/manual/en/function.set-include-path.php <13> what the **** is that first note meant to do? <13> if (!defined('SEP')) define('SEP',PATH_SEPARATOR); // PHP Magic Constant ... that's useful!! <16> heh <13> include(FindScriptRelativeToCurentDirectory(dirname(realpath (__FILE__))) . "relpath/myIncFile.php"); <13> .... oh my god <13> function FindScriptRelativeToCurentDirectory($scriptPathOrName, $scriptPathIsRelativeToDocRoot=false, $thisIsAFileName=false) { <19> aidan: please god rename your functions and variables <19> WhenICanMakeASentenceOutOfThemThenTheyAreTooLong <0> tempest1: he's reading off from that URL <19> oh <0> i think :/ <11> anybody? <11> http://hashphp.org/pastebin.php?pid=6529 <0> ButYesIDoLikeToMakeFunctionsAnEntireSentanceLongCommaIncludingPunctuationPeriod() <11> seems like it is pretty simple for an experienced php programmer -- copy one key value from array #1 to array #2 <0> lorfds: heh, i'm introducing you to a new function: print_r, creates more readable output but not quite as informative <20> nice in a pre tag <0> yes <21> is there such thing as a PHP prompt? <11> itrebal: i will print_r -- but you have to help out :) <0> theres php -r but you need readline <0> lorfds: i dot know what you need :) <11> you see my array #1 and array #2 in pastebin? <16> lorfds: if in understand you right, you want something like foreach ($array1['data'] as $k => $v) { $array2['data'][$k] = $v['id']; } <22> what's the function in php to set a string to lowercase? <23> anyone know of any truly high-end advanced shopping carts? oscommerce/cubecart aren't quite cutting it for me... my site looks like crap :\ <0> strtolower <24> thnx <23> php carts prefferably <0> Monkey_b: oscommerce is a security mess, do not use it, period... but i'm not sure, check freshmeat/sourceforge
Return to
#php or Go to some related
logs:
debian 'GLIBC2.4' not found mysql change +join_buffer_size iptables -A FORWARD -i eth0 -j ACCEPT
#gimp #math Silent_al #linux #php tbsource module #debian
|
|