khalilov
Members-
Content Count
281 -
Joined
-
Last visited
-
Days Won
1
Everything posted by khalilov
-
It works thanks alot m8 I was just testing it thats why i put the direct link to the page =) Btw when i open it in firefox there is a distance between the image. Iam assuming its default in firefox, but i want the pics to appear right next to each other like in IE, whats the CSS code to do so =), i tried <table border=0 cellspacing=0><?php for($j=0;$j<10;$j++) {echo "<tr>"; for($i=0;$i<10;$i++) {?> <td><img src="file:\\C:\wamp\www\Game\pic\grass.jpg"></td> <?php } echo "</tr>"; }?></table>The distance between the pics got smaller but it is still easily noticable. Edit: its working in firefox but not in IE O.o,output page source is the same Also can you tell me how to do the file link with :/pic/grass.jpg , file://pic/grass.jpg doesn't seem to work
-
ROFL my bad:P, i dunno i still don't know alot of photoshop. I always thought photoshop is importing a pic or two and playing/merging them. Photoshop it is then
-
Still doesn't work :/, and what do you mean making it hard to migrate my website? Edit: I saved it as .html and noticed that it works when i open it directly, but when i open it from localhost (LOCALHOST/game/x.html) it doesn't work. Thats the wamp version iam using.
-
I am gona add some custom pics to my game, i was wondering if anyone could tell me where i can download a free program that has: Setting height and width by entering their sizes in pixels Gif animation or multiple frame animation Layers are possible Exporting is 100% quality and no signs of program are left on pic Choosing a custom color Any extra drawing tools would be nice=) I was thinking photoshop, but i thought its more for editing pics than creating them and the pics i want to make aren't that detailed, i might use photoshop is i can't find any better alternative.
-
I made a small script which creates a 10x10 picture out of small pictures <html><body><?phpfor($j=0;$j<10;$j++) {{for($i=0;$i<10;$i++) echo "<img src=C:\wamp\www\Game\pic\grass.jpg>"; } echo "<br>"; }?></body></html>grass.jpg is a simple pic, anyways when i run it using wamp it shows 10x10 pics of nothing, as in the pics aren't loading. When i right click them and enter properties it says they are not available. I enter page source and find <img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><br><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><br><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><br><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><br><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><br><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><br><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><br><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><br><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><br><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><img src=C:\wamp\www\Game\pic\grass.jpg><br></body>Basicly its the code that shows the image 100 times, i copy and paste the code and save it as .html , the big pic shows normally. I save the php file as .html and when i open it i get "; } echo ""; } ?> I thought it had something to do with the loops so i modified it to simply <html><body><?php echo "<img src=C:\wamp\www\Game\pic\grass.jpg>"; ?></body></html>Same result, a picture with not available source and grass.jpg is not viewing, how do i make them show? I tried in both firefox and IE. How do i make pics work in php? Edit: i noticed i got alot of mycents on this post i think, iam guessing this is from the 100 img viewing codes i posted, if it is considered spam or abuse, plz replace them with quotes =)
-
Really? lol i thought they were unique profile views. Oh well maybe i shouldn't use my profile page to view my mycents anymore
-
Iam not sure if this belongs here, if it doesn't can a moderator move it plz.I don't remember my exact profile views, but iam sure it was <100. Today i open it and see Profile Views: 250*. Iam also in top 7 by profile views lol. I don't mind , but iam wondering was there any profile-view related bug these two days? cuz iam not that famous
-
Leveecius, PHP, MYSQL and CSS is all you need to make a great textbased game. I suggest you make it and then if you have any ideas that require Java you can add them. But the entire base of the game should be php. When you are using php you are using html at the same time echo "<table><tr>HP</tr><tr>".$hp."</tr></table>";Assuming that the variable hp was 100, it would show HP and 100 near it. You could have gotten that with html by simply <table><tr>HP</tr><tr>100</tr></table>Both codes print the same result, but by using PHP you can print out any value ($hp), while in html you can only print out the number you put in the code. And since text based games are full of variables (hp,experience,resources...).php is the way to go. PHP modifies html pages depending on commands on databases.
-
Free Page Rank Checker Tool Grab it
khalilov replied to www.jbi.in's topic in Websites and Web Designing
I don't advice anyone to add this before an admin/moderator or a trusted one with java knowledge tells us its safe. There has been several attempts before by people posting codes that end up benefiting the poster at the expense of people who used it. -
Sometimes my computer gets infected with a spyware, it starts messing up my computer with random poping adds and i keep getting reports from my outdated antivirus saying that my computer is infected but i need to update to clean it. When i get that i system-restore my computer to before i started getting those troubles and my computer returns to functioning properly, is getting rid of some spywares that simple or are they still on my computer?
-
My Photography.... College course :)
khalilov replied to overkiller's topic in Graphics, Design & Animation
Nice pics, you got good potential their =), i don't get the importance of the last one though:P, it ruins the other ones XD. -
Iam strongly against the use of frames, i posted on how to make a side menu in your other post, plz check it out =)
-
vertical navigational bar: p.menu { position:absolute;top:150px;left:40px;height:500px;width:100pxbackground:black;padding-bottom:0px;padding-left:0pxpadding-right:0px;padding-top:0px;color:firebrick;border:1px solid red;text-align: center;} make a script and name it menu.php <p class='menu'>INSERT CODES AND LINKS HERE</p> Then in every page in your site put include('menu.php'); You can customize the menu if you want, by modifying its CSS code you can choose any color you want for the back ground and works. Also to give your menu a simple but cool animation effect add this: a:link { color: yellow; text-decoration: none; }a:visited { color: yellow; text-decoration: none; } a:hover { color: orange; } You can modify the color as you want, you can also change the color of the background when you hover over it. I suggest you choose two colors one for words and one for back ground. If you hover your mouse over it, switch them. Example background black, words white. If you hover over then make then worsd black background white. Gives a nice animation. To me a skilled programer isn't someone who makes complicated programs, its the one who can make attractive effects with simple commands =)
-
It is easy to create a text based game, i learnt how to do it in less than 1 week. You just have to be patient, a few sites that helped me and iam sure will help you are http://www.tizag.com/phpT/syntax.php <-- basic PHP + MYSQL http://www.maketemplate.com/ <-- CSS training http://www.w3schools.com/PHP/php_ajax_intro.asp <-- advanced PHP + MYSQL There is a random funtion in PHP, i think its RAND(0,X) but iam not sure. You can do it in a script, example: if(($attacker_weapon-$defender_armor)>0)$x=RAND(0,$attacker_weapon-$defender_armor);else $x=-1*(RAND(0,$defender_armor-$attacker_weapon));$damage=$attacker_power+$x-$defender_defence;if($damage<0)$damage=0;Or so, you just need a healthy imagination =) As for getting info from database and modifying them, you can learn that from the sites i posted. If you have any more questions please ask.
-
Tell-a-friend script Make a tell-a-friend script with php
khalilov replied to websaint's topic in Programming
I think you should put the scripts in code , /code tags. Also shouldn't you put $myname = $_GET['from']; The same for the other variables you transfered from the first php script to the other. As stated above this script could be used for spaming, which may result to complaints against your site. But to solve this issue you could require a user to be signed up in your site so that you track his emails and if he is spamming. Which means you have to log emails as well. While using such a form to send an email is cool, i don't think such an abusable feature should be put on your site =) -
I suggest banning the ip of spammers, while they can still use fake ips or different computers or so,it would still make it harder for them. Or simply increase number of moderators and choose them so that at any time of the day there is one of them active to instantly detect spam and delete it.
-
Well yeh but if you use like 5 if statements all together i might use C program to write the script lol. i'll try the notepad 2 thing Edit: Downloaded notepad 2 from http://www.flos-freeware.ch/notepad2.html. its exactly what i needed thx m8
-
Tracking down errors caused by missing ; or {,} is annoying enough, badly organised scripts make it worse. I want a program which i can write my php scripts and they get automatically organised. Example i put an if statement i press enter and put { then everytime after that i press enter i don't go to a new line i go similary to where the { went. If that doesn't make sense i want a program that turns this: if(condition1){if(condition2){statement1;statement2;}else{statement3;statement4;}}else{statement5;statement6;}To something like: if(condition1) {if(condition2) { statement1; statement2; } else { statement3; statement4; } }else { statement5; statement6; }It doesn't have to be automated or so, i just need something other than notepad and having to use space alot to organise
-
With alot of people sitting all day infront of their computer clicking adds to make <1$ per day i wouldn't be surprised if someone spends his day advertising his adult-content website or just messing around. So they can be people.
-
The new system is mycents, so all you have to do is sign up at Xisto - Support with the same email you signed up with here, post a couple of posts (maybe 5) and wait till you start seeing myEarnings and myCents in your profile or near your posts. After you gather 1.99$(not sure about the price) you will able to get new hosting.I don't think negative credits affect hosting anymore.
-
Just another way for humans to kill each other... Why do we make them anyways, its not like anyone is going to use them. Any country using a bomb like that now will only result in that country recieveing tens of similar bombs thrown back at it.
-
K i canceled it and got 1.99$ back, glad to have recieved fast support especially on saturday =)now i only have to pay $1.95 USD monthly LOL, its so easy to maintain that now XD, ~4$ was a pain. Now i only need0.065$ per day. Iam sure i got more than that in this post XD. That free domain is comign soon =)
-
There is no perfect security against people copying stuff from your site, so i suggest not to even bother. The best and most professional flash game sites have their contests stolen by simply entering media in tools of firefox and downloading the flash game.In other words, make it too easy they won't bother. Make it hard some might take it as a challange
-
No That means i burnt 4$ :/, iam gona contact them and ask them if i can degrade my acount since we still haven't entered december, maybe i can save 2$. ( i sound like a cheap *bottom* ). Its a game, i need it for an idea inside that game =) Thats what i need appreciated =)