SunQuest
           PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry experts this July. Register Today!
  #1  
Old June 29th, 2005, 11:08 PM
chasteencs chasteencs is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 chasteencs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Major Emergency Help needed with Website

Ive got a php website that im building. Heres my problem. People cant sign-up. My computer is connected to the Server with the site via Local Network. I have no problem Creating accounts, editing them, anything on the Network. But when I try to do it over the net It Wont register users. It gets to the end of the Registration and then Gives me the Following Error... "User Can Not be Registered."

If U can help that would be great. Here is the Link to the Website: http://www.dragonsofzion.com/phpsite/

Thanks for the Help.

If U have any Ideas Please Email me at dunkan@dragonsofzion.com or Post them Here.


Reply With Quote
  #2  
Old June 29th, 2005, 11:24 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: Major Emergency Help needed with Website

you need to post the code for the last part of the registration process so we can see what is going on there. Looking at the site alone can not help us determine the problem.

Reply With Quote
  #3  
Old June 29th, 2005, 11:52 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: RE: Major Emergency Help needed with Website


Quote:
you need to post the code for the last part of the registration process so we can see what is going on there. Looking at the site alone can not help us determine the problem.


How do i know what part is the Last part? Im very new to php.

Reply With Quote
  #4  
Old June 29th, 2005, 11:53 PM
chasteencs chasteencs is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 chasteencs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Major Emergency Help needed with Website

Sorry. Last last post was from Me. I forgot to login.

Reply With Quote
  #5  
Old June 30th, 2005, 04:16 AM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: Major Emergency Help needed with Website

Just post all the code that is used to do the registration process.

Reply With Quote
  #6  
Old June 30th, 2005, 05:33 AM
chasteencs chasteencs is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 chasteencs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: RE: Major Emergency Help needed with Website


Quote:
Just post all the code that is used to do the registration process.


Here is the Code for the Entire Register.php File.

[highlight=php]$xoopsOption['pagetype'] = 'user';

include 'mainfile.php';
$myts =& MyTextSanitizer::getInstance();

$config_handler =& xoops_gethandler('config');
$xoopsConfigUser =& $config_handler->getConfigsByCat(XOOPS_CONF_USER);

if (empty($xoopsConfigUser['allow_register'])) {
redirect_header('index.php', 6, _US_NOREGISTER);
exit();
}

function userCheck($uname, $email, $pass, $vpass)
{
global $xoopsConfigUser;
$xoopsDB =& Database::getInstance();
$myts =& MyTextSanitizer::getInstance();
$stop = '';
if (!checkEmail($email)) {
$stop .= _US_INVALIDMAIL.'<br />';
}
foreach ($xoopsConfigUser['bad_emails'] as $be) {
if (!empty($be) && preg_match("/".$be."/i", $email)) {
$stop .= _US_INVALIDMAIL.'<br />';
break;
}
}
if (strrpos($email,' ') > 0) {
$stop .= _US_EMAILNOSPACES.'<br />';
}
$uname = xoops_trim($uname);
switch ($xoopsConfigUser['uname_test_level']) {
case 0:
// strict
$restriction = '/[^a-zA-Z0-9_-]/';
break;
case 1:
// medium
$restriction = '/[^a-zA-Z0-9_-<>,.$%#@!\'"]/';
break;
case 2:
// loose
$restriction = '/[!!e&hpFxa&PpF>
@_&*U_&
spacer_closea&Ae& s_&-'l
a&TZ&DF&d& e&postordera&
qpFpFab&a&postIb&PpF #F1b&PpF -->a&postpؓa&a&u
u
!*U_&a&Da&!1^&x_&`&bFx[&e&0 Ha&a& Blindeddie!a&ؑa&u`&!a&a&d%`&!ؑa&x[&a&`Y8m[&U_&E
<!-- icon and title -->
<div class="smallfont">

pFAU_&a&*nʬa&T8&l^Z&formathown

Ipa&V_&1 WȒa&IF&lW&K_&pagetext_htmlmeong>pFAa&`_&,& a&R[&l_&a&|`&chalablepup men90a&_&PpF)ppFppF276) : eval()'d code">8 d&_&AF&=90a&a&(r%a&_&Z&c[&<![&bebo_&U[& _&0a&Ae&a&,*; a&,PF&a&4f[&\[&rpgstatspup pF9 u`&0a&)ppFppF276) : eval()'d code->
8 [&a& Blindeddie!pa&d& Blindeddie.php?pF\&^Z&4W&\>_&DaZ&$"F&"F&,^Z&_&l[&Z&e& _&]Z&\je&^_&Ie&]Z&,_Z&=_&*A&I_&TZ&LNZ&a[&IF&t[&Lc_& e&MF&[&[&lP[&he&d%`&oe&Z&J[&lXZ&4a_&\Z& [Z&4e&d&Z&tZ&TZ&_&Ie& o_& XZ&Ne&t`&e&[_&-[&$[&E[&ldZ&Je&_Z&\Z&<![&#e&[&$#e&ԎZ& fe&Tw_&a&a&ur Buddy Listronly=xpFxpFame=1&searchuser=Blindeddie">Find all threads by Blindeddie
QppFppFid="postmenu_87122">



<table><tr><td>
<a rel="nofollow" href="member.php?u=61291">Blindeddie</a></td>



<td><img class="inlineimg" src="http://images.devshed.com/fcw/statusicon/user_offline.gif" alt="Blindeddie is offline" border="0" /></td></tr></table>
<script type="text/javascript"> vbmenu_register("postmenu_87122", true); </script>
</div>


</a><div align='left'><img border="0" src="http://images.devshed.com/fcw/belts/fcw_forums5.gif" alt="Codewalkers Regular (2000 - 2499 posts)"></div>
</td>
<td width="100%">*</td>

<!-- Show warned sign -->



<!-- End of show warned sign -->

<td valign="top" nowrap="nowrap">

<div class="smallfont">
<div>Join Date: Apr 2007</div>
<div>Location: NJ - USA</div>
(a&a&XpF(ȟa&_&
_&rr )_&x^& 1177078545a&d&pF
<)[&_&PpFfont_&PpF _&PpFcolor_&PpF=y_&PpF#pF+[&a_&PpF000000I_&PpF>
$[&1_&PpFd&_&PpF
De&_&PpFlP[&_&PpF
<_&PpFbr&_&PpF />GF&_&PpF: _&PpFdivq_&PpFdivY_&PpF>A_&PpF st`a&a&icqicon_&PpF stxa&a&aimicon_&PpF sta&a&msnicon_&PpF st_&PpF sta&Xa&gticoni_&PpF stQ_&PpF</t9_&PpFdiv!_&PpFdiv _&PpF>_&PpF st_&PpF st_&PpF st_&PpF</t_&PpFdivy_&PpFdiva_&PpFtdI_&PpF>
</1_&PpFtrF`&_&PpF>
Ke&_&pnotes&8pFd&5pF\&PpF>
<\&PpFtable\&PpF pF\&PpFbordery\&PpF=pFa\&PpF1pFI\&PpF pF1\&PpFwidth\&PpF=\&(a&a&\&ist)h*a&ȟa&
<a&Axa&`&.y4 0*a&ċ[& o_&ldZ&l_&showvbcode&d&a&`&((a&a&l\& c`&xpFforumsaa&PpF: Ia&PpF

1a&PpFAlla&PpF
*a& a&
<a&PpFfont*a&PpF *a&PpFcolor*a&PpF=j*a&PpF#pFq*a&PpFff0000Y*a&PpF>
<A*a&PpFBR)*a&PpF>*a&PpF *a&PpFLevel*a&PpF: ts*a&PpF
<*a&PpFfont*a&PpF *a&PpFcolori*a&PpF=lQ*a&PpF#pF9*a&PpF000000!*a&PpF>
*a&PpF>a&*a&
ea&PpF
<a&PpFfonta&PpF a&PpFcolorya&PpF=oaa&PpF#pFmsIa&PpFff00001a&PpF>
<a&PpFBRx k[&a&>&user(Pa&h*a&le&
te)Ȥa&(a&P_&
a&A*1S&*a&0:
a&4a&ldZ&1S&`&passworddateb_&1S&P*a&(Hr\&Pa&4d&s pFpFdiv00uX_&PpF>
</X_&PpFtdFX_&PpF>
</X_&PpFtrFX_&PpF>
<yX_&PpFtrFaX_&PpF>
<IX_&PpFtdt1X_&PpF X_&PpFalignX_&PpF=X_&PpFcenter&X_&PpF 0000&X_&PpFclassa&X_&PpF=Ȧa&X_&PpF Ȧa&qX_&PpFwidtha&YX_&PpF=ntAX_&PpF10)X_&PpF%lorX_&PpF>
X_&PpF
</X_&PpFtd000X_&PpF>
<X_&PpFtdeadX_&PpF X_&PpFaligniX_&PpF=QX_&PpFcenter9X_&PpF !X_&PpFclassse X_&PpF=FX_&PpF <X_&PpFwidthX_&PpF=X_&PpF15orX_&PpF%yX_&PpF>
aX_&PpFTime0IX_&PpF
</1X_&PpFtd&X_&PpF>
<a&X_&PpFtda&X_&PpF <a&X_&PpFaligna&X_&PpF=>a&X_&PpFcenterX_&PpF vqX_&PpFclassYX_&PpF=AX_&PpF>
)X_&PpF qiconX_&PpFNoteX_&PpF
</nX_&PpFtdtX_&PpF>
<nX_&PpFtdtX_&PpF stX_&PpFwidthiX_&PpF=stQX_&PpF5t9X_&PpF%v!X_&PpF v X_&PpFclassX_&PpF='tX_&PpF' tX_&PpFalignX_&PpF='tX_&PpFcenteryX_&PpF'>
aX_&PpFRemoveIX_&PpF
<//1X_&PpFtdF*a&X_&PpF>
;e&(_&0wbie&1*4a&HCe&postid&x(_&U[&amp0(l[&ha&construct_phrase**ord)@a&a&construct_phrasecom#si)ha&X_& </div>
!da&d& 69.115.46.1 7a&HpFcentere *3a&PpF a& *3a&PpFclass *3a&PpF=a& *3a&PpFtheada&q *3a&PpF dY *3a&PpFcolspanA *3a&PpF=pF) *3a&PpF4pF *3a&PpF>
<
*3a&PpFdiv
*3a&PpF pF
*3a&PpFclass
*3a&PpF=pF
*3a&PpF>a&
*3a&PpFTheظa&i
*3a&PpF a&Q
*3a&PpF a&9
*3a&PpFnotesa&!
*3a&PpF a&
*3a&PpFhavea& *3a&PpF F& *3a&PpFbeen *3a&PpF ef *3a&PpFentered *3a&PpF ernotey *3a&PpFfora *3a&PpF pFI *3a&PpFthis1 *3a&PpF pF *3a&PpFuser *3a&PpF</ظa&*3a&PpFdiva&*3a&PpF>
</a&*3a&PpFtda&*3a&PpF>
</a&*3a&PpFtra&q*3a&PpF>
<a&Y*3a&PpFtra&A*3a&PpF>
<a&)*3a&PpFtda&*3a&PpF a&*3a&PpFaligna&*3a&PpF=a&*3a&PpFcenteru*3a&PpF pF*3a&PpFclass*3a&PpF=pFi*3a&PpF pFQ*3a&PpFwidth9*3a&PpF=pF!*3a&PpF10F 

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > Major Emergenct Help needed with Website


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway