|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
||||
|
||||
|
Ftp
i use ftp to upload the folder called 'phpweb' that contains php file to 10.1.1.200 server, then what should i change for localhost, username & password? if i create a crontab, is it just type in 'crontab -e', then type in * * * 1 * php /phpweb/cron.php?
![]() PHP Code:
|
|
#2
|
||||
|
||||
|
Re: Ftp
Quote:
WTH? That makes no sense at all, I have no idea what you are referring to. Quote:
Have a look in the FAQ thread at the top of the forums, they have examples of using PHP with Cron. Now... what is the mySQL connection code all about, what does that have to do with the above 2 things. You really need to sit down and think about something before you post it. Also can you please read the thread [NEW USERS] How to post a question as the subject of your post is not descriptive of your problem.... whatever that is. |
|
#3
|
||||
|
||||
|
i think what he is trying to ask is:
i uploaded a script to a folder called phpweb and it needs mysql database username and password. what should i put as username and password? -------------- answer: check with ur host to see what the username/password/database is |
|
#4
|
||||
|
||||
|
and he wants to put the php file to run on cron.
----- anwser: see koepkes post |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > Ftp |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|