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.




17 posts

Geek


# 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
19282 posts

Uber Geek
Inactive user


xpd

Chief Trash Bandit
10035 posts

Uber Geek

Mod Emeritus
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 / DemiseNZ

 

Server : i5-3470s @ 3.50GHz  16GB RAM  Win 10 Pro    Workstation : i5-3570K @ 3.40GHz  20GB RAM  RX580 4GB Win 10 Pro    Console : Xbox One

 

https://www.xpd.co.nz - Games, emulation, geekery, and my attempts at photography.     Now on BigPipe 100/100 and 2Talk

 

Emulation - The art of getting your $4000 PC to run an 80's system - and still fails.

 

Add me on Steam


 
 
 
 


6615 posts

Uber Geek
Inactive user




17 posts

Geek


  # 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  :-)

8034 posts

Uber Geek

Trusted

  # 1014038 27-Mar-2014 17:45
One person supports this post
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



17 posts

Geek


  # 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  :-)

118 posts

Master Geek

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.




geek turned SEO charlatan ¯\_(~_~)_/¯


 
 
 
 


2483 posts

Uber Geek

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!



17 posts

Geek


  # 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)...



17 posts

Geek


  # 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



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Microsoft New Zealand Partner Awards results
Posted 18-Oct-2019 10:18


Logitech introduces new Made for Google keyboard and mouse devices
Posted 16-Oct-2019 13:36


MATTR launches to accelerate decentralised identity
Posted 16-Oct-2019 10:28


Vodafone X-Squad powers up for customers
Posted 16-Oct-2019 08:15


D Link ANZ launches EXO Smart Mesh Wi Fi Routers with McAfee protection
Posted 15-Oct-2019 11:31


Major Japanese retailer partners with smart New Zealand technology IMAGR
Posted 14-Oct-2019 10:29


Ola pioneers one-time passcode feature to fight rideshare fraud
Posted 14-Oct-2019 10:24


Spark Sport new home of NZC matches from 2020
Posted 10-Oct-2019 09:59


Meet Nola, Noel Leeming's new digital employee
Posted 4-Oct-2019 08:07


Registrations for Sprout Accelerator open for 2020 season
Posted 4-Oct-2019 08:02


Teletrac Navman welcomes AI tech leader Jens Meggers as new President
Posted 4-Oct-2019 07:41


Vodafone makes voice of 4G (VoLTE) official
Posted 4-Oct-2019 07:36


2degrees Reaches Milestone of 100,000 Broadband Customers
Posted 1-Oct-2019 09:17


Nokia 1 Plus available in New Zealand from 2nd October
Posted 30-Sep-2019 17:46


Ola integrates Apple Pay as payment method in New Zealand
Posted 25-Sep-2019 09:51



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.

Alternatively, you can receive a daily email with Geekzone updates.