Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP






SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





View Source


I was at amazon.com and clicked on View/Source, and I got a blank page. How did they do that?




View Complete Forum Thread with Replies
Sponsored Links:

Related Messages:
View PHP Source Code
Is there a way that I can view someone else's PHP source code that was
used?

View Replies !   View Related
View The Source Of Another Page
From www.whatever.com/index.php how can I get the source for www.anothersite.com/page.php ?

View Replies !   View Related
Please Help View Php Source Code
i am trying to view the source code of a php page but when i view the page source it comes up with "&errormessage=Please fill in all fields and send again.&", i am trying to create a form to email box for my own website and have found one on a website i like, i am trying to get the php code but dont know how to get it to be displayed.

View Replies !   View Related
View Source Code
I have put the results of an SQL query into a PHP array. I then pass on this array into a javascript array to manipulate these data in javascript (especially with google maps). But if I click on View source code, anyone can display the full content of this javascript array. How could I hide these data ?

View Replies !   View Related
Hide The View Source
Another question, is there a way to write a code that way that when someone clicks view source, all they are going to see is black window, without anything in there?

View Replies !   View Related
View Unparsed Source
Is it possible at all to view the unparsed php source code of pages that you do not have administration (ftp) access to? would scripts be able to do that?

View Replies !   View Related
View The Source Of A Web Page Using A Script?
This is probably some really basic operation, but how do I view the source
of a web page using a php script.

For example I want to have a variable, say

$url = "www.google.com";

Then I want to echo its source code, so that I have a page showing:

<html>
<head><title>Whatever</title></head>
<body>
..
..
</body>
</html>

View Replies !   View Related
Disabling View Source On Pages
what's the best way to protect source code on a page? I.e. not permitting the right mouse click to view source or properties.

View Replies !   View Related
View The Source Code From A Php Page
Is there a way to view the source code from a php page and see the php? If there is, isn't that really bad? Aren't there a lot of websites out there that could be really messed up if someone could see the php part of the page?

View Replies !   View Related
View An External Pages Source Code
for example if i were to want to view google.com's source code then i could possibly display the html on my page?

View Replies !   View Related
Function To View The Full Html-source
Is there any kind of a function which lets me view the full html-source of the page I specify?

View Replies !   View Related
PHP Question: 'hiding' Code On Server From View Source
I have just started figuring out PHP as a server-side approach to
something I did in Javascript.

I never was able to figure out CGI on a remotely hosted web server the
few times I tried (maybe wasnt' enabled?), but PHP is working fine...at
least no problems at all, not my usual experience.

What I would like to do is have the web page visitor access one page
that 'calls' another so that the code isn't visible thru a web
browser's 'View Source'.

Can a .php or .htm file in the 'public', 'www', or 'html' directory
access a .php file in for example the CGI-BIN area, or is there another
way to do this?

A visual example would probably help me more than a description.

View Replies !   View Related
[OT-ish] FF: Weird 'view Source' Problem, PHP Session Lost
I have a page that 'demands' a session exists:
Something like:

if (isset($_SESSION['isAdmin']) && ($_SESSION['isAdmin'] == 'Y')){
// OK, continue
} else {
// No good. Redirect to loginpage
header("Location: etc/etc/etc/example");
}

All very basic.

But if I try to view the source of my page in FF by pressing rightmouse
button -view source, I receive the source of the login page!

I get the impression 'view source' makes a fresh request to get the source
but is not sending the PHPSESSID along with the request, thus delivering
the HTML of the loginpage to where I redirect.

The box in question runs W2000 with FF2.

Did anybody in here experience this weird behaviour (PHP session lost when
viewing source) with Firefox2 too?

By the way: The mainwindow just keeps functioning with the session
correctly.

View Replies !   View Related
How HTML Looks Like In "view Source"
Before when using only HTML to write static pages, I would properly indent and stuff so the source code and the HTML structure would be easily readable by humans.

Now with PHP, the outputted HTML looks like a mess. I'm wondering if I should also keep that in mind and try to make the HTML outputted by PHP more readable. But just thinking about how I'd go about doing so seems like a lot of work. So is it practical or maybe there's an easy way to do so?

View Replies !   View Related
How Do You Tell If A Page View Is A Direct Hit, Iframe View, Or Other
How can one tell if a hit on a PHP page was generated from an iframe, object/img tag, or a direct hit?

View Replies !   View Related
Url View
Is there a way using php to check what php script the user is viewing? If so how is it done?

View Replies !   View Related
If Ip View Ads
I Wanna to view ads1 when ip is from usa or canada and view ads2 when from KSA and view ads 3 from anywhere else.

View Replies !   View Related
View Once
Is there a way to display random pages just once with PHP without using cookies? I've been away from this great forum and would appreciate a link/tut/code on how to do this. If not I guess I'll just have to use cookies but would still need a link.

View Replies !   View Related
Getting Name Of New Of View From MySQL 5.0+
We are using MySQL 5.0+ because it now supports views. However it
appears that the PHP's(4.3) mysql_field_table() is returning a
temporary name table name rather than the actual table (view) name.

For instance we have a view defined as "open_meeetings_view", yet when
we do a mysql_field_table() the name retrieved is "#sql_7a3a_1". The
same call correctly retrieves all static tables and even aliases
correctly.

It does not appear that PHP has the ability to dig any deeper (maybe in
PHP 5.0?), but does anyone know how to query MySQL for this information
directly? A "show tables" does show the view names correctly. So we
just need a way to correlate the temporary table "#sql_7a3a_1" back to
the real view name "open_meeetings_view".

View Replies !   View Related
Directory-View With PHP
I've programmed an access-control via header()-function. It
checks an username and password in database ... nothing special.

Currently, the control gives access to a download, but I would
like to allow special users to view the complete directory.

AFAIK this is only possibly through ".htaccess" (Apache webserver).
But then, I need to create an entry for each user in the database
in the file :-(

Would it be possible to allow this direclty through PHP?
Of course, I could write dynamically into htaccess, but if
several users would access the file at the same time ... URGHS :-)

View Replies !   View Related
SQL VIEW Table
When I make a view table in mysql for as pre request from a client, does this table belongs to the this client only or all the clients who uses the server. My intension, i want to create exclusive "temp" tables for clients, where no other clients will be able to go into it.

View Replies !   View Related
View All Plus Pagination?
i have a online store that has about 2800+ products  - on my productList.php pages I have a few variables to display the number of products per page:

<?php
$productsPerRow = 3;
$productsPerPage = 27;my boss would like a view all button that sets $productsPerPage to the total number of products  - and is active for as long as the SESSION (Perhaps unless the button is clicked again?)

Any Ideas on the best approach to accomplish this??

View Replies !   View Related
PHP View Counter
How do I make a php counter, to count:

a) Total Views of one page

b) Unique views of one page

c) Use mysql with it

View Replies !   View Related
Changing /view.php
I'm trying to figure out how to change the display of the URL from /view.php?q=page.htm to a simple /view/page.htm where /view/ is still a PHP script. Can anybody help me or guide me where I can get information on this.

View Replies !   View Related
Phps View For IIS
if there is a way to get something equivilent to this. AddType application/x-httpd-php-source .phps to work for IIS?

View Replies !   View Related
View Php Files
i got this website which is designed by PHP, but i'm wondering how can i view the website on my computer. i'm running windows 2000 platform and IIS. any specific setup i can do then i can view the website freely?

View Replies !   View Related
View Only First X Words
how can I output only the first x words from a field. By this I mean that I've done SELECT * FROM table; got the row that I care about selected and then in that row I need to output everything normally and just one field I'd like it to display only the first 20 words or 80 characters. How do you do that?

View Replies !   View Related
Creating A View
I am having a terrible time trying to create a view. Here is the sql string:

$sql = "CREATE VIEW v AS SELECT * FROM t1;";

Here is the error:

You have an error in your SQL syntax; check the manual that corresponds
to your MySQL server version for the right syntax to use near 'VIEW v
AS SELECT FROM t1' at line 1

So simple, yet so vexing. Any thoughts?

View Replies !   View Related
How To View Headers That Are Sent 4
I'm working on a php project modifying a CMS. I need to be able to
view the headers that the script is sending at runtime. In php5, I can
use headers_list(), but I'm using php4. Is there any way of getting
the info I need short of re-requesting the file?

View Replies !   View Related
Updating View
I have a question, I created a view age with the command: create view age as select username, datediff(curdate(),birthday)/365.25 as age from users;

however it currently prints by default 5 decimal places, where the file type is decimal(16,5).. how can I alter the view to only show age 19, age 20, etc.

View Replies !   View Related
Table View
I want to ask how can i view full table (like in phpMyAdmin) from my database on my php page? Lets imagine i have a table called models and it has columns called model_id, model_name. What script should i use to print all table on the page.

View Replies !   View Related
View Data Between ... And ... From URL
how to get for example table from url which is viewable only in html? example: what i need is red color, but <div id="obsah_vnutro"> is not important. the table is important. the html source is variable. Code:

View Replies !   View Related
View All Info From One Row
I have a page which calls only selected fields from each row in a database. This is working fine. What I want is for the user to click a button/link which takes them to a new page which would then display all the fields from the selected entry.

<input type='button' onclick='window.location="viewall.php?id=$id" 'value='View All Details'>

I have created the code for viewall.php as follows PHP Code:

View Replies !   View Related
Way To View PHP Files On Your Computer?
Is there a way to view what certain PHP files will look like, without having to upload them to your server?

I'm testing out page layouts, and its kind of a pain to upload it every time to see what it looks like.

View Replies !   View Related
PHP Download/view Statistics
if anyone had any ideas for a simple way that I could use to get statistics on the amount of times a webpage has been viewed? I don't really want to install a whole web statistics package.. I just want to keep track of the statistics on a few pages.

View Replies !   View Related
View The Picture Before Save
when i upload the picture.. is there a way we can let the user to view the picture which they just browsed before they upload>??

e.g. user need to upload 3 pictures... so when user browsed the picture... usually what we get is just the path name...instead.. i wan to view the picture and the path... but these picture are not yet upload to the folder.

View Replies !   View Related
See On-line View Code
Hi! Is there any possible way to view an "on-line" php file? That is of course how you can view the code in a php file?

View Replies !   View Related
Generating Tree View!
My problem is simple though I am not too sure if the solution is.
I need to generate a tree view by using the data I have stored in the
database.For example in the root I have stored SportsBrand now if I
click on SportsBrand it will expand to show different names such as
Addidas,Nike,Reebok etc.Again if I click on Addidas I will have
different items such Shoes,T-shirts etc.I want to list the tree on
the left side of the screen and once the user click the items s/he
will see the related information on the right of the screen.Also if
the user want to add any new brand it will be shown dynamically under
the SportsBrand along with the items they are producing. Also if the
user want to delete any brand I have to make sure the tree structure
will be resized again.

xampp(The development IDE) is using this Tree view.

I have already progressed a bit by storeing the tree in database and
running the queries.Now I need to develop the user interface and
mapped it with the backend.

Is there any tool in PHP that will help me to do this? I think in
NETBEANS(Java IDE) they have a built in tool to generate this
structure.

View Replies !   View Related
Imap_headers Want To View Each $val Not All The $val In One String
I wish to view each item in $headers, but this script returns only an array of strings containing the items.

$headers = imap_headers ($mbox);
if ($headers == false) {
echo "Call failed<br>n"; }
else {
while (list ($key,$val) = each ($headers)) {
echo $val."<br>n"; }}

View Replies !   View Related
Private Client View
I would like to create a client login form for an small advertising
company.

What I need it to do is this,
1. The client logs into the website.
2. The client would see his job images.
3. he then could aprove it or send a comment back to the designer.

My question is,

1. Does anyone know of an existing project that can do this?
2. If I write it what would be the best way to present the client a
page that only will show his job.

View Replies !   View Related
View Contents Of Directory
I need a script that will display, in a table, all the contents of the folder. Like, for example, its filled with images, there will be a table and in each cell the file name with a link to the actual file. Can someone try to whip this up?

View Replies !   View Related
View Only A Certain Number Of Characters?
I'm pulling up an article from a database but I only want to show the first 300 characters of it. How can I get rid of the rest?

View Replies !   View Related
Upload Video And View
anyone know where i can get a simple video upload script and once its uploaded you can watch it?

View Replies !   View Related
View External Website
I've been trying to load another website in my current site through php.  So that way they don't actually leave my site.  I've been trying to use require_once("http://domain.com"); or include and thats not working.  Is there a easy way to do this in php.  I've been trying to look on how to do this and all that i've found is wordwrap (i think it was called) which I couldn't get to work. 

View Replies !   View Related
Simple View Counter
Anyone know a simple way to count views for each product using php and a database? Each product has its own ID.

View Replies !   View Related
Printer Friendly View
anyone have an fucntion to create a printer friendly view of a webpage? perhaps even if you tag some html element only those get printed?

View Replies !   View Related
Get The Forms Sent To A Database To View Them
I was wondering what code would I use if I wanted to get the forms sent to a database to view them.

View Replies !   View Related
View Profile Problems
when someone logs into my site, and clicks onto my account (test), it says in the title bar viewing profile: admin, but im viewing the user account, test, and this same problem occurs underneath the links bar, what can i do? Code:

View Replies !   View Related
Calendar In Timeline View
Can anybody help in creating a timeline vies as follows:

There will be multiple names under the "Title" and each person will have multiple appointments. Would be nice if the people could have different coulour bars Any ideas?

View Replies !   View Related
SELECT & VIEW CHECKBOX
I have a page in PHP that receives several fields the user has entered into a form and selects the corresponding entries from the Mysql database I have set up.

What I want to do is have something like a "SELECT & VIEW ENTRIES" checkbox, where the user can tick and view as many of the entries returned he/she wants.

That is, if the database returns for example 10 entries that match ths user's query, I want to have a checkbox next to each entry and if this checkbox is ticked, then the user will see the whole entry.

View Replies !   View Related
Web/DB Dev Internship, NASA/ARC, Mtn View, CA
I wouldn't normally post this here, since this isn't *quite* the appropriate place, but I think the quality of responses will be better.

There is an internship for a Web and Database Technician available at NASA/Ames Research Center for the Environmental Services Branch. The position is for developing and maintaining internal tools and sites supporting the Environmental group. Code:

View Replies !   View Related
MySQL View Scope
What is the scope of a MySQL VIEW? For example, if I have two users simulataneously create a view with the same name but different SELECT criteria, and the first view is overwritten then I am going to run into problems. If this is the case, is there are way to make views creatable on a per-user (per-connection) basis?

View Replies !   View Related

Copyright © 2005-08 www.BigResource.com, All rights reserved