Page 1 of 1

form.html - needs Step 1 on page

Posted: Thu Apr 16, 2009 5:05 pm
by Sonny
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Hi, you helped me with my problem yesterday, thanks again.. its working great.

Request: - Im opting to use the form.html page for someone to add their link.
But on that form page, the recipical link info they need to place on their site first is not present on that form.
I tried pasting the part from the links.php page but code is missing on the form.html page to make it work.

I made the form.html page --> into form.php to make code work but I dont know what is needed here.. can you take a look.

Thanks Again.. see:
http://www.volcanopercussion.com/links/form.php

Posted: Thu Apr 16, 2009 5:28 pm
by Klemen
Try adding this before any other PHP code:

Code: Select all

define('IN_SCRIPT',1);
require('settings.php');
But why complicate in the first place? The form.html is a plain HTML file, you can edit it as much as you want in your favorite HTML editor and can just manually add the required code or anything else.

It worked !!

Posted: Thu Apr 16, 2009 6:10 pm
by Sonny
You did it again, your posted code worked.. thanks again.
EXCELLENTO!!

I prefer using .php because I can include my menu and header, footer, etc which I cannot do with .html. (in my case)

And if I change the link return in admin, it will dynamically update as you know, as oposed to a manditory manual update.

thank you.