CrazyPensil
Members-
Content Count
43 -
Joined
-
Last visited
About CrazyPensil
-
Rank
Newbie [Level 3]
- Birthday 07/14/1991
Contact Methods
-
Website URL
http://our664.h15.ru
Profile Information
-
Location
Russia, St.Petersburg
-
Interests
I'm a guy from Russia, my interests are English, Programmin' and playin' games, of course:). Despite being young I could succeed in both English & Programming(nearly FCE in Englis and HTML,JS,ASP,PHP,CSS,DOM,C,Perl,DHTML etc in programming). I'm studying in a prestige lycee fund by an international organisation called TOLERANCE and placed in Turkey. Since most of the bussinessmen of that firm ar Turkish people, our lycee has a lot of turkish teachers. and we're studying Turkish, too. I colud reach a lot in it, but gave it up a little time ago. It is used ro talk to teacher in English in my lycee and such lessons as Physics, Biology,Chemistry, Algebra,Geometry,Informatics etc are also performed in the same language(english). I'd like to get a friend in America or England or any other country, which is capable of programming and knows english. <br /><br />P.S. Have you aready visited Russia? ;)
-
Variable From Line Further Then Current Line?
CrazyPensil replied to bakr_2k5's topic in Programming
<html><head><?php switch($_GET['page']) { case "foo": include("foo.php"); #- - - - from foo.php - - - - $var1 = "what ever you want"; #- - - - end from foo.php - - - - break; } echo "<title>$var1</title>;?> -
I'm quite keen on nuclear physic and chemistry, but due to my teenager being, I'm not able to get all the knowledges I wanna gain=( Now, I wanna ask: In a Hydrogen bomb, We get a lot of H atoms under a big pressure; when the bomb collapses, they come too close, join together and form a He atom... My chemistry teacher told that that action frees a freat energy... But where is that energy taken from?! That's the question I ask you, dear ladies and Jeantlemen.... Hope you're good enough at Those subjects=)
-
Huh... I think the best site to expand your knowledge about PHP is php.net....Really, all of them sux in comparision to this) At least the function refference... forums, open-sources.... etc..The best one.
-
Teach Me English=) Lets just talk here...
CrazyPensil replied to CrazyPensil's topic in General Discussion
Thanks for mantioning(correctly spelled?) all my mistakes.... I'mma remember those...Thanks for a good mark, but i don't think the one of mine is above 3.5) I know, but when i was creating my nickname, i did not... Later I learned the real spelling, but decided to keep that variant. Also, it reminded me the 'pensive' word)Some questions have emerged(came out, gone off, shown up, appeared, rised up, ......?) about your post: goo=? aid=? Ummmm... isn't it spelled as 'decade'? -
Teach Me English=) Lets just talk here...
CrazyPensil replied to CrazyPensil's topic in General Discussion
It's from old turkish... I't smth that is like... "Hey"... No turkish men use it at the moment. -
First of all, thank u 4 that u entered this topic;)I've created it just to get some practice of English(mostly slang).Let me tell my story first...I'm a russian guy of 15 years old. I was born in St.Petersburg in a poor family and my life was desaturated with all those stuff that most of others had, such as cool toys etc.Years passed, and i attended to a local school. By that time my dad has died, but also, strangely, we got rid of the money problem....After 7 years, i passed the exams to an international lycee, funded by a famous turkish firm called 'Tolerance'. There i've learned english, made a plenty of friends etc. I'm studying here for 3rd year already. Through the uneasy years, i got over a lot of promlems etc... Now i'm quite good at programming, turkish and in english(4 russia it's good enough). I started out this topic 'cause i wanna improve my english as much as it's possible... wanna learn all those daily-speech expressions, slang, a lot of phrasal verbs etc.What i want from you all is:1) read my messages and point me my mistakes(of course, the correct way of writing should be told too)2) write here too, trying to use high english, of course=). So now, i ask all the people read this, to write their own story... if you do, wait for questions;]With the best wishes, from russia)
-
Wow=)Nice, i didn't know the mechanisms all those ready databases store info) I was always using my own mechanism, that was including my method of encrypting and all those splitters etc... I developed my own engine. And now i found that the algorithms of those brands are not so far from mine) Actually, they're almost the same, but i don't have the 'date'&'time' datatype.... Eventually, i don't accept these to be so implortant and use to store these as floats) Anyway, it seems that the problem our friend haitamlong raised up is already over and he got his answers(right, man? ). With the best wishes..... Me, just a russian lad;)
-
Huh.... First of all, u're intending to make a runescape-like online-game, right? Then, your work would consist of 2 parts: 1)Static part, can be Java or Flash. It would be on each user's computer ant it will be only sending data(variables, etc) to the server. And will also get data from the server and convert it to suitable for user view. 2)Dynamic part, would be placed on server(PHP,c,c++,Perl,ASP etc...) would be getting data from users, proceeding it, storing, and giving respond to the ser. So, you gotta know all these;) I't not that easy, man)
-
Mostly, I agree with yordan, but... just why don't you create a PHP-file that declares a variable($pass, for example), and assignes it md5() value of the pass. then, while checking password, you md5() input of user, include the file with password, then compare $pass&$input, and if they match, let the user in. 2yordan:
-
Php :: Image Pixel Per Inch And Conversion Please Guide
CrazyPensil replied to Zeeshan Hashmi's topic in Programming
GD Library: As your script uploads it, you make following: resource imagecreatefromjpeg ( string filename ); //if it's not jpeg - there may be gif/png/etc bool imagecopyresampled ( resource dst_image, resource src_image, int dst_x, int dst_y, int src_x, int src_y, int dst_w, int dst_h, int src_w, int src_h ); bool imagejpeg ( resource image [, string filename [, int quality]] ); Don't have time now, gonna write others a bit later. -
Hello there!Don't wanna read previous posts and your question might be already answered... anyway;)I prefer the NullStudio phpEd. Don't remember the link to download, but I think you may easily find a lot of.Also a good one is PHP Expert Editor(developer - Ankor). The linkage situation is same as with previos one.All these are most for editting. (1st one can proceed some scripts, but more dificult are not to be runned).Advanced scripts can be runned using Server emulation applications such as Apache, Sokkit, ColdFusion etc...Again, I'm givin' no links...You may assume that I'm lazy to go for searching all these on the Internet...And you'll be completely right=]OK, my opinion&advice is here... Good luck in your searches)
-
A Good Logical Question.... Yep, its me.... Again ;)
CrazyPensil replied to CrazyPensil's topic in Programming
OK, I re-word in a simpler way.Formula gets the data: - Number of AP bot has - Set of actions with cost of each oneAnd gives out the amount of combinations where some of actions ore chosen, but total cost of actions in each combination doesn't exceed total number of AP bot has. -
Again I've faced up with a problem... I'm writing a simple AI for a bot, but it still works in a slow way :*( So, the thing I'mma ask you, dear programmers, is that one: We've got a set of actions that can be done(n). Each action requires a certain amount of ActionPoints(AP) Bot has an unknown amount of ap(m) So, we must find Number of possible combinations, given total number of AP, array of actions and their costs. As you might understand, I need the formula. Don't suggest any ways to find the combinations themselves - this is already done by me, that formula would a great deal accelerate the process.
-
Running C Applications By Php (C - daemon)
CrazyPensil replied to CrazyPensil's topic in Programming
Thanks for your help... But.... Humm... I've a little bit exaggerated with "a little of Unix knowledge".... Coul you tell the correct chmod? -
I've faced up with a promlem. I've written a C-daemon(NOT C++ || C#) which needs to be run by a php-script on a UNIX-server. Can anybody explain me how to do this one using php's exec() or passthru() functions(I don't know unix)