Results 1 to 13 of 13

Thread: PHP web sites HELP

  1. #1
    Member
    Join Date
    Aug 2003
    Location
    Wellingborough, Northants
    Posts
    158
    Thanks
    7
    Thanked
    0 times in 0 posts

    PHP web sites HELP

    Is there such a thing as a php editor? If I save a web site when viewing it in a browser it is saved as HTML, but how do I capture all the php code? How do I then edit it?

    Anybody help please ??

    Cheers
    Rob
    The older I get, the faster I was.

  2. #2
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    You can't save the PHP code from a website, you need to have FTP or telnet access to the site. Otherwise you'd be able to steal all the code from any PHP site and that would be illegal

    For a PHP editor there are loads out there. Try www.editplus.com or just google for one

  3. #3
    Member
    Join Date
    Aug 2003
    Location
    Wellingborough, Northants
    Posts
    158
    Thanks
    7
    Thanked
    0 times in 0 posts
    Thanks Az, why is php code protected that way ? (If that is the correct thinking).

    I have found an editor as you suggested, via google.


    Cheers
    Rob
    The older I get, the faster I was.

  4. #4
    dgr
    dgr is offline
    Senior Member
    Join Date
    Jul 2003
    Posts
    621
    Thanks
    0
    Thanked
    0 times in 0 posts
    php is a server side scripting language. it produces a markup language such as html which is then transported over http/https/whatever to your computer.

    feasibly, you're unlikely to ever get a glimpse at the php code (unless the architect screwed up with security).
    dothan 745 @ 2.4ghz | 2gb Corsair XMS (2-3-3-6) | dual raptors (raid0) | ATI 9700pro | CM201 | dual lg 1810

  5. #5
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    The code is protected as it could allow a hacker to gain access to a site if they knew how the site was coded. It is not really a protection as such, it is as dgr says a server side language which means that it runs on the server and then generates HTML which is sent to the browser. Therefore you receive the HTML, not the PHP code. If it was a client side language then every browser would need a PHP compiler in it, the same is true for ASP, JSP, CGI, Perl, ColdFusion etc. All these languages are server side, they generate HTML which a browser can understand. That way the browser only needs to understand HTML (plus JavaScript, CSS, etc) and can be a more streamlined application

    hope that helps

  6. #6
    Member
    Join Date
    Aug 2003
    Location
    Wellingborough, Northants
    Posts
    158
    Thanks
    7
    Thanked
    0 times in 0 posts
    Cheers Guys, it is clearer now. It is just that I am used to seeing something on the web, saving the page and editing it with my new details and publishing it on my site all in HTML, and a php generated site has new aspects I am not familiar with (so the links all look strange e.g.)

    I have got several ideas such as colour schemes or fonts in this way.

    Time to start reading the MySQL, php book I bought I think.

    Cheers
    Rob
    The older I get, the faster I was.

  7. #7
    dgr
    dgr is offline
    Senior Member
    Join Date
    Jul 2003
    Posts
    621
    Thanks
    0
    Thanked
    0 times in 0 posts
    bear in mind mySQL won't give you much headroom. you might want to consider a more powerful database such as postreSQL.
    dothan 745 @ 2.4ghz | 2gb Corsair XMS (2-3-3-6) | dual raptors (raid0) | ATI 9700pro | CM201 | dual lg 1810

  8. #8
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    MySQL was recently analaysed along side Oracle and DB2 and was found to be faster in large scale application. I can't think for a second why you would want postgreSQL

  9. #9
    Senior Member
    Join Date
    Oct 2003
    Posts
    2,069
    Thanks
    4
    Thanked
    7 times in 3 posts
    MySQL is fine for beginners, and If you are just playing/learning PHP, MySQL works with it nicely. I think MySQL is very good really.
    Twigman

  10. #10
    HEXUS.social member Allen's Avatar
    Join Date
    Nov 2003
    Location
    Brighton
    Posts
    8,536
    Thanks
    363
    Thanked
    262 times in 168 posts
    • Allen's system
      • Motherboard:
      • ASUS Maximus VIII Gene
      • CPU:
      • Intel Core i5 6600K
      • Memory:
      • 2 x 8GB Kingston HyperX Predator DDR4-3000
      • Storage:
      • 256GB Samsung 950 PRO NVMe M.2 (OS) + 2 x 512GB Samsung 960 EVO in RAID 0 (Games)
      • Graphics card(s):
      • ASUS ROG Strix GeForce GTX 1080 Ti OC
      • PSU:
      • XFX P1-650X-NLG9 XXX 650W Modular
      • Case:
      • Fractal Design Node 804
      • Operating System:
      • Windows 10 Home 64-bit
      • Monitor(s):
      • 27" BenQ XL2730Z + 23" Dell U2311H
      • Internet:
      • Virgin Media 200Mbps
    I'm learning PHP with mySQL. It's very good for beginners, as long as you have the right books. I have a For Dummies book and want the Wrox one, but my local bookshop didn't have it. CBA to order it online!

  11. #11
    Senior Member
    Join Date
    Jul 2004
    Posts
    238
    Thanks
    2
    Thanked
    4 times in 4 posts
    • Boogle's system
      • Motherboard:
      • Asus Rampage Formula
      • CPU:
      • Intel Q9450
      • Memory:
      • 4GB PC-8500 G.Skill
      • Storage:
      • Samsung F1 1TB
      • Graphics card(s):
      • XFX Radeon 5870
      • PSU:
      • Corsair HX620
      • Case:
      • Coolermaster ACTS840
      • Operating System:
      • Windows 7 x64
      • Monitor(s):
      • Dell 2707WFP + 2x Dell 2708WFP
      • Internet:
      • 4Mbit ADSL Aquiss
    DevPHP is good (http://devphp.sourceforge.net/), as is Dreamweaver (but thats obviously not free).

    Don't see a problem using mySQL since it should support everything you would need in any commercial site - you won't be storing anything critical or doing anything extremely advanced.

    Big_Al I learnt PHP from PHP 4 Bible Actually I learnt most of SQL from that book too

    Quote Originally Posted by robbiehall
    It is just that I am used to seeing something on the web, saving the page and editing it with my new details and publishing it on my site all in HTML
    This bit worries me though, not just because you want a good understanding of HTML to code in PHP, but this sounds awfully like ripping other sites off

  12. #12
    Member
    Join Date
    Aug 2003
    Location
    Wellingborough, Northants
    Posts
    158
    Thanks
    7
    Thanked
    0 times in 0 posts
    Hey, no need to worry, I would never copy anything without permission, but there are so many good ideas around I just pick things like colours that work, or a font that looks good. The complicated features that someone has carefully authored are no good to me because I don't understand them yet.

    Rob
    The older I get, the faster I was.

  13. #13
    Senior Member
    Join Date
    Jul 2004
    Posts
    238
    Thanks
    2
    Thanked
    4 times in 4 posts
    • Boogle's system
      • Motherboard:
      • Asus Rampage Formula
      • CPU:
      • Intel Q9450
      • Memory:
      • 4GB PC-8500 G.Skill
      • Storage:
      • Samsung F1 1TB
      • Graphics card(s):
      • XFX Radeon 5870
      • PSU:
      • Corsair HX620
      • Case:
      • Coolermaster ACTS840
      • Operating System:
      • Windows 7 x64
      • Monitor(s):
      • Dell 2707WFP + 2x Dell 2708WFP
      • Internet:
      • 4Mbit ADSL Aquiss
    Fair enough then Originally sounded like you downloaded a page, changed a few words, slapped ur name on it and uploaded it

    Good luck with ur PHP Best way to learn is to download existing scripts and modify them imo (once u have a grasp of the PHP language).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Three funniest sites on the web:
    By Bazzlad in forum General Discussion
    Replies: 7
    Last Post: 11-06-2004, 08:12 PM
  2. Good UK Bike community sites?
    By Romanov in forum Automotive
    Replies: 36
    Last Post: 10-06-2004, 01:56 PM
  3. Help needed on web development matters
    By Drunken Poncho in forum Software
    Replies: 3
    Last Post: 30-01-2004, 08:31 PM
  4. Foreign web sites - Design
    By oshta in forum Software
    Replies: 3
    Last Post: 30-11-2003, 01:51 PM
  5. computer job web sites?
    By Anddos in forum General Discussion
    Replies: 6
    Last Post: 30-08-2003, 12:11 PM

Posting Permissions

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