Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 25, 2012, 12:36:49 PM

Pages: [1]   Go Down
  Print  
Author Topic: PHP  (Read 440 times)
none
Spacescooter Operator
*****
Offline Offline

Posts: 36


WWW
PHP
« on: March 03, 2002, 12:28:00 AM »

how to insert php to html?????
i want insert this page http://www.nba2001live.lunarpages.com/mail.php in to html page
Logged

stephan
Guest
PHP
« Reply #1 on: March 03, 2002, 04:29:00 PM »

That's not really possible.

You can insert html into php, but not the other way round.

However, you could use an IFRAME. These are often used for advertising.

Here is an example....

<IFRAME WIDTH=468 HEIGHT=60 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR="#000000"
 SRC="http://www.something.com/whatever.htm">

</iframe>

It only works in Internet Explorer, I think.

Of course, you could just use normal frames.

I am not sure what to recommend to you because I haven't seen your website. Please give me the url of the html page you want your php page to appear in and I might be able to help you more.
Logged
none
Spacescooter Operator
*****
Offline Offline

Posts: 36


WWW
PHP
« Reply #2 on: March 03, 2002, 05:04:00 AM »

this is my page http://nba2001live.lunarpages.com/
i want replace curent form in contact section. Please help me to solve this problem.
Logged

stephan
Guest
PHP
« Reply #3 on: March 03, 2002, 07:34:00 AM »

Replace it with what?

I suggest you read a book on html and php programming, or find an online tutorial.

I went to http://nba2001live.lunarpages.com/html/contact.cfm , it looks exactly like http://www.nba2001live.lunarpages.com/mail.php

What is there to replace?

I have no idea how to help you, not because I'm not familiar with the internet, just because your question is so open-ended and vague I have no idea how to answer it.

Sorry.

Please could you try phrasing your question differently.
Logged
none
Spacescooter Operator
*****
Offline Offline

Posts: 36


WWW
PHP
« Reply #4 on: March 03, 2002, 08:01:00 AM »

i am sorry Stephan i used your method and it worked. when i uploaded my files to server i forgot to post reply to forum. at first  time when i looked in to the script i was a lightly confused, but gotcha it quickly. Thanks for your help, you realy helped my. No-one could answer to my problem but you did.
I am sorry for my eanglish mistakes but i hope you will understand what i wanted to say to you (eanglish is not my native language)

[ March 03, 2002: Message edited by: none ]

Logged

stephan
Guest
PHP
« Reply #5 on: March 03, 2002, 03:19:00 PM »

Ah, I'm pleased to hear that it works now!

I came back to the board just now and wasn't sure if you'd still be stuck or not.

Well done anyway (especially if English is not your native language, it must be twice as hard)  
Logged
womeninconsulting
Space Explorer
***
Offline Offline

Posts: 9


WWW
PHP
« Reply #6 on: April 04, 2003, 02:29:00 AM »

Hey, it IS POSSIBLE to put php in a .html file. However, you need to tell the Apache Web server to interpret it properly. HOWEVER, I don't know how to do this with lunarpages' CPanel. Perhaps someone from lunarpages could comment?
Logged
Ed
Berserker Poster
*****
Offline Offline

Posts: 5208



WWW
PHP
« Reply #7 on: April 04, 2003, 02:34:00 AM »

Take a look at the response to your other post:
http://www.lunarforums.com/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=1;t=001148
Logged

Zorfox
Spaceship Navigator
*****
Offline Offline

Posts: 77


WWW
PHP
« Reply #8 on: April 04, 2003, 03:07:00 PM »

www.webmonkey.com is a great place to learn about php
Logged

cheese
Pages: [1]   Go Up
  Print  
 
Jump to: