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
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.
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
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.
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
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
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.
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
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
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
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
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 offOriginally Posted by robbiehall
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.
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).
There are currently 1 users browsing this thread. (0 members and 1 guests)