Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > PHP
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help.

Google
Closed Thread
 
LinkBack Thread Tools Display Modes
Old 07-01-2007, 4:13 PM   #1
Matt Beckwith
 
Matt Beckwith's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default View Source doesn't really view source

Now that I've converted my web site to PHP, I notice that, when I bring up
one of my web pages and "view source", I don't get the original source, but
rather the HTML/Javascript source which is passed to the client.

That's okay, I guess, when I want to see what the output of my PHP is. But
what if you're browsing someone's web site and want to see the original
source? Is there a simple way to do this?

For example, I was looking at Howard Dean's web site
http://www.deanforamerica.com, and was amazed that such a high-profile site
had redundant code. Now I realize that it may not be redundant at all.

By the way, has anyone noticed that PHP and Javascript are virtually
identical? Makes me wonder whether all object-oriented programming
languages are basically the same language, with minor twists.

--
Matt Beckwith, M.D.
http://drbeckwith.com


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Advertisements
Old 07-01-2007, 4:13 PM   #2
Janwillem Borleffs
 
Janwillem Borleffs's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default View Source doesn't really view source


"Matt Beckwith" <matt@doctorbeckwith.com> schreef in bericht
news:bgg2go0hbe@enews1.newsguy.com...
> Now that I've converted my web site to PHP, I notice that, when I bring up
> one of my web pages and "view source", I don't get the original source,

but
> rather the HTML/Javascript source which is passed to the client.
>
> That's okay, I guess, when I want to see what the output of my PHP is.

But
> what if you're browsing someone's web site and want to see the original
> source? Is there a simple way to do this?
>


Fortunately not, otherwise you would be able to see other people's passwords
for instance. PHP is a server-side scripting language which is parsed at
server level. The browser only gets the generated output.

If you want to see the source, you should open an FTP or SSH connection to
the server.

> By the way, has anyone noticed that PHP and Javascript are virtually
> identical? Makes me wonder whether all object-oriented programming
> languages are basically the same language, with minor twists.
>


To some extend, the syntax is somewhat comparible, but I wouldn't call PHP
and JavaScript virtually identical.

BTW, IMO, JavaScript isn't object-oriented but object-based. But this
discussion is off-topic.


JW



 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 4:13 PM   #3
Matt Beckwith
 
Matt Beckwith's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default View Source doesn't really view source


"Ian.H [dS]" <ian@WINDOZEdigiserv.net> wrote

> http://www.ssh.com/


You still haven't answered my question. What's SSH? The web page you
referenced doesn't answer the question, and I don't have time to surf their
entire web site trying to find one. But if you don't want to tell me,
that's fine.

--
Matt Beckwith, M.D.
http://drbeckwith.com


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 4:13 PM   #4
Hugh Bothwell
 
Hugh Bothwell's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default View Source doesn't really view source

"Kyndig" <kyndig@nospamkyndig.com> wrote in message
news:bggbg20qvc@enews1.newsguy.com...
> I havn't run across any major language yet (I stay away from windows
> specific languages..) that doesn't conform to the norms in syntax
> handling. Once you have a good handle on the aspects of basic
> programming and syntatical use, you are able to apply that knowledge to
> just about any language.


Umm...

I guess you don't count LISP, FORTH, or Prolog as 'major' languages?

--
Hugh Bothwell hugh_bothwell@hotmail.com Kingston ON Canada
v3.1 GCS/E/AT d- s+: a- C+++ L++>+++$ P+ E- W+++$ N++ K? w++ M PS+
PE++ Y+ PGP+ t-- 5++ !X R+ tv b++++ DI+++ D-(++) G+ e(++) h-- r- y+



 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 4:13 PM   #5
Janwillem Borleffs
 
Janwillem Borleffs's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default View Source doesn't really view source


"Matt Beckwith" <matt@doctorbeckwith.com> schreef in bericht
news:bggtjq02ca8@enews4.newsguy.com...
>
> You still haven't answered my question. What's SSH? The web page you
> referenced doesn't answer the question, and I don't have time to surf

their
> entire web site trying to find one. But if you don't want to tell me,
> that's fine.
>


SSH = Secure SHell, which enables secure connections between clients and
servers.


JW



 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 4:13 PM   #6
Robert Jirik
 
Robert Jirik's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default View Source doesn't really view source

Saturday 02 of August 2003 19:49, Matt Beckwith wrote in alt.comp.lang.php:

>
> You still haven't answered my question. What's SSH? The web page you
> referenced doesn't answer the question, and I don't have time to surf
> their
> entire web site trying to find one. But if you don't want to tell me,
> that's fine.


You must be joking!

Do you think that the others *do* have time to answer your silly questions?
SSH's website gives enough information, all you have to do is to read it
.... but I know, that's a waste of time for you ...

The people here use *their* time for replying to your questions, which could
be answered just as well if you spent *your* time reading the fu....g
manual! It's you who want to know something, not the people replying ...

Everything is fine as long as you don't insult the people who are trying to
give you an advice ...

-robert-

--
Robert Jirik
[mailto:robert(at)aristoteles(dot)xhaven(dot)net]
public PGP key: http://xhaven.net/robert/pgp_key.asc
-
"Don't steal. The government hates competition"
-- Unknown

 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 4:15 PM   #7
Sylvie Stone
 
Sylvie Stone's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default View Source doesn't really view source

"Matt Beckwith" <matt@doctorbeckwith.com>

> Now that I've converted my web site to PHP, I notice that, when I bring up
> one of my web pages and "view source", I don't get the original source, but
> rather the HTML/Javascript source which is passed to the client.


How strange. You must be using one of those new fangled browsers.
When I veiw source I almost always view what is on the server. Seems
to work best on Thursday's for some reason!

> That's okay, I guess, when I want to see what the output of my PHP is. But
> what if you're browsing someone's web site and want to see the original
> source? Is there a simple way to do this?


You could use the browser that I'm using. Or - the other thing I do a
lot is just write the webmaster@whatever.com and ask her to email me
all their code, testing algorithms and flow charts of the site. This
makes it MUCH easier for me to create my own site. And you'll save
gobs of time too.

> By the way, has anyone noticed that PHP and Javascript are virtually
> identical? Makes me wonder whether all object-oriented programming
> languages are basically the same language, with minor twists.


That's soooooooooooo true ! I DID notice that. For years and years
I've been using client side scriopting for pop-up ads, browser
checking, a really cool hit counter and a neato line that displays the
correct time and day!!! But - now that I've become an expert in
client0-sdie scripting using PHP, I've throwm away all my pesky
language books like Java and C and now ONLY EVER use PHP for every
single task I need accomplished.

It's simply the WONDER LANGUAGE! I happy you've discovered it, and I
welcome you to the wondeful world of php.

Check out my new website - I think you might like it:
http://www.pagetutor.com/idiot/idiot.html

Sylvie.
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 4:15 PM   #8
Sylvie Stone
 
Sylvie Stone's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default View Source doesn't really view source

"Matt Beckwith" <matt@doctorbeckwith.com> wrote in message news:<bgg2go0hbe@enews1.newsguy.com>...
> Now that I've converted my web site to PHP, I notice that, when I bring up
> one of my web pages and "view source", I don't get the original source, but
> rather the HTML/Javascript source which is passed to the client.
>
> That's okay, I guess, when I want to see what the output of my PHP is. But
> what if you're browsing someone's web site and want to see the original
> source? Is there a simple way to do this?
>
> For example, I was looking at Howard Dean's web site
> http://www.deanforamerica.com, and was amazed that such a high-profile site
> had redundant code. Now I realize that it may not be redundant at all.
>
> By the way, has anyone noticed that PHP and Javascript are virtually
> identical? Makes me wonder whether all object-oriented programming
> languages are basically the same language, with minor twists.


Hey Matt - sorry about flaming you earlier. After I posted I went to
your website and could see that you were not just trolling around -
which is what I thought you were doing FOR SURE.

Sorry 'bout that!!

Syl.
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 5:26 PM   #9
Stevan Goode
 
Stevan Goode's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default View Source doesn't really view source

Firstly you don't bother to do a search for what you want to know about and
then you practically demand an answer. If you havent got time to look on the
website, how have you got time to be posting to here?

And the time it took for you to ask the question and get a reply, about 4
hours. Would it really have taken you that long to look on the site?

I'm not picking on you. I'm just saying, if you wanna know about any
programming language, or anything that requires some knowledge of computers,
you've got to be able to do research. Especially being able to type
something into a search engine, and getting the result you wanted.

S

"Matt Beckwith" <matt@doctorbeckwith.com> wrote in message
news:bggtjq02ca8@enews4.newsguy.com...
>
> "Ian.H [dS]" <ian@WINDOZEdigiserv.net> wrote
>
> > http://www.ssh.com/

>
> You still haven't answered my question. What's SSH? The web page you
> referenced doesn't answer the question, and I don't have time to surf

their
> entire web site trying to find one. But if you don't want to tell me,
> that's fine.
>
> --
> Matt Beckwith, M.D.
> http://drbeckwith.com
>
>



 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Featured Websites
Free Space
Free Space
Free Space Free Space
Closed Thread
Tags: , ,




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't view source Dave Darden PHP 2 07-01-2007 3:12 PM
View Extras sizematters@att.net Graphics in general 2 06-11-2007 11:51 PM
Double view in PS7? Stephan Graphics in general 5 06-11-2007 8:08 PM
view mchenry Database 2 06-10-2007 12:27 AM
View problems Keith Lee Database 3 06-10-2007 12:23 AM


Featured Websites




All times are GMT +1. The time now is 12:30 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98