![]() |
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Only if the source code comes over the web page. Most PHP code is executed on the server, and you don't see it unless there is an error. This hides the source code, and should work the exact same way for your PHP code so that somebody can't go and steal it. If this was a file share, or the server was not executing the source code, you could read it, but you might have to save it before you execute it. |
| |||
| Not sure what you are are asking so... 1. you want to read the HTML of another website using a php page on your server? 1a. Yes, you can read the HTML of any page from another server. This sounds similar to a crawler or spider. possible helpful site: Building a Simple Search Engine with PHP http://www.onlamp.com/pub/a/php/2002/10/24/simplesearchengine.html 2. You want to view the HTML source generated by a PHP page? 2a. Yes, just view source from any web site and you can see the HTML code, it won't matter if the page uses Php. However, You won't be able to see the original php. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| css code??? | Lucia99 | Webdesign & HMTL | 2 | 01-02-2008 06:11 AM |
| coldfusion code to asp.net? | x-man | Programming | 1 | 04-28-2007 05:49 PM |
| Please help me with this code | weevilboy | JavaScript | 2 | 04-25-2007 02:21 PM |
| I have css code on a website telling links to change color and it works. I put this same css code? | dondi | Webdesign & HMTL | 4 | 06-30-2006 07:44 PM |
| asp.net projects with source code and screenshots in real time? | harriet_0828 | Programming | 2 | 04-09-2006 05:23 AM |