Reply
hiding your source code..
Old 10-26-2004, 11:00 AM hiding your source code..
Junior Talker

Posts: 2
.. if 'ones' .php scripts are stored inside the web tree is there a way that someone would be able to view / download the sourcecode of these scripts without FTP access? i.e. is it possible to see the php source contained within the file www.foo.com/index.php before it is parsed to produce the HTML?

If so, how is it done and is there a way, apart from placing the .php scripts outside the web tree, to stop this.

Basically am trying to re-sell a product I've written using php and just had a feeling that I may be horribly exposed to someone copying the source code that I've spent a fair while developing...

Many thanks - and I realise this may be a fairly basic question!!
camel is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 10-26-2004, 11:37 AM
Unknown.

Posts: 1,693
Theres no way anyone can get your php source...

The processing of the php is done server side so visitors can only read the html with is produced from the php from the server

--James
Dark-Skys99 is offline
Reply With Quote
View Public Profile
 
Old 10-26-2004, 11:38 AM
Anacrusis's Avatar
Defies a Status

Posts: 2,099
Name: Adam
Location: Colchester CT
The only way the php source code can be seen is if somebody has FTP or shell access to the server where the scripts reside.

The only thing a normal web surfer can and will see is the outputted html code.
Anacrusis is offline
Reply With Quote
View Public Profile Visit Anacrusis's homepage!
 
Old 10-26-2004, 11:39 AM
Anacrusis's Avatar
Defies a Status

Posts: 2,099
Name: Adam
Location: Colchester CT
Ha! James, your too fast
Anacrusis is offline
Reply With Quote
View Public Profile Visit Anacrusis's homepage!
 
Old 10-26-2004, 11:54 AM
Junior Talker

Posts: 2
excellent - thanks guys. One less thing to worry about!
camel is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to hiding your source code..
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13262 seconds with 12 queries