Follow us on Twitter!
Few are those who can see with their own eyes and hear with their own hearts. - Albert Einstein
Thursday, April 24, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 22
Guests Online: 21
Members Online: 1

Registered Members: 82889
Newest Member: Geriztul
Latest Articles
View Thread

HellBound Hackers | Computer General | Webmasters Lounge

Author

Keeping PHP going...

richohealey
Member



Posts: 1022
Location: #!/usr/local/bin/python
Joined: 01.05.06
Rank:
Monster
Posted on 24-02-07 15:04
sorry for obscure title


what i want to know is will a PHP script keep wunning, even if i close the browser that started it. or.... does someone know of a free host that will let me use cURL and cron jobs... (because i don't ask for much XD)


it's for my version of an RSS feed, i have code ready and waiting to do it, i just need to know if it will keep running in the background even if i close the browser that started it.


thanks in advance.


-Richo


bitchohealey at hotmail dot com skype:richohealey www.psych0tik.net
Author

RE: Keeping PHP going...

Mr_Cheese




Posts: 2468
Location: Brighton, UK
Joined: 30.11.04
Rank:
Uber Elite
Posted on 24-02-07 15:35
theres a function you can use that keeps a php script running ocne the user closes the window.

and if you want to know what setting it is on by default, ask your host, some servers vary.


http://www.hellboundhackers.org/
Author

RE: Keeping PHP going...

richohealey
Member



Posts: 1022
Location: #!/usr/local/bin/python
Joined: 01.05.06
Rank:
Monster
Posted on 24-02-07 15:58
system said to use set_time_out( 0 );

the login for gmail is a lot more complex thasn HBH's! so this will take time.


anyone who wants to contribute is more than welcome! i can give you the python to notify. it will be c++ app to run in the background, but i am very familiar with python and bugger all with c so you can see why i'm doing it this way first.

the idea is that it will use cURL to check my inbox once every half hour, and save the result in a .htaccess protected folder(no ones's reading my emails!) as a .txt file. if it's changed, then it will attempt to connect to my PC. if not, it will lay dormant for another 30 mins.


bitchohealey at hotmail dot com skype:richohealey www.psych0tik.net
Author

RE: Keeping PHP going...


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 02-03-07 21:46
To allow a script to continue execution after the user aborts, use ignore_user_abort()