| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Comments:
<0> lolol <1> I've been out of the office all day today <2> my page nick.php I only have this http://pastebin.com/654047 <1> ... <1> what did you guys do? <0> Good for it. <0> You should know that your header() is useless <2> it work <2> #1 <3> http://pastebin.com/654049 <2> just the page is not on a popup <0> ograman: if it works, your browser is broken <0> Ask the authors to read the RFC. <0> And, once again, of course it's not in a popup--PHP is server-side. <0> Now fix your header() and be quiet <2> what a stupid lamess people on this channel let go on effnet #php people are more pro and not kid retard
<3> hahahaha <0> Some people are just too stupid. <3> or not stupid enough <1> **** this I'm out <3> ? <3> out to where? <3> I don't much care for that big room with the bright ceiling <4> what was wrong with his header ? <3> ../ <0> chetane: it did not have a full URI, it had a file name and some dots <5> yeah those lights burn my skin <4> header works with relative urls too <0> chetane: no it doesn't <0> chetane: you need to read the HTTP RFC <3> Note: HTTP/1.1 requires an absolute URI as argument to Location: including the scheme, hostname and absolute path, but some clients accept relative URIs. You can usually use $_SERVER['HTTP_HOST'], $_SERVER['PHP_SELF'] and dirname() to make an absolute URI from a relative one yourself: <3> www.php.net/header <3> besides, that ****ing idiot needed javascript, not php <0> My stomach hurts something awful. :/ <6> why would mysql_numrows not be a valid mysql resource? <3> you're not p***ing it a valid mysql resource <3> it doesn't return one <3> returns int <3> $res = mysql_query() <3> $rcount = mysql_numrows($res); <6> could it be used like die(mysql_numrows($res)); <6> ? <3> ... <3> why would you want to? <0> Firstly, it's mysql_num_rows() <6> debugging a script <6> damn! <0> Secondly, sure, ***uming $res were a valid resource <3> eh, <= doesn't use mysql <4> you are sure 100% about that dravine ? Even tough it may not be standart code <0> I'm going to eat something and see if it helps my stomachs :((((( <4> ( still on header lol ) <3> chetane, read the manual <0> chetane: yes, we are correct. <3> that's where I got that from <0> chetane: also read the RFC for HTTP 1.0 and 1.1 <3> yeah, it might work <4> well i prefered instead of reading trying it <3> just because it works, doesn't make it the proper way to do it <0> Anyone who tells you that Location does not require a full URI does not know what they are talking about. I would wager they don't know much else, either. <3> you can probably hammer a nail with a wrench <3> but you're still using the wrong tool <7> why my php code appears instead of the page result ? <7> iam using apache <0> B-Ware: likely, you have misconfigured your server. <3> you don't have php installed or properly configured <0> foods <7> cai : what can i do to make php code result excuted instead of the source code ? <3> configure your server correctly <4> i mean i understand you guys know well the standards and all, but that guy came seeking help, and you tell him his headers is false. You are right but on the other hand his script works what you say is non-sens for him <3> chetane, we also said repeatedly that he needed to be using JAVASCRIPT for that <3> which he chose to completely ignore <4> you change the subject ;) <6> is there a mysql function that returns an array of rows?
<3> chetane, how so? <3> I told him right from the start that he needed javascript <6> stop arguing and help me, dammit! :p <4> we were talking about your attitude concerning the header problem, not his attitude... <4> lol <3> ograman how i can launch this on a popup window ? header("Location: ../profile.php?member=$userid"); <3> JC^Omega and no one touched the gad damn thing <3> * X sets channel limit to 113 <3> dravine ograman, javascript <3> and my attitude regarding the header problem is a non issue, because I am correct, and you are not <6> what would be your attitude regarding a mysql function that returns an array of rows? <3> write your own <4> adamc : i would use mysql_result() <3> $rcount = mysql_num_rows($res); <6> oh <6> i was hoping there was a present one <3> for($i=0;$i<$rcount;$i++){ $row[$i] = mysql_fetch_array($res,$i) <6> **preset <3> or something to that effect <3> mysql_result will still need the row number <6> >_< this isn't going to be fun <3> and still need to be in a loop <4> concerning the header dravine it works so i consider i am right and you are not...sorry <6> how can I us <4> If the Content-Location is a relative URI, the relative URI is <4> interpreted relative to the Request-URI. <6> oops <3> but some clients accept relative URIs. <3> what part about that is unclear to you? <3> SOME CLIENTS <3> not ALL <4> well i quoted from the hypertext transfer protocol itself so.. <4> if the client doesnt follow it there is a pblem :S <3> HTTP/1.1 requires an absolute URI as argument to Location: <3> seems pretty straight forward to me <4> ok ok <4> you are right <3> I guess the PHP.net people just throw random bull**** into the manual for the hell of it <4> i didnt make the difference beetween content-location and location <6> what in the world does this mean: Can't use function return value in write context <3> chetane, well there's a big ****ing difference between the two <8> thx alot dravine i made some l33t c0de now.. <8> :P <3> Note: The Content-Location header field (section 14.14) differs <3> from Location in that the Content-Location identifies the original <3> location of the entity enclosed in the request. It is therefore <3> possible for a response to contain header fields for both Location <3> and Content-Location. Also see section 13.10 for cache <3> requirements of some methods. <4> i know i read that just before saying you were right <4> adamc show me your code ill try understand that error <4> dravine: i say it, you are right and i'm not :P you win and i learned something, so we are both winners <6> i fixed that, but now: Unable to jump to row 0 on MySQL result index 5 <6> deos that mean it's empty <6> ? <6> *does <3> adamc, pastebin.com the code <4> probably no results <4> so the row 0 of the result doesnt exist <6> http://pastebin.com/654119 <3> adamc, don't use while for that <3> I don't see where you increment $x either <6> **** <4> also you can erase that empty else at the end <6> it helps me organize <3> http://pastebin.com/654127 <3> and its num_rows <3> http://pastebin.com/654129 <9> so much text <9> everywhere <6> numrows and num_rows both work <6> ****!! Ican't copy and paste cause of line numbers <3> view the diff <6> ah
Return to
#php or Go to some related
logs:
#php instalar irssi en ubuntu cherubs undernet cook canned tuna lacheti wc3 sql #MissKitten arial.ttf ubuntu
#linux #javascript
|
|