 |
|
 |
|
Next: Help Wanted: Developer needed for small e-commerc..
|
| Author |
Message |
External

Since: Jul 07, 2003 Posts: 56
|
(Msg. 1) Posted: Mon Sep 15, 2003 3:10 am
Post subject: viewing source of PHP page? Archived from groups: alt>www>webmaster (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Jun 28, 2003 Posts: 171
|
(Msg. 2) Posted: Mon Sep 15, 2003 3:10 am
Post subject: Re: viewing source of PHP page? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"Rocky" <Rocky.RemoveThis@GhostRecon.net> wrote in message
news:bk2sge$nhi46$1@ID-12072.news.uni-berlin.de...
> How can I get a look at the source code for a php page on a website. If I
> right click>view source, it's not the raw code I am getting, but some
> stripped down version.
>
> Anyone know?
Sure, ask the site owner for a look at their files.
--
Karl Core
Charles Sweeney says my sig is fine as it is.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: viewing source of PHP page? |
|
| Back to top |
|
 |  |
External

Since: Jun 27, 2003 Posts: 571
|
(Msg. 3) Posted: Mon Sep 15, 2003 3:10 am
Post subject: Re: viewing source of PHP page? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Mon, 15 Sep 2003 00:10:05 +0100, Rocky <Rocky.TakeThisOut@GhostRecon.net> wrote:
> How can I get a look at the source code for a php page on a website. If I
> right click>view source, it's not the raw code I am getting, but some
> stripped down version.
>
> Anyone know?
You don't, unless you have authorized FTP access to the site. PHP code
can often contain authorization variables like MySQL passwords, cookie
settings and such which are a bad idea to make public. Thus the PHP
source is visible by those with FTP access alone.
Grey
--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollory that nothing is ridiculous.
- <a style='text-decoration: underline;' href="http://www.greywyvern.com" target="_blank">http://www.greywyvern.com</a> - ORCA - Camouflaged PHP Web Scripts.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: viewing source of PHP page? |
|
| Back to top |
|
 |  |
External

Since: Jun 28, 2003 Posts: 578
|
(Msg. 4) Posted: Mon Sep 15, 2003 3:19 am
Post subject: Re: viewing source of PHP page? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Rocky wrote:
> How can I get a look at the source code for a php page on a website.
> If I right click>view source, it's not the raw code I am getting, but
> some stripped down version.
What you see is the HTML output from the PHP script.
> Anyone know?
You need access to the server to see the code.
--
William Tasso - <a style='text-decoration: underline;' href="http://WilliamTasso.com" target="_blank">http://WilliamTasso.com</a><!-- ~MESSAGE_AFTER~ --> >> Stay informed about: viewing source of PHP page? |
|
| Back to top |
|
 |  |
External

Since: Jun 29, 2003 Posts: 111
|
(Msg. 5) Posted: Mon Sep 15, 2003 3:23 am
Post subject: Re: viewing source of PHP page? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Rocky wrote:
> How can I get a look at the source code for a php page on a website. If I
> right click>view source, it's not the raw code I am getting, but some
> stripped down version.
>
> Anyone know?
You can't. Short of emailing the webmaster of the site and asking if you
can see their PHP code (and I doubt they will say yes), there is no way
other than server failure in which you can see the PHP source.
--
Dylan Parry
<a style='text-decoration: underline;' href="http://www.webpageworkshop.co.uk" target="_blank">http://www.webpageworkshop.co.uk</a> - FREE Web tutorials and references
Now playing: Sky - Westway<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: viewing source of PHP page? |
|
| Back to top |
|
 |  |
External

Since: Apr 29, 2004 Posts: 1010
|
(Msg. 6) Posted: Mon Sep 15, 2003 9:24 pm
Post subject: Re: viewing source of PHP page? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"GreyWyvern" <SP_bhuisman.RemoveThis@greywyvern.com_AM> wrote in message
news:oprvint0liv0in9v@news.ican.net...
> On Mon, 15 Sep 2003 00:10:05 +0100, Rocky <Rocky.RemoveThis@GhostRecon.net> wrote:
>
> > How can I get a look at the source code for a php page on a website. If
I
> > right click>view source, it's not the raw code I am getting, but some
> > stripped down version.
> >
> > Anyone know?
>
> You don't, unless you have authorized FTP access to the site. PHP code
> can often contain authorization variables like MySQL passwords, cookie
> settings and such which are a bad idea to make public. Thus the PHP
> source is visible by those with FTP access alone.
Including anyone hosting on the same machine - which raises the point that
to see the code the OP would only need to take hosting on the same server
for a short time to be able to access the code. (assuming the code is hosted
on a shared server  <!-- ~MESSAGE_AFTER~ --> >> Stay informed about: viewing source of PHP page? |
|
| Back to top |
|
 |  |
External

Since: Jun 28, 2003 Posts: 578
|
(Msg. 7) Posted: Mon Sep 15, 2003 9:24 pm
Post subject: Re: viewing source of PHP page? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Bill Logan wrote:
> "GreyWyvern" <SP_bhuisman.DeleteThis@greywyvern.com_AM> wrote in message
> news:oprvint0liv0in9v@news.ican.net...
>> On Mon, 15 Sep 2003 00:10:05 +0100, Rocky <Rocky.DeleteThis@GhostRecon.net>
>> wrote:
>>
>>> How can I get a look at the source code for a php page on a
>>> website. If I right click>view source, it's not the raw code I am
>>> getting, but some stripped down version.
>>>
>>> Anyone know?
>>
>> You don't, unless you have authorized FTP access to the site. PHP
>> code can often contain authorization variables like MySQL passwords,
>> cookie settings and such which are a bad idea to make public. Thus
>> the PHP source is visible by those with FTP access alone.
>
> Including anyone hosting on the same machine - which raises the point
> that to see the code the OP would only need to take hosting on the
> same server for a short time to be able to access the code. (assuming
> the code is hosted on a shared server
How so? I thought we agreed in another thread that even LAMP set-ups could
be made private.
Rock on Windows ;o)
--
William Tasso - <a style='text-decoration: underline;' href="http://WilliamTasso.com" target="_blank">http://WilliamTasso.com</a><!-- ~MESSAGE_AFTER~ --> >> Stay informed about: viewing source of PHP page? |
|
| Back to top |
|
 |  |
External

Since: Aug 17, 2003 Posts: 21
|
(Msg. 8) Posted: Mon Sep 15, 2003 9:24 pm
Post subject: Re: viewing source of PHP page? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Bill Logan wrote:
> "GreyWyvern" <SP_bhuisman.DeleteThis@greywyvern.com_AM> wrote in message
> news:oprvint0liv0in9v@news.ican.net...
>
>>On Mon, 15 Sep 2003 00:10:05 +0100, Rocky <Rocky.DeleteThis@GhostRecon.net> wrote:
>>
>>
>>>How can I get a look at the source code for a php page on a website. If
>
> I
>
>>>right click>view source, it's not the raw code I am getting, but some
>>>stripped down version.
>>>
>>>Anyone know?
>>
>>You don't, unless you have authorized FTP access to the site. PHP code
>>can often contain authorization variables like MySQL passwords, cookie
>>settings and such which are a bad idea to make public. Thus the PHP
>>source is visible by those with FTP access alone.
>
> Including anyone hosting on the same machine - which raises the point that
> to see the code the OP would only need to take hosting on the same server
> for a short time to be able to access the code. (assuming the code is hosted
> on a shared server
What do you mean by shared server? Like I'm having a site at
<a style='text-decoration: underline;' href="http://www.domain.com/~myname." target="_blank">www.domain.com/~myname.</a> I'm not sharing with a person at
<a style='text-decoration: underline;' href="http://www.domain.com/~hisname," target="_blank">www.domain.com/~hisname,</a> am I?
--
Els
Mente humana é como pára-quedas; funciona melhor aberta.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: viewing source of PHP page? |
|
| Back to top |
|
 |  |
External

Since: Jun 29, 2003 Posts: 296
|
(Msg. 9) Posted: Mon Sep 15, 2003 9:24 pm
Post subject: Re: viewing source of PHP page? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"Els" <els.aNOSPAM.TakeThisOut@PLEASEtiscali.nl.invalid> wrote in message
news:bk3reo$ibd$1@reader1.tiscali.nl...
> What do you mean by shared server? Like I'm having a site at
> <a style='text-decoration: underline;' href="http://www.domain.com/~myname." target="_blank">www.domain.com/~myname.</a> I'm not sharing with a person at
> <a style='text-decoration: underline;' href="http://www.domain.com/~hisname," target="_blank">www.domain.com/~hisname,</a> am I?
>
>
Yes. You're on the same server as domain.com
--
McWebber
No email replies read
If someone tells you to forward an email to all your friends
please forget that I'm your friend.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: viewing source of PHP page? |
|
| Back to top |
|
 |  |
External

Since: Aug 17, 2003 Posts: 21
|
(Msg. 10) Posted: Mon Sep 15, 2003 9:24 pm
Post subject: Re: viewing source of PHP page? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
McWebber wrote:
> "Els" <els.aNOSPAM.DeleteThis@PLEASEtiscali.nl.invalid> wrote in message
> news:bk3reo$ibd$1@reader1.tiscali.nl...
>
>>What do you mean by shared server? Like I'm having a site at
>>www.domain.com/~myname. I'm not sharing with a person at
>>www.domain.com/~hisname, am I?
>
> Yes. You're on the same server as domain.com
I did figure that, but I meant (I know, didn't write what I
meant) sharing as in
<quote>
>>Thus the PHP source is visible by those with FTP access alone.
>Including anyone hosting on the same machine - which raises the
>point that to see the code the OP would only need to take hosting
>on the same server for a short time to be able to access the code.
>(assuming the code is hosted on a shared server
</quote>
But I got some answer already from others; it appears this
is only the case when the hosting company didn't take the
right precautions
--
Els
Mente humana é como pára-quedas; funciona melhor aberta.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: viewing source of PHP page? |
|
| Back to top |
|
 |  |
External

Since: Jun 27, 2003 Posts: 571
|
(Msg. 11) Posted: Mon Sep 15, 2003 9:24 pm
Post subject: Re: viewing source of PHP page? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Mon, 15 Sep 2003 15:07:58 +0200, Els
<els.aNOSPAM RemoveThis @PLEASEtiscali.nl.invalid> wrote:
> McWebber wrote:
>
>> "Els" <els.aNOSPAM RemoveThis @PLEASEtiscali.nl.invalid> wrote in message
>> news:bk3reo$ibd$1@reader1.tiscali.nl...
>>
>>> What do you mean by shared server? Like I'm having a site at
>>> <a style='text-decoration: underline;' href="http://www.domain.com/~myname." target="_blank">www.domain.com/~myname.</a> I'm not sharing with a person at
>>> <a style='text-decoration: underline;' href="http://www.domain.com/~hisname," target="_blank">www.domain.com/~hisname,</a> am I?
>>
>> Yes. You're on the same server as domain.com
>
> I did figure that, but I meant (I know, didn't write what I meant)
> sharing as in
> <quote>
>>> Thus the PHP source is visible by those with FTP access alone.
>> Including anyone hosting on the same machine - which raises the point
>> that to see the code the OP would only need to take hosting on the same
>> server for a short time to be able to access the code.
>> (assuming the code is hosted on a shared server
> </quote>
>
> But I got some answer already from others; it appears this is only the
> case when the hosting company didn't take the right precautions
The short answer is, if you can read everyone else's files on your server,
everyone else can read yours. That's a big clue to get the hell out of
there
Grey
--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollory that nothing is ridiculous.
- <a style='text-decoration: underline;' href="http://www.greywyvern.com" target="_blank">http://www.greywyvern.com</a> - Orca RingMaker: PHP web ring creation and
management<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: viewing source of PHP page? |
|
| Back to top |
|
 |  |
External

Since: Jun 28, 2003 Posts: 114
|
(Msg. 12) Posted: Mon Sep 15, 2003 10:14 pm
Post subject: Re: viewing source of PHP page? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Els wrote:
> Bill Logan wrote:
>
>> "GreyWyvern" <SP_bhuisman.TakeThisOut@greywyvern.com_AM> wrote in message
>> news:oprvint0liv0in9v@news.ican.net...
>>
>>> On Mon, 15 Sep 2003 00:10:05 +0100, Rocky <Rocky.TakeThisOut@GhostRecon.net> wrote:
>>>
>>>
>>>> How can I get a look at the source code for a php page on a website. If
>>
>>
>> I
>>
>>>> right click>view source, it's not the raw code I am getting, but some
>>>> stripped down version.
>>>>
>>>> Anyone know?
>>>
>>>
>>> You don't, unless you have authorized FTP access to the site. PHP code
>>> can often contain authorization variables like MySQL passwords, cookie
>>> settings and such which are a bad idea to make public. Thus the PHP
>>> source is visible by those with FTP access alone.
>>
>>
>> Including anyone hosting on the same machine - which raises the point
>> that
>> to see the code the OP would only need to take hosting on the same
>> server
>> for a short time to be able to access the code. (assuming the code is
>> hosted
>> on a shared server
>
>
> What do you mean by shared server? Like I'm having a site at
> <a style='text-decoration: underline;' href="http://www.domain.com/~myname." target="_blank">www.domain.com/~myname.</a> I'm not sharing with a person at
> <a style='text-decoration: underline;' href="http://www.domain.com/~hisname," target="_blank">www.domain.com/~hisname,</a> am I?
AFAICT it depends on the server configuration, but if the job is poorly
done, then yes, that is possible.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: viewing source of PHP page? |
|
| Back to top |
|
 |  |
External

Since: Apr 29, 2004 Posts: 1010
|
(Msg. 13) Posted: Tue Sep 16, 2003 12:34 am
Post subject: Re: viewing source of PHP page? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"William Tasso" <ngx RemoveThis @tbdata.com> wrote in message
news:bk3qhp$o9jdi$1@ID-139074.news.uni-berlin.de...
> Bill Logan wrote:
> > "GreyWyvern" <SP_bhuisman RemoveThis @greywyvern.com_AM> wrote in message
> > news:oprvint0liv0in9v@news.ican.net...
> >> On Mon, 15 Sep 2003 00:10:05 +0100, Rocky <Rocky RemoveThis @GhostRecon.net>
> >> wrote:
> >>
> >>> How can I get a look at the source code for a php page on a
> >>> website. If I right click>view source, it's not the raw code I am
> >>> getting, but some stripped down version.
> >>>
> >>> Anyone know?
> >>
> >> You don't, unless you have authorized FTP access to the site. PHP
> >> code can often contain authorization variables like MySQL passwords,
> >> cookie settings and such which are a bad idea to make public. Thus
> >> the PHP source is visible by those with FTP access alone.
> >
> > Including anyone hosting on the same machine - which raises the point
> > that to see the code the OP would only need to take hosting on the
> > same server for a short time to be able to access the code. (assuming
> > the code is hosted on a shared server
>
> How so? I thought we agreed in another thread that even LAMP set-ups
could
> be made private.
>
The key word there is 'could'
Unfortunately - the large proportion of shared servers are often less than
secure in that respect.
They could be but usually aren't.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: viewing source of PHP page? |
|
| Back to top |
|
 |  |
External

Since: Jun 28, 2003 Posts: 578
|
(Msg. 14) Posted: Tue Sep 16, 2003 12:34 am
Post subject: Re: viewing source of PHP page? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Bill Logan wrote:
> "William Tasso" <ngx.TakeThisOut@tbdata.com> wrote in message
> news:bk3qhp$o9jdi$1@ID-139074.news.uni-berlin.de...
>> Bill Logan wrote:
>>> "GreyWyvern" <SP_bhuisman.TakeThisOut@greywyvern.com_AM> wrote in message
>>> news:oprvint0liv0in9v@news.ican.net...
>>>> On Mon, 15 Sep 2003 00:10:05 +0100, Rocky <Rocky.TakeThisOut@GhostRecon.net>
>>>> wrote:
>>>>
>>>>> How can I get a look at the source code for a php page on a
>>>>> website. If I right click>view source, it's not the raw code I am
>>>>> getting, but some stripped down version.
>>>>>
>>>>> Anyone know?
>>>>
>>>> You don't, unless you have authorized FTP access to the site. PHP
>>>> code can often contain authorization variables like MySQL
>>>> passwords, cookie settings and such which are a bad idea to make
>>>> public. Thus the PHP source is visible by those with FTP access
>>>> alone.
>>>
>>> Including anyone hosting on the same machine - which raises the
>>> point that to see the code the OP would only need to take hosting
>>> on the same server for a short time to be able to access the code.
>>> (assuming the code is hosted on a shared server
>>
>> How so? I thought we agreed in another thread that even LAMP
>> set-ups could be made private.
>>
> The key word there is 'could'
> Unfortunately - the large proportion of shared servers are often less
> than secure in that respect.
> They could be but usually aren't.
strikes me that this piece of information is critical when reviewing hosting
options
--
William Tasso - <a style='text-decoration: underline;' href="http://WilliamTasso.com" target="_blank">http://WilliamTasso.com</a><!-- ~MESSAGE_AFTER~ --> >> Stay informed about: viewing source of PHP page? |
|
| Back to top |
|
 |  |
External

Since: Aug 17, 2003 Posts: 21
|
(Msg. 15) Posted: Tue Sep 16, 2003 12:34 am
Post subject: Re: viewing source of PHP page? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
William Tasso wrote:
> Bill Logan wrote:
>
>>"William Tasso" <ngx DeleteThis @tbdata.com> wrote in message
>>news:bk3qhp$o9jdi$1@ID-139074.news.uni-berlin.de...
>>
>>>Bill Logan wrote:
>>>
>>>>"GreyWyvern" <SP_bhuisman DeleteThis @greywyvern.com_AM> wrote in message
>>>>news:oprvint0liv0in9v@news.ican.net...
>>>>
>>>>>On Mon, 15 Sep 2003 00:10:05 +0100, Rocky <Rocky DeleteThis @GhostRecon.net>
>>>>>wrote:
>>>>>
>>>>>
>>>>>>How can I get a look at the source code for a php page on a
>>>>>>website. If I right click>view source, it's not the raw code I am
>>>>>>getting, but some stripped down version.
>>>>>>
>>>>>>Anyone know?
>>>>>
>>>>>You don't, unless you have authorized FTP access to the site. PHP
>>>>>code can often contain authorization variables like MySQL
>>>>>passwords, cookie settings and such which are a bad idea to make
>>>>>public. Thus the PHP source is visible by those with FTP access
>>>>>alone.
>>>>
>>>>Including anyone hosting on the same machine - which raises the
>>>>point that to see the code the OP would only need to take hosting
>>>>on the same server for a short time to be able to access the code.
>>>>(assuming the code is hosted on a shared server
>>>
>>>How so? I thought we agreed in another thread that even LAMP
>>>set-ups could be made private.
>>>
>>
>>The key word there is 'could'
>>Unfortunately - the large proportion of shared servers are often less
>>than secure in that respect.
>>They could be but usually aren't.
>
>
> strikes me that this piece of information is critical when reviewing hosting
> options
Any advice on how to find out when looking for hosting?
--
Els
Mente humana é como pára-quedas; funciona melhor aberta.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: viewing source of PHP page? |
|
| Back to top |
|
 |  |
| Related Topics: | Viewing text on different color backgrounds - Is there an easy online way I can preview a text color on several diffent color backgrounds? I believe there used to be a site called palletteman.com but it no longer works. Thanks, Faraz
Source of old IE browsers - I'm looking for sources for older browsers for checking webpages in. Netscape is easy, but when I tried to install IE2 is overwrote IE5. I know, we live and learn.... so, has anyone solved this problem? Has a source for a safe download? Has instruction..
[info] Open Source candidate for Flash - Flash the defining app for interactive graphics, works great until you overload it with data. Then it crashes. Few designers want to tackle C++ and Java so they've turned to 'Processing'. The open source software replaces all three, making advanced..
Please give opinions on my new page. - I made a new page to my site... http://www.iceishot.com/web_hosting_advertising.htm Could you please give me your thoughts? Thanks, Brian IceIsHot.com Web Hosting Comparison
What's wrong with this page? - Hail. This is a customer's page: http://www.n-cubed.com/mariotest.php As you can see, it displays a bit goofy. It uses (amongst other things) "div" which I am not familiar with. Any ideas what is causing it to display the way it does? Muc... |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|