Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Łukasz Hejnak
Erik Johnson napisał(a): Okay.. I was just wondering; What's the difference between = and ==? Would it matter if I changed them? It seems as though if I put = instead of the =='s, it comes up ONLY page two no matter what $page equals, and if it's ='s instead of =='s, then it comes up with only p

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Łukasz Hejnak
Zareef Ahmed napisał(a): Hi, Hi what is not working in this code? That's how I see it http://lom.game-host.org/uploads/erik/";; // yes the isset is ok here If(!isset($page)) { $page = "one"; } if($page == "one") { // as far as I know echo is all low case written but maybe it's not a mus

Re: [PHP] Security question

2005-12-07 Thread Łukasz Hejnak
Andy Pieters napisał(a): Is it possible for someone who does not have access to the server to edit arbitary accounts? well this depends on the forum You use, there're many many exploits out there. The best way to know is to try and keep up with places like the bugtraq@securityfocus.com list,

Re: [PHP] What software do you use for writing PHP?

2005-12-06 Thread Łukasz Hejnak
itor, with all types of code highlightning (html, php, c/c++, pascal, java, python are just a part of it). And that's pretty much all the features of it I use, maybe also the well written replace method. Besides that I use it as a typical text editor, I'm not too keen on template

Re: [PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-20 Thread Łukasz Hejnak
r the problem, I would never ever thought about this, until You suggested it. a modification to the topic of this message, "Simpler the You could've thought" ;] -- Best wishes Łukasz Hejnak -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-20 Thread Łukasz Hejnak
ays it is writable. The safe mode is disabled. Hope this tells You something, and gives You an idea on how to solve this. -- Best wishes Łukasz Hejnak -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-20 Thread Łukasz Hejnak
time of last access (Unix timestamp): 1132482980 time of last modification (Unix timestamp): 1132482980 time of last inode change (Unix timestamp): 1132482980 blocksize of filesystem IO *: 4096 _number_of_blocks_allocated:_8_ Can anybody help me? -- Best wishes Łukasz Hejnak -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-19 Thread Łukasz Hejnak
xactly the only thing I use fwrite for.. The clue I got is, non-empty files are ok to be written in (appended), empty on the other hand, are totaly uncool for that. So using a ftruncate($handle,0); is just as I'd use fopen($file,"w"); (gives the same result). -- Best wishes

[PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-19 Thread Łukasz Hejnak
ed. Can anybody help? If any more data is required on my side, I will gladly cooperate to get the thing solved. -- Best wishes Łukasz Hejnak -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php