/    Sign up×
Community /Pin to ProfileBookmark

how can i make the script after i close the browser

Hi

i have a php script that can send mails to multiple recps. i want to just start that and let them sent and after some time i can check it’s progress .

like some sites the crack MD5 hashes it spend sometimes over 2 weeks and then i can check it out to see if it finished or not can i do that ?

thanks in advance.

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@pcthugApr 19.2007 — There are better methods, though the following should work:

[code=php]
set_time_limit(0);
ignore_user_abort(true);

// send mail[/code]
Instead of outputting to the browser, I would suggest writing to a data store.
Copy linkTweet thisAlerts:
@secoauthorApr 19.2007 — thanks for reply i will try
Copy linkTweet thisAlerts:
@secoauthorApr 19.2007 — Hi

i make a page that just make random numbers in do while loop and insert them into a database ..

and the page is not loaded at all due to infinite loop .and this is the first problem i think i will use ajax is it? any advice here..

the second question is

i run the page and close it and change some code in this page and then run it again does the two pages code will run on the server? i mean the first run and the second modified page

by the way how to stop it at all ?

and i was tacking the database it really increase records untill a time and after that no adding !! why ? that on localhost

thanks in advance.
×

Success!

Help @seco spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...