Forum Moderators: coopster
php_value session.gc_maxlifetime 36000
php_value register_globals on
php_value max_execution_time 600
php_value allow_url_fopen On
php_value display_errors off
php_value display_startup_errors off
RewriteEngine on
RewriteRule ^(.+)\.(gif¦jpg)$ system/redirect.php
If i remove .htaccess works the fopen. But text file works with or without .htaccess.
I'm confused. Can to be permissions,apache,config of PHP.
Ideas,solution? :-)
Here's a speil from the manual:
fopen() binds a named resource, specified by filename, to a stream. If filename is of the form "scheme://...", it is assumed to be a URL and PHP will search for a protocol handler (also known as a wrapper) for that scheme. If no wrappers for that protocol are registered, PHP will emit a notice to help you track potential problems in your script and then continue as though filename specifies a regular file.
Maybe someone has a suggestion of getting around your problem... mine would be to ditch the current rewrite rule in favour of something that will permit your script to access the file (can't help you on that one unfortunately).
Glad you got it sorted, fabiox ;)