Login / shoutbox

Started on the old forum in March 2010 · view the original in the archive · old links redirect here

7 replies · 613 views · started 16 years ago · 1 min read

3 participants
ares1981 Junior · 25 posts #1

HEY,

I need a login script for my mobile site and then for it so that when logged in you can chat on the shoutbox , im having mega problems with my scripting as im such a noob, i would like to download it if you can help.

thanks

ares1981 Junior · 25 posts #3

khan89 wrote: whats ur site link?is there ny existing script?u better use lava script for ur site.

my site is g-net MOBILE

as i say it works fine on computers but not on phones. I was hopeing to download the login and shoutbox but if you can look at my scripting that would be great, but i think i need to start again from fresh.

ares1981 Junior · 25 posts #4
<?php session_start(); $_SESSION["where_to_go"]=$_SERVER["REQUEST_URI"]; if (!isset($_SESSION['name'])) { header("Location: http://gnetuk.net/MOBILE/login/user.php"); } ?>

this may bee the problem i think, it directs a not loged in user to the login page then when there logged in they can access the chat. but this works fine on a computer but not on a phone ,

on a phone when logged in that bit works but when they access chat it goes back to the login .

ksg91 Developer · 162 posts #6

ares1981 wrote:

<?php session_start(); $_SESSION["where_to_go"]=$_SERVER["REQUEST_URI"]; if (!isset($_SESSION['name'])) { header("Location: http://gnetuk.net/MOBILE/login/user.php"); } ?>

this may bee the problem i think, it directs a not loged in user to the login page then when there logged in they can access the chat. but this works fine on a computer but not on a phone ,

on a phone when logged in that bit works but when they access chat it goes back to the login .

maybe your phone/network doesnt support cookie. that maybe creating problem

Follow me @ksg91 | My Blog: http://ksg91.com | Nokia Blog: http://NokiaTips.in

ares1981 Junior · 25 posts #7

ksg91 wrote: maybe your phone/network doesnt support cookie. that maybe creating problem

is there anyway doing it without cookies? basicley i need them to login to use the shoutbox otherwise i just get everyone abusing it.

ares1981 Junior · 25 posts #8

Sorted

its all working now thanks all

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close