Webmaster Forum

Go Back   Webmaster Forum > Scripting/Programming & Debugging > PHP Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

PHP Forum Talk about PHP. Get webmaster help regarding PHP based technologies in this PHP forum.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-03-2007, 04:15 PM
btb btb is offline
Junior Member
 
Join Date: Oct 2007
Posts: 4
btb is an unknown quantity at this point
Submit to Clesto Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq Submit to Spurl
Default automatically send page

Hi

I have a website that involves buses, and have a bus fleet allocation.

What i'm wanting to do is have it so once a week on a given day & time, the page automatically runs and sends the results (of what people see when the go to the page) to everyone in the user file (of which is a text/flat file).

How do I go about this?
Reply With Quote

This ad is part of our Revenue Sharing program
  #2 (permalink)  
Old 11-05-2007, 07:02 PM
ALL's Avatar
ALL ALL is offline
Senior Member
 
Join Date: Oct 2006
Location: Sturgis, SD
Posts: 145
ALL is on a distinguished road
Submit to Clesto Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq Submit to Spurl
Default

well you would need to setup a cron job, and have a seporite php page just activate IIS or Apache and capture the output, (or just call the webpage as a file will do about the same thing) then just email the html as an html email to everyone.
Reply With Quote
  #3 (permalink)  
Old 11-06-2007, 04:23 AM
btb btb is offline
Junior Member
 
Join Date: Oct 2007
Posts: 4
btb is an unknown quantity at this point
Submit to Clesto Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq Submit to Spurl
Default

Ok, i've heard of cron jobs, and seem them in my control panel, but have tried something like that before and had no sucess, and that was just sending it to me only.

I do have a working script, but the problem is you have to type in an email address to send to if you wanted it there & then, but the issue with that is that no matter what email address you send it to, it would only accept those email addresses of my server name "@myhost.com" type of thing.

What would be the best type of search terms to view such info about this?
Reply With Quote
  #4 (permalink)  
Old 11-27-2007, 07:29 PM
ALL's Avatar
ALL ALL is offline
Senior Member
 
Join Date: Oct 2006
Location: Sturgis, SD
Posts: 145
ALL is on a distinguished road
Submit to Clesto Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq Submit to Spurl
Default

you need to have it email to everyone, just have it loop through each user in the user profile and send the email or whatever to everyone. or you can send it to everyone slightly faster by BCCing it to everyone
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:49 PM.


Creative Commons License
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30