TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,972
  • Latest: Lineo
Stats
  • Total Posts: 196,144
  • Total Topics: 21,346
  • Online today: 633
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 656
  • Total: 656

Refer a friend

Started by Defile, March 31, 2006, 07:27:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lesmond

Mine dosent open in a new window, I have it in a article and Iframe, works ok for me

try this in a article and iframe..
<iframe src="http://yoursite.com/Recommend/csRecommend.cgi?command=showrecommend&page=http%3A//www.lesmonds.co.uk/smf/index.php"height="500" width="100%" frameborder="0" Scrolling="no"></iframe>

and this in a block to link to the article

<center><form method="POST" action="http://www.yoursite.com/smf/index.php?page=your page #">
<p><button name="B3">Recommend Us</button></p>
</form>
</center>

Lesmond

your right it doesn't work in IE :( I never tried it before, boy how do I fix that??

Lesmond

Ok I think I have it fixed! try it now

cervante

That works...ok, how did you get it working?

Lesmond

I hade to put this in the block, I used a javascript/html one

<center><form method="POST" action="http://www.lesmonds.co.uk/smf/index.php?page=14">
<p>
<button name="Recommend" value="http://www.lesmonds.co.uk/smf/index.php?page=14" type="submit">Recommend Us</button></p>
</form>
</center>

dont know why I had to put the url in twice though but it worked :)

rbh

    lesmond, do you have to upload the script into cgi-bin or into your root directory? i uploaded to my htdocs and set everything up just fine with no problems. i tested it on my site and never recieved an email.

Lesmond

I have mine in the root, have you set the path to perl? mine is #!/usr/bin/perl

Xarcell


alan s

Quote from: Lesmond on April 15, 2006, 04:35:28 PM
Mine dosent open in a new window, I have it in a article and Iframe, works ok for me

try this in a article and iframe..
<iframe src="http://yoursite.com/Recommend/csRecommend.cgi?command=showrecommend&page=http%3A//www.lesmonds.co.uk/smf/index.php"height="500" width="100%" frameborder="0" Scrolling="no"></iframe>

and this in a block to link to the article

<center><form method="POST" action="http://www.yoursite.com/smf/index.php?page=your page #">
<p><button name="B3">Recommend Us</button></p>
</form>
</center>


i cant get the thing in the iframe to work? or am i doing something wrong im just putting the code into a php article and changing the links

G6Cad

Quote from: Lesmond on April 15, 2006, 05:28:22 PM
I hade to put this in the block, I used a javascript/html one

<center><form method="POST" action="http://www.lesmonds.co.uk/smf/index.php?page=14">
<p>
<button name="Recommend" value="http://www.lesmonds.co.uk/smf/index.php?page=14" type="submit">Recommend Us</button></p>
</form>
</center>

dont know why I had to put the url in twice though but it worked :)

4 posts over yours ;)

This website is proudly hosted on Crocweb Cloud Website Hosting.