8,966 Posted Topics

Member Avatar for nel gomez
Member Avatar for tom_benton

https://developers.google.com/kml/documentation/ If your friend is using GPS tracking, then getting a KML file should be easy. I've also seen GPS products on phones that automatically update a map on a website. Don't know the name though.

Member Avatar for tdjprj
0
108
Member Avatar for praveen1993
Member Avatar for Pravinraj
Member Avatar for <M/>
Member Avatar for nblackburn

What line in the above code are you talking about? 116? What is the function parameter definition for StringChangeEx?

Member Avatar for nblackburn
0
326
Member Avatar for bradly.spicer
Member Avatar for glight98
Member Avatar for nikhithar

Can you explain a little more, perhaps showing some actual data you want to run this against?

Member Avatar for nikhithar
0
143
Member Avatar for Facte

Perhaps the PHP version is different on your new host. You say you've been using this for a while. Functions get deprecated over time, so perhaps this is the issue here.

Member Avatar for pritaeas
0
188
Member Avatar for vividiah
Member Avatar for riahc3

> If you post code and then with your mouse, try to click on where you want to edit words or something, the cursor jumps It jumps to the line below on (inline) code. Too bad to say, but I got used to it. It really needs attention. I have …

Member Avatar for riahc3
0
1K
Member Avatar for Malymieczek

You'll need to connect to the server's IP address or hostname (not 127.0.0.1) and make sure the firewall isn't blocking.

Member Avatar for TomH.PG
0
316
Member Avatar for wastedkill
Member Avatar for EvolutionFallen
0
190
Member Avatar for Pravinraj
Member Avatar for PDB1982

> I've been told that I should be using MySQL to practice the coding. For what reason? The basics for both servers are the same, they just have some "minor" differences in their syntax.

Member Avatar for Reverend Jim
0
209
Member Avatar for dolfinchris

Keep this in mind when using the w3schools site: http://w3fools.com/

Member Avatar for crescendo
1
171
Member Avatar for lloydsbackyard

You'll need to use some Javascript, unless [HTML5](http://www.htmlgoodies.com/html5/tutorials/whats-new-in-html5-forms-handling-numeric-inputs-using-the-number-and-range-input-types.html) is supported.

Member Avatar for JorgeM
0
214
Member Avatar for ChemE_Programma
Member Avatar for son jo
Member Avatar for son jo
Member Avatar for johnappiah
Member Avatar for divyakrishnan

You can try to `ftp_chdir` first to the server folder, and the try to get the file without the path.

Member Avatar for pritaeas
0
222
Member Avatar for layman114

This may help: http://www.uipress.com/add-json-handler-support-in-iis-7/#.Ufe9tUDRZok

Member Avatar for layman114
0
246
Member Avatar for Borzoi

You'll need to: echo content($mypage); because the new content is returned from the function. It doesn't output anything itself. If the includes are outputting, then there's no point in using the `$content` variable and returning it's value: function content($pagecontent) { include 'header.php'; echo $pagecontent; include 'footer.php'; }

Member Avatar for Borzoi
0
226
Member Avatar for chrispitt

Welcome to DaniWeb. I suggest you read [our rules](http://www.daniweb.com/community/rules) emvts83.

Member Avatar for pritaeas
0
165
Member Avatar for cgull

> Do I have to use Zend to connect to google? I searched google but can’t find a solution. http://code.google.com/p/google-api-php-client/

Member Avatar for cgull
0
2K
Member Avatar for sammry
Member Avatar for pritaeas
0
144
Member Avatar for Dani

According to your first link, that token is cryptographically signed, and then base64 encoded. Found some code [here](http://pear.php.net/pepr/pepr-proposal-show.php?id=688) which may help.

Member Avatar for Dani
0
1K
Member Avatar for sidim
Member Avatar for sidim
0
328
Member Avatar for PixelatedKarma

If you're connected to VPN you should be using the company's gateway, and thus have it's outgoing IP. An IP block is something you can do with an .htaccess, but it can be easily spoofed.

Member Avatar for JorgeM
0
638
Member Avatar for davy_yg
Member Avatar for crescendo
0
107
Member Avatar for lloydsbackyard

Password of what? Of a database user? You can use phpMyAdmin. Don't forget to flush priviliges or restart wamp.

Member Avatar for lloydsbackyard
0
190
Member Avatar for pedal123

> Any thoughts as to why it would display this for any user Yes. Because it's flawed. `$result` is a string to which you assign `$myusername`, that will always evaluate to `true`. I think you want to compare them, for which you need to use `==`. The next problem you …

Member Avatar for pedal123
0
211
Member Avatar for riahc3

Looks like a horizontal scroller. Just a bunch of div's moving left and right.

Member Avatar for riahc3
0
136
Member Avatar for ckchaudhary

Doesn't your webhost provide any documentation for this? Have you contacted them to ask whether or not it is supported at all?

Member Avatar for ckchaudhary
0
428
Member Avatar for bdd24
Member Avatar for vijaykumar.mr
Member Avatar for Rahul47
Member Avatar for Rahul47
0
130
Member Avatar for jemartalaban_1

It would be much simpler if you use an additional table, instead of this, so you can have one row for each item.

Member Avatar for iamthwee
0
114
Member Avatar for Sydique

Start by writing down what you need. If you have that then it's easier to plan all the separate parts.

Member Avatar for diafol
0
103
Member Avatar for shapeape

A class definition requires curly brackets, so add one on line 56, and close it after line 69. Why are you putting the mysqli connect in a class, when you can use the mysqli as an object already? Perhaps [this](http://www.daniweb.com/web-development/php/code/434480/using-phpmysqli-with-error-checking) may help.

Member Avatar for pritaeas
0
180
Member Avatar for cereal

I found [this thread](http://grokbase.com/t/php/php-general/117f62hcz8/is-null-and-is-string-reversed-when-using-in-switch-case-statements) on the topic, which makes sense. `switch` tries to validate `$value` and skips if it thinks it's `false`. Use `switch (true)` and both outputs are the same.

Member Avatar for cereal
2
435
Member Avatar for nightmareman
Member Avatar for cmps
0
188
Member Avatar for saadi06

From what I've read it should be possible to use OpenPGP, which can be read in the browser with a plugin. Haven't used it myself though.

Member Avatar for pritaeas
0
564
Member Avatar for pritaeas

I have the following code: const AGENT = 'User Agent'; SERVER = 'www.daniweb.com'; RESOURCE = 'api/access_token'; ID = ''; // my client id SECRET = ''; // my client secret CODE = ''; // my returned code, pasted from the browser REDIRECT_URI = ''; // my redirect uri ACCEPT: packed …

Member Avatar for pritaeas
0
2K
Member Avatar for pritaeas

For all people having issues building the right regex: I just came across this nice little helper, which allows you to describe what you want using chained methods. https://github.com/jehna/VerbalExpressions

0
122
Member Avatar for GAcon
Member Avatar for Gloak

Yes, the same tools also work on a remote website. Also check your server's error logs (in case of PHP errors).

Member Avatar for Gloak
0
178
Member Avatar for nadiah.izzati

The End.