Forums

Main Index.PHP File? (13 posts)

  1. Sniper Dude
    Member
    Posted 2 years ago #

    Ive searched and searched but i cant find it
    i find loads of them which is confusing and when you open them
    it says // silence is golden WTF???

  2. alism
    Member
    Posted 2 years ago #

    Not sure what your question is.

    Yes, there are a few index.php files dotted around various WordPress directories with that text in, which just prevents people from looking at a directory listing, if they try and view it directly and snoop around.

  3. Sniper Dude
    Member
    Posted 2 years ago #

    yeah im asking where the main one is!
    and how did u not understand my question???

  4. Sniper Dude
    Member
    Posted 2 years ago #

    Sorry i ment to ask how to put a php script on a new page!

  5. alism
    Member
    Posted 2 years ago #

    In your root WordPress folder usually??

    Edit: ^ didn't see that last reply.

  6. Sniper Dude
    Member
    Posted 2 years ago #

    but wheres that???

  7. alism
    Member
    Posted 2 years ago #

    I think you actually want the index.php of your theme then, so you can add some php to it?

    Admin > Appearance > Editor
    Then edit the index.php file.

    Or use a plugin:
    http://wordpress.org/extend/plugins/exec-php/

  8. Sniper Dude
    Member
    Posted 2 years ago #

    all that plugin does is runs php
    i want a form on my website like a contact form you put your details in

  9. alism
    Member
    Posted 2 years ago #

    Err, yes, that's right. You didn't actually say what you wanted to do y'see. :-)

    Try contact form 7:
    http://wordpress.org/extend/plugins/contact-form-7/

  10. Sniper Dude
    Member
    Posted 2 years ago #

    yeah that adds the contact form but i cant get it to submit it to the php file

  11. Sniper Dude
    Member
    Posted 2 years ago #

    Nevermind ive decided to leave wordpress

  12. alism
    Member
    Posted 2 years ago #

    No worries, best of luck.

  13. Sniper Dude
    Member
    Posted 2 years ago #

    ive decided to join again :D
    Anyway please lock this i fixed it

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.