Search
Left Quote    Copy from one, it's plagiarism; copy from two, it's research.
- Wilson Mizner    
Right Quote
 
[login] | [Register]
Forum Index » PHP and mySQL » Viewing Topic and Replies
Post Reply


        Viewing Topic: Registration Script not showing
  This user is online  Guest
  Subject: "Registration Script not showing" Posted: @ 1:07 am on Oct 13 2006   
Unregistered
Heya,

So here's my situation:
I've been following the PHP member creation tutorial or whatnot, and everything works fine EXCEPT for the registration page. For some reason, it doesn't even show up. Nothing, just blank. I've tried everything and I can't seem to find the problem. It works when it's just plain HTML, so it's not a caching issue with my host, but I simply can't get it to show up.

Thoughts?

    Viewed: 10,961 Times | Reply to This | To top
  This user is online  Guest
  Subject: "re: Registration Script not showing" Posted: @ 1:12 am on Oct 13 2006    
Unregistered

I've isolated the problem somewhat. If I remove the following code, the page shows up:


Code:

//array of invalid characters
$junk = array('.' , ',' , '/' , '\' , '`' , ';' , '[' , ']' , '-',
'*', '&', '^', '%', '$', '#', '@', '!', '~', '+', '(', ')',
'|', '{', '}', '<', '>', '?', ':', '"', '=');



    Viewed: 10,957 Times | Reply to This | To top
  This user is online  Guest
  Subject: "re: Registration Script not showing" Posted: @ 1:29 am on Oct 13 2006    
Unregistered

Nevermind, I got it to work. Just a few missing ''s
Don't you hate when that happens? You slave over the code for hours and realize you just accidentally had an extra ' lying around in the code somewhere it shouldn't be. UGH



    Viewed: 10,954 Times | Reply to This | To top
  This user is offline  bs0d
  Subject: "re: Registration Script not showing" Posted: @ 2:18 am on Oct 13 2006    

Member #: 1
Rank: Admin. - (1,505)
Since: 02/06/05
Posts: 600
From: USA

Yea, I know what you mean! Often times, its best just to get away from it for a while and take a break. Or even get back on it the next day. But glad to hear you got it working. Good luck




-bs0d | AllSyntax.com

    Viewed: 10,951 Times | Reply to This | To top
  This user is offline  Outka5t
  Subject: "re: Registration Script not showing" Posted: @ 9:39 pm on Dec 11 2006    
Member #: 241
Rank: User - (2)
Since: 12/11/06
Posts: 2

  Guest said...

< i> I've isolated the problem somewhat. If I remove the following code, the page shows up:


Code:
//array of invalid characters
$junk = array('.' , ',' , '/' , '\' , '`' , ';' , '[' , ']' , '-',
'*', '&', '^', '%', '$', '#', '@', '!', '~', '+', '(', ')',
'|', '{', '}', '<', '>', '?', ':', '"', '=');


You need to escape the escape. '\' needs to be '\\'




    Viewed: 10,774 Times | Reply to This | To top
  This user is offline  infinity000
  Subject: "re: Registration Script not showing" Posted: @ 9:47 am on Feb 19 2007    
Member #: 281
Rank: User - (2)
Since: 02/19/07
Posts: 2

This code is ok:
Code:

$junk = array('.' , ',' , '/' , '\'' , '`' , ';' , '[' , ']' , '-', '_', '*', '&', '^', '%', '$', '#', '@', '!', '~', '+', '(', ')', '|', '{', '}', '<', '>', '?', ':', '"', '=');





    Viewed: 10,395 Times | Reply to This | To top
  This user is offline  Genius
  Subject: "re: Registration Script not showing" Posted: @ 3:35 am on Feb 24 2008    

Member #: 582
Rank: User - (77)
Since: 02/18/08
Posts: 76
From: kmmk

OK. My bad, I fixed the problem. My Apache didn't log errors until I restarted the servers. My problem was "<?&q uot; at the end of code. Didn't have chance to turn PHP thing on.

Apalogies!




    Viewed: 8,598 Times | Reply to This | To top
Viewing Page: 1 of 1


1 |

You must be logged in to post on the forums. Login or Register








"AllSyntax.com" Copyright © 2002-2018; All rights lefted, all lefts righted.
Privacy Policy  |  Internet Rank