Results 1 to 5 of 5

Thread: How to preview PHP in c panel..

  1. #1
    QSoft is offline Newbie
    Join Date
    Feb 2009
    Posts
    2

    Default How to preview PHP in c panel..

    Hi There,

    I am new to this..

    1) I went to cpanel and click on public view folder then
    2) selected a php file and
    3) clicked view

    then its showing

    ?php //0035e
    if(!extension_ bla bla bla ...

    +oV51C1xEdyYDNExHPvoY4LUrn0Eg4OgeyMhzC8f7eCUgJLoRY Nev3emL1mrA0gokQnKQ5h0UjM
    uK75ygpgQYW/9/qMX2G4z7l8gkg+QS21zdtjv2YTKPFIijZjg5Ji3QDA3icKYnBa f6hjlWIyl9Ej
    nmpBQbKLPgoyT68AXnWOmNlAqgs9Yf5N3S1Y+apbNCAHUvtc0t U64lWnzymzvirpyF5NIXcDNmXW
    7ZuS/ZeajKRDmIm9uWSv0mmKjYg2afQLj6Cxc+ALdzv6P+U0MDrNdtD RZ38Hs8xiJ/zP9PXM/W41
    wFp1NCpUZo8J/Ja0gllTfnrzjlVO+Z0npnU3OylcgfwyV/n8XNuqRLXYzHWJFPPeVLaSpdsDm7c7
    CxKute8lwBrOaWDbJNdEfLKXiBLYVl35r4ZanftbJmLlIwQoG9 UqKILOM8RdWgoEcjtLj8RToN+p
    XPcdvop32kK7ASlBjiF2OaWKcXviVLc/5JieqJdRWoZ1fM0/6cr58MJyc3rRtq09Si0KHSMxpTJu
    xn/rkqAqkoLH7VbPVz+wvpaihF+iIizdOKk+BtY5rXDOU8Z6YGkwW t5budk8EugjEb74RF2RyHU+
    TVko6dADVZUciSWxMe2OyaPPlX1US8xDx0dgTrjQ9M9YPMzcdf AWNs8Ei61S8UtoCJWPgIh4B7u4
    STQtW3Hw2w/35DTPShAFHKCHqDHINuM5fpyM4iKPZuhMSwA86VXCgOnnYmurj Mp/xhVTn8AWctwl
    WnjyB+FNNQTRLd4LEHC/lvc7rNsUFMmwDKWiRa9r4l71aeBpdtqrrCCX7yWj31fJnDP7JA oGWIEd
    mIboC0QFLraSxA6yqiFKqvmErVY99qk0s8nrHbFL5ktVCN6vyP qZmHS71Sobeoa9Emjo1TjXd0T+
    VcWjzfo3WdxSFp/Dl6ZajNX9zwQyRbpafY5QM1zLrcg62SJiBYDdtuV8X0M1oXvz5 M1k0LMpCGT2
    txygN87KfqsM4gVe1FEal112JExnEiuEeNfHrgFFYcIuEf1uI+ Ik4Jrx+ffNiQFF7vxFVDfjG9WO
    OmyocGOQ8FLaXtXglDx+JzQKwbmS1jshdCh3+tJ+B4W2R9Cu53 31iswY14ZW0mjl8O0hGSVRn66i
    NmsZ1ALo60l1XfXTGQteB


    This garbage ..

    my quistion is why its whowing something like that?

    Am I not permitted to view the file??

    Second think is when I am clicking the site I can see and brows

    but when I am in the cpanel how can I preview?

    Also, when I clicking edit it also showing garbage..

    What to do ..What I am missing here?

    Thanks

  2. #2
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    5,387

    Default

    Are you using the file manager? If so, which one?

    Which editor are you using in cPanel?
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | GlowHost's Facebook | Follow us on Twitter | GlowHost on Google+

  3. #3
    QSoft is offline Newbie
    Join Date
    Feb 2009
    Posts
    2

    Default

    In side file manager on top written "edit" ..I used that one ..

    1) selected the file I wanted to edit
    2) then clicked edit button..

    Thanks
    QSoft
    Attached Thumbnails Attached Thumbnails example.jpg  

  4. #4
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    5,387

    Default

    Send me a PM with your cPanel username and the server you are on, along with the path to the file and filename that you are trying to edit so I can have a look at what you are talking about.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | GlowHost's Facebook | Follow us on Twitter | GlowHost on Google+

  5. #5
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    5,387

    Default

    Unfortunately we do not host this account so I cannot really offer support for the problem. Have you tried to ask your current web host to look into it?
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | GlowHost's Facebook | Follow us on Twitter | GlowHost on Google+

Similar Threads

  1. Site Preview: Image Links not working
    By rlhanson in forum General Support
    Replies: 2
    Last Post: 08-03-2007, 10:01 PM
  2. Preview and Working on Site before resolving...?
    By monkette in forum WHM, Resellers, VPS and Dedicated Hosting Topics
    Replies: 2
    Last Post: 03-21-2006, 10:16 PM
  3. Referencing a PHP Class inside a PHP Include
    By rickpugh in forum Programming Talk
    Replies: 1
    Last Post: 01-22-2006, 09:30 AM
  4. How do I Install the Control Panel?
    By Matt in forum Knowledge Base
    Replies: 0
    Last Post: 01-18-2005, 04:28 PM
  5. I cannot access my control panel
    By Matt in forum Knowledge Base
    Replies: 0
    Last Post: 01-18-2005, 04:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16