Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Registration page (https://postpacific.loc-online.com/showthread.php?t=1495)

Tim21 17.08.2005 21:28

Registration page
 
Hi all,

I have searched a lot of thread's but i kinda didnt found the answer i was lookign for!

Now we know how to setup the registration form on the server server and open internet on local etc.

We are making a website which were going to host by a hosting company.

Is it possible to implement the server regitration form on the website??

if yes can someone explain how and how to sett it up so it has access to the database etc.

Thanks

Tim

nepsquare 17.08.2005 21:45

Well, depends, I can upload my php stuff to my host because it supports the gist of extensions (mysql, mssql, PEAR db, etc)...

PM me if you need any help on setting up that first site..

Professor F 18.08.2005 02:08

if your hosting doesnt support php or asp in user pages, it wount work :-(

nepsquare 18.08.2005 07:44

True, but you can also host your Reg page locally... That way, you can really lock it up...

nepsquare 18.08.2005 16:15

I'll make a topic on this (plus attachments) tonight here in the General section... Just need to get the anti-sql injection part right...

Peace.

Pls don't pm me on this anymore. I got the message ;)

BiGBoY 18.08.2005 16:34

Quote:

Originally Posted by nepsquare
... Just need to get the anti-sql injection part right...

[php:1:43c31b1d60]
function antiinjection($str) {
$banwords = array ("'", ",", ";", "--", " or ", ")", "(", " OR ", " and ", " AND ","/n","/r");
if ( eregi ( "[a-zA-Z0-9]+", $str ) ) {
$str = str_replace ( $banwords, '', strtolower ( $str ) );
} else {
$str = NULL;
}
$str = trim($str);
$str = strip_tags($str);
$str = addslashes($str);
$str = htmlspecialchars($str);
return $str;
}[/php:1:43c31b1d60]

Tim21 18.08.2005 22:12

Zou je me kunnen authoriseren op skype plz?

Ik snap er nog niet echt veel van eigelijk.

Misschien dat je me ff kunt helpen??

Tim

nepsquare 19.08.2005 14:29

Tim, will do when I get home tonight, although Prof F pm'd me on his own PHP guide and maybe releasing it...


All times are GMT. The time now is 15:58.