vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   viewing a pages source code in php (https://vborg.vbsupport.ru/showthread.php?t=73571)

AN-net 12-31-2004 02:48 PM

viewing a pages source code in php
 
how would i be able to view a page's source code that is located on another server?

lasto 12-31-2004 02:50 PM

u cant cause if u could then u could read everyones config php files etc and see what data is in there.

Guy G 12-31-2004 03:10 PM

Quote:

Originally Posted by AN-net
how would i be able to view a page's source code that is located on another server?

you coded all those hacks and you dont know this?
Quote:

My Hacks:Vb3 Affiliate Version 1:vB Affiliates v.2:vB Journal 1.0.0:Quick Attachment Approval System:
UnBannable Ips:Text Message on PM:Selected Files Not Closed:New Thread/Post Image Verification for Guests:
vB Stocks 1.0.0

Dean C 12-31-2004 03:18 PM

Do you mean you want to view the output html of a php page from another server? Or you want to read the PHP contents of a file from another server?

AN-net 12-31-2004 04:11 PM

i want to view the html source and in response to zorbz im always learning new things and im always forgetting old things...

Dean C 12-31-2004 05:34 PM

http://forums.devshed.com/archive/t-212034

Just one of many ways :)

AN-net 12-31-2004 06:11 PM

well the i want the html from is not an html file and its still showing page as formatted/parsed... and i also want to be able to search the html source of the page

JamesFrost 01-01-2005 10:58 AM

Quote:

Originally Posted by AN-net
well the i want the html from is not an html file and its still showing page as formatted/parsed... and i also want to be able to search the html source of the page

Not fully sure I understand - is the 'view->Page Source' option in Firefox (install if you dont have it - its miles better than IE!) what you are looking for here?

I'd also load the Web Development Tools with Firefox - these let you view a whole lot of HTML info on the page and do things like edit CSS files 'on the fly' even on others web sites (it's just a local cache, but is kind of cool for viewing Microsoft.com in sky blue pink!). You can also view the POST and GET info being published to web sites, which is quite useful.

https://addons.update.mozilla.org/ex...numpg=10&id=60

AN-net 01-01-2005 11:47 AM

yes i want something like view source where i could search the pages html code but instead i want php to do it;)

Dean C 01-01-2005 12:43 PM

Take a look here :):

http://uk2.php.net/fopen


All times are GMT. The time now is 12:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01191 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete