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
See Related Forum Messages: Follow the Links Below to View Complete Thread
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 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>
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.
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.
[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.
Url View
Is there a way using php to check what php script the user is viewing? If so how is it done?
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".
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 :-)
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 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??
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
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.
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 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.
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?
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.
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"; }}
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 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?
Upload Video And View
anyone know where i can get a simple video upload script and once its uploaded you can watch it?
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.
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.
Cant View Data On My PHP Page From MySql DB.
Im working on a character generator for a PHP game Im trying to get going but Im having trouble getting data from my mySql database. I created the table and added all the columns using this file:
Zend Framework View & Viewhelper
I have seen the view helper in the Zend Framework. Does anyone know if there is any kind of plan to bring in bring in HTML_QuickForm like validation into the Zend Framework? The view helper is currently capable of generating form elements like quickform.
View MySQL Data In PHP Tables
Does anybody know where I can get a code snippet on displaying data from a MySQL query in a table? If there is numerous rows that a query returns..this is a much better way of displaying them....i think....
Day View Calendar / Mysql Entries
I am trying to create a day view of a lab resource reservation system. So far, I've been able to generate a day view table with php, using variables for start time, end time and periods. Periods represent intervals on the day view. I have two columns in the table: the first one starts at the start time (say 8:00) and there is a row for every time until the end time, each row time being increased by the period, ie. 8:00, 8:30, 9:00 where the period is 30 minutes and the end time is 9:00. My second column in the table is filled with unix timestamps representing the date for that particular row, so the 8:00 row on July 1, 2007 is represented by a timestamp of 1183291200. I then created variables to represent start and end times and date of a reserved lab resource. I did a little switch statement in my second column of my table saying, if that row's timestamp equals the start or end time of my reserved resource, than give it a certain style. All well and good, except I need to tie this into a mysql database where the reservation details (start, end, date) are stored. Where I am getting fuzzy is how to integrate the query results from the database into my little system. I would like to have that second column pick up the results from my query and display the reservations, but I'm not sure now to do that. I'd like to post the code here, but I'm not sure how to post php code on these forums without getting yelled at for doing it wrong (I did that once, can you tell?)
To Install A New Font While View Page!!!!
I am working with chinese fonts and experienced the difficulty as a user to view that page in chinese... How can i add (or install )chinese fonts to the user's system while the user try to view that page!!!!
View Uploaded Images Of Different Dates
iam using the following code to view the uploaded images. i can select the 2 different dates and can see the uploaded images between these 2 different dates.i can also delete those images also.but it is working good on localhost.but when i upload the script on server,it is not displaying the images between 2 different dates which i select,it just displays todays uploaded images. Code:
Simple Page View Counter
I have been working on a page view counter. Now I haver researched google five times already and can't find a script that calculates a specific page's hits (not the whole site's page htis). So I made my own. Here is the code. I have tried it and it doesn't seem to work. Code:
Change List View To Dropdown Menu
Im working on a script that has to be change so a user can choose from a dropdown menu instead of a list that now is displayed. Here is the part that is insert on the index page.
How Do I View A PHP File's Design In Dreamweaver Consistently?
When I first view the PHP file in dreamweaver, it's fine. Then when I change some coding, sometimes it's fine, and sometimes just the header shows. However, when I upload it to the server and view it, it's fine. How do I get it so that I can always view the design of it offline within Dreamweaver?
Code Insert To View Session Variables ?
I am having some challenges using session variables between pages with Dreamveaver MX. Is there a piece of code i can temporarily place into my pages that will print the values of all Session Variables, such that I can see they are definately being passed between the pages?
Delete Option From My View Records Page
I have a list of things I need to do with my database - but this is my next hurdle - the delete query within my view records page. I want to be able to click on a button or link to delete a record in a table. I was envisaging that each record would have a delete button or link next to it and clicking that would remove it. Here is the script I have created to view "Devices": PHP Code:
An Implementation Of The Model-View-Controller Pattern In PHP
For those who you thought my method of implementing OO principles in PHP was totally wrong - see http://www.tonymarston.co.uk/php-my...od-bad-oop.html for details, you can now read http://www.tonymarston.co.uk/php-my...controller.html and tell me why my implementation of the MVC design pattern is totally wrong. Go on, I dare you. Make my day.
Web Calendar Group/individual View Events?
There seem to be a lot of web calendars out there and I am having a tough time sorting out which ones to even try - a lot of the more popular ones were created 2 or 3 years ago. Can anyone recommend a good one that uses php and mysql preferably? One of the main uses would be for family to indicate their holidays so all in the family can see. Thus, it would require a group/public feature that allows users to see all "public" holidays or just their own holidays.
Gallery Script With Registration/view Pic Function?
I’m looking for a gallery script similar to the one on the sites listed that I can incorporate into my own site setup. I want a gallery with numerous albums, when the user clicks an album they can view the thumbnails but when they click on the thumbnails they cannot view the large size picture unless they are logged in using their email address as their username, and a password that they chose in the registration process.
Unable To View Chinesse Fonts In Firefox!!!!
I'm using Firefox 2.0. When I visit Asian sites, their text renders as strings of question marks. I would like to display the actual characters instead, even if I can't read them. How can I add those character sets to my FF browser? I see a lot of "big-5" (chinese) in my logs. Is there any downside (lost speed or whatever) to doing this?
How To Make User's View Other Users On-line Presense?
I'm really lost on how to make users see other people on-line! It goes like this: The user logs in on the frist page, get a welcome msg and goes on to the Mainpages that contains the a frame with users on-line... but the question how do I make that?? I tried to make it so when the user logged in it send a command to a MySql table and marked him as on! So other could see him.. didnt work to well Because not all users are using the logoutt option and that makes em shown as On-line!
Need View/edit Link On Rows Whilst Paging.
i'm trying to insert a view and edit link on each row of the results returned from my database query. I'm using paging to display all the results returned from the query, and this is working fine and dandy. The view_records.php page consists of a query which returns the id (primary key), company name and section name to a list of 20 results per page. The actual rows contain much more data than this but i'm using the view_records.php as a preview to be able to quickly scroll through the records and would like a user to be able to either view the row as a page in full, or edit the page in full (all the users are trusted 100% so security is not an issue). How can I take the individual row id and open this to view the full info, and how can I do this to edit the information? Code:
Class For Editing Mysql Data From A Users Point Of View
I was wondering if you know of any good php class for editing mysql data from a users point of view. Kind of like PHP My Admin but then really simple and efficient. I have a look at www.phpclasses.org, but have not been able to find anything.
PHP Source
Is there a way that I can view someone else's PHP source code that was used?
Php Source Encoders?
I'm looking to buy one of these PHP source encoders and am wondering if anyone has tips/comments/suggestion/etc... I've been looking around and have found a few that strike my attention: 1. Zend Safe Guard 2. Source Guardian 3. IonCube 4. PHP Encoder What would be the best one of these to go with? Has anyone tried any of these and liked them? Are these things reliable?
DevShed Source
Is there an open source copy of devshed to download or if not, i think that the DevShed admins or developers should make a open source copy so that every one can use it, and learn how it works, and then modify it.
|