This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
LuaEclipser's profile picture

How can I use my HTML knowledge?

Started by LuaEclipser, 28 March 2013 - 04:05 PM
LuaEclipser #1
Posted 28 March 2013 - 05:05 PM
i recently learned a lot of HTML. and i wonder "how do i use it?" i understand there are other places like webs, and weebly to do non-coding, but i want to practice!
thanks!
redeye83 #2
Posted 28 March 2013 - 05:30 PM
there are lots of free webhosts you could use to host your web content.

Also most website use php and css
LuaEclipser #3
Posted 28 March 2013 - 05:36 PM
there are lots of free webhosts you could use to host your web content.

Also most website use php and css
i know css, but not PHP

can you name one that will let me just type away, no templates or anything?
theoriginalbit #4
Posted 28 March 2013 - 05:38 PM
http://www.000webhost.com

they give you a default php which does some stuff. but after that, just make the html in Sublime Text 2 then upload it to the website via FTP. thats what I do for my website (link in sig) … I actually use the SFTP plugin for ST2 which makes it even easier to make the changes I've made live!
Dlcruz129 #5
Posted 28 March 2013 - 05:42 PM
i recently learned a lot of HTML. and i wonder "how do i use it?" i understand there are other places like webs, and weebly to do non-coding, but i want to practice!
thanks!

Well, if I were you I'd use HTML to make a website. (Lol)

As mentioned above, http://www.000webhost.com/ has free web hosting. Or you could download XAMPP and host the pages on your local machine.
LuaEclipser #6
Posted 28 March 2013 - 05:43 PM
but where would i put the code?
Dlcruz129 #7
Posted 28 March 2013 - 05:49 PM
but where would i put the code?

For 000webhost: they have FTP instructions on the site.

For XAMPP: Launch the control panel, go to explorer-apache-(whichever folder has an index.html file)
LuaEclipser #8
Posted 28 March 2013 - 05:55 PM
ok cool!
theoriginalbit #9
Posted 28 March 2013 - 05:59 PM
but where would i put the code?
If you are going to use ST2 and the SFTP plugin, follow the instructions supplied by SFTP to setup the package. the only thing you have to remember is where they give you "remote_path" you have to set it to "/public_html/" or 000webhost won't be happy :P/> and your site wont load because you have uploaded to the wrong spot.
GravityScore #10
Posted 28 March 2013 - 08:46 PM
Personally, for testing all the PHP stuffs I make, I just host a simple XAMPP server locally, but for releasing it, I'm going to start using the free website that comes with an account on http://koding.com. Koding is an online IDE that supports basically everything, and gives you a free website (mine currently has not much on it). They give you pretty cool domain names too. Mines http://gravityscore.koding.com.

It's currently in public beta, but you can request an invite to join.
remiX #11
Posted 28 March 2013 - 09:13 PM
HTML doesn't need a free webhoster if you don't want the website to be published.
Just save the file as name.html on your computer and open it. CSS and HTML coding will work, but not PHP (you could also use xampp for php)
theoriginalbit #12
Posted 28 March 2013 - 09:15 PM
Personally, for testing all the PHP stuffs I make, I just host a simple XAMPP server locally, but for releasing it, I'm going to start using the free website that comes with an account on http://koding.com. Koding is an online IDE that supports basically everything, and gives you a free website (mine currently has not much on it). They give you pretty cool domain names too. Mines http://gravityscore.koding.com.

It's currently in public beta, but you can request an invite to join.
Nice! does SSI work?
oeed #13
Posted 28 March 2013 - 09:26 PM
Personally, for testing all the PHP stuffs I make, I just host a simple XAMPP server locally, but for releasing it, I'm going to start using the free website that comes with an account on http://koding.com. Koding is an online IDE that supports basically everything, and gives you a free website (mine currently has not much on it). They give you pretty cool domain names too. Mines http://gravityscore.koding.com.

It's currently in public beta, but you can request an invite to join.
Does is have support for MySql or custom .htaccess?
GravityScore #14
Posted 28 March 2013 - 10:17 PM
Personally, for testing all the PHP stuffs I make, I just host a simple XAMPP server locally, but for releasing it, I'm going to start using the free website that comes with an account on http://koding.com. Koding is an online IDE that supports basically everything, and gives you a free website (mine currently has not much on it). They give you pretty cool domain names too. Mines http://gravityscore.koding.com.

It's currently in public beta, but you can request an invite to join.
Does is have support for MySql or custom .htaccess?

Yep! Only MySQL though. I think it's unlimited databases, but not sure…
theoriginalbit #15
Posted 28 March 2013 - 10:17 PM
Yep! Only MySQL though.
Now answer my one! :P/>
GravityScore #16
Posted 28 March 2013 - 10:18 PM
Yep! Only MySQL though.
Now answer my one! :P/>

Not sure, why not sign up and find out? :P/>
theoriginalbit #17
Posted 28 March 2013 - 10:30 PM
Not sure, why not sign up and find out? :P/>
I did. but gotta wait for access. :(/>

you could test really quick with:
Spoilershtml file >>>> test.shtml


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
     <title>Test</title>
  </head>
  <body>
    <!--#include file="someFile.ssi" -->
  </body>
</html>

SSI file >>>> someFile.ssi

<h1>This is a heading</h1>
oeed #18
Posted 29 March 2013 - 12:29 AM
Not sure, why not sign up and find out? :P/>
I did. but gotta wait for access. :(/>

you could test really quick with:
Spoilershtml file >>>> test.shtml


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
	 <title>Test</title>
  </head>
  <body>
	<!--#include file="someFile.ssi" -->
  </body>
</html>

SSI file >>>> someFile.ssi

<h1>This is a heading</h1>

Why not just use PHP to do this if you're using it anyway?

<?php
    include('someFile.php')
    //    OR
    require('someFile.php')
?>
theoriginalbit #19
Posted 29 March 2013 - 12:35 AM
Why not just use PHP to do this if you're using it anyway?

<?php
	include('someFile.php')
	//	OR
	require('someFile.php')
?>
Because believe it or not I do not know any PHP. and I'm not actually using it. take a look at the site Grav made me. no php.
Azhf #20
Posted 29 March 2013 - 02:53 AM
Personally, for testing all the PHP stuffs I make, I just host a simple XAMPP server locally, but for releasing it, I'm going to start using the free website that comes with an account on http://koding.com. Koding is an online IDE that supports basically everything, and gives you a free website (mine currently has not much on it). They give you pretty cool domain names too. Mines http://gravityscore.koding.com.

It's currently in public beta, but you can request an invite to join.
Thanks! I hope they accept that invite, azhftech.koding.com, here I come XD
1lann #21
Posted 29 March 2013 - 03:08 AM
Erm, just to tell you guys. I got the invite first then invited gravs. It took about a month before I got accepted… Just a heads up.
Azhf #22
Posted 29 March 2013 - 03:14 AM
Dang. How do you invite pplz, by email?

EDIT: Also yes, I am in development of a mod :DDDDD However it will just be a random mod :P/>
Engineer #23
Posted 29 March 2013 - 03:14 AM
Erm, just to tell you guys. I got the invite first then invited gravs. It took about a month before I got accepted… Just a heads up.
At least its free :P/>
Cranium #24
Posted 29 March 2013 - 03:46 AM
Can't complain when it's free.
FuuuAInfiniteLoop(F.A.I.L) #25
Posted 29 March 2013 - 03:48 AM
Create a html reader in luia that return a table with the elements so a gui api can draw them ex:

{"create button x y colors, text", "Print text x y color text}
remiX #26
Posted 29 March 2013 - 04:45 AM
Erm, just to tell you guys. I got the invite first then invited gravs. It took about a month before I got accepted… Just a heads up.

Oh, damn.
Was expecting to only take like a day or so :P/>
Sammich Lord #27
Posted 29 March 2013 - 05:27 AM
Each person can invite 3 people. I got invited by Dusty.

Edit: Why did you learn HTML if you didn't know what you would do with it?
LuaEclipser #28
Posted 29 March 2013 - 05:45 AM
Each person can invite 3 people. I got invited by Dusty.

Edit: Why did you learn HTML if you didn't know what you would do with it?
i didnt know where to put it :P/>
LuaEclipser #29
Posted 29 March 2013 - 05:48 AM
is there anyone registered on koding.com. that can invite me? i would really appreciate it!

1 cookie to anyone who can invite me :P/>/>
Sammich Lord #30
Posted 29 March 2013 - 06:14 AM
I highly doubt somebody will just give out a invite for a virtual cookie.
LuaEclipser #31
Posted 29 March 2013 - 06:50 AM
how about a cookie with sunglasses?
Cranium #32
Posted 29 March 2013 - 07:08 AM
Merged topics, since they deal with the same thing, essentially.
FuuuAInfiniteLoop(F.A.I.L) #33
Posted 30 March 2013 - 04:20 AM
Create a html reader in luia that return a table with the elements so a gui api can draw them ex:

{"create button x y colors, text", "Print text x y color text}
I have created one now creating a gui that can render it…..