Unreal Ops Forum Index

Home FAQ Memberlist
 
View next topic
View previous topic
 Unreal Ops Forum Index » Unreal Ops Soap Box
Author Message
Cheetah
Ultimate Fanboy


Joined: 25 Aug 2003
Posts: 2831
Location: Halfway between the gutter and stars.

PostPosted: Tue Feb 03, 2004 12:13 pm

hey all, mostly barbos i think.. Very Happy
do you know how i can change the value of "name" in the cookie "Uname" from an other folder.
its couse i finaly debugged my cookie name script... took me long enough.. but if you want to change your name it doesnt overwrite that cookie, it just sets a new one.. couse it sets it for that folder..
thanks alot Very Happy

_________________
<CrashOverwrite> ask Raven cause he nevaR knows anything.
<Cheetah01> hes nevaR here either Razz
<CrashOverwrite> true
<Rachel> Razz
alpha2003
The Underworld God of Spamming


Joined: 07 Dec 2003
Posts: 748
Location: USA

PostPosted: Wed Feb 04, 2004 12:08 am

you could have put this in your other web page topic, cheetah Smile\


edit:


this might be a good sig for you Wink

http://members.aol.com/bfpro1/private/citah.gif


Last edited by alpha2003 on Wed Feb 04, 2004 12:59 am; edited 1 time in total
barbos
Ultimate Fanboy


Joined: 18 May 2003
Posts: 508

PostPosted: Wed Feb 04, 2004 12:45 am

if this is in reference to get your cookie working with your domain, I doubt it will still work, because the cookie is being received from a different address than the original website requested, it is blocked by default internet explorer security settings...

(whoa... a security "feature" that works...)
Raven
UO Staff


Joined: 19 May 2003
Posts: 2235
Location: Clyde, Ohio

PostPosted: Wed Feb 04, 2004 10:27 am

lol Very Happy

one in a million Wink errr billion... err trillion... i dunno Rolling Eyes

_________________
nevaR ask Raven
Because he nevaR knows!
Http://www.guardiansofdeath.com
Cheetah
Ultimate Fanboy


Joined: 25 Aug 2003
Posts: 2831
Location: Halfway between the gutter and stars.

PostPosted: Wed Feb 04, 2004 11:26 am

lol.. they only got like 3 securtyty featurs.. Wink

i used that long time ago alpha, but thanks anyway.. Very Happy

but i CAN read from the cookie.. just duno how to edit/overwrite the cookie from that folder..
i shouldent be able to read from it if i cant write it.. right?

thanks anyway.. Rolling Eyes

_________________
<CrashOverwrite> ask Raven cause he nevaR knows anything.
<Cheetah01> hes nevaR here either Razz
<CrashOverwrite> true
<Rachel> Razz
alpha2003
The Underworld God of Spamming


Joined: 07 Dec 2003
Posts: 748
Location: USA

PostPosted: Wed Feb 04, 2004 5:31 pm

cheetah, i dont understand why cookies are such a problem for you, from the looks of how ur making things, you might as well try putting three diff javascripts on your page and get all of em to work Smile
Cheetah
Ultimate Fanboy


Joined: 25 Aug 2003
Posts: 2831
Location: Halfway between the gutter and stars.

PostPosted: Thu Feb 05, 2004 2:16 pm

hah realy funy.
i got my PHP script okey now i think.


Code:
<?php
if (isset($_POST['tst'])) {
   if ($_POST['tst'] == '') {
      $_POST['tst'] = "Mr/Miss No Name" ;
      setcookie("test", $_POST['tst'], time()+31536000);
      echo "null, Cookie set to ".$_POST['tst']."." ;
   }
   
   else {
      setcookie("test", $_POST['tst'], time()+31536000);
      echo "Cookie set to ".$_POST['tst'].".";
   }
}

else {
   echo "<form method=\"post\" action=\"#\">\n";
   echo " <input name=\"tst\" type=\"text\" maxlength=\"12\">\n";
   echo " <input type=\"submit\" name=\"Submit\" value=\"Submit\">";
   echo "</form>\n";
}
?>


cant update it yet, couse server is donw again
and thankt alpha, for the great mental coach support.. Rolling Eyes

_________________
<CrashOverwrite> ask Raven cause he nevaR knows anything.
<Cheetah01> hes nevaR here either Razz
<CrashOverwrite> true
<Rachel> Razz
Display posts from previous:   

View next topic
View previous topic


 

Powered by phpBB © 2001, 2005 phpBB Group :: Theme zoneCopper designed by yassineb.