Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

php view source
can anyone tell me if there is a way in which anyone could possibly view the
php source code on a web page through their browser without having telnet or
FTP access to my web server?

just in case you know?



Report this thread to moderator Post Follow-up to this message
Old Post
Christo
10-21-04 08:57 PM


Re: php view source
unless someone made a huge mistake: no.

php servers parse the PHP file you request and make HTML of it, than
send this HTML back to the client while the PHP-code stays on the
server; and I'm very happy about that :D I don't know how your php files
look like, but mine contain database passes :)

Christo wrote:
> can anyone tell me if there is a way in which anyone could possibly view t
he
> php source code on a web page through their browser without having telnet 
or
> FTP access to my web server?
>
> just in case you know?
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Harrie Verveer
10-21-04 08:57 PM


Re: php view source
If you talking about letting other people view php source through the web.
You can try saving those files as name.phps and pull it up through your
browser.

"Harrie Verveer" <newsgroup{remove-this}@harrieverveer.com> wrote in message
news:Vbydnbas3tC1JOrcRVnygA@zeelandnet.nl...
> unless someone made a huge mistake: no.
>
> php servers parse the PHP file you request and make HTML of it, than send
> this HTML back to the client while the PHP-code stays on the server; and
> I'm very happy about that :D I don't know how your php files look like,
> but mine contain database passes :)
>
> Christo wrote: 



Report this thread to moderator Post Follow-up to this message
Old Post
Ninjaboy
10-21-04 08:57 PM


Re: php view source
"Christo" <chris@juststuff.co.uk> wrote in message
news:2tpqh1F22edk7U1@uni-berlin.de...
> can anyone tell me if there is a way in which anyone could possibly view
the
> php source code on a web page through their browser without having telnet
or
> FTP access to my web server?
>
> just in case you know?
>
>

If the PHP interpretor stopped working

Regards
Richard Grove
http://www.shopmaker.co.uk - Ecommerce Shop Systems




Report this thread to moderator Post Follow-up to this message
Old Post
Richard Grove - Žed Eye Media
10-21-04 08:57 PM


Re: php view source
In article <2tpqh1F22edk7U1@uni-berlin.de>,
"Christo" <chris@juststuff.co.uk> wrote:

> can anyone tell me if there is a way in which anyone could possibly view t
he
> php source code on a web page through their browser without having telnet 
or
> FTP access to my web server?
>
> just in case you know?

Chris talks about this in his article

http://shiflett.org/articles/security-corner-mar2004

--
DeeDee, don't press that button!  DeeDee!  NO!  Dee...




Report this thread to moderator Post Follow-up to this message
Old Post
Michael Vilain
10-21-04 08:57 PM


Re: php view source
Ninjaboy wrote:

> If you talking about letting other people view php source through the web.
> You can try saving those files as name.phps and pull it up through your
> browser.
>

If not....write your own (secured) wrapper around the highlight_file()
function.

HTH

C.

Report this thread to moderator Post Follow-up to this message
Old Post
Colin McKinnon
10-22-04 01:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Language archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:30 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.