35 Topics
| |
i am trying to put all of my cookies into an array. heres my code [ICODE] <? setcookie('failn','fail'); setcookie('goodn','good'); setcookie('han','ha'); $allcookies=explode(' ',$_COOKIE); print_r($allcookies); ?> [/ICODE] but the page only returns Array ( [0] => Array ) please help | |
i am writing a login script in a perl and i set a cookie. here it is: [CODE] if ($V::testsubmit eq 'yes') { ($userid)=$dbh->selectrow_array("SELECT id from logins WHERE username='$V::username' and password='$V::password'"); } if ($userid > 0){ @alphanumeric = ('a'..'z', 'A'..'Z', 0..9); $sessionid = join '', map $alphanumeric[rand @alphanumeric], 0..50; print<<"EOF"; … | |
i am writing a website that loges somebody in by cookies. i want to make it so if the person goes to the main page, (index) but did not log out from their last session it redirects them to the members page. how would i do that? also, how would … | |
| I have created my personal login system. I am kinda newbee here. When user log in it creates cookie as 'user'. I've seen some sites to which creates password cookies too. So i need to verify both the cookies in mysql database every time with the every page loads? And … |
I want to make a program which will send POST request to a web server. And also able to send required cookie(provided by me). Example. [url]http://www.somesite.com/requesthandler.asp[/url] POST DATA::::::::name=some_name&age=19 //i will provide the post data Cookie to be sent::::JHFFHJBSVB848X489CNU98C4Y //I'll Provide this cookie My desired application should POST the "POST DATA" … |
The End.