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.





Check A Webpage..


I want to be able to check a webpage for a piece of text/hyperlink.. How would I do this?




View Complete Forum Thread with Replies

Related Forum Messages:
Check On Reading Webpage
I wonder if there is any one out there who could help me out, .... and
I am sure there is somebody !!

I want to implement the following :

a webpage with very important news should be read by a bunch of people.
These people are stored in a MySql database, and as they have to logon
to read the page, I can uncheck their names in the database as
indication they have read (or at least accessed) the page.

So far no problem, but now I'm looking for a system that can check the
readflag in the MySql database let us say, every week, and send a mail
to all persons which still have not read the page.This process should
go on until all persons listed in the database have read the page. Does
anyone know how this can be implemented ?

View Replies !
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 !
Code To Check Which Check Boxes Are Checked On The Previous Page And Add Their Names To An Array.
I have a page that has a bunch of check boxes with different names. Once the user presses the submit button another page opens. In that page i am trying to write code to check which check boxes are checked on the previous page and add their names to an array.
How can i check the checkboxes from another page? I have to do it on another page as i am waiting for the submit action to know what boxes have been checked..

View Replies !
Add A Drop Down Menu For Check In And Check Out Date
i have done a booking system and want to add a drop down menu for check in and check out date. I have done the drop down menu and the date display in is today's date. I wanted to make the the date 3 days in advanced of todays date.

<select name="dayIn" >
            <? for ($i=1;$i<=$days;$i++) {
                
                if($i == $_POST['dayIn']) { ?>
                <option value="<?=sprintf('%02d', $i)?>" selected><?=$i?></option>
            <?  }

                else if($_POST['dayIn'] == "" && $i==date(d)){?>
                <option value="<?=sprintf('%02d', $i)?>" selected><?=$i?></option>
            <? }
            
            else { ?>
                <option value="<?=sprintf('%02d', $i)?>"><?=$i?></option>
            <?  }
            
            } ?>
            </select>


and here is my code for check out:

<td>Check-out date</td>
        <td>&nbsp;</td>
    </tr>
    <tr>
        <td><select name="dayOut">
            
        <?
            #$nextDayOut=$_POST['dayIn']+1;
            $nextDayOut = date('d', strtotime('+1 days'));
            
            for ($i=1;$i<=$days;$i++) {
                
                if($i == $nextDayOut) { ?>
                <option value="<?=sprintf('%02d', $i)?>" selected><?=$i?></option>
            <?  }
            
            else { ?>
                <option value="<?=sprintf('%02d', $i)?>"><?=$i?></option>
            <?  }
            
            } ?>


can anyone help me figure this thing out?

View Replies !
Sort Of IP Check Or Other Security Check
Do sessions already do some sort of IP check or other security check or do I have to do this manually? My problem is that I want to use sessions to log in users to my message board. My concern is that a non-cookie user, we'll call her Mary, will post a link to another message at my site and that link will include her session id. If someone else, call him John, clicks on that link, will John now have the same session id as Mary? Or are sessions smart enough not to let that happen?

View Replies !
File Check-in/check-out System?
I'd like to a build a PHP-based interface for sharing documents (MS Office docs, latex, etc). I need to be able to allow users to "check-out" the files for their exclusive use and then go through a "check in" process when they re-upload the doc so it's accessible again to everyone else.

I'd also like to implement some form of version control where older versions of the docs can be in some sort of repository. I'm not quite sure how to approach either concept. I'm wondering if anyone can give me tips on how I might go about this.

View Replies !
First Check The Price, Then Check The Title And See If Contains..
I need help with a part of my script that should, when finnished, to be able to identify incomming orders by first checking the title and then, where price is = the price, check the identify to find a match. Code:

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 !
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 !
Redirected To A New Webpage
I have a form which posts data into a mySQL database, which works fine. After submission I then want the user to be redirected to a new webpage, this is the php code I have but the redirection does not work...can anyone help me with this problem.

<?php

mysql_connect("localhost", "mypcguy2_mypcguy", "*****") or die(mysql_error());

mysql_select_db("mypcguy2_passportforpets") or die(mysql_error());

// Form Variables
$FirstName = $_GET['firstname'];
$LastName = $_GET['lastname'];

// Insert a row of information into the table "contacts"
mysql_query("INSERT INTO contacts
(pkID, fname, lname) VALUES (null, '$FirstName', '$LastName' ) ")
or die(mysql_error());

header("Location: http://www.example.com/");

?>

View Replies !
Testing Webpage
I think I've finished my website and I'd like to know if I can ask people to take a look at it to see if they get any errors but I don't know if I can do that. I wasn't able to find it in the FAQ or guidelines. So is this ok?

View Replies !
PHP Form To A Webpage
if it would be possible to set up a submission form with the following parameters:

name, email, phone number

and instead of storing the information to a database, the information is posted on a webpage or sorts? Is that possible or does it have to touch a database first?

View Replies !
Webpage Viewable Once
Does anyone know how to make a webpage viewable once. I have searched and still no luck.

View Replies !
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 Replies !
Detecting Webpage Changes
I was trying to write my own code to display the differences between two webpages but I am having great difficulty. I also cannot seem to find such an animal on the web, it's incredibly hard to search for without concise terminology.

View Replies !
Creating Webpage
I'm using FCKeditor for entering data into the database. The database will store all content.

Below the text editor I want a screenshot of how the currently stored data appears in the webpage template. How can this be created? Will I have to split the template into includes files?

View Replies !
Populating A Webpage
I am trying to create a webpage that will allow me to view my 'email' website whilst I'm at work. The firewall blocks the page and I was hoping that there was some surreptitious way to get around this problem. My thoughts for a solution to this would be to create a variable with the website's name in pieces. Then send it to a function that opens it in a frame or something.

View Replies !
Update A Webpage
I really don't know PHP, but I am currently building a band website. I would like to create a form that, when submitted would update the shows page to make it as easy as possible for them to update. For instance, the form would include fields for the date, venue, time, etc and each field would be placed in a table. If someone could please point me in the direction of a tutorial or some code, i'd appreciate it.

View Replies !
Capture Webpage
is there a way to use php to cache a webpage? I could use file_get_contents() but this will get the source. I would like to get the appearance of the page viewed by the user, almost like a screenshot. Because if there are any images file_get_contents will just link to the image and if thats deleted from the source it won't be viewable.

View Replies !
Reading A Webpage In Php
im trying to use php to read a webpage, strip off everything but whats inside the body tags, and then output that onto a new page.

View Replies !
Getting Data From A Webpage
How can I put the contents of a webpage in a php variable? a string or an array or even a file?

View Replies !
Webpage Before Output
I'm doing a bit of work on a site and there is a table that contains an iframe tag to an external website frame that is a dynamic page. Now what I want to do is capture the whole page (including the iframe content), just before it displays in the browser and substitute one href with another to rebrand the external source. PS the server doesn't have wrappers enabled.

View Replies !
Preloading A Webpage
anyway to preload an HTML page. For eg. i have an iframe and a link that will open phpfreaks.com in the iframe. When the user clicks on the link, i don't want to wait for the load time.

View Replies !
Part Of WEBPAGE
This is my first time in the forum and right on the start i need help of you guys. I am a new developer and I am trying to build a page in PHP/Html. what I want to do is refresh only a part of page. User fills in the form and comes toward the end of the form where he decides how many pictures to upload and the momment he selects number of files to be uploaded from a pop up menu the bottom part of page should get refreshed having that many number of file input fields as many were selected by the user.

View Replies !
Screenshot Of A Webpage
is it possible to take screenshot of a webpage with php? if yes then where should i start writing this script if you know any tutorial or article etc on this.

View Replies !
Emailing From Webpage Issues
To All,
I am new to PHP and I come from ASP. Is there an easy way to allow users to email me from a webpage. I want to have a form that will include drop down, radio and check boxes and in ASP it's real easy to handle it, but I don't know where to start in PHP.

View Replies !
Playing MP3's In A Webpage...
Is there a way to open up an MP3 by using the header functions similar to the following:

header("Content-type: audio/x-mpegurl; name="file.mp3""");
header("Content-Disposition: filename="http://somedomain/dir/file.mp3"");

does this make any sense?

View Replies !
Rotating Webpage Headline
I have a webpage that looks like a sales letter. To test different headlines for their sales pulling power, I want to rotate several headlines.

Ideally, they should be sequential. i.e. i would have 4 headlines, for example, and would appear Headline 1, 2, 3 and then 4. On the 5th visitor, Headline 1 would then appear. Get my drift?

What is the best way to achieve this?

View Replies !
Parsing An Array Containing A Webpage
I want to parse a few webpages to obtain stats and a few other bits but I`m a bit stuck on how I get down to the chunk of data I need.

I've created a small script which obtains the page into an array,

after that I have managed to get each line of the site to print out on each line.

Now I know what line(s) of the page I need to capture into a seperate string, I`m just not sure how I capture that particular line.

below is the script I am currently using:

View Replies !
Generate Thumbnail Of Any Webpage Using PHP
Joshua Eichorn(http://blog.joshuaeichorn.com) recently released a
fantastic service for creating thumbnail of webpages at runtime. The
service is named as WebThumb (http://webthumb.bluga.net). Later he
relased some API for developers to incorporate the service using a
API-Key. The API-Key is available after registering at the site.

View Replies !
How Do I Email The Contents Of A Webpage?
How do I email the contents of a webpage?

My project is coming along nicely and I have it almost completed.

It started with putting data into a mysql database and allowing people to
select items wanted from a big list. I now can update the database with the quality wanted and I can generate an email to the person however I cannot get the list of items wanted into the email.

The list is coming from a mysql database based and comes up in a table type
format

My question is how do I get the information from the 2nd page into the body
of an email?

View Replies !
Retrive URLs From Webpage
How can you get urls from a webpage? For example, there's 15 links on a page and you want the last 13 links and store them into an array like $array so I can use them later.

View Replies !
WebPage Snapshot / Thumbnail Using PHP
Does anyone know how to take a website URL and show a snapshot thumbnail of the site without needing any installed components, just pure PHP?

The purpose is to show snapshots like ICQ Search does.

View Replies !
Webpage That Can Ping A Server...?
what i want to do is make a webpage for my gaming comunity that basicly will ping the 2 main gaming servers say every 30 mins to make sure there online and then will either send u to the appropiate page IE if it dont ping its offline.. if it does ping .. the sever is up and running... is this possible or not..? is the a script out there that does this??

View Replies !
Read External Webpage
I made the folowing script. It works in most cases but not in the one below. I tried several solutions, but I still don't get the content of that website.

<?php
$url="http://www.example.nl/";
aspxerrorpath=/Default.aspx";
$arr =file_get_contents($url);
print($arr);
readfile($url);
$array = file($url);
print count($array);
?>

Who can help?

View Replies !

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