Quote:
Originally Posted by kaizoku Perfect, I'll try that out later tonight. And yes, I DID mean javascript, I forgot that some people are picky about that :P
The reason being that Flash only seems to want to launch a window of normal size, not of what I want it to. I want it to launch the order form, but it's not very big, so I didn't want it to be a fullscreen window, otherwise with the way I have it, it would look a little silly.
If it's best not to do it, I'll just keep it the way it is.
I'll have to fool around with CuteFTP Pro to figure out how to do the CHMOD thing. |
Here maybe some help for you!
Php command have this function:
1.ftp_connect
resource ftp_connect ( string host [, int port [, int timeout]] )
You can bulit a new ftp connection.
for example:
<?php
$ftp_server = "ftp.example.com";
// set up a connection or die
$conn_id = ftp_connect($ftp_server) or die("Couldn't connect to $ftp_server");
?>
2.ftp_login
bool ftp_login ( resource ftp_stream, string username, string password )
for example:
<?php
$ftp_server = "ftp.example.com";
$ftp_user = "foo";
$ftp_pass = "bar";
// set up a connection or die
$conn_id = ftp_connect($ftp_server) or die("Couldn't connect to $ftp_server");
// try to login
if (@ftp_login($conn_id, $ftp_user, $ftp_pass)) {
echo "Connected as $ftp_user@$ftp_server\n";
} else {
echo "Couldn't connect as $ftp_user\n";
}
?>
3.ftp_put
bool ftp_put ( resource ftp_stream, string remote_file, string local_file, int mode [, int startpos] )
you can upload any type file.
for example:
<?php
$upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII);
?>
I hope this is useful for you.my friend.
Thank you for everyone for your attention about DJDAO controllers.