Click here to Skip to main content
15,881,248 members
Home / Discussions / Web Development
   

Web Development

 
QuestionCDO.Message Pin
Rajkamal_dfine5-Mar-07 0:48
Rajkamal_dfine5-Mar-07 0:48 
AnswerRe: CDO.Message Pin
Bradml5-Mar-07 1:22
Bradml5-Mar-07 1:22 
GeneralRe: CDO.Message Pin
Rajkamal_dfine5-Mar-07 18:43
Rajkamal_dfine5-Mar-07 18:43 
GeneralRe: CDO.Message Pin
Bradml5-Mar-07 22:21
Bradml5-Mar-07 22:21 
AnswerRe: CDO.Message Pin
Vasudevan Deepak Kumar5-Mar-07 3:17
Vasudevan Deepak Kumar5-Mar-07 3:17 
GeneralRe: CDO.Message Pin
Rajkamal_dfine5-Mar-07 18:45
Rajkamal_dfine5-Mar-07 18:45 
GeneralRe: CDO.Message Pin
Vasudevan Deepak Kumar6-Mar-07 10:06
Vasudevan Deepak Kumar6-Mar-07 10:06 
QuestionUpload a file from local pc to the server Pin
hiral_shah5-Mar-07 0:36
hiral_shah5-Mar-07 0:36 
Hi there,

I want to upload a file from the local pc to the server by using php.
I am getting following things in php from html "":

$_FILES['browsefile'] = Array
$_FILES['name'] = WorkReport.xls
$_FILES['type'] = application/vnd.ms-excel
$_FILES['size'] = 13824
$_FILES['tmp_name'] = c:/wamp/tmp\php7B.tmp
$_FILES['error'] = 0

$ftp = ftp_connect("ftp.example.com");
$ftpLogin = ftp_login($ftp, "user_name", "*****");

$fileName = $uploadFileName['name'];
$fp = fopen($fileName, 'r');

ftp_fput($ftp, $fileName, $fp, FTP_ASCII)


by giving this I am getting following error:

Warning: fopen(WorkReport.xls) [function.fopen]: failed to open stream: No such file or directory

Warning: ftp_fput() expects parameter 3 to be resource, boolean given.


Can you please tell me how can I solve this problem??
Or if you have any other idea reguarding uploading a file from local pc to the server then please tell me with the sample code if posible.


Thank you in advance.Smile | :)
AnswerRe: Upload a file from local pc to the server Pin
badgrs5-Mar-07 0:47
badgrs5-Mar-07 0:47 
GeneralRe: Upload a file from local pc to the server Pin
hiral_shah5-Mar-07 1:42
hiral_shah5-Mar-07 1:42 
AnswerRe: Upload a file from local pc to the server Pin
Bradml5-Mar-07 0:50
Bradml5-Mar-07 0:50 
GeneralRe: Upload a file from local pc to the server Pin
hiral_shah5-Mar-07 1:40
hiral_shah5-Mar-07 1:40 
GeneralRe: Upload a file from local pc to the server Pin
Bradml5-Mar-07 1:44
Bradml5-Mar-07 1:44 
GeneralRe: Upload a file from local pc to the server Pin
hiral_shah5-Mar-07 1:58
hiral_shah5-Mar-07 1:58 
GeneralRe: Upload a file from local pc to the server Pin
Bradml5-Mar-07 2:06
Bradml5-Mar-07 2:06 
AnswerRe: Upload a file from local pc to the server Pin
Vasudevan Deepak Kumar6-Mar-07 10:08
Vasudevan Deepak Kumar6-Mar-07 10:08 
QuestionAjaxControlToolkit.dll - Permanently add a tab Pin
Chris_Green4-Mar-07 23:34
Chris_Green4-Mar-07 23:34 
AnswerRe: AjaxControlToolkit.dll - Permanently add a tab Pin
Vasudevan Deepak Kumar6-Mar-07 10:09
Vasudevan Deepak Kumar6-Mar-07 10:09 
QuestionHow to get an answer to your question..... Pin
Bradml4-Mar-07 21:15
Bradml4-Mar-07 21:15 
AnswerRe: How to get an answer to your question..... Pin
badgrs5-Mar-07 0:44
badgrs5-Mar-07 0:44 
GeneralRe: How to get an answer to your question..... Pin
Vasudevan Deepak Kumar6-Mar-07 10:09
Vasudevan Deepak Kumar6-Mar-07 10:09 
Questionmembershipuser contrlos and sql db userid Pin
ABBASI_RA3-Mar-07 9:58
ABBASI_RA3-Mar-07 9:58 
AnswerRe: membershipuser contrlos and sql db userid Pin
badgrs3-Mar-07 10:30
badgrs3-Mar-07 10:30 
GeneralRe: membershipuser contrlos and sql db userid Pin
ABBASI_RA4-Mar-07 9:19
ABBASI_RA4-Mar-07 9:19 
GeneralRe: membershipuser contrlos and sql db userid Pin
badgrs5-Mar-07 0:42
badgrs5-Mar-07 0:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.