| |
| |
| |
|
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 33
Comments:
<0> TML: I was referring to the latter - that which follows GET, really <0> ;) <1> its here > www.siphro.org <2> anyone know how to add x days to a date -> 2005-01-02 ? <3> mjec: By the HTTP spec, the only thing you're allowed to call a "query" comes after ? <3> mjec: :) <3> http_URL = "http:" "//" host [ ":" port ] [ abs_path [ "?" query ]] <0> aye; I've just come of summer break though ;) <3> heh <0> four_eyes: try removing the first ^ in your RewriteRule, for 'tis unnecessary <3> Also, in 13.9: query URLs are those containing a "?" in the rel_path part <1> ok <1> let me try again <3> four_eyes: I'd again recommend getting rid of the mod_rewrite rule and just using MultiViews <1> what is multiviews <3> It's an Apache thing. Check you Apache documentation.
<4> Is it possible to make *.htaccess as a AccessFilename? <4> So .htaccess, BLAH.htaccess works? <4> whoops <4> wrong chan <5> hi saritha <3> Interesting. http://www.mnot.net/blog/2004/04/16/generative <6> Hi Guru <7> How do i kill a php session ? <5> pisi: session_destroy() <0> with a knife... or session_destroy() or session_unset()... <5> use this function <2> anyone know how to add x days to a date -> 2005-01-02 ? <6> first unset and then destroy <6> thats the way to do it <8> how can i make a list of object instances and then see if i have again one of that objects in hand? (Try to block a recursion) <0> rightnow: well, you can $new_date = strtotime('+14 days', strtotime($old_date)); <7> hmm, it's sad that i have to manually playwiht cookies ... <9> what function should I use to replace @ with "[ at ]"? <0> str_replace() <3> eml: str_replace() <9> thanks <5> use regular expression <5> regx replace <5> function <3> erm...no. <3> This would be a good example of where NOT to use a regex. <9> like, str_replace ("@", "[ at ]")? do I need the last paremeter? <4> !+regexp <10> eml, you need to tell it what string you're doing the replacement on <4> !regex <3> Angel-SL: Only ops can make the bot speak in the channel. <5> why not regx? <10> str_replace ("@", "[ at ]", $str); <5> any specific reason? <0> guru[1]: inefficient, not required <10> because it's a very simple replacement <3> guru[1]: Because it's pointless overhead for both the computer and the human. <4> !tell guru[1] about regex <5> ok <9> GarethAdams|Work, ah yes, :] thanks <3> Angel-SL: Please message the bot <1> it cannot come ! :| <11> is it well known that spaces after the ?> of a file can cause issues? <11> or is it just drupal? :) <12> http://bugs.php.net/bug.php?id=36539 <--- woah, someone finally confesses that they're an idiot <3> cb921: In include files, it might cause headers to be sent prematurely. <0> mazzanet: I've been doing that for YEARS <11> tml riiigghht ok thanks <9> str_replace ( "@", "[ at ]", $_POST['usr_mail'] ); <9> like that? <13> could someone please check this out http://pastebin.com/574641 and tell me why I'm getting a parse error, unexpected $ on the last line, I know this normally means you'd be missing a semicolon or something but I can't find it anywhere <3> eml: Make sure to ***ign the return value somewhere. <14> hey all <9> TML, ah, yes. :) <14> is there a way to break up a word and use each letter seperately? <12> http://news.php.net/php.notes/104473 <---- translation required, ta :P <3> fightingfriends: You never closed the { on line 47 <13> TML: thanks!! <5> you can use that string as a array of charectars
<3> MBzle: $strlen = strlen($foo); for($i=0; $i<$strlen; $i++) { ... } <14> guru, great.. how is it possible? <3> fightingfriends: I recommend getting yourself an editor that can show you unbalanced ()'s, {}'s, etc. <5> like if $t="foo"; <14> TML, how can i use the letters? lets say the first character? <3> MBzle: $somestr[0] <13> TML, good idea but that was just a very stupid mistake <5> then $t[0] = "f"; <5> till $t[2]="o"; <3> fightingfriends: yes, but your editor would catch those for you <3> fightingfriends: Saving me the work of downloading your pastebin, running dos2unix on the output, and opening it in *my* editor so it can tell me where the unbalanced { is <14> guru, wow.. never new that... i'm use to the concept in C where you have to initialize an array and then fill it up and then take the letters one by one <14> God Bless PHP <14> knew* <13> TML, ok <14> TML, guru, thx... <1> yahoo! its working now http://www.siphro.org/title/Rape+Victims+Speaks+Out/ but all the css styles gone *oops* <14> guru[1], can you take 2 charactes at once? <5> no <14> guru[1], aight.. <5> i havent tried that <5> but ithink it doesn't work <1> can anybody tell me please why all my css styles are gone! <0> four_eyes: change your css link to a valid path relative to /title/Rape_Victims+Speak+Out/ for that's what the browser sees... like /css/style.css <1> ok <14> guru[1], i did:test = "".$input1[0]."".$input1[1].""; what do you think? nice huh?/ <5> hmm <0> MBzle: try $test = $input[0].$input[1]; <14> $foo = "hello"; echo "".$foo[0]."".$foo[1]."";===> he <14> try it... <14> mjec, thx... it worked... don't have to put so many quotes... <14> $foo = "hello"; echo $foo[0].$foo[1]; == > he <0> correct <3> four_eyes: Or, my preference, always use absolute paths. http://mysite.tld/style/foo.css <15> so a rather off-topic question, tho, the backend will obviously be a php one, if you had the need of a datagrid (excel) like admin screen, main requirements would be that it's FAST, has to support a few basic formulas, copy paste, dragging, etc. what would you pick and why? i'm going to be displaying at least 200 input boxes at the same time and it needs to be as user friendly as possible <4> four_eyes <4> Still another prob <1> which problem Angel-SL <15> ah yes, and responsive. <4> Clicking the llink Rape Victims Speaks Out goes to a...404 <1> i am trying to how to make the style relative to the mod rewrite :| <1> Angel-SL: i havent change all that, first i need to test them :D <1> thru the browser :D <4> Use absolute paths. <4> like http://die.die/die/die.css <0> four_eyes: use /path/to/file.css or http://host/path/to/file.css <1> ok <16> anyone mess around with b2evo much? <4> mjec: the first one wont work <1> something liek <link href="http://www.siphro.org/stylesheet/<?php echo $css_file; ?>" rel="stylesheet" type="text/css" /> <1> ? <0> yup <1> ok <4> it'll go http://host/page/path/to/file.css <1> yahoo <1> ! <1> :)) thanks <1> now i can make changes to the inside links <1> but oops, the pictures are all gone in that article page, is there any easier way to make absolute paths ? <1> and the menu are gone too, gr, now i have to make all changes <0> four_eyes: there's the <base> tag... <1> what if i use ~/ instead of http:///www.si.../stylesheet/... ? <4> Won't work <1> ok <4> It'll go to www-data's home <4> or whichever user apache's running on <1> ok <1> but now i got the idea for improvement :D <3> Angel-SL: Urm...no, "~/" probably wouldn't resolve to apache user's home. It'd just result in a 404. <17> hi all <17> there are more difference between adodb and pdo <18> English? <17> kuja you talk to me ? <18> No, the wall.
Return to
#php or Go to some related
logs:
cyclone download ubuntu waht is a routing loop mysql alter table add auto_increment fglrx-kernel-build.sh Build of kernel module failed fybromyaligia vim autotab errors mv replacement debian cipherphunk shank ruck khan #linux
|
|