alex1985
Jun 3 2008, 04:27 PM
| | I need the following code or the idea how to reach this concept.
Let's say, I have a database entry which is called "news", where all of the news stories are stored. If this database entry got modified, like the new post was added to the web-site by an administrator, the registered users will get some kind of email notification automatically, I mean the mails are sent automatically without the interaction of someone else.
|
Reply
Live-Dimension
Jun 3 2008, 11:16 PM
I don't have the code, but the theory is that in (for example) submit.php (the page that submits the information to the database) calls notify.php which then sends everyone an email telling them about the submission or whatever you want. Simple
Reply
alex1985
Jun 10 2008, 05:57 PM
All right, thanks. Can you write the code over here? Because I am a novice in PHP, and would like to have the correct code with the respect to security.
Reply
Live-Dimension
Jun 10 2008, 11:27 PM
I'm also somewhat novice and wouldn't have a clue how to do this, let alone the security implications. Someone else will have to.
Reply
gogoily
Jun 11 2008, 02:46 AM
U can modify the PHP codes which have the adding news function. But if you want to send E-mail, I'd like to say that will definately waste a lot of server resource
Reply
alex1985
Jun 11 2008, 12:00 PM
So, write over here to help me!
Reply
Erdemir
Jun 13 2008, 03:39 PM
Framp
Jun 13 2008, 08:17 PM
Use the mail() command CODE mail("user@email","Subject","New blablabla updated!");
Reply
alex1985
Jun 13 2008, 09:37 PM
Can you write the whole thing, please?
Reply
Recent Queries:--
when picture is scanned in e-mai where is it stored? - 275.85 hr back. (1)
Similar Topics
Keywords : sending, e, mails, news, update,
- Sending E-mails Based On Intervals?
(7)
Concurrency Problem?
update together in the same time (1) I have a problem in PHP. When more than one client update something in database, they won't
work. so, how do I make out for it? example: at the same time, in real-time chatboard, 2 persons
click CHAT, what can I do so that both of them actually chat? or at bidding website, when 2 persons
bid at same time, how could I do that? thanks for answer.....
Coding Help!
Need Tutorial?! (3) Hey, guys... How can I build the following things. I already made the simple administrator page
where I may add some news to the web-site, but I need to make one more things described below.
Please, help me if you can. This is the way how it has to work. The process is described by two
things of the illustrations: The first picture (or brief description of the news) will be
somehow placed on the main page, the main page may have several of those things. On the first
picture, you may see that is marked by red named : "Full Descr." that I mean full descriptio....
Tutorial Needed?!
PHP+Ajax (11) I need many tutorials based on PHP programming language and AJAX technology. Those tutorials might
be of any kind. Please post only the links to the trusted and working tutorials!....
Admin Page
Tutorial Needed? (4) I need to look at a nice tutorial how do you create an admin access page with many functions as many
as possible.....
Tools Needed!
PHP & MySQL (9) Hello, everyone! I need some tools for those two things to test PHP scripts coming together with
database on my laptop, instead checking them on a web-server which takes time.....
Php Code Needed Iii
(10) Hello, everyone. I need your help again! Who might create the PHP code, the picture is
above this text. Basically, I want when the user fill in all the information in this form, it
automatically was sent to my email. And, then, the dialog box appears or on the same window, it was
said that your request has been sent. Moreover, if the user did not fill the entire information,
the dialog box appears stating that you did not fill some field. Thanks, for help. You always do
that.....
Looking For Command Line Based Sql Modification
Program Needed For SQL? (1) How I use Windows command prompt client and do modifications to my SQL database. If yes, please
write the commads I should know for that. If no, please get me the software with which I can do it.
Topic title modified. Proper English is always required when posting in our forum. ....
Php Code Needed
Working Together? (5) Hello, everyone. I need your help again. This forum is quite good for it. Well, I need create a
registration form for my web-site using PHP and SQL. The information it should contain: 1) User
Name 2) First Name 3) Last Name 4) Password 5) e-mail Address 6) Security Image: that images helps
to protect a random registration, for instance, 56+2=where user have to type an answer in order to
finish registration. That's all for today. Anymore things, I will post another post over here.
....
Php Code
Needed?! (15) Well, I am a novice in PHP programming, so there is a script which I wanna get: 1. You go the
web-site 2. On the main screen, there is a some kind of field windows, the one you get used to type
in, when you go to google, for instance. 3. He or she types her email address and it's going to
be saved in my SQL database. 4. That's it. Help me if you can.....
Slaed Cms
Book Needed!!! (2) Hello, everyone! I need some tutorial for Slaed Engine for any version you might find. I wanna
learn how you can make modules or blocks for this CMS. Especially, library functions and other
things that will make the web-site works like virtual library.....
Mysql Won't Update
(4) Ok, so I'm making some arcade administration software so I don't have to add games the hard
way, well anyway, one of the features I have is that on the homepage is a featured author and as
such I just have it so it updates one line in the mySQL. Well, the page with the form passes on the
varibles fine and the updating page recieves them because I echoed everything, then I build the
query and I even echo the query and it comes out exactly how I want it to, but for some reason, the
database itself won't update even though all the varibles are there. Here's....
Wamp Packages Needed To Test Scripts
Set up Apache, PHP, etc on your machine (1) In order to test php scripts on your localhost machine, you require a system that includes php
parsing. A WAMP set-up 'usually' includes a database server, and a database manager, too.
For Windows machines, theses are usually referred to as WAMP because they include Apache, Mysql, and
PHP for Windows, hence the acronym WAMP. Wikipedia has a listing of the available packages with
details about the included versions and often a link to the wikipedia article describing them. The
list can be found at http://en.wikipedia.org/wiki/Comparison_of_WAMPs Personally, I....
What Coding Languages Are Required?
(5) I want to add a feature in my website so that users can make a professional -looking resume-like web
page. It will be like a form based series of questions that visitor ll need to answer.Based on this
a webpage as prescribed in pre-defined template ll be created .I want to know to do this what
languages are used? I want some suggestion regarding this.My site is currently on Joomla platform.
thanks in advance....
Help With Coding!
please anybody help me! (2) Hi all..(if this is in bad section then sorry) I have one big problem with my site and I don't
know how I can repair it. I have auto refreshed Shout box at site but there is little problem!
When this shout box is accessed for guest there are coming spam bots and just spamming it. I know
how to do it but I don't know about php. I have code for make this shout box Spam protected, but
I dont know how to do it. All time when I add this code to php file, there is all things okey but
auto refresh is not working /sad.gif" style="vertical-align:middle" emoid=":(" bo....
Php Update
(4) Hey guys, I'm currently making my own online PHP game, and I'm smack into the middle of the
coding. The game is an industry/economy type game where you start out with some initial resources
and a building and you expand your business empire by building more buildings that produce more
buildings, which can be bought and sold on the live market. Basically, you try and become the
wealthiest player in the game by the time the round ends. My problem is, I need my game to update
hourly and not hourly. Meaning, I have codes that update my MySQL database when a user bu....
Creatting A Playlist Through Php
script help needed (5) Hi I am trying to make a script so that i can insert songs into a playlist, but i need a script in
which it opens the playlist file and removes the closing tag at the end, so before i can add more
entrys. e.g CODE <atx> <entry>Location 5</entry> <entry>Location
4</entry> <entry>Location 3</entry> <entry>Location
2</entry> <entry>Location 1</entry> <atx> But to add more entrys
i would have to get rid of the atx, then use the fputs to place the new entry into the file. ....
New Found Php Coding Errors
I always thought these worked, but suddenly they no longer do?! (5) Hi i'm dan from new zealand, right next to my home land australia. I have been writing php
scripts for two years now and just recently none of them have been working. Please help me out as
best as you can, i'm sure it is only something simple. CODE ----------------Form
1-------------------------- <?php // ---- Customized form script for the HBRC---------------
// Receiving variables ----------------------------------- @$fn =
addslashes($_POST['fn']); @$ln =
addslashes($_POST['ln']); @....
Sending $_get[] Variables To An Application
(3) I'm trying to work out if it is possible to send variables to a application on server. E.g
send the variable of id which is equal to 10 to an application - test.exe?id=10 Any ideas to see if
this is possible?....
Php Frameworks - Leaner, More Efficient Coding.
A quick overview of what they are and where you can find some. (1) PHP Frameworks What do you guys think of coding websites using framworks like Zend or CakePHP? I
used to code my applications from scratch but it does get tedious and because PHP is not as
structured as other languages it's very easy to create redundant, unmaintainable code. I think
a framework should be more than just a bunch of libraries. It's true that having libraries for
functions specific to what you are trying to do might help alot but it takes more than that to
create some maintainable code. What I' m talking about is MVC and Front Controllers. The....
Ipetsite Related Programming Help Needed
iPetSite screwed me over (0) Ok so i you are anyone here who would like to hlp me with these files, please pm me your email. Here
is what i need help with: Replacement of lost files Repair of corrupt files Configuring said files
Help with setting up the site If you can help me, please let me know. If you would like to be an
admin on my site, also let me know. Just I request that you don't post here unless you plan or
intend to help some how.....
Email Sending.
email sending with php. (1) this script allow user to send an email for you. i hope you enjoy /wink.gif"
style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> CODE
[color="#0000ff"][indent]<? $top='<html
dir="rtl"> <head> <meta http-equiv="Content-Language"
content="fa"> <meta http-equiv="Content-Type" content="text/html;
charset=utf-8"> </head> <body> <div
align="center"> <p style="margin-top&....
Php Help Needed Including File In A Page.
(2) i'm a noob in php programming, i can understand and modify php programs, but i dont know to
write on my own. So please somebody who is well versed in php help me. My need is, I'm
currently builiding a knowledge base website , i've my own design for the website, check here,
http://laschatz.info/kzone/ Each page in the left hand site has a tree navigation of all the
topics available. Since this information must be same in all the pages, presently I need to change
all the pages after adding a new category. Could you please help me in such a way that I can ad....
Help Needed With Directory/file Listing Code Infinite Loop
Made an infinite loop but why is this so? (5) Hi all ive got a small and simple (for the moment atleast /unsure.gif"
style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" /> )file and directory
listing script in php as follows CODE $dir = "."; $num = 0; $file =
scandir($dir); while($file = scandir($dir)){ echo
$file[$num]; echo "<BR>"; $num = $num + 1;
}; the concept is simple enough, the directory to start with is the current one, so scan this
directory and wh....
Php - Fsockopen, Get, Etc - Help Needed
(1) Hi I am writing a PHP script that gets the search results from here . I can get the results from
the first page fine, but when I try to get the next page, it doesn't return the correct results.
Try comparing the results from here , and searching for "Vampire" (In the "Name" text box) here .
The first page of results is the same, but when you go on the the second page of results, they are
totally different. This I think is because the "persist_search" (see the URI on the Planet Elder
Scrolls Search) always seems invalid. Is there any reason why the PHP would get....
A Very Simple Album Problem, Help Needed.
(3) Hey, I created a page album.php, it shows all the images of a user xxx. and its url is like
album.php?nick=xxx. Now suppose there are 2 images in this user album, one image id is 111 and
second image id is 112.now how i can link to the each image of the album so that it looks like ,
album.php?nick=xxx&image_id=111. and album.php?nick=xxx&image_id=112. I hope you understand it.....
Help With Some Website Coding
Databases and saving form results (4) Hey all, I was looking for some help with creating my new website. I have a form already created,
with some text areas, checkboxes, drop down menu's, ect. I need some help setting up the code to
save the form data once the user clicks "Submit" after filling in their information in the form. I
was hoping to do this 2 ways - 1. Saving the information into some type of database (MySQL I'm
guessing?) and 2. Have the form results emailed to me. I am familiar with the old way of emailing
the results by putting "mailto:email@domain.com" into the form, but new browse....
Help Needed With Silly Error
(8) Hi i have made a stupid error on one of my pages and having trouble finding it. It says unexpected
')' on line 114 can anyone please help me find it? Here is the page: CODE <? /** *
* @package TibiaME Clan/Download Site * @version 1.00 2006/09/27 00:04:37 wappy * @copyright
(c)2004-2006 wappyCULT * @home http://hack.s-60.org * @license You can use/modify this
script but distributing it without permisinn, or removing the "Script By: wappy" link
will invalidate your license and give wappy (wappyCULT) FULL RIGHTS to ....
Phpnuke Newsletter Sending Problems
(0) i have a problem sending newsletters....when i send them no1 receives it...i tried sending to the
registered users on my site which im in and i didnt recieve it in my mail...i dont know why this is
happening...it says the newsletter is sent...but we get nothing in our mail... heres the code
QUOTE /************************************************************************/ /* PHP-NUKE:
Web Portal System */ /* ===========================
*/ /* ....
Coding Your Sites ?
Coding your sites (20) What kind of coding do you use on your sites? I have so far learnt using a little tables and
div/css. /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /> ....
Looking for sending, e, mails, news, update,
|
|
Searching Video's for sending, e, mails, news, update,
|
advertisement
|
|