Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: PHP Files in Local view

  1. #1
    Join Date
    Nov 2006
    Posts
    116
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default PHP Files in Local view

    Hi There,

    I have this website which i copy into a CD from time to time and distribute as my products catalogue! the problem is that i have a PHP form in my site and when it's copied onto the CD it doesn't show when viewed from the CD. How can i solve this problem?


    Thanks in advance guys!

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    PHP is a serverside language. That means that you can't view it directly in a browser. When you have PHP installed on your server it will automatically parse it into the output html from the php script, before sending to the browser.
    In order for it to work on the CD you'd need to have the CD act as some sort of server, in theory, and I don't think that's even possible, much less easy.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. The Following User Says Thank You to djr33 For This Useful Post:

    newbinew (06-19-2008)

  4. #3
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  5. #4
    Join Date
    Nov 2006
    Posts
    116
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the info guys!

  6. #5
    Join Date
    Jun 2008
    Posts
    4
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by djr33 View Post
    PHP is a serverside language. That means that you can't view it directly in a browser. When you have PHP installed on your server it will automatically parse it into the output html from the php script, before sending to the browser.
    In order for it to work on the CD you'd need to have the CD act as some sort of server, in theory, and I don't think that's even possible, much less easy.

    Hi Mod....

    I am looking for just help like this.
    Can you tell me how I can (a) view and (b) make changes with Frontpage to php website.

    Is there any application that is easy to install that I ca use.

    I have found EasyPHP, installed it but cannot configure it.

    Thanx for any help
    newbienew

  7. #6
    Join Date
    Jul 2007
    Location
    Azerbaijan, Baku
    Posts
    144
    Thanks
    11
    Thanked 27 Times in 25 Posts

    Default

    Try DreamWeaver

  8. The Following User Says Thank You to allahverdi For This Useful Post:

    newbinew (06-19-2008)

  9. #7
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Quote Originally Posted by newbinew View Post
    Hi Mod....

    I am looking for just help like this.
    Can you tell me how I can (a) view and (b) make changes with Frontpage to php website.

    Is there any application that is easy to install that I ca use.

    I have found EasyPHP, installed it but cannot configure it.

    Thanx for any help
    newbienew
    Is the page in the server already? Have you tried going unto cpanel, and do the changes in FileManager.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  10. The Following User Says Thank You to rangana For This Useful Post:

    newbinew (06-19-2008)

  11. #8
    Join Date
    Jun 2008
    Posts
    4
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Smile Dreamweaver

    Thanx

    I do not have dreamweaver...
    I only have frontpage.

    What I ould like to know is if I can find another software application that I can install and it will make my computer work like a server so I can update the pages pages thanx


  12. #9
    Join Date
    Jun 2008
    Posts
    4
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Smile Hmmmm :)

    Quote Originally Posted by rangana View Post
    Is the page in the server already? Have you tried going unto cpanel, and do the changes in FileManager.

    Ahhh....
    Not a bad answer....
    No they are not on the server...
    They are on my hard-drive....
    Do you mean I can go into Cpanel and update the pages that way...
    Interesting....
    Thanx for the response


  13. #10
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    When, they're on the server, I would normally go the the cpanel,
    but since its in a local file, ensure you have a cross-platform webserver like XAMPP.

    ,,,and oh, I have no idea on WYSIWYG editor. All I'm with me is notepad++.

    Anyway, hope that helps.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  14. The Following User Says Thank You to rangana For This Useful Post:

    newbinew (06-19-2008)

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
  •