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


#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
Inactive user




xpd

xpd
Geek @ Coastguard NZ
13771 posts

Uber Geek

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"




       Gavin / xpd / FastRaccoon / Geek of Coastguard New Zealand

 

                      LinkTree

 

 

 


Coil
6614 posts

Uber Geek
Inactive user




tanihera

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

Ragnor
8223 posts

Uber Geek

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


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

chewster
127 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.




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


 
 
 

Trade NZ and US shares and funds with Sharesies (affiliate link).
manhinli
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!

tanihera

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

tanihera

22 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





News and reviews »

Gen Threat Report Reveals Rise in Crypto, Sextortion and Tech Support Scams
Posted 7-Aug-2025 13:09


Logitech G and McLaren Racing Sign New, Expanded Multi-Year Partnership
Posted 7-Aug-2025 13:00


A Third of New Zealanders Fall for Online Scams Says Trend Micro
Posted 7-Aug-2025 12:43


OPPO Releases Its Most Stylish and Compact Smartwatch Yet, the Watch X2 Mini.
Posted 7-Aug-2025 12:37


Epson Launches New High-End EH-LS9000B Home Theatre Laser Projector
Posted 7-Aug-2025 12:34


Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01









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.