|
You last visited: Today at 01:05
Advertisement
''Web Site Terms and Conditions of Use'' Help!
Discussion on ''Web Site Terms and Conditions of Use'' Help! within the DarkOrbit forum part of the Browsergames category.
11/20/2014, 12:18
|
#31
|
elite*gold: 0
Join Date: Sep 2014
Posts: 54
Received Thanks: 11
|
Quote:
Originally Posted by lCulito
oh, i understand...
In your index change:
header("location: /mensajeTyC.php");
for this:
require_once('/mensajeTyC.php');
|
What Problem ?
|
|
|
11/20/2014, 14:22
|
#32
|
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
|
Quote:
Same error..
Now Term Of Use work but is fused with index.php
|
|
|
11/20/2014, 14:27
|
#33
|
elite*gold: 0
Join Date: Jan 2011
Posts: 92
Received Thanks: 49
|
|
|
|
11/20/2014, 14:30
|
#34
|
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
|
Quote:
Originally Posted by bobn171
|
the question is not addressed to you.
|
|
|
11/20/2014, 14:36
|
#35
|
elite*gold: 0
Join Date: Apr 2012
Posts: 182
Received Thanks: 128
|
Quote:
Originally Posted by steppdroid
Same error..
Now Term Of Use work but is fused with index.php 
|
Learn some basics functions of php. (if, else, endif statements)
|
|
|
11/20/2014, 14:37
|
#36
|
elite*gold: 61
Join Date: Oct 2010
Posts: 1,188
Received Thanks: 2,403
|
Quote:
Originally Posted by steppdroid
the question is not addressed to you.
|
Then dont post on this thread -.-
|
|
|
11/20/2014, 14:37
|
#37
|
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
|
Quote:
Originally Posted by olitis1
Learn some basics functions of php. (if, else, endif statements)
|
the base i konow!
|
|
|
11/20/2014, 14:46
|
#38
|
elite*gold: 61
Join Date: Oct 2010
Posts: 1,188
Received Thanks: 2,403
|
Quote:
Originally Posted by steppdroid
the base i konow!
|
Then fix your CSS.
|
|
|
11/20/2014, 14:47
|
#39
|
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
|
Quote:
Originally Posted by Αnonymous
Then fix your CSS.
|
no, the css is ok...
IF i use
" header("location: /mensajeTyC.php"); "
the graphics is ok, but the php no work.
If i use
require_once('/mensajeTyC.php');
the php work (term of use) but the graphics no (is fused with index.php).
|
|
|
11/20/2014, 14:48
|
#40
|
elite*gold: 61
Join Date: Oct 2010
Posts: 1,188
Received Thanks: 2,403
|
Quote:
Originally Posted by steppdroid
no, the css is ok...
|
Okay, also where is your else statement?
Cause that can prevent both things getting loaded at once
|
|
|
11/20/2014, 15:01
|
#41
|
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
|
Quote:
Originally Posted by Αnonymous
Okay, also where is your else statement?
Cause that can prevent both things getting loaded at once
|
the function in mensajeTyC.php is:
PHP Code:
<?php if(isset($_POST['agreement']) && $_POST['agree'] == '1'):
$_SESSION['acceptTyCsx'] = "OK"; header('location: /'); elseif(isset($_POST['agreement']) && $_POST['agree'] != '1'): echo "<script>alert('Please accept Terms and Conditions of Use for continue...');</script>"; endif; ?>
the function in index.php is:
PHP Code:
if(!isset($_SESSION['acceptTyCsx'])): require_once('/mensajeTyC.php'); //With require_once work all but the graphics is fuse with index.php endif;
IMAGE
|
|
|
11/20/2014, 15:25
|
#42
|
elite*gold: 61
Join Date: Oct 2010
Posts: 1,188
Received Thanks: 2,403
|
Quote:
Originally Posted by steppdroid
the function in mensajeTyC.php is:
PHP Code:
<?php
if(isset($_POST['agreement']) && $_POST['agree'] == '1'):
$_SESSION['acceptTyCsx'] = "OK";
header('location: /');
elseif(isset($_POST['agreement']) && $_POST['agree'] != '1'):
echo "<script>alert('Please accept Terms and Conditions of Use for continue...');</script>";
endif;
?>
the function in index.php is:
PHP Code:
if(!isset($_SESSION['acceptTyCsx'])):
require_once('/mensajeTyC.php'); //With require_once work all but the graphics is fuse with index.php
endif;
IMAGE

|
This is some of the most basic stuff you can learn in php, how to use "if then else".
But you say that you know php then i'm not gonna tell you.
Tip; use else in you index.php
|
|
|
11/20/2014, 15:34
|
#43
|
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
|
Quote:
Originally Posted by Αnonymous
This is some of the most basic stuff you can learn in php, how to use "if then else".
But you say that you know php then i'm not gonna tell you.
Tip; use else in you index.php
|
With this
PHP Code:
<?php
if (!isset($_SESSION['acceptTyCsx'])) {
require_once('/mensajeTyC.php');
}
else {}
?>
IS SOME
|
|
|
11/20/2014, 19:21
|
#44
|
elite*gold: 0
Join Date: Jan 2011
Posts: 92
Received Thanks: 49
|
Quote:
Originally Posted by steppdroid
the question is not addressed to you.
|
First of all, I'll answer you everytime I want to, btw you should say thanks to waste my time on you cause you don't deserve a single second of it. You can't even do a ******* simple redirection on php. Your programming skills are even worse than the author of this thread. So pls atleast, I know you won't learn, but if someone waste his time on you (yeah is a waste of time write this to you too) atleast don't be rude
|
|
|
11/20/2014, 20:58
|
#45
|
elite*gold: 83
Join Date: May 2011
Posts: 11,029
Received Thanks: 6,037
|
I'd make a funny joke pretending to use the if command telling him to post in the PServer thread, but I'm dumb and I don't know how to do "le coding".
I've said multiple times, and you should be aware by now. Post in the correct area. This is related to PServers. This should be posted  . You can learn how to code with different languages  . There's a whole section dedicated for Web Development  .
Closed - PServer Support Thread. Getting a tad messy as well.
Apologies for being a bit slow here.
|
|
|
Similar Threads
|
[INFO] Terms & Conditions for DarkOrbit - what are your rights?
02/20/2014 - DarkOrbit - 30 Replies
I've decided to make this topic couse I'm pretty sure that most of DarkOrbit players have no idea about their rights in game.
BigPoint's Terms & Conditions have been created for them, not for us. It's actually nothing special since BP is a large corporation. It means that their main target is money - not a wish to make something cool (but I'm pretty sure that you already know about that).
So let me explain you the most important facts from T&C which are mostly against you BUT some of...
|
All times are GMT +1. The time now is 01:06.
|
|