form.html - needs Step 1 on page

Problems installing LinkMan?
Post Reply
Sonny
Posts: 5
Joined: Wed Apr 15, 2009 4:31 am

form.html - needs Step 1 on page

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Sonny
Posts: 5
Joined: Wed Apr 15, 2009 4:31 am

It worked !!

Post 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.
Post Reply