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 Complete Forum Thread with Replies
Related Forum Messages:
Mac IE- Customer Can Not View Page
I have an irate customer who is running IE 5.2 on Mac. She can not view the webpage: She just gets a blank screen. I set up many CSS styles in beginning of code, I think the issue is located there. Can someone take a look at code and give me their thoughts? I have no problem viewing page in IE 6.0, Netscape, or Firefox.
View Replies !
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 !
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:
View Replies !
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 Only The Main Page Script
How can I prevent users from browsing to any page they want to on my website by typing in the URL to it in the address bar? I only want them to be able to access the main page (index.php) .
View Replies !
Sessions :: You Are Not Authorized To View This Page
PHP Code: session_start(); $_SESSION['user']=$username; then on the next page, i tried to check the existence of the content of the said session variable with the following code: PHP Code: if(empty($_SESSION['user'])) { echo "you are not authorized to view this page"; }.
View Replies !
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:
View Replies !
Drag And Drop File To Page View
I want to coding drag and drop but it has more problem. I wanna drag file from desktop and drop into page view then page view show description and file size, can I? Instead of browse from file by use button. How should I do about this?
View Replies !
Redirects The User Back To The View Page
i am facing a strange problem of redirection. After the user fills up the form, i submit the data to save.php file and at the end i have a header which redirects the user back to the view page.Below is the code of save.php: Code:
View Replies !
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 !
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 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 !
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 !
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 !
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 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 !
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 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 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 !
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 !
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 !
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 !
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 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 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 !
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 !
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 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 !
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 !
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 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 !
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 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 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 !
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 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 !
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 !
|