Search found 1 match
- Sat Dec 18, 2004 3:12 am
- Forum: Databases
- Topic: Database connection info in cookies
- Replies: 1
- Views: 444
Database connection info in cookies
I'll keep it short: Can I save database connection information in a cookie? let's say I do <?php $conn = mysql_connect("localhost","user","pwd"); setcookie("conn","$conn"); #then later, after the user fills out a form in the page, and submits it if($...