Frontpage
Contact
PHP-help?


PHP-Scripts:
DivX
Linklist
Easydirlist
Base64img
Munin-noc
Astropicture
Buttonmaker
Antispam
Javascripts:
Javatest
Perl:
dixit2etomite.pl
getdilbert.pl
mIRC:
psybnc.mrc

Windows:
MSN SongText


Your own domain?

Help?



it always displays a broken image link

Might it be that your register_globals is off? The most easy way is to turn it on in your php.ini.. and restart the webserver.

You can either turn it on in your php.ini, in .htaccess (if allowed by php.ini) or you can fix the file you get from base64img to support that 
register_globals is off.

And for more info... read: http://www.php.net/manual/en/security.registerglobals.php
and more about setting values.. http://www.php.net/manual/en/function.ini-set.php

This might also be a solution.. Put this in the top of your generated file.. afther the php-tag
ini_set("register_globals",1);
// .. continue the script..

or put this in a .htaccess in the same directory..
php_value register_globals 1


I have 2 images converted by base64img. It only displays the first image

note: images created with base64img must always be on the top of the file. It's because it sends header-information to the browser. A common misstake 
is to put two files together with include, and leave the first file with some blank lines at the end of the file. The other is to not rename the 
function or the url-parameter "image=1".

A example:
What happens when you are trying to show picture 2 (?image=2 added as the parameter to the url):

callimages.php includes imagefile1.php and does not show anything but the 2 empty lines at the bottom of the file. Then callimages.php includes the 
imagefile2.php.. imagefile2.php will try to send the header to the browser, but it was already sent. Then the client will not be able to show it 
correctly.

- Watch out for some empty space... You don't like it ;P


does not work with large jpg files and large gifs
Does it not?
It is a limit on 8 mb or something in php.ini..
try converting it online in the demo before you complain


Fatal error: Call to undefined function: array_key_exists() 
I.ve downloaded your Base64img-script. But when I trie to run it I get the error
Fatal error: Call to undefined function: array_key_exists() in c:\phpdev\www\scripts\base64img.php on line 337
That is rather logical since the function array_key_exists() IS not defined.
Am I doing something wrong or is there a part of the script missing?
I hope you can help me out, because the demo of the script looked VERY interesting :).

try to upgrade your version of PHP.. read about the function on www.php.net/array_key_exists





POWERED BY WWW.HOLTSMARK.NO