| |
| |
| |
|
Page: 1 2 3 4 5 6
Comments:
<0> hexdump file.jpg <1> haha <1> i shuold've tried that <0> yes <0> you owe me $200 now <0> consultation fee <0> when are they going to cancel that mother****ing show "Everybody loves Raymond", and will the series finale feature him cutting off her head with a broken piece of gl***? <2> is there a quick command to take the first 5 chars of a string <0> php-maclean, substr <2> cool <0> lol <0> I'm watching this episode of COPS where they arrest this guy for trying to sell his kid for crack, and as they're putting him in the police car there's this ****ing kid riding by on his bike waving bye <0> why the **** are a lot of rental offices closed on sundays? Are they trying to appeal to the jobless by only being open during the week? <0> **** <0> synergy doesn't handle ctrl+alt+del well <3> !php echo 'PO' . substr(date('D'), 0 1);
<4> hello all <4> anyone here? <5> no, fack off <6> eh? <5> bonjour! <6> guten tag <5> i'm a sleazy ****er <6> oh yeah? <5> yes <5> total douchebag <7> bbl: home. <8> oatmeal <9> Hey guys, I need help with the following: <9> $quote=str_replace('<br />', "\n", $quote); <9> $quote=str_replace('<p>', "", $quote); <9> $quote=str_replace('</p>', "\n\n", $quote); <9> the problem is, I don't want the very last </p> to be \n\n, I just want it to be empty <9> any suggestions? <10> This is probably not the best way, but what if you did a preg_match to extra the content between the first pair of <p> </p>? <11> mm.. I guess I would count the number of </p>s <11> and run it through a loop mebbe <11> there's probably a better way of doing it <11> or like, explode $quote by <p> <11> count that, then str_replace all but the last block <9> hmm... how's count() used? <10> $tmpArr = explode("<p>", $quote); // seperates string by <p> tag, and places in array <10> count($tmpArr); //Will return a number <9> o_O? but I wanted the last </p> to be replaced with "", not <p> <12> how do i put two variables into the url? <9> &?=variable <12> amp? <9> yes, html reads & as just & <12> thanks <9> hmm, actually, since it's a link, it might not replace & so you might wanna just use & instead <9> oh and incase you didn't know. The first variable doesn't need &, it's only needed for each new variable, but not the first one <12> ok <12> <form name=form1 action="dosendpostkort3.php?action=$i&=vykort" method='post'> <12> like that? <9> yes <9> actually no <9> you have $i <12> yes <9> don't use $ <12> thats one of the variables <9> that's not how it's done <9> smaller words can only be sent to a page, that's when you use ?= <9> when you want longer string you should send them via form, and then accept in the other page with $_POST['name'] <9> it's like a thow/catch type oft thing <9> the name in ['name'] is whatever you set the same of the input in the previous page <9> so if you have in the first page: <input type="text" name="that_thing /> <9> and also set a value for it <9> then in the next page you can use $_POST['that_thing'] so catch the value <9> Get it? <12> i think so <9> ok, cool, good luck <12> let me try <12> G0gge: can i put a whole link into the variable? <9> what do you mean? <12> or can i put the value into the variable? <12> i meen <12> can i put the value into the url
<12> bacause it going to be a link in a mail <9> Well you can do things like this: <9> ?email=yourname@mail.com and then in that page you have $email = $_POST['email'] and that'll take the variable directly from the URL <9> Ooops <9> sorry, I mean $_GET['email'] <9> $_GET is when you take a variable from a URL, and $_POST is when something is sent from the previous page <12> ok <9> any more question? coz I really gotta go. <12> i have a lot :) <12> but u helped a lot <9> Well, try directing them to someone else. Sorry, I gotta split <12> thanks <9> No prob. good luck <12> <p><a href="http://www.example.com/postkort/postkort.php'$_GET["i"]2'&'$_GET["vykort"]'">Trykk her for se</a></p> <13> morning <11> the URL should be like postkort.php?i=2 <11> and you reference it in the script as $_GET['i'] <12> yes <14> hello everyone <14> where can i find code php for register, prifile, logout,login for user? <14> :( <15> google.com <16> sal <14> what is text that i need to type for searching <14> cuz i tried with my best <14> but still can't see <16> edsaf <16> how are you? <12> <p><a href="http://www.example.com/postkort/postkort.php'$_GET["i"]2'&'$_GET["vykort"]'">Trykk her for se p ditt postkort!</a></p> Parse error: parse error, unexpected T_VARIABLE in <16> cancel <14> i'm stupid now :(( <17> hi <18> anyone knows a good secure cms? <14> phpbb <14> vbubltet <14> mamboo <14> phpbb2 <14> phpbb10 <18> what u think about Contrexx CMS <18> or thatware <14> contrexx? <14> no idea <14> hehehe <18> ok <19> hey errr why is php.net in dutch? it's always been in english...? <15> o_O <20> um <20> you changed your language settings? <20> its english for me <12> <form name="form1" action="dosendpostkort3.php?action=" . i& . ";?=vykort" method="POST"> <8> mod_spox's new home is almost done <8> :P <8> and kicker keeps ****ing crashing <8> what the hell <21> kicker? <11> Deelux dude.. <11> you don't really get it man <8> it's kde's task bar thingy <15> sup spox, on <15> jon <8> heya hantu <8> how's it goin <15> tired =/ 7hrs of work, and homework again now :( <15> hows you <8> not bad. getting mod_spox's new home ready while i'm waiting on some stuff at work <8> and i'm eatin some thai food <8> mmmmm <15> new home? :o <21> sup hantu <8> yep. he's getting put a new box <21> you workin on sunday spox? <8> jon: i worked yesterday and today <8> some weekends, that's just how it ends up <8> :/
Return to
#php or Go to some related
logs:
#chat-world #linux set eggdrops { chanrelay #php #chat-world #php #php anoly #india #kl
|
|