Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
fopen
- Page 1
fopen
Programming
Software Development
16 Years Ago
by FTProtocol
…(LOF(1), 1) [/code] I know i need to use
fopen
() and fput() and get the app path by using GetCurrentDirectory….exe) and join them into a buffer so i can
fopen
(szBuffer, "wb"); ?
Re: fopen
Programming
Software Development
16 Years Ago
by Ancient Dragon
… how to do it in c++, which does not use
fopen
() or anything else from C's stdio.h [code] #include…
fopen permissions
Programming
Web Development
12 Years Ago
by LONGWAY
…given in ... The code is if (!file_exists($File)) { $Handle =
fopen
($FileHash, 'w'); fwrite ($Handle, $audio_hash.$LINE_BRK); fwrite ($Handle, $…playlist.$LINE_BRK); fclose ($Handle); $Handle =
fopen
($File, 'w'); As I understand sayes that cant write in…
fopen problem
Programming
Web Development
15 Years Ago
by darkmikey
Hi, For some reason I can't make
fopen
work. It worked fine on my server, however…server it started giving this error: [CODE]Warning:
fopen
(test.jpg) [function.
fopen
]: failed to open stream: Permission denied in &… call: [CODE]$File = "test.jpg"; $Handle =
fopen
($File, 'wb'); [/CODE] According to phpinfo() the server is: Windows…
fopen fails in php
Programming
Web Development
12 Years Ago
by LONGWAY
I get these errors: Warning:
fopen
(tmp/::name.hsh) [function.
fopen
]: failed to open stream: Invalid argument in ... Warning: fwrite() expects … code that generates the error is: if (!file_exists($File)) { $Handle =
fopen
($FileHash, 'w'); fwrite ($Handle, $audio_hash.$LINE_BRK); fwrite ($Handle, $playlist.$LINE_BRK…
Re: fopen <C programming>
Programming
Software Development
19 Years Ago
by Ancient Dragon
[QUOTE=desertstorm]How's it going: How do you use
fopen
() to establish a stream to console I/O (keyboard)? What… and this is an event driven program (chatting); and the
fopen
will be part of a read event handler. I am… recipient using fputs. Thanks.[/QUOTE] Its not necessary to use
fopen
to open the console keyboard -- its already open when the…
Re: fopen permissions
Programming
Web Development
12 Years Ago
by LONGWAY
yes is module for joomla and is part of joomla...a tmp folder...also i put it on server but was the same problem...cant run because
fopen
cant open the tmp folder which is in joomla
fopen <C programming>
Programming
Software Development
19 Years Ago
by desertstorm
How's it going: How do you use
fopen
() to establish a stream to console I/O (keyboard)? What …. I just don't know what the first argument for
fopen
("here", r) would be. Oh, and this is… an event driven program (chatting); and the
fopen
will be part of a read event handler. I am…
fopen() problem
Programming
Software Development
15 Years Ago
by MadSkyrim
…partName[256]; int i, readAmount; char buffer[1024]; if((writeFile =
fopen
(filename, "wb")) == NULL){ return -1; } for…, "%s.part.%d", filename, i); if((readFile =
fopen
(partName, "rb")) == NULL){ fclose(writeFile); return -1…
fopen problem
Programming
Software Development
15 Years Ago
by iNach
I just tested because i'll need soon the
fopen
function... Im using Visual C++ and i made a txt … file's name is: Keywords.txt I tried this: [CODE]
fopen
("Keywords", "r");[/CODE] didn't work… so also tried this: [CODE]
fopen
("Keywords.txt", "r");[/CODE] and of…
fopen error
Programming
Web Development
14 Years Ago
by saifi007
hi friends. I m not able to open yahoo weather on my website by
fopen
() function and server gave me this error:- Warning:
fopen
([url]http://xml.weather.yahoo.com/forecastrss?u=c&p=98908[/url]) [function.
fopen
]: failed to open stream: no suitable wrapper could be found so plz give me another way to add yahoo weather on my website
Re: fopen fails in php
Programming
Web Development
12 Years Ago
by LONGWAY
… of errors is little longer continues with next:
fopen
(tmpa/::187jbg.xspf) [function.
fopen
]: failed to open stream: Invalid argument in ...xampp…
Re: fopen file mode question
Programming
Web Development
16 Years Ago
by nav33n
… = array("ID,Category,Description"); $file =
fopen
("./csv/DS20080507.csv","a+", 1000); …,split(',',$line)); } fclose($file); $row = 1; $handle =
fopen
("./csv/DS20080507.csv", "a+"); for($i… test3 \t\n"); } fclose($handle); $handle =
fopen
("./csv/DS20080507.csv", "r+"); while …
Re: fopen file mode question
Programming
Web Development
16 Years Ago
by jencinas69
…= array("ID,Category,Description"); $file =
fopen
("./csv/DS20080507.csv","a+", 1000);…(',',$line)); } fclose($file); $row = 1; $handle =
fopen
("./csv/DS20080507.csv", "a+"); for($i… \t\n"); } fclose($handle); $handle =
fopen
("./csv/DS20080507.csv", "r+"); while…
Re: fopen problem
Programming
Software Development
15 Years Ago
by Adak
You need to assign the address that
fopen
() returns to your FILE * (pointer). [CODE]FILE *fp; fp =
fopen
("Keywords.txt", "rt"); if(fp == NULL) { printf("\nError opening file\n"); return 0; }[/CODE]
fopen getting crashed....(cannot able to access file through fopen sometimes)
Programming
Software Development
13 Years Ago
by sharath_137
hi , I was trying to open a file using
fopen
() method. It's not opening all the time. some time … opens but the other time its getting crashed.... FILE* tmpfile =
fopen
(xxxxxx, "r") this is the code i am…
Re: fopen getting crashed....(cannot able to access file through fopen sometimes)
Programming
Software Development
13 Years Ago
by deceptikon
You can get details about what happened after
fopen
() failure like this: [code] FILE* tmpfile =
fopen
(xxxxxx, "r"); if (!tmpfile) { perror("Error opening file"); } [/code]
fopen fwrite in php4
Programming
Web Development
17 Years Ago
by sagedavis
…; </form> </body> </html>'; $newfile =
fopen
($file, "w+") or die ("could not create… file."); fclose($newfile); $myfile = @
fopen
($file, "w+") or die ("could not open…
Re: fopen fwrite in php4
Programming
Web Development
17 Years Ago
by nav33n
…; </form> </body> </html>'; $newfile =
fopen
($file, "w+") or die ("could not create… file."); fclose($newfile); $myfile = @
fopen
($file, "w+") or die ("could not open…
fopen windows file
Programming
Software Development
17 Years Ago
by sjgriffiths
… open a file which exists on my local PC using
fopen
the file is located in c:\B2B Data\files and… Data\files\file.txt"; i then issue an fp =
fopen
(filename, "r" ); Any ideas?
fopen file mode question
Programming
Web Development
16 Years Ago
by jencinas69
…lt;?php $list = array ( "ID,Category,Description,,,,,,,,,,,,,,,,,," ); $file =
fopen
("DS20080507.csv","r+", 1000); foreach ($list…line) { fputcsv($file,split(',',$line)); } fclose($file); $row = 1; $handle =
fopen
("DS20080507.csv", "r+"); while (($data = fgetcsv…
fopen() failed to open stream: Undefined error: 0
Programming
Web Development
16 Years Ago
by Dukane
…;$path<br>"; //Try getting a handle. $fp =
fopen
($path, 'R'); while ($line = fgetcsv($fp, 0, ',', '"')) { print_r($line… server log: [10-Aug-2008 17:45:15] PHP Warning:
fopen
(./canteen/0000999.TXT): failed to open stream: Undefined error: 0…
Re: fopen() failed to open stream: Undefined error: 0
Programming
Web Development
16 Years Ago
by buddylee17
Change the mode parameter on line 20 to r: [code=php]$fp =
fopen
($path, 'R');[/code] should be: [code=php]$fp =
fopen
($path, 'r');[/code]
fopen not working
Programming
Web Development
15 Years Ago
by paldss
…['pathToFile']; $file = "includes/" . $path . ".inc"; $Handle =
fopen
($file, 'w+') or die("can't open file"… I made. Anyone have any ideas as to why the
fopen
function is not working? Thanks for all the help!
Re: fopen() problem
Programming
Software Development
15 Years Ago
by MadSkyrim
Turns out when I downloaded the files from the server I forgot to close them, so calling
fopen
again was a bit redundant. It also meant I was starting to read at the end hence the seemingly false eof.
Re: fopen problem
Programming
Software Development
15 Years Ago
by WaltP
Try: [iCODE]fp =
fopen
("C:\\path\\to\\file\\Keywords.txt", "r");[/iCODE]
Re: fopen problem
Programming
Software Development
15 Years Ago
by Salem
… Express Edition One of these is a typo surely? >
fopen
("Keywords.txt", "r"); In windows explorer…
fopen not working
Programming
Software Development
15 Years Ago
by alcx88
…; #include <stdlib.h> #define getchar() getc(stdin) FILE *
fopen
(const char *filename, const char *mode); int main(int argc…<argc; i++) { count1=0; count2=0; count3=0; fp=
fopen
(argv[i], "r"); fread(argv[i], sizeof(argv…
Re: fopen not working
Programming
Software Development
15 Years Ago
by gerard4143
You really should check the results of this action [CODE] fp=
fopen
(argv[i], "r"); [/CODE] Something like [CODE] if (!(fp=
fopen
(argv[i], "r"))) { fprintf(stdout, "could not open %s\n", argv[i]); exit(EXIT_FAILURE); } [/CODE]
Re: fopen not working
Programming
Software Development
15 Years Ago
by Ancient Dragon
>>#define getchar() getc(stdin) >>FILE *
fopen
(const char *filename, const char *mode); Delete both those lines …<argc; i++) { count1=0; count2=0; count3=0; fp=
fopen
(argv[i], "r"); [/code] The first command line…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC