برگزیده های پرشین تولز

ورودlogin به بلاگر از خود وب‌لاگ

weblogger

Registered User
تاریخ عضویت
24 دسامبر 2002
نوشته‌ها
506
لایک‌ها
6
سلام يه چيزي به ذهنم رسيده
چطوري ميشه فرم ورود به بلاگر رو توي خود وب‌لاگ يه گوشه‌اي گذاشت كسي مي دونه

ببنيد شدنيه فقط يه مقدار كمك مي خواهم

يه فرم يه Action داره كه مي تونه از root‌باشه و يك آدرس كه به كجا ميره اين رو اگر كسي مي دنه به من كمك كنه براي بقيه‌هم فكر ميكنم جالب باشه
نظرتون چيه؟
 

Sassan

مدیر بازنشسته
تاریخ عضویت
27 ژانویه 2003
نوشته‌ها
652
لایک‌ها
34
سن
36
محل سکونت
Atlantic Canada
سلام يه چيزي به ذهنم رسيده  
چطوري ميشه فرم ورود به بلاگر رو توي خود وب‌لاگ يه گوشه‌اي گذاشت كسي مي دونه

ببنيد شدنيه فقط يه مقدار كمك مي خواهم

يه فرم يه Action داره كه مي تونه از root‌باشه و يك آدرس كه به كجا ميره اين رو اگر كسي مي دنه به من كمك كنه براي بقيه‌هم فكر ميكنم جالب باشه
نظرتون چيه؟

[left:a8dd5e94d1]Here is the code just copy and paste it you want it .Hope you enjoy it :D .
Here is a sample. <a href='http://sassan.ath.cx/signin.html[/left:a8dd5e94d1]' target='_blank'>http://sassan.ath.cx/signin.html[/left:a8dd5e94d1]</a>
[left:a8dd5e94d1]CODE:[/left:a8dd5e94d1]

[code:1]&#60;script language=&#34;JavaScript&#34;&#62;

function newSignUp&#40;&#41; &#123;

&nbsp; openWin&#40;'http&#58;//www.blogger.com//newuserinfo.pyra'&#41;; &nbsp; &nbsp;

&nbsp; window.document.newuserlogin.submit&#40;&#41;;

&#125;



function openWin&#40;URL&#41; &#123;

&nbsp; aWindow=window.open&#40;URL,'newWin','width=500,height=350;toolbar=no,status=no,scrollbars=yes,resize=no,menubar=no'&#41;;

&#125;



function checknewuserlogin&#40;f&#41; &#123;

&nbsp; if &#40;f.username.value &#60; &#34; &#34;&#41; &#123;

&nbsp; &nbsp; &nbsp;alert&#40;&#34;Please enter a username.&#34;&#41;;

&nbsp; &nbsp; &nbsp;f.username.focus&#40;&#41;;

&nbsp; &nbsp; &nbsp;return false;

&nbsp; &#125;

&nbsp; if &#40;f.password.value &#60; &#34; &#34;&#41; &#123;

&nbsp; &nbsp; &nbsp;alert&#40;&#34;Please enter a password.&#34;&#41;;

&nbsp; &nbsp; &nbsp;f.password.focus&#40;&#41;;

&nbsp; &nbsp; &nbsp;return false;

&nbsp; &#125;

&nbsp; if &#40;f.vpassword.value &#60; &#34; &#34;&#41; &#123;

&nbsp; &nbsp; &nbsp;alert&#40;&#34;Please enter your password again, for verification.&#34;&#41;;

&nbsp; &nbsp; &nbsp;f.vpassword.focus&#40;&#41;;

&nbsp; &nbsp; &nbsp;return false;

&nbsp; &#125;

&nbsp; if &#40;f.password.value != f.vpassword.value&#41; &#123;

&nbsp; &nbsp; &nbsp;alert&#40;&#34;The passwords you entered do not match.&#34;&#41;;

&nbsp; &nbsp; &nbsp;f.password.focus&#40;&#41;;

&nbsp; &nbsp; &nbsp;f.password.select&#40;&#41;;

&nbsp; &nbsp; &nbsp;return false;

&nbsp; &#125;

&#125;







&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;/script&#62;

&#60;table border=&#34;0&#34; width=&#34;152&#34; cellspacing=&#34;0&#34; cellpadding=&#34;7&#34; bgcolor=&#34;#003366&#34;&#62;

&nbsp; &#60;tr&#62;

&nbsp; &nbsp; &nbsp;&#60;td width=&#34;139&#34;&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &#60;form name=&#34;login&#34; action=&#34;http&#58;//www.blogger.com//login-action.pyra&#34; method=&#34;post&#34;&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;table border=&#34;0&#34; cellspacing=&#34;0&#34; cellpadding=&#34;3&#34; bgcolor=&#34;#003366&#34; width=&#34;139&#34;&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#60;tr&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;td colspan=&#34;2&#34; width=&#34;132&#34;&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;img src=&#34;http&#58;//www.blogger.com/images/signin.gif&#34; alt=&#34;sign in&#34; width=&#34;56&#34; height=&#34;15&#34; border=&#34;0&#34;&#62;&#60;font color=&#34;#FFFFFF&#34;&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;by&#60;/font&#62; &#60;font color=&#34;#FF9900&#34;&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;a href=&#34;http&#58;//sassan.blogspot.com&#34;&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;font color=&#34;#FF9900&#34;&#62;Sassan&#60;/font&#62;&#60;/a&#62;&#60;/font&#62;&#60;/td&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#60;/tr&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#60;tr&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;td colspan=&#34;2&#34; width=&#34;132&#34;&#62;&#60;p class=&#34;small&#34;&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;font size=&#34;2&#34; color=&#34;#FFFFFF&#34;&#62;If you have a Blogger

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;account, please sign in.&#60;/font&#62;&#60;/p&#62;&#60;/td&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#60;/tr&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#60;tr&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;td valign=&#34;middle&#34; align=&#34;right&#34; width=&#34;78&#34;&#62;&#60;p class=&#34;small&#34;&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;font color=&#34;#FFFFFF&#34;&#62;username&#60;/font&#62;&#60;/p&#62;&#60;/td&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;td valign=&#34;middle&#34; width=&#34;49&#34;&#62;&#60;p class=&#34;small&#34;&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;input type=&#34;text&#34; name=&#34;username&#34; size=&#34;8&#34;&#62;&#60;/p&#62;&#60;/td&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#60;/tr&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#60;tr&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;td valign=&#34;middle&#34; align=&#34;right&#34; width=&#34;78&#34;&#62;&#60;p class=&#34;small&#34;&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;font color=&#34;#FFFFFF&#34;&#62;password&#60;/font&#62;&#60;/p&#62;&#60;/td&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;td valign=&#34;middle&#34; width=&#34;49&#34;&#62;&#60;p class=&#34;small&#34;&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;input type=&#34;password&#34; name=&#34;password&#34; size=&#34;8&#34;&#62;&#60;/p&#62;&#60;/td&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#60;/tr&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#60;tr&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;td valign=&#34;middle&#34; align=&#34;center&#34; colspan=&#34;2&#34; width=&#34;132&#34;&#62;&#60;p class=&#34;small&#34;&#62;&#60;input type=&#34;checkbox&#34; name=&#34;remember&#34; value=&#34;1&#34;&#62;&#60;span class=&#34;small&#34;&#62;&#60;font color=&#34;#FFFFFF&#34;&#62;Remember

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;me&#60;/font&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;font size=&#34;2&#34;&#62; &#60;a href=&#34;javascript&#58;alert&#40;'Checking this box will cause a cookie to be placed on your browser, which will nautomatically log you into Blogger &#40;and all Pyra Network sites&#41; from this ncomputer in the future.nnIf other people use the computer you are currently on, you probably do not want nto do this.'&#41;&#34;&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;font color=&#34;#FF9900&#34;&#62;&#91;?&#93;&#60;/font&#62;&#60;/a&#62;&#60;/font&#62;&#60;/span&#62;&#60;input type=&#34;submit&#34; name=&#34;submit1&#34; value=&#34;sign in&#34; class=&#34;button&#34;&#62;&#60;/p&#62;&#60;/td&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#60;/tr&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#60;tr&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;td colspan=&#34;2&#34; width=&#34;132&#34;&#62;&#60;p class=&#34;small&#34;&#62;&#60;b&#62;&#60;a href=&#34;http&#58;//www.blogger.com//forgot.pyra&#34;&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;font color=&#34;#FF9900&#34; size=&#34;2&#34;&#62;Forgot your password?&#60;/font&#62;&#60;/a&#62;&#60;/b&#62;&#60;/p&#62;&#60;/td&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#60;/tr&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;/table&#62;

&nbsp; &nbsp; &nbsp;&#60;/td&#62;

&nbsp; &#60;/tr&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &#60;/form&#62;

&#60;/table&#62;

&#60;!-- end sign in --&#62;





&#60;img src=&#34;http&#58;//www.blogger.com/images/blank.gif&#34; alt=&#34;&#34; width=&#34;1&#34; height=&#34;1&#34; border=&#34;0&#34;&#62;&#60;br&#62;



&#60;!-- beg sign up --&#62;[/code:1]
 

weblogger

Registered User
تاریخ عضویت
24 دسامبر 2002
نوشته‌ها
506
لایک‌ها
6
Hey Sasan realy Thx
it worked!
واقعا ممنونم ازت
 

aaber_piade

Registered User
تاریخ عضویت
19 دسامبر 2002
نوشته‌ها
1,660
لایک‌ها
25
سن
40
محل سکونت
Tehran
آقا من هيچ منظوري ندارم و ساسان هم كه كد رو گذاشته و مشكلي نيست، و به طور عمومي دارم مي گم كه توي استفاده از اين تيپ فرم ها احتياط كنيد چرا كه بعضي هاشون (گفتم بعضي اين مورد اينجا رو منظورم نيست) تله هستن و براي دزديدن پسورد استفاده ميشن .. ساسان ناراحتي نشيا كلي گفتم ;)
 

Sassan

مدیر بازنشسته
تاریخ عضویت
27 ژانویه 2003
نوشته‌ها
652
لایک‌ها
34
سن
36
محل سکونت
Atlantic Canada
آقا من هيچ منظوري ندارم و ساسان هم كه كد رو گذاشته و مشكلي نيست، و به طور عمومي دارم مي گم كه توي استفاده از اين تيپ فرم ها احتياط كنيد چرا كه بعضي هاشون (گفتم بعضي اين مورد اينجا رو منظورم نيست) تله هستن و براي دزديدن پسورد استفاده ميشن .. ساسان ناراحتي نشيا &nbsp;كلي گفتم &nbsp;;)

[left:d9e4194d92]na narahate chi besham vali in kar mikone akhe man ke mesle oona nistam.[/left:d9e4194d92]
 

weblogger

Registered User
تاریخ عضویت
24 دسامبر 2002
نوشته‌ها
506
لایک‌ها
6
نه اين مشكلي نداره :) action رو نگاه کن
 

weblogger

Registered User
تاریخ عضویت
24 دسامبر 2002
نوشته‌ها
506
لایک‌ها
6
[code:1]&#60;form name=&#34;login&#34; action=&#34;http&#58;//www.blogger.com/login-action.pyra&#34; method=&#34;POST&#34; target=&#34;_blank&#34;&#62;

&nbsp; &nbsp;&#60;div align=&#34;center&#34;&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;center&#62;

&nbsp; &nbsp;&#60;table border=&#34;0&#34; cellspacing=&#34;0&#34; cellpadding=&#34;3&#34; bgcolor=&#34;#003366&#34; style=&#34;border-collapse&#58; collapse&#34; height=&#34;112&#34;&#62;

&nbsp; &nbsp; &#60;tr&#62;

&nbsp; &nbsp; &#60;td colspan=&#34;2&#34; width=&#34;20%&#34;&#62;&#60;img src=&#34;http&#58;//www.blogger.com/images/signin.gif&#34; alt=&#34;sign in&#34; width=&#34;56&#34; height=&#34;15&#34; border=&#34;0&#34;&#62;&#60;/td&#62;

&nbsp; &nbsp; &#60;/tr&#62;

&nbsp; &nbsp; &#60;tr&#62;

&nbsp; &nbsp; &nbsp;&#60;td colspan=&#34;2&#34; width=&#34;20%&#34; &#62;&#60;p class=&#34;small&#34;&#62;&#60;font color=white&#62;If you have a Blogger account, please sign in.&#60;/p&#62;&#60;/td&#62;

&nbsp; &nbsp; &#60;/tr&#62;

&nbsp; &nbsp; &#60;tr&#62;

&nbsp; &nbsp; &nbsp;&#60;td valign=&#34;middle&#34; align=&#34;right&#34; width=&#34;20%&#34;&#62;&#60;p class=&#34;small&#34;&#62;&#60;font size=&#34;2&#34;&#62;username&#60;/font&#62;&#60;/p&#62;&#60;/td&#62;

&nbsp; &nbsp; &nbsp;&#60;td valign=&#34;middle&#34; width=&#34;20%&#34;&#62;&#60;p class=&#34;small&#34;&#62;&#60;input type=&#34;text&#34; name=&#34;username&#34; size=&#34;9&#34;&#62;&#60;/p&#62;&#60;/td&#62;

&nbsp; &nbsp; &#60;/tr&#62;

&nbsp; &nbsp; &#60;tr&#62;

&nbsp; &nbsp; &nbsp;&#60;td valign=&#34;middle&#34; align=&#34;right&#34; width=&#34;20%&#34;&#62;&#60;p class=&#34;small&#34;&#62;&#60;font size=&#34;2&#34;&#62;password&#60;/font&#62;&#60;/p&#62;&#60;/td&#62;

&nbsp; &nbsp; &nbsp;&#60;td valign=&#34;middle&#34; width=&#34;20%&#34;&#62;&#60;p class=&#34;small&#34;&#62;&#60;input type=&#34;password&#34; name=&#34;password&#34; size=&#34;9&#34;&#62;&#60;/p&#62;&#60;/td&#62;

&nbsp; &nbsp; &#60;/tr&#62;

&nbsp; &nbsp; &#60;tr&#62;

&nbsp; &nbsp; &nbsp;&#60;td valign=&#34;middle&#34; align=&#34;center&#34; colspan=&#34;2&#34; width=&#34;20%&#34;&#62;&#60;p class=&#34;small&#34;&#62;&#60;input type=&#34;checkbox&#34; name=&#34;remember&#34; value=&#34;1&#34;&#62;&#60;font size=&#34;1&#34;&#62;&#60;span class=&#34;small&#34;&#62;Remember me &#60;a href=&#34;javascript&#58;alert&#40;'Checking this box will cause a cookie to be placed on your browser, which will nautomatically log you into Blogger &#40;and all Pyra Network sites&#41; from this ncomputer in the future.nnIf other people use the computer you are currently on, you probably do not want nto do this.'&#41;&#34;&#62;&#91;?&#93;&#60;/a&#62;&#60;/span&#62;&#60;/font&#62;&#60;/p&#62;&#60;/td&#62;

&nbsp; &nbsp; &#60;/tr&#62;

&nbsp; &nbsp; &#60;tr&#62;

&nbsp; &nbsp; &nbsp;&#60;td width=&#34;20%&#34;&#62;&#60;/td&#62;

&nbsp; &nbsp; &nbsp;&#60;td width=&#34;20%&#34;&#62;&#60;p class=&#34;small&#34;&#62;&#60;input type=&#34;submit&#34; name=&#34;submit&#34; value=&#34;sign in&#34; class=&#34;button&#34;&#62;&#60;/p&#62;&#60;/td&#62;

&nbsp; &nbsp; &#60;/tr&#62;

&nbsp; &nbsp; &#60;tr&#62;

&nbsp; &nbsp; &nbsp;&#60;td colspan=&#34;2&#34; width=&#34;20%&#34;&#62;&#60;p class=&#34;small&#34;&#62;&#60;font size=&#34;2&#34;&#62;&#60;a href=&#34;http&#58;//www.blogger.com/forgot.pyra&#34;&#62;Forgot your password?&#60;/a&#62;&#60;/font&#62;&#60;/p&#62;&#60;/td&#62;

&nbsp; &nbsp; &#60;/tr&#62;

&nbsp; &nbsp;&#60;/table&#62;





&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;/center&#62;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;/div&#62;[/code:1]

این رو هم ببین بهتره
 

aaber_piade

Registered User
تاریخ عضویت
19 دسامبر 2002
نوشته‌ها
1,660
لایک‌ها
25
سن
40
محل سکونت
Tehran
اي بابا .. مي دونم منم منظورم اين بود كه هميشه بايد با اين جور فرم ها با احتياط برخورد كرد، اين مورد خاص منظورم نبود منتها با ديدن اين پست ياد اين قضيه افتادم گفتم بگم (آخه چند وقت پيش يكي از وبلاگرهاي محترمي كه فكر مي كنه خيلي آدمه و خيلي حاليشه اين كار رو با ملت كرد و خوب بعد از اينكه پسورد چند نفر رو درآورد اعلام كرد كه من قصدم آموزش بوده و ... الانم يه تريپ لنگ و پاچه گذاشته توي پس زمينه وبلاگش و خودش هي مي بينه و خوش خوشانش ميشه) گفتم كه يعني كلا احتياط كنيد منظورم اين مورد خاص نبود ;)
 
بالا