post horoscop/stiri automat

Pentru întrebări legate de facilităţile forumului phpBB 2.0.x, acest loc este cel mai potrivit.
Închis
Avatar utilizator
onutzu
Utilizator înregistrat
Mesaje: 47
Membru din: 06-Noi-2005, 08:32:36
Versiune: 3.1.1
Ext: Nu
Server: UNIX/Linux
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Galati
Contact:

post horoscop/stiri automat

Mesaj de onutzu »

Salut ! .. am mai vazut pe undeva pe un forum..un fel de robot care posteaza horoscopul/ stiri in diferite sectiuni ale forumului? cum se face >?
Avatar utilizator
seelview
Fost coleg
Mesaje: 2146
Membru din: 13-Apr-2005, 21:24:50
Versiune: 3.x
Ext: Da
Server: UNIX/Linux
Nivel phpBB: Foarte experimentat
Localitate: Cu curu' pe scaun
Contact:

Mesaj de seelview »

"Don't have fear, I is here"
Seelview Photography / Blog this
Avatar utilizator
onutzu
Utilizator înregistrat
Mesaje: 47
Membru din: 06-Noi-2005, 08:32:36
Versiune: 3.1.1
Ext: Nu
Server: UNIX/Linux
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Galati
Contact:

Mesaj de onutzu »

ok.. mersi de link... dar .. mai intai m-am uitat pe instructiuni si la pasul asta .. cum fac ? am forumul pe 110mb.com

Cod: Selectaţi tot

Step 4  :  Finally, set up an automated task to run the news insert automatically.
##
##                     LINUX SYSTEMS
##                     -------------
##                          Set up a cron job (I use a quarter daily cron job) containing the following...
##                              (if anyone knows a better way of doing this, please let me know!)
##
##                          get all      - GET http://www.YOURDOMAIN.com/YOURFORUMS/news_insert.php > /dev/null
##                          get 1        - GET http://www.YOURDOMAIN.com/YOURFORUMS/news_insert.php?n=1 > /dev/null
##                          get multiple - GET http://www.YOURDOMAIN.com/YOURFORUMS/news_insert.php?n=1,2,3 > /dev/null
##
##                          beginners guide to cron - http://www.unixgeeks.org/security/newbie/unix/cron-1.html
##                          
##
##                     WINDOWS SYSTEMS
##                     ---------------
##                          Create a batch (.bat) file containging the following...
##                          
##                          YOUR_PATH_TO_PHP -q YOUR_PATH_TO_NEWS_INSERT.php
##
##                          Set up a windows system task as follows...
##
##                              [*] open Windows Task Scheduler 
##                              [*] create a new task 
##                              [*] enter YOUR_PATH_BAT_FILE (with the quotes!)
##                              [*] give it a scheduled time to run 
##                              [*] on the settings tab, check the Stop the task box and set the value to 0 hrs 1 minute 
##                                  (this should be plenty long enough and is probably longer than your php timeout setting).
##
Închis

Înapoi la “2.0.x Cum pot să...?”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 6 vizitatori