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.





Webpage Preview Like Ask.com


On search results from Ask.com, users can mouse over the binocular graphic next to each result to see an image preview of the page they are about to visit.

Anybody know how this is done? If so, is it possible with PHP or is this one of those dark, scary, proprietary monsters?




View Complete Forum Thread with Replies

Related Forum Messages:
How To Move Arrays From Html Webpage To Webpage?
There are a couple techniques to move information from different html
web page to web page.
1. URL;
2. Cookie;
3. Form;
4. Session;

All the examples I found are move distinguished variables from page to
page, such as "?weight=20&name='apple'".


I need users choose from the first web page (the arrays will be
generated), then use it in second and third html web pages. How do I
transfer them (arrays) and which way is the best?

For example, if I have two arrays,

$fruit[] = array("apple", "pear", "orange");
and associative array
$myCats["Me"]="Merry";
$myCats["Pi"]="Pippin";
$myCats["He"]="Hergie";

View Replies !
Php Webpage And Form On Webpage!
recently signed up for a text messageing service that can use php script to send required details to specific mobile numbers, Anyways i recieved this code from the company: Code:

View Replies !
MP3 Preview
Can PHP generate a preview (Shorter Version) of an MP3 file?

View Replies !
Preview Button
I'm making a forum, and i need to know how a PHP script can tell if it is a preview button there is clicked or a submit button there is clicked. Can anyone tell me what to do?

View Replies !
Preview A Midi
First, let me give a brief description of what i am trying to do.
I have a midi banks, which contains a lot of midi songs.

I would like people to just hear with, and NOT saving it to their computer, as I just want to share what I have but not distribute.
So i dun want the path to the midi to be shown

I have been with this problem for a few days!!....and i really cannot get through it, any help is greatly appreciated.
Below is my code.

* The path should be correct because when i paste the path into my browser, it load the midi and play it with quicktime.....
note the last statement, i actually try to print the filezise to see whether the file exist.

<?php
Header("Content-Type: audio/midi");
header("Accept-Ranges: bytes");
header("Content-Length: ".filesize("./contents/rts/midi/Chinese/100167.mid"));
Header("Content-Location: URL");
echo "";
readfile("./contents/rts/midi/Chinese/100167.mid");
#print filesize("./contents/rts/midi/Chinese/100167.mid");
?>

View Replies !
Script Preview
Tomorrow I will be asking for a script critique even though I know its
going to get slagged silly .

Will this be taken into account or are some users on this newsgroup in
fantasy cloud cuckoo land and think a newbie should be able to write
expert code ? .

View Replies !
Preview And Submit
I'm trying to be able to preview what is entered in a form before it's submited but i'm getting stuck - the preview button is submitting the form. Code:

View Replies !
Php Image Preview
does anybody know a script to have images displayed from a database image and enlarge image to be displayed in a javascript pop up window.

View Replies !
Preview An Image
I am currently working on a Avatar generator, based on sprites of the game Squeebs which is a really small and olny a few days old. I want to be able to preview the image while in creation. How would I go about doing this? Not sure if you can do it with php, but if not, tell me what language and direct me in the right direction.

View Replies !
Mp3 Preview Script
Is there any kind of script that makes you listen to a preview of a mp3 track on you own ftp? For use on a homepage etc. Kind of like the mp3 webshops.

View Replies !
Can't Preview My Files
I've downloaded and installed wamp 5 and i'm using php designer. whenever i open a new php file and save it in the wwwroot in the wamp folder and then try to preview it it asks me whether i want to save or open the file. what's going on?

View Replies !
Preview Post
I am trying to create a forum using PHP and MySQL. I was just wondering how to create a 'preview post' function like what we have it here in phpBuilder? So far, my idea is to use javascript to pop up a new window to be previewed. That works fine. I just dont know how to retrieve the message to put on the page. I thought of querying the last updated row from my Thread table. Any idea how to query that? Besides popping out a new window, how else can I make it go to the particular page (preview.html) instead of to 'submit.html' if there is another submit button in my posting form?

View Replies !
Quick Preview
I've just about to complete with a (win32) software, but in the end, a beta-tester suggests to include "Quick Preview" like many search engines do now..

Anyway, I need to have the 'quick preview' feature in a windows application, just as seen in this screenshot: Code:

View Replies !
Preview Problem
I have a form that sends data on to another page so that the user can preview it before it is inserted in a database table. The problem is that the form sends both text and possibly an image to the page used for preview. Even if I use a hidden input field for the image file it still is displayed on the text centric page but with enctype for foo bars the image into gibberish that fills a large part of the preview page.

View Replies !
Page Preview
I had an idea and im just wondering if it is possible and if so how it could be done. I have a site that will have many pages each of them different in their own ways and can be customized by the members who the pages belong to. So what I am wondering is, is it possible for me to have a page that will display a smaller "preview" of the members page.

View Replies !
Image Preview
I have an image for each product that I would like a bigger preview image to seen. In my product database image is row 5 and image enlarge is row 6. I have this code but its not working, its from Dynamic drive.

<a href="productimages <? echo $row[5]; ?>" rel="lightbox" ><img src="productimages<? echo $row[6]; ?>" width="160" height="160" />[/url].

View Replies !
Generating Page Preview
I'm currently working on a management type of interface for a website.
It's a PHP site with a MySQL backend. What I'd like to do is have a
text box for editing text on the site, as well as a few other things,
and then be able to generate a preview of the site. The preview is
where I'm lost. I'm not even sure if it's possible, but what I'd like
is either an image generated from the URL or a way to quickly and easily
render the page but on a much smaller scale. Is this possible? If so,
how would I go about it?

View Replies !
Php Preview Before Update Mysql
I have an admin page with a form to submit outlet data in to the mysql database. all I want to do is have 3 buttons for the form 1 putting the outlet on hold which is ok the other update with is also ok, the one I am stuck on is Preview,

I need the the admin to be able to check over what has been updated but cannot work out how to display the the data witout updating the databse ...

View Replies !
Preview On Index (substr?)
I want to make the posts on my index: www.datafuse.net shorter so people view the posts in full on their correct URL. But what I want is the script to cut as soon as it reads out a <br> tag. Any ideas?

View Replies !
Preview Form Button
What I want to do is print all the values entered in a form for the user without the form text. Then it should let them submit the form from this "preview screen." The problem is that that form loses the values on the preview page for the finish button. Does everyone just create hidden inputs to do this, or is there an easier way?

View Replies !
Private Message Preview Box
on my private messaging code, i was trying to add a "preview" button when clicked the message is displayed below the box but i don't seem to be able to get the isset to catch it: Code:

View Replies !
Preview Of Website In Dreamweaver?
Do you know a way to have a preview of your PHP CSS website when you are using Dreamweaver?

View Replies !
Displaying Print Preview
i have a print button on the page.Onclick i open the same page in a new window where in the user can print the page content. But now i want that the user should be directly show the print preview so that the user knows how and what will be printed on the page[ specially the remarks column which are toooo large].i dont how to do it. whether i have to use javascript or php :confused:

View Replies !
Preview Before Submiting Comment ?
ok so on mysite, i have where users can comment each other. but i cant figure out a simple way to make a "Preview" before they submit it. and i want the preview to show the html and stuff.

View Replies !
Submit And Preview Buttons On A Form
I am trying to do a little script that users can post news but before they click Submit they can click a Preview button (same as in this forum where you can preview your post before posting it)

How do I do it!!! I have tried for ages to work out how its achieved as I am sure its fairly simple.

View Replies !
A Preview And Submit Button On Same Form
I have two buttons on the same form, much like here when you post a new thread, you have the option to preview. Using isset is not working for me, PHP Code:

View Replies !
Page Editor, Preview As Change
I have a simple html editor on my page that edits the left portion of my page. I wanted to know if I could make the left side of the page load the html from the textbox as I change the html in the textbox. Here is my code for the editing and such: Code:

View Replies !
F12 Preview Weird Create New File
I've just started using/learning PHP and I seem to have everything running ok except for this one thing. I'm using Dreamweaver 8 and WAMP 5 (Apache 1.3.33 and PHP 5.1.1). When I hit F12 to preview a page, lets say index.php, in my browser, instead of index.php opening an identical page is created, opened and called something like "TMP9te8rr8zx6.php".

This page is then added to the contents of sites root directory. If I were to type in www.localhost.com or www.localhost.com/index.php then this does not happen.

View Replies !
List Box With Files, Then Preview Of Thumb
I want to create a listbox that displays all the files in a certain directory. Upon clicking on a file, a small thumbnail appears. I've seen a lot of "image viewers" or automatic thumbnail generators, but these don't suffice. Mine needs to preview a thumb only when I select the file in the listbox.

View Replies !
Best Practice For Making A Preview System?
I have tried two things so far:

i wrote the article text to a xml file and dumped it together with the attached images in a temp dir. this became spaghetti code (it might not when i try it again with previous experience and OOP).

The second thing i did was add a preview boolean to the article table but that doesn't work because when i edit an artiocle and preview it without submitting it again it stays in preview mode and as a result the article disapears from public.I'll keep trying but Help is welcome.

View Replies !
Preview Form Contents Same Page, No Refresh
I am setting up a shopping cart for a client who sells imprinted items. He wants to be able to have clients complete a from and get a preview of what the imprint will look like. The choices for formatting are very limited - small, medium, large text; italic, bold, bold italic; arial or times.

I am trying to find a way to have the customer enter the text, make the formatting choices and then hit a preview button. The preview will display right below in the same page, but the values will stay in the form. Code:

View Replies !
Safely Cut Off Short Preview Version Of Long String
Here`s a problem I have been working on for a while, but can`t seem to
solve satisfactory.

I have a database with blog entries. Because each of those entries has a
variable length which can be quite long, I want to build an overview page.
Of each entry there will be a preview version, say 700 characters max.

My problem has to do with HTML tags. If for example an entry contains a
<BLOCKQUOTE> with a large quote, my function would break off somewhere
halfway in the quote. The end result of course won`t have the
</BLOCKQUOTE>, rendering the resulting page horribly bad.

I would like to build a function that breaks a string up to max X
characters long, but plays it safe when it encounters any HTML tag: it
does not matter if the end result is a string of say 670 characters long,
it only matters that it approximates the max character setting and doesn`t
mess up the HTML tags.

View Replies !
Notice: Undefined Index: Username In /home/spaodesi/public_html/preview/index.php On Line 23
Quote: Notice: Undefined Index: username in /home/spaodesi/public_html/preview/index.php on line 23 Quote:

Notice: Undefined Index: pass in /home/spaodesi/public_html/preview/index.php on line 24.

View Replies !
Get Webpage Url
how would I call a web page url I'm interested in the current active page Example the URL when I type this post is

http://www.phpfreaks.com/forums/index.php?action=post;board=1.0

I want to assign it to a variable

ie $url=http://www.phpfreaks.com/forums/index.php?action=post;board=1.0

View Replies !
Screenshot Of Webpage.
I remember an old topic way back about creating a script that would be able to create a dynamic thumbnail image of a live web page. I didn't follow it all the way thru and never did see if somebody created a solution. I tried searching for it, but can't find it.

Did anyone figure out if this is possible?

View Replies !
How To Parse A Webpage
I've scoured the net looking for a tutorial on how to parse a webpage but I've come up short handed. Can anyone provide me with some tips on how to get started?

View Replies !
Forcing A GET To Another Webpage
How can I forcefully 'push' a get request within a php? Example would be having 2 websites running on two diferent server. When I update site A, I would like update site B as well using GET. PHP Code:

View Replies !
Ideas ..with Webpage
Hello I didn't do any web page development since university ,I wanted
to create a web page for the fun of it ,an I was surprised of how easy
it is to use frontpage and dramweaver to do basic stuff ,but I wanted
to do something that I am sure it can be done but I don't really know
the way .
The webpage is not something original and it has been done before .
Xe.com is a currency converter from a currency to another currency I
have the following questions :

1) Wanted to auto detect the users country and accordingly set the
starting currency (from this currency) to the currency that his country
is using.
And also change the language to the user's language ...

2)lets say that I have users from two countries Germany and Hungary I
can create two starting web pages one with Hungarian and one with
German ..but lets say I have users from 30 different countries is not
very convenient to have to create a web page for each language there
must be a way that someone can i have a webpage that takes textiles or
something with the language strings and just displays them.

3) Lets say that the language is wrong and the user is using a computer
of the Spanish person and the user is Japanese I want to give them the
option to change the language
at any time ..do they have to install another language e.g Japanese in
this case? or only the encoding has to be changed .?

4)I wanted to give the user the option to select the currency in a
better way than dropdown box ,or a list box .. like a menu somehow but
I can't come with anything ...I don't know what guys can you
suggest I guess the list box is the obvious especially if there are
so many currencies but I would like something nicer... for example to
display the currency image at the side ..not sure..

5) If I create user login for example and I have different users that
they pay for the services how can I restrict certain currency converter
for certain users e.g. we have two users and the one user didn't pay
subscribed for the free service (he can convert Euro to dollars, visa
versa, pounds to dollars visa versa, pounds to Euro visa versa), the
user that paid can convert any currency ..

6) How can I restrict users from copying the website (using offline
explorer for example).

I was wondering what tools do I need to use to create the
website(recommended reading books?/online tutorials ),how will I be
creating the functionality that I want and how will I be resolving
every problem listed ?

View Replies !
Webpage To Email
Several times recently I've been asked to generate HTML email messages for
clients. It would be very nice to be able to render an existing webpage in
such a way that it could be included as the HTML portion of an email
message.

The problem is that web pages usually have some relative urls, such as for
images, links, stylesheets, backgrounds, etc. which wouldn't work in an
email.

Does anyone know of a way (in PHP) to translate all the relative urls in a
document to absolute?

View Replies !
Webpage Via EMail
I have developed a website in my local machine using PHP, MySql and
apache. It's not uploaded on the net. If someone asks for references,
is there a way to send without uploading on the net?

View Replies !
Webpage Screenshot?
Is it possible to fetch a webpage and take screenshot of it like it displays
in browser and then store it in jpg/gif

View Replies !
Moving To Another Webpage
Is there a way of jumping to another page from PHP. I've got a form that is submitted, and that data is entered into the database. I want the page to then go back to the original page. Can i do this?

View Replies !
Webpage Hit Counter
Where would I find a website hit counter written preferably in PHP? I
do not have shell access to the web provider so installation would
have to be via FTP only (no make or compilation)....

View Replies !
Using A PDF-creator On A Webpage
I have a webpage: www.site/page245.php.  I also have a "frame" on the right side where I have this PDF-button.

That button uses html2pdf to create a pdf. The problem is:

I need to get a hold of the address it is supposed to create a pdf of.

when I use this code: $htmlFile = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; I only get the current page, and I want the previous.

View Replies !
Backup A Webpage
Is there a way with php to backup/mirror a page? I know that I can use file_get_contents() to get the HTML from the page, however how can I get the images etc to be downloaded and stored on the server?

View Replies !
How To Restrict Webpage
how to restrict my webpage, the logged in users are only allow to access page, if not redirected to login form.

View Replies !
Reading A Webpage
I need to make a PHP script that reads the source code of a webpage (i.e. http://www.google.com/). How can this be done?

View Replies !
Check A Webpage..
I want to be able to check a webpage for a piece of text/hyperlink.. How would I do this?

View Replies !
Having A Webpage Modify Another
I am completely new at webpage building when it comes to advanced controls. I know how to put textboxes on a page with dreamweaver. What i want to do is have page1 with 2 textboxes. Then I want it to modify Page2.html page. Code:

View Replies !
Render A Webpage
I am trying to create an module/component which can take a webpage (by URL) and render it as an image. The aim is to be able to create thumbnails of any given website on the fly.

View Replies !
Webpage Freezes
I have a registration page in PHP, worked fine yesterday, today when i submit the data, it hangs the actual webpage. The data is placed into the mysql DB, and i can log in with that user id and password after i close internet explorer and open it again.

View Replies !
WebPage Creator
I need to create a form that displays webpages with personalised content. The form will be something like this

Please enter title of Webpage:
Please enter content for page 1:
.................................... page 2:

The webpages will be fairly standard over all it will only contain about 4 pages
Home with links to the other 3 pages. any ideas? I'm sorry if that description is bad, i'm not too sure how best to explain it.

View Replies !

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