Hi.
Anyone trying to realize UTF-8 filepath support on Windows's php5?
I'm developing php-wfio: Unicode(UTF-8 only) filename support for PHP 5.4 on
Windows.
About file access:
---
$file = wfio_fopen8("多国語.txt", "rb"); // in UTF-8
fclose($file);
---
It uses _wfopen instead of fopen inter
> I have this error when ever i try to save an xml file over a windows shared
> folder
>
> *Warning*:
> fopen(\\192.168.10.2\businesscard\XML\afbf7d1fb318054a5ba3e9d4cca0af.xml) [
> function.fopen]: failed to open stream: Invalid argument in *
> E:\\businesscard\create.php* on line *663*
>
> my c
Hi Louie
I've tried using both a mapped network drive and the UNC path syntax.
Both work perfectly for me, although I only tried reading, not writing.
Which version of PHP are you using. I'm not sure if versions before 5.0
handle shares at all.
I checked the bug entry you cited, did you read the
Have you try to test whether the file is available or not ?
Maybe you should try somehting like this :
$xml_file = '192.168.10.2\\businesscard\\XML\\'.$xml_uniq_session.'.xml';
if (!file_exists($xml_file)) {
exit('File '.$xml_file.' does not exists or is unavailable');
} elseif (!is
After seeing this:
http://bugs.php.net/bug.php?id=25805
I think i know what the problem is.
Louie
On 10/25/07, Louie Miranda <[EMAIL PROTECTED]> wrote:
>
> Tried both..
>
> Use forward slashes for paths inside double quotes,
> fopen("192.168.10.2/businesscard/XML/" . $xml_uniq_session . ".
Tried both..
Use forward slashes for paths inside double quotes,
fopen("192.168.10.2/businesscard/XML/" . $xml_uniq_session . ".xml",
"w");
escape the backslashes themselves
fopen("192.168.10.2\\businesscard\\XML\\".$xml_uniq_session.".xml",
"w");
or single quotes
fopen('192.1
> I have this error when ever i try to save an xml file over a windows shared
> folder
>
> *Warning*:
> fopen(\\192.168.10.2\businesscard\XML\afbf7d1fb318054a5ba3e9d4cca0af.xml) [
> function.fopen]: failed to open stream: Invalid argument in *
> E:\\businesscard\create.php* on line *663*
>
> my c
Hi John,
Tried your suggestion. But, it still has the same error.
[function.fopen]: failed to open stream: Invalid argument in
On 10/23/07, John Mertic <[EMAIL PROTECTED]> wrote:
>
> Make sure that the folder you are saving to is available for saving
> for user which the webserver is running as
I have this error when ever i try to save an xml file over a windows shared
folder
*Warning*:
fopen(\\192.168.10.2\businesscard\XML\afbf7d1fb318054a5ba3e9d4cca0af.xml) [
function.fopen]: failed to open stream: Invalid argument in *
E:\\businesscard\create.php* on line *663*
my code:
$createXML =
Hi,
I'm using fopen() and fpassthru()/feof() to read Windows Media Video,
.wmv, files of a Win2003 server with Apache and PHP.
The file is opened and downloaded OK but is somehow corrupted.
The Windows Media Player says the file is not the correct format.
Can you see something I am missing in my
Hi, I´m newbie in PHP programming.
Iit´s about opening files in an
ftp with php, I have the same problem like you, mi script opens the file
correctly the first time but no longer, what`s the problem?
Thanks.
if(!($filehandle=fopen("ftp://user:[EMAIL PROTECTED]/html/BIOCAB/".$CFG['Fi
leLogTrac
Do you close the file after using it ?
If not, it may get stuck.
Luis
Iker Landajuela wrote:
Hi, I´m newbie in PHP programming.
Iit´s about opening files in an
ftp with php, I have the same problem like you, mi script opens the file
correctly the first time but no longer, what`s the problem?
Thank
CTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 03, 2003 11:46 AM
Subject: [PHP-WIN] fopen permission denied
> Hi All
>
> I have update to PHP 4.3.1 W2000, apache 2.0.14 MYSQL 4.0.12 .
>
> In a php script
>
> $fp = fopen("i:\\data\\import.txt", &quo
Hi All
I have update to PHP 4.3.1 W2000, apache 2.0.14 MYSQL 4.0.12 .
In a php script
$fp = fopen("i:\\data\\import.txt", "r");
" Cannot open permission denied."
i: is mapped network drive
When i call the script from command line it works.
Can anybody help ?
Walter
--
PHP Windows M
Hi!
I've installed 4.3.1 under Windows 2002 and whenever I try to call my SMS
gateway with a php function (which was no problem with the provider I had
before) the script gives me the following output:
Warning: fopen() [function.fopen]: HTTP request failed! HTTP/1.1 404 Object
Not Found in E:\Webs
I receive this warning when I try to fopen using FTP:
warning: fopen(ftp://user:[EMAIL PROTECTED]/and/to/the/file.txt):
failed to create stream: FTP server reports 125 Data connection already
open; Transfer starting.
The code that it is refering to is:
$handle = fopen
("ftp://user:[EMAIL PROTECT
I receive this warning when I try to fopen using FTP:
warning: fopen(ftp://user:[EMAIL PROTECTED]/and/to/the/file.txt):
failed to create stream: FTP server reports 125 Data connection already
open; Transfer starting.
The code that it is refering to is:
$handle = fopen
("ftp://user:[EMAIL PROTECT
:[EMAIL PROTECTED]]
Sent: 16 February 2003 16:07
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] fopen
Hi...
This fopen-command is working on my local machine from my local server, but
the same code at my web hosts server produces this:
---
Warning:
fopen("http://www.somepla
Hi...
This fopen-command is working on my local machine from my local server, but
the same code at my web hosts server produces this:
---
Warning:
fopen("http://www.someplace.xx/showvers.jsp?visaverser=2+Mack+1%3A2";, "r") -
No such file or directory...
---
hay max
writin to a file is terrable .
anyway
1st
>$pctarget = "/blogbits/".substr
>($target,0,6)."/_".$target."_bc.txt";
if this is a path ur tryin to specify change / to \
2nd try fwrite
fwrite($getcomments, "$title ");
or
fwrite($getcomments, "$addrecord");
hope this helps .
I'm trying to put a comment page on my weblog. I have the link displayed in
the format of date first, then a link to bookmark the entry, and then a link
to post a comment. I want to write the comments to a text file. My comment
page accepts a default value of "target", which is set to the date to b
When I use fopen(http:...) I do not get the latest version of the web page
want to extract some content from. This page is updated at the source once
an hour. How can I issue the equivalent of a Ctrl-F5 to refresh the cache?
Syl
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe,
Hello
Quick question: what happens if i try to open a ascii-file/text-file with
fopen($file, 'wb'); on a windows system? does the file get scrambled because
of the 'b' or is the 'b' just ignored?
/Mathias
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
I am trying to do a simple fopen("http://www.weather.com/index.html";, "r");
For some reason I cannot Open any URL's after trying several.
I get the following error
Warning: stat failed for Resource id #1 (errno=2 - No such file or
directory)
I checked my php.ini to make sure I set the fopen w
I would like to put in some additiona comments to this:
>-Original Message-
>From: Svensson, B.A.T. (HKG)
>Sent: Thursday, February 21, 2002 2:51 PM
>To: [EMAIL PROTECTED]
>Cc: 'Olga Tonkonog'
>Subject: RE: [PHP-WIN] fopen()
>
>
>>I have pro
>I have problem with function fopen() - if file not exists, fopen() don't
>return false, it returnnothing.
It is impossible for a function in a typed language to return different data
types dependent on the evaluation of the function. According to the manual
pages of php's fiopen() it should retu
Hello,
I have problem with function fopen() - if file not exists, fopen() don't
return false, it return
nothing.
Is it only Windows problem or help is false?
Who can help?
Olga
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello :
I tried to use :
$fn=fopen("http://WEB-address";, "r");
But I have problems when the HTML document has relative LINKS or images with
relativ path.
This Links have my Server-Address as Path. !!
How can I solve it
Thank You for your Help
Please response to : [EMAIL PROTECTED]
--
PHP
t: Wednesday, January 23, 2002 11:54 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] fopen
>
>
> I am having trouble getting php to be able to write to text
> files using
> fopen under windows. does anyone know how to get php for
> windows to do this?
--
PHP Windows Mail
I am having trouble getting php to be able to write to text files using
fopen under windows. does anyone know how to get php for windows to do this?
I'm using:
$fp2 = fopen($filezz, "w+"); flock($fp2, 1);
fputs($fp2, "my text");
fclose($fp2);
THanks,
Robert
--
PHP Windows Ma
Hi everybody!!
Does anybody know how to use fopen and fstat!
I used it on local files and refered files on the own server, but it doesn't
show (e.g. the filesize) of my server with the downloadfiles, which is not
the same server the php files are on!
I've also added the source code, so please hel
Yeah just assign different variables for each filename.
ie
$in = fopen("whatever/input.txt");
$out = fopen("whatever/output.txt");
fopen simply returns the pointer to the file you've opened. So you assign
it to a variable.
Ross
Brad Harriger wrote:
> Is it possible to have more than one fi
Is it possible to have more than one file open at a time using fopen?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
is there a way to use fopen() on a share?
$fp = fopen( '\\10.1.0.1\c$\folder') results a error.
If i try the same from the explorer, it works well.
Hans
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
Is anyone able to open the command.exe from a php script then issuse it commands via
the php script. I have tried using popen and fopen to open cmd.exe and that works, but
I cannot seem to issue comamnds to an outside program
HELP PLEASE!!!
Thank you,
Josh Seward
[EMAIL PROTECTED]
35 matches
Mail list logo