| |
| |
| |
|
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
Comments:
<0> CryWolf: done. Nothing changed. <1> lig: is that definitely the best way, or would mktime be just as effective ? <2> try them both and see which you prefer <3> bluelotus: why does the phpinfo() in index.html say that the requested page was directory.html? <0> because index.html includes directory.html. Directory.html is trying to access the get variables p***ed to index.html. I'm trying to figure out how to send them to directory.html because I can't do it directly. <3> bluelotus: an include does not change what the requested page was. <0> Then I truely do not know, CryWolf. I am displaying that phpinfo() from the included page. Perhaps that is why? <3> bluelotus: solve that, and you'll probably have your $_GET back. Looks like you're doing a redirect somewhere. <0> Hrm... The only reference I have to that file is in the include statement that is in index.html's case statement <3> bluelotus: are you doing any apache rewriting? <0> crywolf some. I'll post my .htaccess, but no mod_rewrite directives are in it. One second. <0> CryWolf: http://pastebin.com/738547 -- at the bottom <3> bluelotus: I don't see anything in that <0> CryWolf: would loading them into a session help? I could just byp*** this small glitch if you are as blue-faced as I am. <3> bluelotus: try a page which only displays phpinfo(). Try a page that only includes a page that only displays phpinfo(). Try a page which includes a page which only outputs a single line, and then display phpinfo() from the main page. <0> k sec
<4> for(array("sUsername"=>array($sUserName,"0")) as $key => $value) <--- why is $value not an array? <5> Arian: you want a foreach loop <4> eerr I have a foreach <0> CryWolf: http://cybarc.is-a-geek.net/work/test_home.html t1nl0tus // *_*lotuS2 <4> foreach(array("sUsername"=>array($sUserName,"0")) as $key => $value) <--- why is $value not an array? <4> I run it through zend in debugger and it is getting "sUsername" as $value and 0 as $key <0> Arian: php.net/array <4> yes, hmm <0> http://us2.php.net/manual/en/function.array.php <0> to be exact <3> bluelotus: I don't know. <0> CryWolf: I feel the same way. Thankyou for all your efforts. I do really apprecaite it, although they were as fruitless as mine. <0> I think I'll just cheat and use session variables for the time being. I don't forsee a problem with that. <0> It's just 2 get variabels :-D <5> s/Board/Controller <4> php is so ***y even compared to uber easy .net <4> cyth[sleep], be a fanboy all you want :-D <6> not really a fanboy <6> i like all web technologies, JSP coldfusion php <6> but .net is ...... its way to microsoft for me <6> i like control <5> i need to..... move servers......... <5> maybe tomorrow... <7> Hey, anyone know where to put my spare submarine? <5> ? <7> What? <8> why would move_uploaded_file() fail if $_FILES['userfile']['name] is valid and so is the target directory? <8> and 'tmp_name' of course <5> yes <5> err.. 'why'...right... if the target directory isn't writeable <6> Sages_, permissions? <8> hmm, let me see if I can access those <8> thanks, I hadn't thought of that <8> <-- newb <5> i need to re-do my blog... alot... <9> nice, google sponsored 7 php projects :) <9> (for summer of code -- SoC) <5> neat <9> todo list: #1 put the do in todo :) <5> :) <5> i'm *actually* considering using a produced blog <10> header("Content-type: image/jpeg"); seems to still render in firefox as text/html... anyone have a possible idea why? <5> (ie: not hand-written) <9> no reason to write your own <5> i've already written it <5> and i learned a ****load by writing it <5> but i think i might go with Serendipity <9> well, that's the one reason ;) <6> freeone3000, make sure that command is the first thing in the file, not even a blank line (comments are fine) <10> cythrawll: I have output buffering on... doesn't that remove the need for that? <5> i didn't learn any PHP... but i learned a HUGE amount of SQL <9> yeah, that's the popular one (among geeks) <10> cythrawll: Wait, DOES it remove the need for that? <5> wih kee -i thought that was how wiki is pronounced.. <6> freeone3000, you got me, why don't you try it and see? <9> that's how i say it
<5> alright <9> where is your blog? <10> cythrawll: Well, no, it doesn't. Quite strange. <10> Why would $str = substr($str, 0, strlen($str)-strpos($str, ".")); clip off an extra char before the '.' with a five-char string, but not a four-char string? <11> a simple array excercise, what am i doing wrong? http://hashphp.org/pastebin.php?pid=6877 <10> You're referring to an array as a scalar. <10> while($variable<14). <12> this uh, php is getting me mad <12> heh <11> i was thinking while($variable[$num] < 14), would that be better? <12> it keeps tellin me theres an errur in a colum, which i am not even trying to access anymore <10> It's syntatically correct, but is that what you want it to do? <12> i remove the mysql query, and it still acts as if its there ;\ <10> nanotec: Are you remembering to save? <11> all i want to do, is read the array for each character then print it out <9> cache? <12> freeone3000 yes i saved it 5 times just tomake sur <12> e <12> heh <9> mdew-2Mb: foreach is good <12> philip i cleared the cace, and closed otu the browser <12> same thing <9> mdew-2Mb: maybe you mean to try $str = 'abc'; echo $str[1]; // b <11> hmmm <13> gah, stupid lack of being able to include into a cl*** file <13> have had to write an irritating work around <14> hey <6> hey <14> whats up <6> good question <6> you? <14> first time I hear that reply <14> im here for some help =) <6> does it concern php? <6> cuz i might be able to lend a hand <14> fortunatly for me, it does <14> One moment <14> I solved it <14> thank you. <15> hmmm.... php doesn't throw a warning when you $var[] when $var is unset <15> I think <10> Nope, it ***umes that you meant to do $var = array(); the line before. <15> yeah, that's stupid <15> :P <10> Well, doing $var[] without defining $var is also stupid. <10> So. <15> well that was a mistake of my own <15> but see... I didn't find out until I tried to use that var <15> (in a case where it didn't get set) <10> That it magically works. <15> so throwing a warning when it's unset would have been nice <15> yay decompiler design :) <14> okay <14> now I need some help <14> lol <6> install linux <6> my two cents <14> I drink milk instead. <14> Makes my bone strong. <6> ow <6> im not a zealot <6> but it does fix everything <6> or *bsd <15> pfft :P <6> w/e your flavor <6> just *nix <6> (osx included) <14> I have index.php, template.php, and foo.php. In foo.php, I have a function called printOut(). <14> Now index.php initiates the Template cl*** in template.php, and IN that cl*** it includes foo.php <14> How can I call the printOut from index.php? <16> does anyone have any tips on how to do an email verification link that doesn't require using a database for storing the verification code
Return to
#php or Go to some related
logs:
fbsetroot xinitrc #centos waiting for root filesystem #ubuntu confusing aticonfig two screens #lgp perl process read fifo hide partition desktop ubuntu #php inteI v6 script
|
|