CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
PHP Problems
copy a php file
dynamyc
Permalink to comment
#
January 2012
I want to know if it's possible to copy a php file from a website.
Take this example:
http://awebsite.com/php/submit-form.php
, submit-form.php is ithe file that I want copy.
Is this possible?
TheDoc
Permalink to comment
#
January 2012
You won't be able to copy the PHP.
marcdefiant
Permalink to comment
#
January 2012
Reason being that the php is executed on the server. When your browser loads the page, the php executes before it gets back to your browser.
It would be an intense security issue if you could.
Add a Comment
Take this example: http://awebsite.com/php/submit-form.php, submit-form.php is ithe file that I want copy.
Is this possible?
It would be an intense security issue if you could.