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.





Automated Tasks


I have an auction site running. Now I want the auction to be able to automatically send a mail msg to the seller after it expires. How do I do it? Obviously there is some sort of way that I can employ so that this task does not require an operator (such as me) to run manually. This task will involve accessing the database and sending an email. Can somebody enlighten me on this?




View Complete Forum Thread with Replies

Related Forum Messages:
PHP Tasks
some times i get this error on my script: Internal Server Error

i researched very much on why this error happens and i get to: i forgot to close some php tasks in my script.

now i know only mysql_close() for closing one of php tasks. what are others php tasks that need to closing?

View Replies !
How Can I Automate PHP Tasks?
I am currently running the same task multiple times a day and I'm sure there is a way to automate it. It is a simple one, but with limited PHP knowledge I'm not sure of the best way to do this. Here's what I need to do

1) log-in to a 3rd party site

2) Download the CSV

3) Upload to my db

View Replies !
Cron Tasks
I'm building an auction site which needs scripts automatically launched to scan the closing auctions. I'll use Linux's crontab.

I'd prefer to avoid installing Php as a cgi and prefer to keep my apache module config.
I'd also prefer to avoid the use of a browser as lynx to do this job because I fear the time-out How I can launch my scripts?

View Replies !
Background Tasks
I'm using some weather rss feeds in a web site. The feeds are updated once every hour and cached in a local file. My problem is that every time the weather report is updating I get a long wait (not that long.. 2 or 3 secs) before the page is displayed.

This happens becauses the teplate engine that parses the page is waiting for the weather section to be parsed and cached. Is there a ay I can start the weather parsing as a background thread and return immediatly to the template engine to continue to parse the page? And if so How?

View Replies !
Directory Tasks
Im looking to do some work with directories. Basically, there are some directories which I want my website users to access fully, and see all the files in there.

My server allows index of directories automatically, where users can see all the files in the directory (unless there is an index page). Code:

View Replies !
Using PHP For Nightly Backend Tasks?
I have to develop a script to be run nightly to go through a database
and send emails based on conditions. It's a large database, and there
are several thousands of emails to be sent during the week everyday.
The script will be run with a cron job at midnight or so.

I was wondering if PHP is suitable for this, or may it be problematic,
for instance would its execution abort after a certain amount of time?
Or is it perfectly fine for this task?

View Replies !
How To Execute A Tasks If The Time Is 22:30:45
crontab work every minute

How to execute a tasks if the time is 22:30:45 or 22:31:01

id | time | script
-------------------
4 | 22:31:01 | script0.php
3 | 22:31:00 | script1.php
2 | 22:30:45 | script3.php
1 | 22:30:00 | script2.php

View Replies !
How To Schedule Tasks On Website.
I am trying to figure out how to schedule tasks on my website. For example, PAGE1 should perform a different task in the morning than in the afternoon.

And at the end of the day, I have to extract some data from the database and put them into a file. This should be done automatically.

View Replies !
Script In Windows Tasks
I would like to know how do i work with php in windows tasks. i developed a php web application and i would like to recieve to my email every day a certain report which will be produced by a php script.

View Replies !
Cron/scheduled Tasks
Im running my site on a web server, and want to add something so that every hour the variable $gold = $gold*($workers*3.1) +($banks*30); and the way to do this is cron jobs from what ive gathered from searching google. BUT not only haven't i found a good tutorial, but I haven't found a single example taht isn't with CGI or a download.

View Replies !
PHP/mySQL Running Tasks Automatically?
I have a MySQL DB with all my client details (name, email address etc).

I want to use PHP to retrieve records from the DB and email each of these clients (easy enough) BUT I want the system to automatically do this at pre-defined times.

I have thought about using the UNIX/Linux CRON utility to perhaps call a PHP script that would retrieve specific records (based on a timestamp perhaps?) and then have it email based upon those records.

Does this sound feasible? Are there better ways to do this?

View Replies !
Cron Jobs / Tabs / Tasks And More
I'm building a site with a mySQL db behind it.
There are going to be a lot of records in it with products.

Now i have recently discovered cron jobs, and i thought it
would be a good idea to use those to backup the database.

i have a few questions:

- If i back up the database, does it put the backup
in an actual different db, or just in the same db but
other tables? (Silly question maybe, but i'm new to this)

- Can the DB still be queried bij site-visitors though it's
being backed up?

- Is it possible to just backup new/updated records instead of the
entire db?

- Imagine i backup once a month. can the cron job notice
if the DB is dameged/ has errors, so it'll stop backing up
so it doesn't overwrite the previous backup... or doesn't backup
delete the previous backup?

View Replies !
Executing PHP Tasks While Letting A User Continue To Browse?
I was wondering if someone could help me out with the following two
situations.

In a lot of my web apps, it seems that if i launch a PHP script that takes
a long time to complete, the user is unable to browse/use the rest of the
website until the tasks completes. Is there a way to avoid this?

Specifically, app #1 let's a user choose which files to include in a zip
file, then PHP makes the .zip file on the server and streams it to the user
via fopen/fread. So, as the user is downloading a file on the side (it
presents them with the open/save dialog) they are unable to browse the rest
of the PHP-based site until the download completes; clicking on any links
to pages does nothing, the browser just sits there until the file has been
downloaded, THEN the screen advances.

I am experiencing a similar thing with a PHP mail delivery system. I tried
to create a work-around: a pop-up window that sends an 'exec' command to
the a php-script that sends the email to a few hundred recipients. Again,
even though this action is being done in a pop-up window (and via the
command line, no less), the user is paralyzed in the main window until the
action completes.

View Replies !
Sending Mails Without Using Scheduled Tasks (crone Jobs)
Can we set up a mail program that the mail can sent frequently..ie may be daily or weekly or monthly... with out using scheduled tasks or crone jobs.

for eg .. can we create a page that works like the scheduled tasks page( there we can set up the time at which time the program  will execute )..that means we have options in our webpage to set up the time  at which the mail will sent. for eg..every monday.. can we set up this in the program without using scheduled tasks or crone jobs. can we run our page  frequently without using crone jobs .

View Replies !
ISP Automated Signup Via PHP
I've been given the interesting task of developing a website for an emerging ISP who would like to handle customer signups via an online web-based signup page. Problem is I don't know where to start. Common sence tells me that I need PHP to interact with the radius server (Cistron) somehow, but that's about all I know at this point.

I'm in the process of educating myself about how the Cistron radius server works and hopefully I can figure something out.

Has anyone else worked on a similar project in the past that can provide some useful information to me?

View Replies !
Automated Upload With PHP
I work for an animal hospital trying to use PHP to store an animal's
dental x-rays to a file server.

I can browse for the xray on the local desktop computer then click
"Upload Image". This works fine. The doctors want fewer steps to
follow. So, it was asked if I can configure the browser to load/submit
the image 'xray.tif' each time they click "Upload Image" instead of
the doctor/animal technician having to look for for dental x-ray
image.

Does PHP support such a feature to pull/load a file of the client's
computer? My three PHP books aren't helping, but I am probably looking
in the wrong direction.

View Replies !
Automated Web Browing
Does anybody have some idea how to input some text into inputbox on
one page, than press some button on that page, that will load another
page, and finally read the responde? Suppose I want to write a price
comparision engine, where I would like to parse shops website for
price each time user wants....

View Replies !
Automated Xml Playlist
I have a script that uploads mp3s to a server and then writes uploaded mp3s to an xml playlist. The problem I have is that the xml playlist is in the wrong format for mp3 player I am using. I have tried to alter the formatting but everytime i change something everything stops working, i really need to get this working and i am starting to loose my sanity! Code:

View Replies !
Automated Filelist
I want to build a PHP-Site, wich lists some downloadable files in some directories from our internet server. Can anyone tell me some hints, to build such a page? It would also be fine, if i could generate a description to the download, which is generated from the filenames.

View Replies !
Automated Emailer
I need to make a script for our website that emails me everyday on certain statistics regarding our website. I was curious if there is a way that I can create this script to automatically email me every morning with the previous days statistics.

I thought I remember seeing something similar to Linux's Crontab except it was a PHP version. Has anyone had any experience with created an automated PHP emailer?

View Replies !
Automated Processes
Customers post 'projects' to my site. These 'projects' are closed after 10 days. I could run a script on the default.php page that detects this, but it seems a waste of resources to run it everytime someone visits the site. Is there a way around this, for example the first visitor to the site in any, say, 3 hour period, runs the script & switches the most recently outdated projects from open to closed?


View Replies !
Automated Script
I need to make a script that runs itself every Hour, how do I do this/is it possible?

EDIT: I read about Cron Jobs/Tabs on Google.com and I see them in my CPanel but I don't know how to work it... well it says Command to run:

What do I put there? An absolute url:

http://www.site.com/script.php

?

View Replies !
Automated HTML E-mail
Is it possible to send a HTML e-mail automatically using PHP.

View Replies !
Automated Downloading Of Webpages
I'm doing a web programming project in my computer science course.
The task is to first create a content customizable webportal according to the user's preferences.

When a user login to the portal, the portal should be able to fetch the relevant information (webpages) and push it to the users.

The catch is, instead of just displaying those pages in the user's browser, I need the webportal to automatically DOWNLOAD all the pages to the user (save to the client-side).
Therefore, the user can read the information offline, reading form his/her own local disk.

This idea is similar to Avantgo for palm users.

Can I do this using PHP4 ? supported by perhaps Javascript ?
If anyone here know how to do this, please do let me know coz my deadline is very very near. So I'm desperate.

My focus is on the download mechanism. How to go about that.

View Replies !
Automated Table Filling
Ive put a whole bunch of images into MySql, and am referencing them through PHP. The code is as follows... PHP Code:

View Replies !
Automated Form Validation?
after coding for days on stupid form validations -
Like:
strings (min / max length), numbers(min / max value), money(min / max
value), postcodes(min / max value), telefon numbers,
email adresses and so on.

I thought it might be a better way to programm an automated, dynamic
form validation that works for all kinds of fields, shows the
necessary error messages and highlights the coresponding form fields.

Before I start to reinvent the wheel I thought I should ask you guys
if someone has done this before, or if there are some good examples of
how to do this on the web?

View Replies !
PHP Automated Event Reminder - Is It Possible?
Is it possible to for PHP to be self automated (without page load from client side) to process actions for timed events? Example; like a Calendar with an Event Auto Reminder (to send an email to someone at a specific junction in time; without client side interaction; to reminder person about an event).

View Replies !
Automated Bars/Rectangles
I currently have the following code, that creates an image on-the-fly, containing two bars/rectangles.

Can rectangles automatically be created in a table-column like fashion (Like what the following code does, but automated), based on a $quantity variable value. For example, if the $quantity variable contains 3, then three bars/rectangles should be created etc. Code:

View Replies !
Automated Email Process
I have an environment where I will be receiving emails with attachments from members. I need a process hopefully using PHP that will be able to recognize new email, take the attachments, and depending on whether the subject line says for example "A" or "B". I need to run a specific code to put the attachments into my MYSQL. The problem is, I'm not sure how to even access the emails, attachments, or even check if they are present using PHP. Is this possible?

View Replies !
Automated Browser Title
Something that would be really useful for a new project im working on would be to have automated browser titles using some php code in the <title> tags. The only way I can think of doing this is by having the php code read the url im using for navigation, e.g. /windows/atari2600/ and use that data, edit it and have it display as 'Windows > Atari 2600' . Has this kind of thing been done before? are there any other common ways of doing this? Also are there any tutorials around?

View Replies !
Automated Email Script
on a generic subject line and some boilerplate message text - and then automatically email this message to all addresses found in the DB table. Code:

View Replies !
Automated Paypal Reward
I run an online game, and what i have now, is a donation system, where i say donate $10 and get an in-game reward. but i have to do that manually right now, i have to check paypal, verify their email, and give out the reward. I KNOW there is a way to do this automatically. but i dont know how. how do i get paypal to redirect to one of my pages, and how do i carry variables through paypal to that page(ie: how much they paid).

View Replies !
Php Automated Mail Probs.
Here is what I have. PHP Code:

$autoresponder_enabled = 1;
$autoresponder_from = 'Jen <xXx_Eternity_xXx@hotmail.com>'
$autoresponder_subject = "%subject% (autoresponse)";
$message = "Initial message";
if(isset($_POST['products']['general']))
   {
   $message .= "This is message one- general information.";
   }
if(isset($_POST['products']['wedrock']))
   {
   $message .= "This is message two- Wedding rock.";
   }
$autoresponder_message = $message;

What Im trying to do is persuade it to send automated mail that is relevant to the boxes checked on a form. So, if box 1 (general) is checked, i want it to send the initial message Plus message one. If box two is checked i want initial message plus message two. if both are checked i want initial message plus both.

View Replies !
Creating Automated Tables
I need help in creating automated tables... I've tried with 3 columns and one/more rows it doesn't work well.. it just adding the cells one after another. Code:

View Replies !
Automated Archive On Date
i'm creating a general events guide for a site i'm working on. The administrator adds events to the database and when the date of the event has passed then it is automatically removed from the events_page and stored in an archive.

I have fields in a single table for name / email / current_date / event_title / description / event_date / url

what other fields would i need to implement this or would i need to create a new table and run a query when the event_date = now ?

View Replies !
Automated Points Delegation
I have a web site that is used to track a yearly tournament trail. I have the entire back end built but I've hit a brick wall. I am trying to build a script that will issue points to teams automatically.

Ex. Suppose we have a Tournament with different divisions. Division A has 12 teams in it. Each month there is a tournament in Division A. When the teams results are entered, the script needs to look at all of the teams that participated on that date and then issue them points.

The points system is easy. I want to use a variable such as $points = 50. So 1st place would get 50 and then each team would get one point less down to last place. I have no clue how to even start to lay this out. Do I use a custom parser script?

View Replies !
Daily Automated Query Of Database
I would like to run a script on a daily basis that queries a DATE field
in one of my tables. I want to do this to establish the age of my table
entry by comparing with the current date.

Could someone please give me a few pointers on how to get started in
solving this. I just read somewhere about cron jobs but I've never used
them?

I'm running Apache (2.0.54) on Win XP Prof with MySQL (4.1.10) and PHP
(4.3.10). All on a local machine so I can set all appropiate
permissions.

View Replies !
PhpBB Automated Module Installation
I hope this is the right forum for this post. Does anybody know if a program already exists to automate the process of installing phpBB modules? I couldn't find one, so I was going to write one; but I don't want to if one exists. It kind of seems like there might be one already, looking at the way the installation files are formatted. It's really annoying to me that they don't pass out diff patches along with the module instructions.

View Replies !
Automated Server Scripts At Intervals
Our company has developed a web-app that needs the ability to run a
regular maintenance PHP script and use it also send out SMS/Email
alerts on a regular basis, say at exactly 9AM and 2PM without user
interaction. We're using shared hosting at the moment, so we have no
access anything more than our file directory on the server and our
database. To resolve this I've created a small vb.net app that accesses
the maintenance script on our server at the preset times, which sends
out the email and everything as it should. This is functional for now
but I see this as a short-term solution considering the possible
unreliability of running an app outside of the server on a home/office
computer, also the possible security risks involved. I was wondering if
anyone knew of a better solution. We're going to be upgrading to a
dedicated server within a few months and surely there is a way for the
server to automatically run a php script at regular intervals? Maybe
I'm just looking for the most difficult solution,

View Replies !
Automated Paypal Php Download Links
I have a website where people can pay through paypal checkout and the download links are sent to their email. But the problem is that it will not allow them to download big file. Lets say anything more than 50 MB.It sends them a zip file which is 1kb in size. I think my website is on php 4.0. Can anyone give me a solution for this?

View Replies !
Automated Gui Installation Of Created APPS
I write a few applications and when I submit them to my client by logging in to their server, creating the directories, uploading the files, running the mysql scripts.  When i installed a few programs such as moodle and phpbb I loved the way how seamless it was.

Is there an application or something out there that can create an installation file for me such as the ones used in phpbb.  I ask this before i go about creating my own most likely by looking at phpbb setup etc.

View Replies !
Daily Automated Table Management
I don't think this is really a php or mysql question because I have a feeling the answer will be in a batch file or something of that nature, but I have a website that will be collecting "user destinations" and some other information every day, which then need to be saved so the users can view previous destinations... hope that makes sense. Code:

View Replies !
Kron Job / Automated Job - Mass Mailing
I need to know what strategies are available for the following situation, I have an automated emailer sending out approximately 1700 emails out and growing in numbers.

Problem is that the ISP only allows me to send out 500 per hour, so I need to create some sort of automated software or get it somewhere that would send out 500 emails everyhour.

Another problem is that I dont want this to be browser based. Because this would take approximately 4 hours and also the client's always on the move so cant expect to have a browser open for 4 hours.

View Replies !
Automated Store Txt File In MySQL
Is there an effeceint way to store a txt or html file into a table and update once every hour or half hour, the file is only a small document and is accessed by a URL.

View Replies !
Automated Image Gallery Problem.
I have this automated image gallery script that a friend of mine wrote for me; however, it's unable to be called. My website is all bought together using php, and calling so, to have these image galleries could be a problem. Does anyone have an alternative to what I have, or does anyone have a soloution to enable me to call it. Code:

View Replies !
Automated Way To Track Bounce Backs?
I am in the process of building a newsletter distribution system.  What I want to be able to do is track the emails that are faulty and have been bounced back to the server.

I know that by using "-f webmaster@evolution.tv" in the additional_parameters successfully sends back an email saying that the email could not be recieved.

The issue here is that then each failure email must be opened manually.  Is there any way to track automatically that emails have bounced back?

View Replies !
Create An Automated Continued Link
PHP Code:

<?php

//here mysql grabs the story.. and assign them properly!

//the function
function Limit_Words($string, $length, $ellipsis = "...")
   {
       $words = explode(' ', $string);
       $curindex = 0;
       $wcount = 0;
       foreach($words as $value){
               $wcount += strlen($value)+1;
if($wcount>$length-strlen($ellipsis)){
               break;
          }

View Replies !
Automated File Upload To Mysql Database
I am looking to develop an application that provides decision support
through various graphs and charts using a mysql backend. My problem is
between the data collection and data represenation. I would have a
handheld device with a database application on it to collect data, this
data (in a csv file most probably) would be transferred wirelessly to a
pc, which then would need to be uploaded online and loaded into the
correct mysql table so that any graphs would update their
representation of the data.

I am pretty new to this stuff so please bear with me but I guess the
first step would be to have a script to detect the creation or
modification of a file by the name xxx. However what would happen next?

How would the file be uploaded online and how would it be automatically
loaded into a particular mysql table?

View Replies !
Alter PHP Script To Provide Automated Response
I have a website that has feedback form, customers enter details and a php script sends the information to my email address. I would like this changing so that an automated response is sent to the customer to let them know we have received the information and will contact them shortly.

I would like this email to contain the information we are sent so they can see if it contained any errors. The current PHP script that I am using is shown below: Code:

View Replies !
Completely Automated Login (http Authentication)?
We want to be able to get into a password-protected directory with php completely automated, and therefor avoid the http_authentication login-box. (and stay logged in)

So in short: automated http_authentication runtime login with php. Can this be done? Is there a script/example out there for this?

View Replies !
Automated Mail Generated Notification System
I want to send the mail internally with out using inbox,compose etc from my local system to a remote domain.

View Replies !
Automated Script Logs Me To Yahoo Email
I have a PHP code that logs me in directly into my yahoo account by bypassing the yahoo login page and using my own form where the user provides the username and password then it should log the user into yahoo email.

It does take me to the address book and shows me the contact list successfully, but I cannot navigate the email after that.

I have the code done, it might just need minor changes.
I have the file (yahoomail.php) attached.

View Replies !

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