Shoutbox

HTML/FTP/PHP - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: HTML/FTP/PHP (/showthread.php?tid=49850)

HTML/FTP/PHP by stoshrocket on 09-01-2005 at 04:56 PM

OK guys and gals, i was scoping through the 14ish pages about the free web hosters, and thought; well, with all these free hosts about why dont i create a website? So, scoping through i find a few good websites and check them out. I soon become confuzzled (or confused for the more serious dudes) when a website starts to talk about loading your website, and mentioning something about FTP and PHP. Sot knowing what either one of them does, i backed away slowly and exited the website. So far ive managed to make a website only using the templates that freewebs.com (something like that anyway) offers, but that also mentions HTML, anyone got any ideas about helpjg me build my website/got any links to something like HTML for dummies?? please help guys an gals, thnx, Methos :S


RE: HTML/FTP/PHP by CookieRevised on 09-01-2005 at 05:01 PM

Google "learn html"...

The net is infested with tutorials like that ;)

PHP is a prgramming language which you can use to actual program a webpage. This is more advanced than HTML, but the result is the same (if you disregard the advanced stuff you can do with it of course).

FTP means File Transfer Protocol. This is the protocol used to transfer files from server to server or server to client. It has got nothing to do with HTML. Not something you should worry about atm...

;)


RE: HTML/FTP/PHP by hmaster on 09-01-2005 at 05:02 PM

http://w3schools.com/html/

PHP is another language and FTP is a way to upload your files to a webspace so they are viewable :)


RE: HTML/FTP/PHP by dotNorma on 09-01-2005 at 11:07 PM

I remember I always used to use

http://funky-chickens.com

Its useful for whenever you cant remember that specific tag.


RE: HTML/FTP/PHP by stoshrocket on 09-02-2005 at 10:52 AM

ok guys, ive gone through alot of tutorials on HTML, and gone and built 
my own website, its not fully finished yet, its pretty cool :), not too big i think, but it contains a video clip and im gonna try and figure out how to put .exe files on it (i only want the one .exe file), how shall i go about hosting it (i think ths might involve FTP that we talked bout earlier)....


RE: HTML/FTP/PHP by user27089 on 09-02-2005 at 10:54 AM

You can find a series of free hosts across the internet, or of course, I can host you, email: traxor[at]gmail.com, and we'll talk...


RE: HTML/FTP/PHP by stoshrocket on 09-02-2005 at 10:58 AM

yes but is it free..... ;) btw, anyone know how to insert .exe files and video files (.wma video)????


RE: HTML/FTP/PHP by user27089 on 09-02-2005 at 11:00 AM

You can't insert .exe videos into a website, because of potential risks such as virus'.

The hosting is free and quite good, email me or add me to msn...

MSN: Jonesbon4[at]aol.com ...


RE: RE: HTML/FTP/PHP by segosa on 09-02-2005 at 04:25 PM

quote:
Originally posted by traxor
You can't insert .exe videos into a website, because of potential risks such as virus'.

The hosting is free and quite good, email me or add me to msn...

MSN: Jonesbon4[at]aol.com ...


'twas two questions. How to insert exes and how to insert wmvs.

For the exe question, you can't "insert" it into a page. An exe can't automatically be executed because that'd be a security risk. The only way is downloading it manually.

For the videos, it's something with <embed>, I'm not sure. Google it or find a site with an embedded video.
RE: HTML/FTP/PHP by hmaster on 09-02-2005 at 05:04 PM

<embed src="http://yourdomain.com/yourfile.wma" width="100%" height="100%">

I think


RE: HTML/FTP/PHP by stoshrocket on 09-02-2005 at 07:27 PM

hmm, yeh, i have to embed the video intp the page, but none of this is workin, but it might be becasue i havent got my webbie hosted (i have a hoster, but not uploded it yet cos i cant figure out how to use smartFTP to do so!!!)


RE: HTML/FTP/PHP by hmaster on 09-02-2005 at 07:32 PM

put in the correct fields at the top (info you should've got from host)
and then when you are loggef in it gives you the opportunity to upload/move/delete stuff on the server :)


RE: HTML/FTP/PHP by stoshrocket on 09-02-2005 at 08:09 PM

ok, so i just enter the info, and upload all the files onto the server??? sounds easy enough... lets try it...


ok, ive managed to upload all of my files needed for my website, how do i tell it what my hompage is etc??? (on smartFTP)
RE: HTML/FTP/PHP by segosa on 09-02-2005 at 09:41 PM

index.html (or index.php, depends) is the default file.. so mrename the main page to that.


RE: HTML/FTP/PHP by stoshrocket on 09-02-2005 at 09:50 PM

where is that file??? i cant seem to find it anywhere...


RE: HTML/FTP/PHP by Ezra on 09-02-2005 at 10:25 PM

you need to make that page :), that's the page that opens when you browse to the folder with your browser, Say you type www.mydomain.com, --> it goes to www.mydomain.com/index.html.
www.mydomain.com/msnmsgr --> goes to www.mydomain.com/msnmsgr/index.html.


RE: RE: HTML/FTP/PHP by rav0 on 09-02-2005 at 10:45 PM

quote:
Originally posted by Methos2
how do i tell it what my hompage is etc??? (on smartFTP)

In most cases, you don't ;). Just name your homepage file index.html (or index.php, if you ended up using php).

If you really want to have it named as something else, you will need to use .htaccess (intentional dot). You can only use it if your host allows it, and this is unlikely. However, if you are allowed to use it with your host, this is how.

.htaccess works by using a file called (drumroll) .htaccess. This is a text file, which contains special instructions for the server concerning that directory, and its subdirectories. You can create one in Notepad, and type this inside:
code:
DirectoryIndex homepage.html
if homepage.html is your homepage, or you use another filename. In Notepad, save the file as ".htaccess" with quotes (otherwise Notepad will think that you really wanted .htaccess.txt and save it as that).
RE: HTML/FTP/PHP by stoshrocket on 09-03-2005 at 10:18 AM

ok, thanks guys, i'll try
BTW:: any1 got any ideas on this embedding the WMV file????


RE: HTML/FTP/PHP by M73A on 09-03-2005 at 10:32 AM

try this to embed the video with controls, starts automatically and is looped:

code:
      <!-- begin embedded WindowsMedia file... -->
      <table border='0' cellpadding='0' align="left">
      <tr><td>
      <OBJECT id='mediaPlayer' width="320" height="285"
      classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
      codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
      standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
      <param name='fileName' value="http://servername/path/to/media.file">
      <param name='animationatStart' value='true'>
      <param name='transparentatStart' value='true'>
      <param name='autoStart' value="true">
      <param name='showControls' value="true">
      <param name='loop' value="true">
      <EMBED type='application/x-mplayer2'
        pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
        id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
        bgcolor='darkblue' showcontrols="true" showtracker='-1'
        showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="285"
        src="http://servername/path/to/media.file" autostart="true" designtimesp='5311' loop="true">
      </EMBED>
      </OBJECT>
      </td></tr>
      <!-- ...end embedded WindowsMedia file -->
    <!-- begin link to launch external media player... -->
        <tr><td align='center'>
        <a href="http://servername/path/to/media.file" style='font-size: 85%;' target='_blank'>Launch in external player</a>
        <!-- ...end link to launch external media player... -->
        </td></tr>
      </table>

just change the src etc to the url of your file...

try here:

http://cit.ucsf.edu/embedmedia/step1.php

its probably easier
RE: HTML/FTP/PHP by stoshrocket on 09-03-2005 at 07:00 PM

ok, now this is taking the mike, i STILL trying to figure out how to embed media but another problem has arose. Ive uploaded all of my webbie files and now ive got it online, i can get to the hompage via the internet and surf from page to page easily; but there is just one problem; ALL of the graphics arent showin, it just comes up with small 'x's in the corner, any ideas?????


RE: HTML/FTP/PHP by hmaster on 09-03-2005 at 07:06 PM

the path to the images is not valid?
or you misspelled something in your code?
have you uploaded your images


RE: HTML/FTP/PHP by stoshrocket on 09-03-2005 at 07:21 PM

im pretty sure that the path is valid, i have uploaded my images. Ok, i checked my website was fully up and runnin before i uploaded it then uploaded ALL of the files needed, with the correct paths, saw it didint work and ended up scrapping all the files and then deleting the path except for the name of the file to see if it was the path, as they are all in the same place, it SHOULD work, but doesnt :'(


RE: HTML/FTP/PHP by ddunk on 09-03-2005 at 07:24 PM

Can you post a link so we can have a look at your source?


RE: HTML/FTP/PHP by stoshrocket on 09-03-2005 at 07:33 PM

waddya mean my source? your gonna ave to dumb it down a bit, i only just learnt how to create websites and use smartFTP


RE: HTML/FTP/PHP by segosa on 09-03-2005 at 07:35 PM

Why don't you link us to this site.

(EDIT) Note to self: refresh threads before replying

Anyway, just give us the link. We can look at the source HTML and we can see exactly what's wrong.


RE: HTML/FTP/PHP by Eljay on 09-03-2005 at 07:37 PM

its http://methos2.skarz.co.uk lol

anyways when you right click an image and view image (in firefox) the images are there
which is strange

try editing the images where they say

code:
<img border="0" src="whatever" other stuff here... >

to

code:
<img src="whatever" border="0" other stuff here...>

dunno if it will make a diff but it might
RE: HTML/FTP/PHP by stoshrocket on 09-03-2005 at 07:41 PM

how the hell did you knwo that?!?! OMG hes physcic... or are you that guy that keeps stalking me?!?? lol, i'll try it...


RE: HTML/FTP/PHP by segosa on 09-03-2005 at 07:43 PM

Maybe bravenet thinks it's a hotlink... the images appear after you've visited them once as the browser will be using your cache.


RE: HTML/FTP/PHP by Eljay on 09-03-2005 at 07:43 PM

quote:
Originally posted by Methos2
how the hell did you knwo that?!?! OMG hes physcic... or are you that guy that keeps stalking me?!?? lol, i'll try it...

well i knew traxor hosted you so it wasnt hard :P

EDIT: omfg, http://methos2.skarz.co.uk/hidden%20page.htm 8-)
RE: HTML/FTP/PHP by segosa on 09-03-2005 at 07:47 PM

Here's a tip.. don't use spaces or weird characters in filenames. Stick to letters, numbers, dash and underscore. Just the basic ones.


RE: HTML/FTP/PHP by stoshrocket on 09-03-2005 at 07:47 PM

wha??? lol, you clikc on one of my pics an the hidden page comes up... this is where i wanted that video... lol


RE: HTML/FTP/PHP by hmaster on 09-03-2005 at 07:54 PM

Problem is youve got spaces in your filenames, when theres a space in your image names put %20 eg
homepage%20button.jpg

or rename your file so it reads
homepagebutton.jpg


RE: HTML/FTP/PHP by stoshrocket on 09-03-2005 at 07:58 PM

kk, thnx


Bah! this isnt working very well guys, i have done the space thing and renamed all of my files so they dont contain any spacings; check the webbie out at
methos2.skarz.co.uk
tell em how to fix this damn graphics problem!!! :@
RE: HTML/FTP/PHP by ddunk on 09-03-2005 at 09:08 PM

Who is actually hosting you, Bravenet or Traxor?


RE: HTML/FTP/PHP by stoshrocket on 09-03-2005 at 09:12 PM

traxor


RE: HTML/FTP/PHP by hmaster on 09-03-2005 at 09:25 PM

it does work preview it here
http://www.skarz.co.uk/methos2/

I dont know but skarz subdomains are being really slow today


RE: HTML/FTP/PHP by stoshrocket on 09-03-2005 at 09:27 PM

whoa, thanks mate


RE: HTML/FTP/PHP by hmaster on 09-03-2005 at 09:34 PM

no problem was having the same problems earlier (A)


RE: HTML/FTP/PHP by user27089 on 09-03-2005 at 09:38 PM

http://methos2.skarz.co.uk/

it works perfectly fine now, turns out, that it was a problem with Hotlink protection, it usually adds http://bah.skarz.co.uk/ to it when you create the sub domain, turns out... that it didn't!


RE: HTML/FTP/PHP by hmaster on 09-03-2005 at 09:50 PM

could you remove it from mine too?


RE: HTML/FTP/PHP by segosa on 09-04-2005 at 06:47 AM

Well for your first site and seeing as you had no clue about anything when you started, it's not bad. It has content too, which not many sites have these days.


RE: HTML/FTP/PHP by stoshrocket on 09-04-2005 at 08:51 AM

thnaks, its not done yet though, im gotta write aload more crazy stories and write in a few jokes (plus take away the links to bravenet), btw; you find the hidden page?? i finally managed to embed the media into it...


RE: HTML/FTP/PHP by rav0 on 09-04-2005 at 10:31 AM

quote:
MEthos2::You have reached the secret page!
I haven't watched the video yet, I'll download it during my off peak time.

Suggestion: Don't add a giant image, and use small height and width attributes to have the browser rescale it down. The whole image still needs to be downloaded, and some browsers do a poopie job at scaling it down. Instead, save a thumbnail version of the pic, and place that in the page.

I have made attached a thumbnail of the pic on the hidden page. It's only 11 KB, much less than the 140 KB full size image.
RE: HTML/FTP/PHP by stoshrocket on 09-04-2005 at 10:32 AM

I think this qu would go in this thread, i asked about video but cant find something to link up audio fies, ie so i can have a list of links and clicking on them would lauch the song in WMP, any suggestions? i *could* try and modify the video HTML, but i dont know..


RE: HTML/FTP/PHP by rav0 on 09-04-2005 at 10:36 AM

You can link to then normally, depending on the browser and it's settings, it will launch in WMP, or it might just display the file download box.

You can also embed the audio like you have with the video, remember to make the height smaller because there is no video area. You could have a page for each clip, and links to all the other clips on that page.


RE: HTML/FTP/PHP by stoshrocket on 09-04-2005 at 11:27 AM

waht would be the tag for linking them normally then?? would you just use the old <a ref="whatever the music path is">this is a music file link</a>????


RE: HTML/FTP/PHP by rav0 on 09-04-2005 at 11:35 AM

Yes. Remember that the attribute is href, not just ref.


RE: HTML/FTP/PHP by stoshrocket on 09-04-2005 at 11:36 AM

ah yes, thanks, ill try that and add it to my hidden page, btw, any1 got any jokes for the home page, ive put a few up but i need some more...