Civ Duel Zone  

Go Back   Civ Duel Zone > Civilization > General Discussion > Civ III
Home

Reply
 
Thread Tools Display Modes
Old 21-10-2004, 23:20   #81
Matrix
Administrator
 
Matrix's Avatar
 
Join Date: Mar 2003
Location: Tampere, Finland
Posts: 4,828
Default

You can click on 'stop' on your browser. Then you won't be forwarded automatically...
__________________
Matrix is offline   Reply With Quote
Old 22-10-2004, 00:43   #82
akots
Nebuchadnezzar II
 
akots's Avatar
 
Join Date: Apr 2004
Location: Glover Park
Posts: 4,459
Default

lol, I'll try but it would be hard. Similar like the squares game. I don't think I actually noticed anything at all on that page. It just flashed and went away.
__________________
Cujusvis hominis est errare; nullius, nisi insipientis in errore perseverare
Ciceron (Marcus Tullius)
akots is offline   Reply With Quote
Old 22-10-2004, 13:08   #83
Matrix
Administrator
 
Matrix's Avatar
 
Join Date: Mar 2003
Location: Tampere, Finland
Posts: 4,828
Default

Weird. The page should be there for a full five seconds...
__________________
Matrix is offline   Reply With Quote
Old 23-11-2004, 13:30   #84
digger760
King
 
digger760's Avatar
 
Join Date: Apr 2003
Location: The Fake Dog Poo Factory.
Posts: 1,887
Default

Matrix...i just noticed that i can view the source of the turn-tracker and it has out email addresses in there.

Is it possible for web-bots to find this and use our email address for product promotions (viagra, enlargment, financial prosperity and other such promotions)?
digger760 is offline   Reply With Quote
Old 23-11-2004, 14:30   #85
Plux
King
 
Join Date: Jun 2003
Posts: 1,213
Default

Why you ask. You need some?
Plux is offline   Reply With Quote
Old 23-11-2004, 15:07   #86
Matrix
Administrator
 
Matrix's Avatar
 
Join Date: Mar 2003
Location: Tampere, Finland
Posts: 4,828
Default



Digger, I actually don't know. I guess so. But I don't think that webbots won't find that page easily. Only a few people visit it...
__________________
Matrix is offline   Reply With Quote
Old 23-11-2004, 15:38   #87
Banzai
 
Join Date: Mar 2004
Location: Netherlands.
Posts: 1,226
Default

Well.. the strange thing is that my company used Websense to block access to the turn tracker because it was identified as a game site, while it did not block access to this site...
__________________
I see your face when I am dreaming.
That\'s why I always wakeup screaming.
Banzai is offline   Reply With Quote
Old 27-11-2004, 14:37   #88
smalltalk
 
Join Date: Mar 2003
Location: Echo Park.
Posts: 544
Default

If this is a problem, then the email adresses could be changed into like "address_at_host.com" and then be further processed at run-time.

Or the adresses could reside in the php-script, and thus be completely invisible to the user.
__________________
<font size=\"1\">\"I have to play EXISTANCE with someone friendly. Are you friendly or are you not?\"</font id=\"size1\">
smalltalk is offline   Reply With Quote
Old 29-06-2005, 22:53   #89
smalltalk
 
Join Date: Mar 2003
Location: Echo Park.
Posts: 544
Default

Updated the turn tracker to deal with multiple recipients.

Multiple recipients can now be entered like this:
Code:
&lt;option value="Player1; member1@host.com; member2@anotherhost.com; member3@cdz.com"&gt;Player #1&lt;/option&gt;
Seperating character is the semicolon.

The number of recipients is not limited. Please note, that the turntracker will not be updated, if sending the emails fails.


You have to add everything after //new in append.php
Quote:
quote:
Code:
// Split name of player and of next player in queue
// Change the ; if you want another split-character

$players = explode(";",$_POST['player']);

// New
$number_of_recipients = count($players)-1;

// note that $player_ from now actually holds party_from
$player_from = $players[0];

for ($i = 1; $i &lt;= $number_of_recipients; $i++) {
  $player_to[$i] = $players[$i];
}

also you have to change:

Quote:
quote:
Code:
if ($do_upload == 'true')
{
// send the email

//new
for ($i = 1; $i &lt;= $number_of_recipients; $i++) {

$OK = send_attachment ($player_to[$i],
                      $subject,
                      "",
                      $_FILES['upfile']['name'],
                      $_FILES['upfile']['type'],
                      $_FILES['upfile']['size'])
      or $OK;
}

// Do not add a newline to textfile, if there's an email error
// $upload = ($_POST['upload'] == 'true');
if (!($OK))  { exit; }
}


You also might want to change this line in send_attachment.php
Quote:
quote:
Code:
print("&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Attachment status&lt;/b&gt;&lt;p&gt;");
into
Code:
print("&lt;p&gt;&lt;b&gt;Attachment status&lt;/b&gt;&lt;p&gt;");
to make the output more readable.

Contact me, if I'm talking gibberish.
__________________
<font size=\"1\">\"I have to play EXISTANCE with someone friendly. Are you friendly or are you not?\"</font id=\"size1\">
smalltalk is offline   Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +2. The time now is 21:31.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.