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.





Availability Checker


I'm trying to build a site for Broadband and I am wanting to put a Broadband availability checker on my site like alot of other site have, However i am quite  new to PHP. Could someone point me in the right direction as how to go about producing the above?




View Complete Forum Thread with Replies

Related Forum Messages:
Recommended Credit Card Checker And Postcode Checker
Anyone know of any recommended credit card checkers and postcode checkers. I am designing a site that needs to have credit card validation and was wondering how this is done. I presume there is usually some validation for credit card number length, dates etc. but would the details then have to be verified with a bank directly?

View Replies !
PEAR Availability
I'm starting to look into PEAR, and it looks like there's some interesting
stuff in there. I'm wondering how much I can rely on it for a distributed
app. If I understand correctly, it's now included in the PHP distro, and
installed by default. What version did this start with? Is the default
installation just the base class, or are some of the packages included as
well? The tricky question is: does anyone have any idea of how commonly
it's installed? Do most hosting companies provide it? I know end users can
install it for themselves, but I have enough support issues without having
to hold users' hands on that.

View Replies !
PHP Availability Calendar
Do you guys know somewhere where i can find a script which creates a Calendar which can be controled via a database, so if a date is "occupied" then the date will be marked at BOOKED.

View Replies !
Availability Calendar
where I could get a PHP based availability calendar for a holiday apartment website? I currently have the calendar as a html tables based affair that is updated via DW, but I am trying to migrate the site to PHP and wish to introduce a web based calendar that can be updated online.

I am looking for something similar to http://www.lanzarotebreaks.com/vill...ar.php/3882.htm that displays in a table format
but is controlled by PHP/MySQL, would like it to have online admin functionality. Am willing to learn how to handcode one if there are any good tutorials. Any help is gratefully received.

View Replies !
Availability Script
i have a number of villas in spain but id like to be able to show there availability online to prosepctive clients to cut down on wasting there time when a particular villa is not available!

i need to be able to show booked and available periods from anything from 1 day to two months, does anyone know i way i could do this, are there any ready made scripts out there doing this.

View Replies !
PEAR Availability On Web Hosts
Just wondering if anybody knew the availability of PEAR classes on most web hosts... i mean like if i write a script using say the PEAR db abstraction class, would most web hosts have the PEAR class installed and in the include_path so that my script would work?

View Replies !
Varying Availability Of Libraries
I'm having problems connecting to postgres via php.  Error message = 'undefined function' when I make the call to pg_connect.  I have modified the php.ini file to enable the extension=php_pgsql.dll line.  The .dll in question exists in both windows and the defined php extensions directory.  I have confidence that the php.ini file in question is the one in use by Apache (if I rename, everything bombs). Code:

View Replies !
Writing Pseudo For Availability
creating an online store for a project in on of my classes. I've searched around and cant really find how to create some availability scripts. How can I create a script to check our database on whether certain things are available? Any suggestions? Just asking for a good starting point.

View Replies !
Checking For Amazon Availability
Rather than reinvent the wheel, I was wondering if anyone had a tried and true and fast way of checking a string containing availabilty information for an Amazon request.

View Replies !
Checking The Availability Of A Domain
I want to know whats the best way to check if a domain is available or not for registeration? Is there a recommended class i should use or is it easy to code myself?

View Replies !
Check Availability Button
I have a form that accepts user info. I want to create a button that enables the user to check for the availability of the username entered before continuing with the rest of the form. I have tried using the button onclick to call a JS function. The JS function have codes to compare the username with database select.

View Replies !
Date Columns Availability
I done an availabilitycheck that until now seems to work just perfect, except 1 problem. For exampel in the database if I have an booking in datecolumns llegada and salida dates 25/11 and 15/12, I would like the days 25/11 and 15/12 to be marked as available. This is the code I have:

$result = mysql_query ("SELECT llegada, salida, propiedad from bookings where ( propiedad = '$propiedad' )
AND (('$llegada' BETWEEN llegada AND salida) or ('$salida' BETWEEN llegada AND salida) or (llegada < '$llegada' AND salida > '$salida') or (llegada > '$llegada' AND salida < '$salida'))", $dbh);

In this piece of the code this is what I would like to do but don´t work:
('$llegada' BETWEEN llegada AND salida-1) or ('$salida' BETWEEN llegada-1 AND salida)

View Replies !
Calender - Availability Chart
I have availability on my site in an calendar and I manually introduces if available for that day or not. But I want to do it autmatically. At the moment I have the reservations in an database table, I have arrival in one column and departures in another column, both date types.

View Replies !
Redirection And Server Availability
I have two servers, one hosted and one local. My local server uses dynamic dns and I am trying to write a script on my hosted server that will check to see if my local server is accessible. If it is accessible I would like the script to do a browser redirect to my local server. If the connection can't be made I would like the script to be in the header of an index page on the hosted server or redirect to a valid page one the hosted server. From what I've found on the net it should be possible using socket() but am not sure how to go about it.

View Replies !
Check Room Availability System
I am super new to php/mysql etc. i am just trying to do a room availability system.
I have 5 rooms in 5 different category. i like to know how to design a DB and write a php that takes two different dates[checkin date / checkout date] and verifies the DB for availble rooms.

View Replies !
Ajax Script To Search Domain Name Availability In Php
hai friends can any one of you do my favour and send the script to
"search domain name availability in php using ajax"

View Replies !
Checking Room Availability For Hotel Booking System
I was wondering if anyone could help me with a problem I'm having.
I've been using Dreamweaver to create a hotel booking system for a
friend of mine, using MySQL (version 4.0.21) and PHP 5. The bit I'm
struggling with is checking the Room Availability based on dates that
are typed into a textfield and then returning a list of the available
rooms on the next page.

The three tables involved in this function are:

CREATE TABLE `room` (
Room_Number tinyint(1) UNSIGNED NOT NULL,
Price_Double_per_Night decimal(5,2) NOT NULL,
Price_Twin_per_Night decimal(5,2) NOT NULL,
Price_Single_per_Night decimal(5,2) NOT NULL,
Price_Double_per_Week decimal(5,2) NOT NULL,
Price_Twin_per_Week decimal(5,2) NOT NULL,
Price_Single_per_Week decimal(5,2) NOT NULL,
PRIMARY KEY(`Room_Number`),
)
TYPE=InnoDB
ROW_FORMAT=fixed;

CREATE TABLE `room_booking_link_entity` (
Room_Number tinyint(1) UNSIGNED NOT NULL,
Room_Booking_ID int(11) NOT NULL,
Single_Double_Twin enum('Single','Double','Twin') NOT NULL,
PRIMARY KEY(`Room_Number`, `Room_Booking_ID`),
INDEX `Room_Number`(`Room_Number`),
INDEX `Room_Booking_ID`(`Room_Booking_ID`),
FOREIGN KEY `Reference_14`(`Room_Number`)
REFERENCES `room`(`Room_Number`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
FOREIGN KEY `Reference_85`(`Room_Booking_ID`)
REFERENCES `room_booking`(`Room_Booking_ID`)
ON DELETE NO ACTION
ON UPDATE NO ACTION
)
TYPE=InnoDB
ROW_FORMAT=fixed;

CREATE TABLE `room_booking` (
Room_Booking_ID int(11) NOT NULL AUTO_INCREMENT,
Customer_ID int(11) NOT NULL,
Bill_ID int(11) NOT NULL,
Date_of_Arrival date NOT NULL,
Date_of_Departure date NOT NULL,
Number_of_Nights tinyint(3) NOT NULL,
Date_Booking_Made date,
Status_of_Booking enum('Booked','Arrived','Departed') NOT NULL,
Total_Cost decimal(7,2) NOT NULL,
PRIMARY KEY(`Room_Booking_ID`),
INDEX `Room_Booking_ID`(`Room_Booking_ID`),
INDEX `Customer_ID`(`Customer_ID`),
INDEX `Bill_ID`(`Bill_ID`),
INDEX `Date_of_Arrival`(`Date_of_Arrival`),
INDEX `Date_of_Departure`(`Date_of_Departure`),
INDEX `Status_of_Booking`(`Status_of_Booking`),
FOREIGN KEY `Reference_03`(`Customer_ID`)
REFERENCES `customer`(`Customer_ID`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
FOREIGN KEY `Reference_14`(`Bill_ID`)
REFERENCES `bill`(`Bill_ID`)
ON DELETE NO ACTION
ON UPDATE NO ACTION
)
TYPE=InnoDB
ROW_FORMAT=fixed;

I've just discovered that MySQL 4.0.21 does not support subqueries.
I'm basically stuck with this version of MySQL. I think I've got
round the subquery problem by using a multi query option as follows:

1.Create a temptable that will store all of the room numbers that
have bookings for the particular dates requested as follows:

SELECT DISTINCT a.room_number INTO temptable
FROM booking_link_entity AS a INNER JOIN room_booking AS b
WHERE b.departure_date >$_POST[‘ARRIVAL'] And b.arrival_date <
$_POST[‘DEPART'];

2.Left join this with the room table and pull out rows with no match

SELECT a.room_number, b.room_number
FROM room AS a LEFT JOIN temptable AS b ON a.room_number=b.room_number
WHERE b.room_number IS NULL;

3.Delete temp table

I've tried doing this in Dreamweaver, but to no avail. I have a
feeling it is too complex for Dreamweaver.

My php knowledge is very basic and was wondering if anyone could give
me some pointers as how to do this in PHP?.

View Replies !
IP Checker
for a program im working on i wish to make the IP checker feature a bit more advanced.
what I'd like it to do is find the hostname or resolve the IP but i dont know how to do that.

View Replies !
GFX Checker
I have made a downloads page but I am trying to make a "Random Password Checker" Where when someone goes to a download you have to type in a random number before it lets you get the download. Like the one here does anyone know how to do this and would like to share?

View Replies !
Php Link Checker
I want to test if my swf files and jpg files are not broken.
I use the fuction fsockopen but this fuction does not work for a file+extension, just domain. Eg www.url.com is ok, but www.url.com/image.jpg is not! but image.jpg is exists!

There is something to that check the full url of files?

View Replies !
Password Checker
I have a little problem with the following part of my code.
I use post method to get the password from the form [$first ].

Because there is an encrypted password in mysql database, I check with
$pass = mysql_query("Select password('$unencryptedPass')");
while($row = mysql_fetch_array($unencryptedPass))
{
$encryptedPassw = $row[0];
}
how the encrypted password looks like.

Then I make a simple query:
mysql_query("Select login, password from edv_verantwortliche where
login = '$login' AND password = '$encryptedPassw'") or
die("authorization failed");

But it doesn' t seem to work. I could login every time.

I have checked all values with echo method - they are correct...
Could somebody help me, please.

View Replies !
Spell Checker W/PHP
I have a couple of forms where I'd like to introduce a spell checker.
Is there a 'favorite', or best practice way of doing this for
PhP/MySQL/Apache on a Windows system? The areas that I'd like to
offer spellchecking are text boxes, textarea type fields, etc.

View Replies !
Number Checker
I have a problem on programming, Iam trying to create a function that
can check whether a number is

0 1 2
6 7 8
12 13 14
18 19 20
24 25 26

the function will just return true if the number is one of the above
but without mentioning the numbers staticly

meaning not like this:
if( $num==0 && $num==1 && $num==2 && $num==6 ..and so on )

but something like this:
function progression( $num, $diffBetween )
{
if( $num%2 )
return true ;
else
return false ;
}

can anyone help?....

View Replies !
Link Checker
i need a script that checks urls and if they are okay then includes them....PHP Code:

View Replies !
Php Form Checker
I need a php script that compile the form and store the results in a file.
If the results are different from last check, the script should send a
mail.

The script, with only one execution, should compile the form N times,
where N is the number of codes to check, stored in a file....

View Replies !
Spell Checker
I have a content management system that allows a clueless person to enter in data regarding our menus. Problem is she can’t seem to enter in the data with out making multiple spelling errors (even though she has the correct spelling right in front of her) So I have been ask to put a spell checker into the interface for her.

I someone laughed at this and told her that spell checkers were quite complex and that it would be near impossible to add on it, definitely not worth the cost of my time to do so. So I’m wondering would it really be that hard? Is there any small program out there that would spell check data in a MySQL database? OR an y other easy way?

View Replies !
AlphaNumeric Checker..
I need help with an alphanumeric checker in php to check all posted variables and generate a link to a page according to its results. Code:

View Replies !
An External Checker(-script) For A CMS???
I am looking for a way to check all external links on a website on deadends.

View Replies !
Broken Link Checker
Could anyone recommend a good free PHP-based link-checking tool? I want to automatically check for broken links in my site. Ideally a PHP script would check all HREF links and list all those links that are not working.. For example: Code:

<a href='http://google.com'>Test 1</a><br/>
<a href='http://34234242jdj.com'>Test 2</a><br/>
<a href='index-does-not-exist.php'>Test 3</a><br/>
<a href='index.php'>Test 4</a><br/>

If my page contains the above links, then ideally a PHP script would tell me that the following links do not work:

<a href='http://34234242jdj.com'>Test 2</a>
<a href='index-does-not-exist.php'>Test 3</a>

View Replies !
Link Popularity Checker
I need to have a script developed which checks lists of expired domains for the amount of links each domain has.

Each domain would be cross-checked with the top 8 search engines for the amount of inbound links... then report back displaying the results in ascending order, by url name, etc...If anyone has worked with this kind of thing before, I'd like to make a donation to your cause for use of the scripts.

View Replies !
Multiple URL/Link Checker
I've been looking around for a php-based code that will allow me to check all links on an entire webpage, by going to the link and checking for keywords such as 400 error, or link does not exist etc. - I've checked out the one or two codes posted which involve placing the url in the <?php etc in the url script. Does anyone know of such a script that exists, or any way to get me started on programming it?

View Replies !
Reciprocal Link Checker
I am coding the reciprocal link exchange form which there is function to check if my site info and link already been add on the partner site page or not.

Please anyone who works on similar function gives me a hint how it works or any sample code would be a great appreciation.

View Replies !
MySQL PHP Password Checker
I'm trying to design a cookie based password system.

I have a MYSQL database called "PassworDB" which has a table in it
called "auth", this table has the columns "user_id" (this is an auto incrementing number) "user" (meant for the users name) and "password".

All I'm trying to do is search through the results of a MYSQL query
"Select * from pages where user = '$form_user'" ($form_user being
generated from a html form), and compare it to $form_pass (again
generated by the html form) for verification that the user exists in
my database and has supplied the correct password.

I have tried loop's foreach's while statements and all sorts but don't
seem to be able to crack it.

View Replies !
FTP/HTTP Checker Script
i want to be able to check if websites are working through FTP as well as http. I am getting address from a database such as...

ftp://website.com.aa/
or
ftp://user:pass@sub.yod.org/
or
http://abc.website.org/

The system won't know what type of address it is, so the script needs to first work out what type, then check it.

View Replies !
Effective 'Logged In' Checker?
I'm writing my own login script and have the following bit of code to check whether or not the users are logged or not. The script works, I'm just wondering if there are any security problems with it. Code:

View Replies !
Mass Proxy Checker
i am trying to build a mass proxy checker.

the idea is as following:

read a list of proxies, connect to each one of them (in a loop), visit a specified website and if the visit was successfully (and not time out) to print a 'success' line, else a 'error' line. I've used snoopy class and here is my code but i am not too satisfied with it. Code:

View Replies !
PageRank Checker.. Keywords Etc..
Are there any basic scripts I can use to check the pagerank of a URL that is entered in the textbox and submitted? I als need to search the website for keywords etc..

Another point is how can I search a URL stated for a certain string of text?

View Replies !
Link Checker + Time It Took
I have a table named activeurls, with 2 colums, url_id and url. I have around 300 records of urls... Code:

I wanted to know how to run a script that will check the url to see if the page loads, or times out etc. plus the time it took to respond.
These can just be kicked out on the same page...

I dont know where to start....

Here is what i have, i dont know how to run each url through the loop, and get the time it took for it to load the page. For now, i will only care about the pages not repsonding, or broken links for error codes. Code:

View Replies !
Validation Checker And Odd Strings?
When I create an album, i have to enter an album name - set as $login, what i need to do is allow the whole string, ie. $login = "Demo Album" but I dont know how to allow the whitespace, and also i need to have a little submit button next to where the name is entered that I can click on and it will check if the name has already been used? this then refreshes back to the same page..

View Replies !
Script Update Checker
I am currently developing a new version of an online DJ Panel that I created and want to incorporate an update notification system/page. Basically I just want it to alert the user if an update is available. I have been looking around and have found that the supposed best way to do this would be by a text file stored on my web server that the script checks using fopen or file_get_contents, would this be the best way to try and do this?

View Replies !
Best Broken Link Checker
I have over 300 different merchants being advertised on my site through the various affiliate networks. Unfortunately, they sometimes suspend/deactivate a merchant without letting me know and I simply don't have the time to check through every network every morning to make sure nothing has gone on overnight. Is there a good script/program that will periodically check the affiliate link reaches a site and not a "holding" page?

View Replies !
Backlink Checker Php Script
I am searching for a backlink checker php script to play. Is there any that I can look?

View Replies !
Problem With Password Checker
I got a small program which take the password of user and checks its strength. That is if password consist of Uppercase alphabets, Lowercase alphabets, digits and symbols. Am not getting the expected result. for example if i put password as raj, i get Code:

View Replies !
Website Checker Script
I want to write a PHP script to check several of the websites that we run. I will have it run each day using a CRON job therefore automatically checking our sites each morning. I basically just want the script to go to each website and check that they are still up and running. Now I know that I will have to get the HTTP server response code to work out whether or not the website is up or not.

View Replies !
Debugging This Spell Checker
I know I can do more with it, but that's all I want right now. For some reason it thinks every word is misspelled. Eventually I'll want to highlight mispelled words and next to the word have a drop down box with all the possibilites in it. PHP Code:

class spell_checker {

        var $personal_path = "/speller/";
        var $skip_len      = 3;
        var $mode = PSPELL_NORMAL;

        var $pspell_handle;
        var $pspell_cfg_handle;
        var $personal = false;
...

View Replies !
Hi, Need Isuggestions For PHP Based Spell Checker Please :)
I hoping to receive suggestions for open source PHP based spell
checkers. Anything good or workable out there?

View Replies !
Web Sites With Spell Checker Or Dictionary API
Does anyne know web sites with spell checker or dictionary API? For
those who want to tell me to install pspell or aspell, I would like to
inform that I am currently on a server whose owners are not willing to
install them.

View Replies !
[PHP] Problem With Code Found On The Net - PR Checker
I've found php code that checks google PR. On my machine it works nice (PHP version 4). After switching it to PHP5 it started to generate another checksum and the same happens on my web server (three different versions of PHP and 3 different checksums) :/
The checksum is held in $ch variable. Code:

View Replies !
Minimum Source Version Checker
I get to to see a lot of code that doesn't work on older versions of PHP and it can be really time consuming to write work-arounds for the latest functions. So I was wondering if some sort of source version checker exists that can parse those scripts and tell me the minimum required version of PHP to run them. I apologize if this question has been asked a thousand times before, but my friend Google doesn't seem to be very helpful in providing an answer.

View Replies !
Reciprocal Link Checker Script
I am coding the reciprocal link exchange form which there is function to check if my site info and link already been add on the partner site page or not. Please anyone who works on similar function gives me a hint how it works or any sample code would be a great appreciation.

View Replies !
Link Checker Display Is Not Working
<?php
$page= array("index.php, underC.php");
if (in_array("index.php", $page, true))
{
include ("Newsfact_01");
}
elseif (in_array("underC.php", $page, true))
{
Include ("underC.php");
}
?>

The things that happens is, no error, but the tale in which the page is displayed does not display at all.

View Replies !
Firefox Php/ajax Spell Checker
So i recently went to you tube.com and after i liked their spell checker i decided to use it on my clients cms stuff i made. I also recently downloaded Firefox 2.... Now i am not quite sure, but does Firefox 2 have a built in spell checker or what? So i am a little confused. i thought it might have been a spell checker on You Tube, but in fact it was my new web browser spell checking everything. Then again the Ajax/php spell checker seems to use a similar technique i think.

View Replies !

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