| |
| |
| |
|
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
Comments:
<0> dxzone you didnt ask that. <1> lith: <3> ... rule by th epowers that be :D <- <2> ... <3> ah i see :P <4> how to p*** an array to a function <2> function($array); <0> ammy same way as a string <5> um, it's just another variables type <5> er variable <6> or if you want each member of the array to be an argument of the function: call_user_func_array <2> what? <4> jymmm: please p*** me the code <1> Some sugar with that? <6> ammy your_function_call_here($yourArray) <0> ammy: Sure.... function ammy($yourarraygoeshere){}
<4> how to define an array dynamically <0> !+clues <7> Due to high demand, we are having a clue sale: One for $1, two for $5, three for $10, and our best value yet... Four for $20! While supplies last. Call now, operators are standing by! 1-900-CLUE4$ <4> wat!! <1> ammy: free clue: php.net/array <2> 1-900 <4> couldn't get it <1> couldn't get what? <2> the clue sale <1> dxzone: could be <8> when you want to redirect the header how do you buffer it or something. SOmeone told me i should do something like that <2> whaat?? <6> vhuren: ob_start() <8> jonnay: ok thanx <6> check the output buffering functions for more info.. <9> good afternoon everybody <2> maybe good <9> s/good // <2> can I include other files inside a cl***? <10> does anyone here use php mesh? <11> What's a good stand alone notepad alternative that does tabs and color coding for php? <11> I want to put it on my thumb drive and use it where ever I go <12> hi there. I have a problem. I do header("Location: pub1.jamendo.com") and, even with web-sniffer.net, I'm redirected to www.jamendo.com, not pub1.jamendo.com. This doesn't happen with php-cgi. I'm using apache. Could this be a rewrite by something (php ? apache ?) <1> z0rz: notepad++ <11> Does it do FTP too? <1> sylvinus: no, that subdomain redirecs you to the main domain <13> hello <1> z0rz: Try it. <13> is there a way to limit str_replace to replace only the first ocurrence ? <13> is there a function that does that ? <1> no, use preg_replace <12> Stormchaser, look there : http://web-sniffer.net/?url=http%3A%2F%2Fwww.jamendo.com%2Flink.php%3Fdebug%3Dprof&submit=Submit&http=1.1&gzip=yes&type=GET&ua=Mozilla%2F5.0+%28Windows%3B+U%3B+Windows+NT+5.1%3B+en-US%3B+rv%3A1.8.0.1%29+Gecko%2F20060111+Firefox%2F1.5.0.1+Web-Sniffer%2F1.0.24 <0> what da hell is dat chit?! <12> I swear the code is header("Location: http://pub1.jamendo.com/1/"); <12> there is only one redirect to www. <1> Jymmm: Beats me, but I'm not clicking it... <12> my link ? <1> yes <12> please... http://tinyurl.com/8g6lk <12> sorry for the spam <14> What's the best way to sort two arrays? I don't mean really sort sort them, but keep them in order with one another when the order of one is changed? <12> Stormchaser, :/ Still, could apache change a Location: that php sends ? <12> is there a module for that ? <15> sylvinus: your target is a 404 too <14> Is array_multisort what I'm looking for? <12> ||cw, yes it is. but it shouldn't be rewrited... right ? <1> http://www.gameinaday.com/entries-GID15.shtml <-- lol <15> sylvinus: hm, actualy, it can be in apahce. I think "conicanal" is the term <15> might be speeled different <12> canonical ? <15> sylvinus: basical, it's apache's setting that says "this is my name and if i'm called different, make the client call me this" <15> yeah <16> ||cw: heh <12> ||cw, but apache changes php's redirects on the flyw, based on this ???! <12> I have mod_rewrite on. it can be that ? <15> sylvinus: no, apache changes the client <12> it's not a client issue. <12> i get the wrong redirect even in telnet.
<2> sylvinus, you are jamendo? <12> dxzone, yes, u know it ? ;) <2> hehe <15> sylvinus: that link didn't say where the 302 was pointing to, only how it was called <12> I don't get it <17> is there a php function to determine the dimensions of a video file? <15> sylvinus: instal firefox's livehttp header and see it all from the client's POV <12> I do ! <17> I know you can use getimagesize() for swf <15> ok, post that log <17> but I need something for .avi and .wmv <12> ||cw : here. <12> http://tinyurl.com/8g6lk <15> sylvinus: that's not a log, that's a crappy website that doesn't show you the full header/content <12> it does ! <18> nmatrix9: not that i know of... you might want to check PECL though, there's probably some library for it <19> Do I have to compile php w/ PostgreSQL support or can it be loaded as a module? <15> um, no, it doesn't <12> ok <20> lets say i have a mysql table with two fields.. one is datetime in the datetime format.. the other is an int(11) with a unixtimestamp.... im trying to convert the unixtimestamp into the datetime format/field... this is what i have so far... http://pastebin.com/545401 ... how come its not working? <20> any better ways to do this? <15> sylvinus: apache isn't going to rewtire the outgoing headers. this isn't the problem. it can only rewrite the incoming headers <20> well.. that pastebin has been edited.. i was just trying to get it to work... <12> ||cw, I know that :/ I was sure of it till now :/ <1> mindamp: You're not using $datetime and unixtime isn't a constant. And what is $row? <2> sylvinus, where's the problem? ... <12> I do header("Location: http://pub1.jamendo.com/"); and I get http://www.jamendo.com/ as a redirect. <12> I'm away to commit suicide, sorry. <20> stormchaser... and this? http://pastebin.com/545411 <19> I have php installed and I want to add support for PostgreSQL. Do I have to recompile or just compile the module and enable it in the php.ini? <2> sylvinus: just include("/path/to/pub1/1/"); <2> hehe <6> sylvinus: Install teh HTTP Live Header extension for firefox, see what is actually going on.. <6> maybe there are 2 redirects going on? <20> storm? <1> mindamp: Hum... this doesn't look right... <2> sylvinus, send a pastebin <21> any mambo component developers here for hire? <20> storm.. i know... i don't know whats wrong with it.. tried it a few different ways... <1> you are updating ALL the news dates to the set date? <1> !tell csarven about jobs <20> storm... no each row has different dates... <1> mindamp: do you know SQL? Do you know what that line does? <20> yes i do.. it updates all rows, with that one date... <20> which is not what i want.. <20> i want to update each row with each date.. <20> but im lost... <20> i have done it before via PHP, but i lost my script... <22> could anyone recommend a php authentication cl*** (session based) that doesnt use pear? <2> !away <1> !tell macdan about away <1> mindamp: You're missing the 'where' part <23> (i)r(c) (.) (tatli) (n) (e)(t) siqeriz akLL oLun !! <24> what the php function to get an image files height and width? <2> kenzo:: yes <25> Shane-S: http://php.net/getimagesize <24> ty <26> whats faster, accessing 100 files, or accessing one file containing an array with 100 items. <2> accessing 1 (sequential) file <27> if I want a local php script to execute a script thats on a remote server, how would this be done? <2> include? <2> include a txt file as a PHP <27> what do you mean <2> on the remote server, you have a txt file with PHP code <2> you include it, and I think it parses the txt.. <27> no cause the PHP file that is remote needs to collect data from a db taht is local to it <27> me->call script1... script1->call remote script...... remote script->collect db data->run from there. <6> gunoo: that is fine, it downloads the remote script, and executes it locally. <6> unless i misunderstood you <27> i think you did <28> I am trying to sort an array filled with numbers desc (using array_sort($array, $order='desc'))... is there a way I can get the key name for the largest value?
Return to
#php or Go to some related
logs:
guitarport vmware #physics #css splash_geninitramfs ubuntu #math starting samba ubuntu #centos torrent Descent II sanderd d1 #python
|
|