PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
dark-dude
Worker
Worker


Joined: Jun 29, 2003
Posts: 146
Location: Oklahoma

PostPosted: Mon Dec 13, 2004 8:17 pm Reply with quote Back to top

I made my own security block and it worked great up untill 7.0....now i can't see the graphic on the home login...
Code:
 // Info for guests (users who didn't log in)
   if (!is_user($user)) {
       mt_srand ((double)microtime()*1000000);
       $maxran = 1000000;
       $random_num = mt_rand(0, $maxran);
}
$content .= "<img src=\"images/DDUser/group-4.gif\" height=\"14\" width=\"17\"> "._DD_GUEST." <b>$uname</b>\n<hr>";
$content .= "<br><img src=\"images/DDUser/arrow.gif\" height=\"9\" width=\"9\"> <a href=\"modules.php?name=Your_Account&op=new_user\">"._DD_UMBREG."</a>\n";
$content .= "<br><img src=\"images/DDUser/arrow.gif\" height=\"9\" width=\"9\"> <a href=\"modules.php?name=Your_Account&op=pass_lost\">"._DD_UMBLOST."</a><br><br>\n";
$content .="<form action=\"modules.php?name=Your_Account\" method=\"post\">\n";
$content .="<table border=\"0\"><tr><td>\n";
$content .=""._DD_NICKNAME."</td></tr>\n";
$content .="<tr><td><input type=\"text\" name=\"username\" size=\"15\" maxlength=\"25\"><CENTER></td></tr>\n";
$content .="<tr><td>"._DD_PASSWORD."</td></tr>\n";
$content .="<tr><td><input type=\"password\" name=\"user_password\" size=\"15\" maxlength=\"20\"></td></tr>\n";
       if (extension_loaded("gd") AND ($gfx_chk == 2 OR $gfx_chk == 4 OR $gfx_chk == 5 OR $gfx_chk == 7)) {
$content .="<tr><td colspan='2'>"._DD_SECURITYCODE." <img src='modules.php?name=Your_Account&op=gfx&random_num=$random_num' border='1' alt='"._DD_SECURITYCODE."' title='"._DD_SECURITYCODE."'></td></tr>\n";
$content .="<tr><td colspan='2'>"._DD_TYPESECCODE." <input type=\"text\" NAME=\"gfx_check\" SIZE=\"12\" MAXLENGTH=\"10\"></td></tr>\n";
$content .="<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">\n";
       }
$content .="</table><input type=\"hidden\" name=\"redirect\" value=$redirect>\n";
$content .="<input type=\"hidden\" name=\"mode\" value=$mode>\n";
$content .="<input type=\"hidden\" name=\"f\" value=$f>\n";
$content .="<input type=\"hidden\" name=\"t\" value=$t>\n";
$content .="<input type=\"hidden\" name=\"op\" value=\"login\">\n";
$content .="&nbsp;<input type=\"submit\" value=\""._LOGIN."\"></form>\n";
}
// Info for users who logged in AND Guests
thats what I have now and always worked. Rest of the graphics work throughout the page....any ideas?
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15057
Location: Kansas

PostPosted: Mon Dec 13, 2004 9:02 pm Reply with quote Back to top

Since it was working and now it's not, that's a pretty good indication of a space or blank line after the closing ?> tag in some included file. Inspect all the recent files you have editted (config, language, etc) to make sure they do not have the extra line. See also
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
dark-dude
Worker
Worker


Joined: Jun 29, 2003
Posts: 146
Location: Oklahoma

PostPosted: Tue Dec 14, 2004 11:24 am Reply with quote Back to top

well only thing i did was add theblock. I haven't edited anything...
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
dark-dude
Worker
Worker


Joined: Jun 29, 2003
Posts: 146
Location: Oklahoma

PostPosted: Thu Dec 16, 2004 8:47 pm Reply with quote Back to top

Where can I send the block code for you to look and see whats wrong with it? i will add it here
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum