Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #61  
Old February 4th, 2000, 04:44 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
more xml news sites

I really appreciate you giving this code, but I am having trouble finding more xml-rdf files from news sources.
<br>
<br>
If anyone knows more news sites that offer xml-rdf files for individual use, please let me know (a link directly to the xml-rdf would greatly be appreciated).
<br>
<br>
THANKS!

Reply With Quote
  #62  
Old February 5th, 2000, 10:04 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Warning Failed opening 'slashdot.Ink'

I've managed to get all aspects up and running smoothly with the exception of getting the headlines. I keep receiving the same statements for each headline chosen

"--------------------
Warning: Failed opening 'slashdot.lnk' for inclusion in /www/jazzpromo/index.php3 on line 18
---------------------"

It might be a simple oversight. I've copied all the files verbatim.

Anyway help would be appreciated.

Thanks!
jesse

Reply With Quote
  #63  
Old February 6th, 2000, 03:06 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Expire time doesn't work

Hello,
My problem is when I set expire time in cookie, it doesn't work.
I can't read cookie.
If i don't set it, it work. I can read cookie.


<!-- Code -->
<p><pre><font color=#008000><xmp>
/* this is my code for set cookie*/
SetCookie ("PRE_REGIST_ID",$ID,time()+600);
/* this is my code for reading it */
print "$PRE_REGIST_ID";
</xmp></font></pre><p>
<!-- Code -->

Nothing i can see when i set expire time..
Why ???
Please help me ...
Thanks,
Thanyaluk.

Reply With Quote
  #64  
Old February 7th, 2000, 05:14 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Warning Failed opening 'slashdot.Ink'

Check the path to the file, and check to make sure the file was created. Looking for those things will probably reveal the problem.

Good Luck!

Reply With Quote
  #65  
Old February 7th, 2000, 05:22 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Expire time doesn't work

Make sure you are not trying to set the cookie and read it in the same script, it won't work. In fact, you may think you are reading it, and then deleting it after you read it, if you keep setting it with no expiration. Remember, cookies are sent by the client with a header request - it doesn't have a chance to send it until AFTER the server sets the cookie's value.

So, set the cookie with a proper expiration time, then read it from the next script - it should work.

Reply With Quote
  #66  
Old February 18th, 2000, 03:38 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
password security

A problem with this is that when the initial registration or login takes place, the form sends the username and password variables in the URL. Thus the unencoded username and password will appear in your history or drop-down list. Does anyone have a workaround for this so that the username and password are not clearly visible to anyone using that browser on that system?

Reply With Quote
  #67  
Old March 10th, 2000, 04:03 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: GOT-IT

can you send me a copy then please!

Reply With Quote
  #68  
Old April 13th, 2000, 10:24 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: password security

Scott,
try to use method post in your form.

EW

Reply With Quote
  #69  
Old April 18th, 2000, 10:15 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Retreiving Lost/Forgotten Password

This one isn't for this aritcal but some i ha edited and maked from a artical on www.thescripts.com.

Take a look, perhaps this one will help you :)...

sorry for a bad coding but i does the work :)


<!-- Code -->
<p><pre><font color=#008000><xmp>

<---lost.php3--->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> title</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<FORM METHOD=POST ACTION="pass.php3">
<TABLE>
<TR>
<TD><FONT FACE="ARIAL" SIZE="-1">User Name</FONT></TD>
<TD><INPUT TYPE="text" NAME="Name"></TD>
</TR>
<TR>
<TD COLSPAN=2><CENTER><INPUT TYPE="submit"
VALUE="Submit"></CENTER></TD>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>


<---stop--->


<---pass.php3--->

<?php
function showheader ($title) {
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> <?php echo $title ?> </TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<CENTER>
<?php
}

function showfooter () {
?>
</CENTER>
</BODY>
</HTML>
<?php
}

mysql_connect("localhost", "user", "pass");
mysql_select_db("users");

$table = 'users';

if ($Name == $Name) {
$user = mysql_query("SELECT * FROM $table WHERE (Name='$Name')");

if (mysql_num_rows($user) > 0) {
showheader("Yes!");
?>

<?php

$result = mysql_query("SELECT * FROM $table WHERE (Name='$Name')");
$i = 0;
$email = mysql_result($result,$i,"Email");
$passwd = mysql_result($result,$i,"Password");

mail("$email", "Site Information", "Hello $Name,\n
Your password was requested from $REMOTE_ADDR.\n

Your Password: $passwd.", "From: Webmaster <webmaster@yoursite.com>");

echo ("Your password is sendt to your email for security reason :-)");

?>


<?php
showfooter();
}
else {
showheader("Unknown User");
?>
Unknown User

<?php
showfooter();
}
}
else {
showheader("Error!");
?>
Error!
<?php
showfooter();
}
?>

<---stop--->

</xmp></font></pre><p>
<!-- Code -->

Reply With Quote
  #70  
Old April 20th, 2000, 11:56 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Logout?

Anyone know how I make a logout script?
<br>
<br>

Reply With Quote
  #71  
Old April 23rd, 2000, 07:20 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Cookie for shoppingcart?

Does any one have the source code for a simple shopping cart? I need to write a cart project in java using servlets.

thanks in advance!!

Reply With Quote
  #72  
Old April 23rd, 2000, 07:21 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Cookie for shoppingcart?

Does any one have the source code for a simple shopping cart? I need to write a cart project in java using servlets.

thanks in advance!!
euent@hotmail.com

Reply With Quote
  #73  
Old April 24th, 2000, 02:13 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Problem with Cookie

My problem is in Spanish:
<br>
<br>
Estoy usando Setcookie
<br>
pero me manda el siguiente mensaje "
<br>
Warning: Oops, php3_SetCookie called after header has been sent in verificar on line 45 "
<br>
<br>
y no se como solucionarlo
<br>
<br>
May you ask me, thank you!!

Reply With Quote
  #74  
Old May 22nd, 2000, 12:14 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Problem with Cookie

Ruben:
setcookie tiene que ser la primer instruccion que se envia al explorador, osea, no tiene que haber nada antes... ok?

Reply With Quote
  #75  
Old June 5th, 2000, 12:40 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: password security

Guys,
even if you use POST message,
your password and username
can be easily stolen by those,
who can control HTTP packets.

This is not the way out :)


Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > Developing a User Personalization System with PHP and Cookies

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap