Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

poix

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

poix

Postby parxal » Mon Dec 02, 2002 6:44 am

i tryed
fopen("mail.txt", "a");
and my file is in the same directory that php file is.
and tryed
fopen("http://www.domain.com/mail.txt", "a");
....
parxal
New php-forum User
New php-forum User
 
Posts: 40
Joined: Thu Nov 07, 2002 5:58 am

Re: poix

Postby WiZARD » Mon Dec 02, 2002 8:19 am

parxal wrote:i tryed
fopen("mail.txt", "a");
and my file is in the same directory that php file is.
and tryed
fopen("http://www.domain.com/mail.txt", "a");
....

so what?
nothing?
Code: Select all
<?php
$fp = fopen ("/home/rasmus/file.txt", "r");
$fp = fopen ("/home/rasmus/file.gif", "wb");
$fp = fopen ("http://www.example.com/", "r");
$fp = fopen ("ftp://user:password@example.com/", "w");
?>

User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Postby Oleg Butuzov » Tue Dec 03, 2002 5:25 am

sometimes it is veryuseful to contact with your server support =)
Oleg Butuzov
Last Samuray
Last Samuray
 
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am


Return to PHP coding => General

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.