Log In · Register

 
 
Closed TopicStart new topic
php help
Maccabee
post Mar 20 2008, 01:27 PM
Post #1


Senior Member
*******

Group: Official Designer
Posts: 5,880
Joined: Nov 2007
Member No: 593,382



If I make a file that says yada yada yada yada yada yada yada yada and save it as header.php and then make a file that says <?php include("header.php"); ?> and save it as site.html when I open site.php in my browser shouldnt it say yada yada yada yada yada yada yada yada?

Ok well that is a question I asked on yahoo answers and it worked but I have one more question?

Once I did the the file mysite.php was only a text document?

Is it supposed to be like that or what?

Is their soemthing I need to download to be able to view the file properly?

Thanks
 
Insurmountable
post Mar 20 2008, 01:33 PM
Post #2


Cornflakes :D
*******

Group: Staff Alumni
Posts: 4,541
Joined: Dec 2005
Member No: 322,923



you may be able to find a tutorial here to help you:
http://codegrrl.com/

if not, i'll try and explain it to you.
 
Maccabee
post Mar 20 2008, 01:43 PM
Post #3


Senior Member
*******

Group: Official Designer
Posts: 5,880
Joined: Nov 2007
Member No: 593,382



Please explain!!!!!!!!!!!!!!!!!
 
Maccabee
post Mar 20 2008, 03:21 PM
Post #4


Senior Member
*******

Group: Official Designer
Posts: 5,880
Joined: Nov 2007
Member No: 593,382



I'm trying to download php but I'm confused!? _unsure.gif

I usually end up here:

http://us2.php.net/get/php-5.2.5-win32-ins...i/from/a/mirror
" target="_blank">
http://us2.php.net/get/php-5.2.5-win32-ins...i/from/a/mirror


but there are four choices and I dont know which one to pick?

I love in Texas.
 
Insurmountable
post Mar 20 2008, 08:34 PM
Post #5


Cornflakes :D
*******

Group: Staff Alumni
Posts: 4,541
Joined: Dec 2005
Member No: 322,923



Uh neither of those links work for me o_O
 
Insurmountable
post Mar 20 2008, 08:35 PM
Post #6


Cornflakes :D
*******

Group: Staff Alumni
Posts: 4,541
Joined: Dec 2005
Member No: 322,923



Topics merged, please don't make a ton of topics that go along with the same content. Just place all questions within one topic. Thank you
 
michellerrific
post Mar 20 2008, 09:15 PM
Post #7


vivacity
*******

Group: Official Member
Posts: 3,183
Joined: Jan 2007
Member No: 495,247



Well from the looks of what you did, you weren't staying consistent with the file extension format. Save as php, and upload as php. I don't see why that shouldn't work, just stay consistent. If you're using PHP coding, save it as a PHP file.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: