Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


tanihera

22 posts

Geek
+1 received by user: 1


#142853 26-Mar-2014 17:49
Send private message

My first post here. I'm an ancient programmer, but a bit challenged when it comes to websites.

I have a website template which uses php, mysql, and javascript which I've ftp'd to my homepage, but of course, doesn't work. Its basic job is to serve up a google map showing a route of gps coordinates. It includes some elementary route management options too.

Although this a GPS project, the issue I need help with is the homepages website. I am successfully http-posting my GPS data to test website websmithing which I believe is the template - feel free to check it out.  Some of my routes are there.

I found an Ihug homepage using javascript, but mySql and php don't seem to be available - does anyone know? Alternatively is sqLite a possibility?

I guess at a minimum I can do without any database and store coordinates in a table, and maybe the php functionality can be replaced with http - does anyone know?

All ideas gratefully received, also any suggestions on how/where I'd learn to recreate this php functionality in http most welcome.

Create new topic
johnr
19282 posts

Uber Geek
+1 received by user: 2526
Inactive user




xpd

xpd
Geek of Coastguard
14115 posts

Uber Geek
+1 received by user: 4574

Retired Mod
ID Verified
Trusted
Lifetime subscriber

  #1013392 26-Mar-2014 20:00
Send private message

And to avoid reading... ;)  

"PHP, MySQL, Databases and FrontPage extensions are not supported"




XPD / Gavin

 

LinkTree

 

 

 


Coil
6614 posts

Uber Geek
+1 received by user: 2153
Inactive user




tanihera

22 posts

Geek
+1 received by user: 1


  #1013401 26-Mar-2014 20:45
Send private message

Thanks guys - that's sorted, then.....which is certainly how it was looking.

Can anyone suggest possible workarounds?  Maps showing a gps position coded in clientside javascript instead of serverside php are around....but greek to me.
And anyone tried installing sqLite on an http-only website?

And as always, every suggestion much appreciated  :-)

Ragnor
8279 posts

Uber Geek
+1 received by user: 585

Trusted

  #1014038 27-Mar-2014 17:45
Send private message

Forget the free vodafone hosting, plenty of cheap shared hosting plans available from good local companies, eg:

http://www.openhost.co.nz/web-hosting/
http://www.sitehost.co.nz/hosting/shared-hosting

tanihera

22 posts

Geek
+1 received by user: 1


  #1016245 31-Mar-2014 21:51
Send private message

Many thanks guys.....

Is there no-one else who finds the impossible an irresistible challenge?  I've made a career of doing what others said couldn't be done.

I appreciate your reply Ragnor, you're not wrong.  As an increasingly ancient geek (think Fortran and Focal and Assembly), time is of the essence. 

I'll take your advice altho I'm saddened to pass up such an exquisite opportunity to waste even more time.

Thanks again to all who responded.  And the silent majority who probably voted with Ragnor  :-)

 
 
 
 

Shop now for Lego sets and other gifts (affiliate link).
chewster
127 posts

Master Geek
+1 received by user: 77

Trusted

  #1016288 31-Mar-2014 23:29
Send private message

If you want dynamic content and it must be on a Vodafone hosted personal acct, then I'd say your only practical option really is JavaScript. Server side execution access to personal Vodafone web homepage is basically a dead-end, you will find that most ISP hosted personal pages have this. I'm not sure, but the Vodafone personal homepage server(s?) likely don't even have PHP/[whatever]SQL packages installed, let alone enabled.

Having a list of location co-ordinates you could possibly try putting into a separate XML file as JavaScript has some decent DOM functions for parsing. You'd need to get your fingers pretty dirty though. I'd imagine you're going to also be limited by the fact that you won't be able to write or edit any files on the server, except via FTP, generally only be able to download and run them client side.

With HTTP POST - if you intend on using that - I think you would essentially need server-side execution ability paired some kind of scripting package setup to take the POST data. I'd tentatively say the end result could be possible, but it depends on what you're actually trying to achieve here.




If my post helped you, consider my referrals (: Sharesies $5 referral code, Skinny 4GB buddy code, Contact Energy $100 promo code


manhinli
2483 posts

Uber Geek
+1 received by user: 4

Trusted

  #1016303 1-Apr-2014 02:05
Send private message

If you're showing a client something in person, why not set up a local development server on your own computer?

Something like WAMP will probably get you the [L]AMP stack for your project, and you simply run the server locally at the click of a button.


Otherwise you will definitely need to find a host that runs on a platform with the tools you need - there isn't much you can do about that.


About running the server-side code as JS - unless you can replicate the database, say, with IndexedDB, then I wouldn't bother. (There is Web SQL, but that's deprecated.)




Find me on Twitter!

I posted 1, 2 x 10^3 times!

tanihera

22 posts

Geek
+1 received by user: 1


  #1017535 2-Apr-2014 21:11
Send private message

Thanks Kieran and Manhinli too.

I get that someone might be able to make something like this work on an Ihug homepage some day, perhaps, maybe.

I want it working this year, so I think I'll find a site that has the tools, as recommended here.

Trying to achieve? The owner of the Websmithing test website posted his complete if basic "GPSTracker" project on CodeProject and invited people to have a play. As well as client code for WP8, he gives server code for both .NET and php. I couldn't imagine Ihug supporting .NET.

Me? I'm.....well, playing. And an Ihug homepage would've been such a sweet server solution....(sigh)...

tanihera

22 posts

Geek
+1 received by user: 1


  #1018359 4-Apr-2014 11:18
Send private message

Omissions:  I should have credited Nick Fox by name for the GPSTracker project, altho apparently some of the code appears elsewhere on the 'net, not surprisingly. And not just WP8 for the mobile end - he also gives iPhone and Android examples too.

Whatever, anything that works end to end sure works fer me.

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.