Quote (Spartan)aS( @ Sun, 31 Aug 2008, 12:10)
well its just not showin cause the host isnt good but the way that i told u to do should work for other hosts hmmm Index.php?? make it index.php
This isn't necessary. But if it works, okay why not
Did you upload the .htaccess file? The file shouldn't have an extension other than ".htaccess". The index way is a workaround which is kinda nasty, although it does work sometime I would not recommend it. That's why it is not in my guide
.
What you could try if it doesn't work is create a .htaccess file containing:
Code
AddType application/x-httpd-php5 .png
instead of your .htaccess file containing:
Code
Options MultiViews
And rename your
yourname.png.php5 file to
yourname.png only.
Though on my host this doesn't work, it heard stories it does work on some hosts.
//edit
Quote
Multiviews
MultiViews is a per-directory option, meaning it can be set with an Options directive within a <Directory>, <Location> or <Files> section in access.conf, or (if AllowOverride is properly set) in .htaccess files. Note that Options All does not set MultiViews; you have to ask for it by name.
The effect of MultiViews is as follows: if the server receives a request for /some/dir/foo, if /some/dir has MultiViews enabled, and /some/dir/foo does not exist, then the server reads the directory looking for files named foo.*, and effectively fakes up a type map which names all those files, assigning them the same media types and content-encodings it would have if the client had asked for one of them by name. It then chooses the best match to the client's requirements.
MultiViews may also apply to searches for the file named by the DirectoryIndex directive, if the server is trying to index a directory. If the configuration files specify
DirectoryIndex index
then the server will arbitrate between index.html and index.html3 if both are present. If neither are present, and index.cgi is there, the server will run it.
If one of the files found when reading the directive is a CGI script, it's not obvious what should happen. The code gives that case special treatment --- if the request was a POST, or a GET with QUERY_ARGS or PATH_INFO, the script is given an extremely high quality rating, and generally invoked; otherwise it is given an extremely low quality rating, which generally causes one of the other views (if any) to be retrieved.
Is what multiviews does
.
//edit2
Quote
How do I make the Background transparent?
you have to do that in your favorite image creator app (don't believe paint can do it). Just delete the background or at start, start with a "transparant" background.
This post was edited by flapmo on Aug 31 2008 02:47pm