PHP or javascript...and is it possible on Virgin Media's free 55mb web-space/hosting

Associate
Joined
12 Mar 2007
Posts
292
Location
Leeds
Morning all,

Sorry if this post is in the wrong section (i dont think it will be...)

Anyway, I am using my 'virginmedia webspace' and getting myself 'familiar', once again, with the mighty Dreamweaver and the CSS web standards. That is not a problem.. What is a problem, is that I wish to create a 'current football league table', one that i can update by simply (dynamically?) updating the scores of all teams in that particular league on a particular day.

I dont think this would require a database, as such, but maybe a clever PHP script could do it.

Which leads me to my second question (i am greedy ;))

Doe's VirginMedia's customer webspace/hosting support php 4 or 5, I tried a simple script but had no joy from it, but my PHP is rusty, to say the least.

Could a Javascript script handle the above 'football league' question,

Many thanks..
 
I am planning to do a similar thing (a database-light with web access), and what I was looking at using was AJAX, i.e. javascript accessing an XML file.

Have a look at the example here:
http://www.w3schools.com/ajax/ajax_xmlfile.asp

They use a ASP/PHP script to parse the XML file but I think you can probably get rid of the ASP/PHP script, and just get the javascript to parse the XML file directly.
 
why can't you check if your webspace supports php? i just googled it and i'm not even a virgin customer? :p

anyway, the answer is no. so you you have no way of updating files on the server. you'll need to find a webhost with php, or if messing about, you could just install a webserver/php on your own pc.
 
Back
Top Bottom