OK - i know some of my ideas have been real bad but take a look at this pls - and i dont mind it gettin absoblutely flamed for this but i did put lot of work into PHP of it:
"The 'Mapping Tips' application created by me (m4rine) allows all the users from all the different mapping sites to submit their tips into one database, then show the tips. The mapping sites may use their own templates with their pages - to retrive the tips all they need to do is add a small line of code to one page. They can do this with any of the application pages - so they can enable people to view the tips, submit a tip (instantly added to the database), host the tips on their own sites, submit feedback and read about the application all through one line of code - and no pages are a must - you may just want to show the tips and nothing else! Everything is done via the LevelEdit server - you don't need to download any files at all.
Advantages
Imagine you have 30 mapping sites. 200 visitors a week for each. If you wrote your own tips page with no form to allow others to submit tips, then it isn't going to be updated often, and people may not want to e-mail their tips. If you do have a form on your site, then which is going to get greater content - 30 seperate tips pages or one big database which all 30 sites submit their forms to and display tips from? This application solves both problems - it allows users to instantly submit tips and it combines all the tips into one database - so instead of 200 submitted tips for each site, you get 6000 tips from all the mapping sites - which is a lot more practical.
Anyone may submit thier tips at any time - if someone submits a tip in your site it goes straight through to the main database instantly, appearing on any tips page from any site using the information from our server. This means even if you are not interested in hosting the tips, you can still submit your tips.
Interested? Go to the LevelEdit application use here."
many thanks,
m4rine
Mapping Tips Application
Moderator: Moderators
Mapping Tips Application
Last edited by m4rine on Fri Mar 12, 2004 9:29 pm, edited 1 time in total.
"We must become the change we want to see in the world" (Mahatma Gandhi)
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
html or php
Step one says this line from step two can be added to an HTML page.
<?php include('http://www.leveledit.com/tips/mapping_tips/mapping_tips.php'); ?>
But step 3 says to change it to a .php extention. So, which is it? It did nothing when I added it to an html page. I tried changing the extention of the page to .php and my Windows ME says I don't have "hphp.exe" or something like that.
I'm lost!
<?php include('http://www.leveledit.com/tips/mapping_tips/mapping_tips.php'); ?>
But step 3 says to change it to a .php extention. So, which is it? It did nothing when I added it to an html page. I tried changing the extention of the page to .php and my Windows ME says I don't have "hphp.exe" or something like that.
I'm lost!
Last edited by tltrude on Thu Mar 11, 2004 6:50 am, edited 1 time in total.
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
Re: html or php
For your webserver to execute PHP code, it must have a PHP interpreter installed. If you want to test locally I suggest the open source Apache server with the a PHP module installed.tltrude wrote:It did nothing when I added it to an html page. I tried changing the extention of the page to .php and my Windows ME says I don't have "hphp.exe" or something like that.
I'm lost!
Most host providers have PHP support.
so........
So, you are saying I can't test it on my computer, and must upload it to the server to see it? I don't really want to turn my html page into a php page!
http://smallsumo.leveledit.com/tltrude/index.html
It is at the bottom of the above page and it still doesn't do anything.
http://smallsumo.leveledit.com/tltrude/index.html
It is at the bottom of the above page and it still doesn't do anything.
tltrude - to put it on the site you have to insert to your html then change the .html to .php - this does not damage your html content in any way - php is embedded in html and has html output. .map pages are php.
also u can have ur own tltrude.leveledit.com thing if u want but smallsumos site is great i think - hes got loads of maps, bot maps, gr8 stuff.
EDIT: I have changed something in the code - now when u add a tip before if you put:
cheers,
m4rine
also u can have ur own tltrude.leveledit.com thing if u want but smallsumos site is great i think - hes got loads of maps, bot maps, gr8 stuff.
EDIT: I have changed something in the code - now when u add a tip before if you put:
it would appear on the mapping tips page as:hi, im "bob", im 'cool'
- it inserted a slash b4 every quote. this was down to php syntax - when assigning a variable (i could explain but id bor all non-programmers). but anyway, originaly the 'enter' didnt work - if you made a new paragraph it would appear on one line, but i fixed this befor i made it public. two simple functions did the job. please not that ziptie2k2 post on it was before the modification, and i will edit the tip without the slashes.hi, im \"bob\", im \'cool\'
cheers,
m4rine
"We must become the change we want to see in the world" (Mahatma Gandhi)

