Home > Questions and Answers > General Questions

How Do I Create A .php extension file? (6)


11-18-2011 03:12 PM #1 xcab177 (Member)
How Do I Create A .php extension file?

I am going to do some PPV and was trying to figure out how to call out the site's name but I couldn't find a solution to it. I was informed that my site needs a .php extension file and i was like what is that thing? I tried a search on this forum but couldnt find any related post. Could someone explain to me what does that file do and maybe the code pls? Thanks in advance


11-18-2011 03:20 PM #2 bbrock32 (Administrator)

It's pretty simple.

If your landing page file is index.html just make it index.php and that's it.


11-18-2011 03:25 PM #3 xcab177 (Member)

That simple? Gee.. I googled ".php extension" and one page showed me that i need to add some codes and all. So all i need is an empty index.php file or the same contents inside the html one?


11-18-2011 03:28 PM #4 bbrock32 (Administrator)

Yep, exactly!


11-18-2011 03:43 PM #5 xcab177 (Member)

Alright, i think i got it. Yay Maldini!


11-18-2011 04:38 PM #6 dubbsy (Member)

Not sure how familiar you are with php, but guessing pretty new... all PHP code has to be inbetween php tags: <?php CODE GOES HERE ?>

Look at bbrocks thread on examples of how to call out the site on this thread:

http://stmforum.com/forum/showthread...-Tricks-PART-1


Home > Questions and Answers > General Questions