![]() |
PHP problem!
I wonder why this doesn't work. Anybody have any ideas?
<? $fp = fopen("source.php", "r"); $out = fread($fp, filesize("output.php")); ?> <? echo $out; ?> |
But But But... php is cool!
|
send me $1000 immediatly!
|
Quote:
you should use the filesize of source.php. remember to close $fp :thumbsup |
Did that fix your problem?
|
Quote:
|
Quote:
You can get your include_path by calling ini_get('include_path'); and you can change it by calling ini_set('include_path', '/path/one:/path/two:/etc'); |
Quote:
Also when posting in the future copy and paste php errors if there are any as well :) |
| All times are GMT -7. The time now is 10:20 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123