Search found 4 matches
- Sun Apr 25, 2010 3:34 am
- Forum: PHP - Code
- Topic: What's wrong with this code
- Replies: 5
- Views: 2218
Re: What's wrong with this code
I visited that page a lot of times before, but don't see the solution..
- Sat Apr 24, 2010 4:19 pm
- Forum: PHP - Code
- Topic: What's wrong with this code
- Replies: 5
- Views: 2218
Re: What's wrong with this code
I get this error:
Warning: fputs() expects parameter 2 to be string, resource given in C:\xampp\htdocs\test\index.php on line 5
Warning: fputs() expects parameter 2 to be string, resource given in C:\xampp\htdocs\test\index.php on line 5
- Sat Apr 24, 2010 3:20 pm
- Forum: PHP - Code
- Topic: What's wrong with this code
- Replies: 5
- Views: 2218
What's wrong with this code
please help to write binary data to a file:
I use this code but no work:
<?php
$fr = fopen('wtf.png', 'r');
$fr2 = fopen('wtf2.png', 'w');
$data = fread($fr, 299052);
fputs($fr2, $fr, 299052);
fclose($fr);
?>
Can you please tell me what's the problem with the code?
I use this code but no work:
<?php
$fr = fopen('wtf.png', 'r');
$fr2 = fopen('wtf2.png', 'w');
$data = fread($fr, 299052);
fputs($fr2, $fr, 299052);
fclose($fr);
?>
Can you please tell me what's the problem with the code?
- Sat Feb 13, 2010 7:40 am
- Forum: PHP - Code
- Topic: A little help needed...
- Replies: 0
- Views: 292
A little help needed...
Hi! I found some scripts for determining if e-mail address exists but I can't use it or I get errors...
it is located here: http://www.webdigi.co.uk/blog/2009/how- ... -an-email/
The error I get when putting all together... http://alexvorn.com/test/2.php
it is located here: http://www.webdigi.co.uk/blog/2009/how- ... -an-email/
The error I get when putting all together... http://alexvorn.com/test/2.php