1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Can someone PLEASE tell me how to open a php file???

Discussion in 'PHP' started by truivia, Apr 21, 2009.

  1. #1
    I am just learn wordpress and need to put my database info into my config.php file and I can not get it to open!! It keeps trying to open in IE and then when I click open it just opens window after window after window. If I chose save it just rewrites itself :eek:

    How do I get this open - please tell me?

    PS: assume I know nothing when you tell me - as I know NOTHING about wordpress or php and many other web type things I am learning :(

    Also I am seeing 2 config.php files 1 correct the other like this confi.php.php - I should erase the second one - right? Not sure how it got in there...... I am sure it is a screw up on my end
     
    truivia, Apr 21, 2009 IP
  2. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #2
    use a TEXT editor to open your php files for editing
     
    hans, Apr 21, 2009 IP
  3. truivia

    truivia Active Member

    Messages:
    467
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #3
    HOW ?? Please tell me details??? I tried chose program and pick note pad and that did not work :(
     
    truivia, Apr 21, 2009 IP
  4. truivia

    truivia Active Member

    Messages:
    467
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #4
    I thank all of you who have PM your services/help. I really want to learn HOW to do this myself. I am not looking for someone to do it for me. I need and want to learn it.

    I just can not get that php to open in notepad or anything else and want to know the steps of how to??? :)
     
    truivia, Apr 22, 2009 IP
  5. Cheap SEO Services

    Cheap SEO Services <------DoFollow Backlinks

    Messages:
    16,664
    Likes Received:
    1,318
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Download a program called Edit Pad Pro Version 6. Once installed, use File > Open > then go through to find your PHP file, then click OK. It should load without problems. If it has problems, you have a corrupt PHP file.
     
    Cheap SEO Services, Apr 22, 2009 IP
  6. webboy

    webboy Peon

    Messages:
    109
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    if you are using a pc download the file wp-config.php to your PC desktop
    ftp Dreamweaver ect

    1) As everybody says OPEN NOTEPAD

    2) When looking for the file wp-config.php put *.php to see all the php files on your desktop

    3) Find the f you just download wp-config.php

    4) Click ok

    OR if you don't wish to do all this your can install a bog using Fantastico if your hosting provider has this
     
    webboy, Apr 22, 2009 IP
  7. kenfrank

    kenfrank Peon

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Notepad++ ftw.

    It even has code colouring - just download it, open it, and then use the File > Open to browse to your .php file, open it, change it, etc. Job done :)
     
    kenfrank, Apr 22, 2009 IP
  8. bluebenz

    bluebenz Well-Known Member

    Messages:
    876
    Likes Received:
    9
    Best Answers:
    2
    Trophy Points:
    138
    #8
    notepad, dreamweaver or bbedit (macintosh user).
     
    bluebenz, Apr 22, 2009 IP
  9. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #9
    Most everthing that has been posted is correct but if I may add just a couple of clarifications.

    The file must be on your local computer and not on the server. You can not click on the file to open it. You must use the file open feature of whatever program you choose to use. Notepad should open it but it is not the best program to use.

    In addition to those already mentioned notepad2 is free, easy to use and will do the job. You can search for it or get it here for free. The link is about 1/2 way down the page and the article might help you also.
     
    Colbyt, Apr 22, 2009 IP
  10. SiteTalkZone

    SiteTalkZone Peon

    Messages:
    243
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #10
    lol@this thread
     
    SiteTalkZone, Apr 22, 2009 IP
  11. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #11
    Of course the file can be on the server. Live editing isn't recommended, but it is completely possible. At least if you are using a decent FTP-client (WinSCP on Windows comes to mind).
     
    PoPSiCLe, Apr 22, 2009 IP
  12. shivon

    shivon Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    notepad / dreamweaver or similar program
     
    shivon, Apr 22, 2009 IP
  13. mathew4847

    mathew4847 Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Use Context Editor or Macromedia Dreamweaver
     
    mathew4847, Apr 22, 2009 IP
  14. mayank@digitalpoint

    mayank@digitalpoint Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    I use Zend Studio, try this, best in the market.
     
    mayank@digitalpoint, Apr 23, 2009 IP
  15. HuaMin

    HuaMin Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Even a normal Editor like 'Textpad' can be used for editing it
     
    HuaMin, Apr 24, 2009 IP
  16. windy

    windy Active Member

    Messages:
    1,093
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #16
    can open use any text editor.

    wordpad, notepad,word, etc
     
    windy, Apr 24, 2009 IP
  17. mfscripts

    mfscripts Banned

    Messages:
    319
    Likes Received:
    4
    Best Answers:
    8
    Trophy Points:
    90
    Digital Goods:
    3
    #17
    Google for Notepad++ - it's a good editor for manipulating php files. When installed, if double clicking on the .php file doesn't automatically load it, right-click it a select 'Edit with Notepad++'.
     
    mfscripts, Apr 26, 2009 IP
  18. Jessemn

    Jessemn Peon

    Messages:
    263
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Seconded! LOVE notepad++. Can't imagine using anything else...
     
    Jessemn, Apr 26, 2009 IP
  19. truivia

    truivia Active Member

    Messages:
    467
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #19
    Thanks Everyone - Got it :)
     
    truivia, Apr 26, 2009 IP
  20. ghprod

    ghprod Active Member

    Messages:
    1,010
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    78
    #20
    use notepad ....

    but prefer to use Notepad++

    Free programming language editor :)

    the best :D
     
    ghprod, Apr 27, 2009 IP