Author |
Message |
Cheetah
Ultimate Fanboy

Joined: 25 Aug 2003
Posts: 2831
Location: Halfway between the gutter and stars.
|
Posted:
Tue Feb 03, 2004 12:13 pm |
hey all, mostly barbos i think..
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  |
_________________ <CrashOverwrite> ask Raven cause he nevaR knows anything.
<Cheetah01> hes nevaR here either
<CrashOverwrite> true
<Rachel>  |
|
|
 |
alpha2003
The Underworld God of Spamming

Joined: 07 Dec 2003
Posts: 748
Location: USA
|
Posted:
Wed Feb 04, 2004 12:08 am |
|
|
 |
barbos
Ultimate Fanboy
Joined: 18 May 2003
Posts: 508
|
Posted:
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
|
Posted:
Wed Feb 04, 2004 10:27 am |
|
|
 |
Cheetah
Ultimate Fanboy

Joined: 25 Aug 2003
Posts: 2831
Location: Halfway between the gutter and stars.
|
Posted:
Wed Feb 04, 2004 11:26 am |
lol.. they only got like 3 securtyty featurs..
i used that long time ago alpha, but thanks anyway..
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..  |
_________________ <CrashOverwrite> ask Raven cause he nevaR knows anything.
<Cheetah01> hes nevaR here either
<CrashOverwrite> true
<Rachel>  |
|
|
 |
alpha2003
The Underworld God of Spamming

Joined: 07 Dec 2003
Posts: 748
Location: USA
|
Posted:
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  |
|
|
|
 |
Cheetah
Ultimate Fanboy

Joined: 25 Aug 2003
Posts: 2831
Location: Halfway between the gutter and stars.
|
Posted:
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..  |
_________________ <CrashOverwrite> ask Raven cause he nevaR knows anything.
<Cheetah01> hes nevaR here either
<CrashOverwrite> true
<Rachel>  |
|
|
 |
|