Some people reported that they cant upload thier photo. I presume that this happens couse photo is in JPG format (not jpg with small fonts). I have looked in upload.php file where i could add big fonts (JPG) too, but its little hard for me to add that couse i m newbie in PHP. Can you please help me?
Thanks alot,
Lucifix
** Broken link**
in upload.php (version 1.2) line 34, replace
if ( $extension != 'gif' && $extension != 'jpg' && $extension != 'png' )
by
if ( $extension != 'gif' && $extension != 'jpg' && $extension != 'png' && $extension != 'GIF' && $extension != 'JPG' && $extension != 'PNG' )
Offline
Thanks, that works now :)
One more thing... about e-mail.
I have tried to add my e-mail which is (Lucifix_ND@hotmail.com). But the script rejected it. I found out why. I am using big fonts ND (Lucifix_ND...)
So i have to typed Lucifix_nd@hotmail.com. I have figured that out, but some of new users wont :(
Got any idea where to change that? maybe in upload.php?
I think its in this line:
if( !ereg( "([_a-z0-9-]+(.[_a-z0-9-]+)*@[a-z0-9-]+(.[a-z0-9-]+)+)", $HTTP_POST_VARS['mail_address'] ) )
{
$error[$i++] = $lang['reg_err_mail_address'];
}
I would change that when users uploads photo and when they register.
PS: i never get so quick and usefull help, but here... :D
Lucifix
if you want case insensitivity, change ereg by eregi (i for insensitive). Chage it in upload.php and register.php
Offline
one more thing :oops:
I would like to add one other funcion in menu on low left side where visitors see: register, find and information.
I would like to add link to login. like this:
register (register.php)
login (identification.php)
search (search.php)
information (....php)
In diapo.php maybe? or has anyone else asked the same question like i did, but i didnt find it in this forum.
TY,
Lucifix
i got a question that fits this post, is there a way to mod the upload.php script so it accepts .bmp pics? cause i found out some people tried sendin that type in and wouldnt let them.thanks.
Offline
bmp format is not support. Anyway it's totally forbidden on internet...
Offline
bmp format is not support. Anyway it's totally forbidden on internet...
internet...
ok so is there a way i can put that on there and any other kind of text?
Offline