[PHP-DB] disable History

2003-10-17 Thread open-mind
How can I disable the use of History(Temporary Internet Files) in a page ? (and 
don't tell me: it's easy: Tools-internet options-settings ...;-) ... from script 
(htm ?, js ?, php ?) I want to do this ..)

PS: I have a script witch generate jpegs (cuts from a larger one) and sometimes in 
browser I see older pictures ...
If I go to: Tools-internet options-settings- chk for new versions every visit to 
the page   everything works just fine

[PHP-DB] Re: faster imagecreatefromjpeg

2003-10-17 Thread open-mind
 i need to replace the using of imagecreatefromjpeg($jpgpath) with
something more faster

PS: the image to load has: 198 MB (208,603,887 bytes)

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] disable History

2003-10-17 Thread open-mind
How can I disable the use of History(Temporary Internet Files) in a page ? (and 
don't tell me: it's easy: Tools-internet options-settings ...;-) ... from script 
(htm ?, js ?, php ?) I want to do this ..)

PS: I have a script witch generate jpegs (cuts from a larger one) and sometimes in 
browser I see older pictures ...
If I go to: Tools-internet options-settings- chk for new versions every visit to 
the page   everything works just fine


Re: [PHP-DB] best upload method

2003-09-12 Thread open-mind
Sorry but I didn't know which is the name of the first method
I will rephrase
which is the best method to upload a file to server ??

this:
//
$result =
move_uploaded_file($HTTP_POST_FILES['img_6'][tmp_name],dir/filename.jpg)
;
$result = $result ? OK:NOT OK;
print $result;


or ... this:
/
$conn_id = ftp_connect($ftp_server);
$upload = ftp_put($conn_id, $destination_file, $source_file,
FTP_BINARY);
ftp_quit($conn_id);


how depends on the application ?

- Original Message -
From: David Smith [EMAIL PROTECTED]
To: open-mind [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, September 12, 2003 9:04 PM
Subject: Re: [PHP-DB] best upload method


  which is the best upload file method ?
  file uploads or FTP commands from PHP

 Now that's the most open ended question I've read all day. Here, flip a
 coin. If it falls heads, FTP. If it falls tails, the other one. Even
 still, I'm not sure I understand the question: File uploads or FTP command
 from PHP? One of your options is just the question restated...

 Regardless and all sarcasm aside, this question depends seriously on the
 application.

 :)

 --Dave



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] best upload method

2003-09-11 Thread open-mind
which is the best upload file method ?
file uploads or FTP commands from PHP

thanks

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php