Forum Moderators: coopster

Message Too Old, No Replies

2 beginner PHP questions

         

bruticus75

11:29 pm on Jun 23, 2007 (gmt 0)

10+ Year Member



Hi I am trying to build a Wordpress site that will require editing PHP files and had a couple questions I hope someone can help me with here.

1. Why is there no forum for PHP coding here?

2.Do people write PHP or does it need to be output?

3.Is there a decent way to turn a normal HTML file into a PHP file? (I am trying to merge a CSS Template I downloaded with a Wordpress Template).

jatar_k

12:53 am on Jun 24, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld bruticus75,

1. there is, you just found it ;)

2. I, as well as the other regulars in this forum, write php all the time

3. it could be as easy as changing the file extension to php (though that's not actually necessary) and obviously having php available on your server

eelixduppy

1:37 am on Jun 24, 2007 (gmt 0)



There is a simple tutorial [php.net] at php.net that you may want to read to get a good understanding. :)

And welcome to WebmasterWorld!

bruticus75

3:38 pm on Jun 24, 2007 (gmt 0)

10+ Year Member



thanks guys, I thought I had PHP on my server (godaddy) since i'm running wordpress on it. But maybe godaddy sets up some alternative way of running PHP when it installs your wordpress site for you.....

I tried that tutorial and the test php file I created for the tutorial displayed all of the text when i loaded.

eelixduppy

9:33 pm on Jun 24, 2007 (gmt 0)



>> I tried that tutorial and the test php file I created for the tutorial displayed all of the text when i loaded.

Did you surround the code with PHP tags (<php and?>) and did you name the file something.php?

If wordpress is running on your server, I'd imagine your server is PHP ready...