Jump to content

evon83

Members
  • Posts

    32
  • Joined

  • Last visited

    Never

Everything posted by evon83

  1. This is my sample code: Page1: <?php     session_start(); ?> <form action="session2.php?" method="Post">         <table align="center" border=0 cellspacing=5 cellpadding=0 width="100%">         <table>           <tr>           <th align="left">Address :</th>               <td><input type="text" size = "55" name="address1"/></td>               <td><input type="text" size = "55" name="address2"/></td>           </tr>         </table>         <center><input type="submit" name="submit" value="Submit"><input type="reset" Value="Reset"/></center>         </form> page2: <?php // page1.php session_start(); $_session['address1']=$_POST['address1']; $_session['address2']=$_POST['address2']; echo "1:".$_session['address1']; echo " 2:".$_session['address2']; session_destroy(); ------------------------------------------- my question is: after i have clicked on page2....i wanna go back to page1, so click on the back button... and when i do that, the data that i have keyed in previously has been erased automatically.... how to keep my previous data?? please help! thanks!  
  2. This is my sample code: Page1: <?php     session_start(); ?> <form action="session2.php?" method="Post">         <table align="center" border=0 cellspacing=5 cellpadding=0 width="100%">         <table>           <tr>         <th align="left">Address :</th>               <td><input type="text" size = "55" name="address1"/></td>               <td><input type="text" size = "55" name="address2"/></td>           </tr>         </table>         <center><input type="submit" name="submit" value="Submit"><input type="reset" Value="Reset"/></center>         </form> page2: <?php // page1.php session_start(); $_session['address1']=$_POST['address1']; $_session['address2']=$_POST['address2']; echo "1:".$_session['address1']; echo "<br>2:".$_session['address2']; session_destroy(); ------------------------------------------- my question is: after i have clicked on page2....i wanna go back to page1, so click on the back button... and when i do that, the data that i have keyed in previously has been erased automatically.... how to keep my previous data?? please help! thanks!
  3. can u show me the sample code of the session code please?? thanks!
  4. does anyone have the code that has like 2 pages.....??? please please help.....
  5. no....i can;t do it on the same page! I cannot agree with it... does anyone has those in 2 pages???!!
  6. Hello there! i know this sounds too eay for you guys but i still couldnt solve the problems! I have this form fillin.... and when user press the enter button, and the php code will runs the error checking.. if there's errors, messages will be displayed and ask them to go back... however, how to keep the previous data that they have entered??? i know if users have to repeat key in the same thing again and again, that would drive them nuts... please help! and provide some sample code! thanks!
  7. sorry im not really good at mail()...i just learn it today....so i thought there might be good solutions out there???!!
  8. so that means there's no codes for that??!!!
  9. im testing my email coding now and it is able to send email to my email address.. however,it keeps on goin to my junk mail??! how to avoid it from going to junk mail at the first place?? is there any solutions out there?? please let me know as soon as possible! thanks!!!
  10. indeed mail() is very simple and straightforward.... but.....i need to include the .eml file for sure...cuz im just editing the existing file that i have... i have been given the task on how to link these two files together (code.php & activate.eml) files... that's why im still struggling on solving the problems..
  11. ah?? but my .eml file is a very long message??!! it includes all the instructions on how to participate and stuff??!!!!
  12. oh ok..so I'll just check the PHP manual then??!! Thanks for your help GURU !! i really have to crack my head to understand all these mail() sending stuff.....
  13. so let say im writing this code.php....and i wanna include this activate.eml file into my php code.....how can i do that???? and the .eml file i have to pass the $name and $email from code.php to .eml file??!! how can i do that?? shall i put include "activate.eml" file on top of my code.php file??
  14. but only send the template to one person at a time... not all at a time..
  15. yes....something like a mail-merged??? but the template is in .eml file format.... any idea how to do it?? im totally confused...i dunno how to solve the problem...
  16. and from my .eml file..i need to substitute/replace some of the attributes such as $name and $email???!! that's what confuse me the most....
  17. May i know what does this mean "Use a real 'from' address on the same domain as you're sending from via mail()"???? same domain?? like how?? sorry, my php skill is still not that good.. still learning...
  18. so the sample code that you provided, it can be replaced by anything??? hrmmm....my .eml file is only a document.... how to attach to it?? sorry im a bit confused here....
  19. really?? hrmmm....i guess maybe someone out there has the solution ??? please HELP!!! !!! !
  20. I have to attach it?? oh i see... but do u have the real sample of the .eml file?? i really would like to know how it actually works ! please...thanks!
  21. yes.....how to do that?? is it just put include "file.eml"?? sth like that?? but it's not  .inc file???!! will that affect my email sending process??
  22. i know that eml file is a MS outlook express electronic mail???? i need to include it into my email sending to my club members..... how can i include .eml file together with my email?? I need help on this! thanks!
  23. so it means there's no way to send those mail directly to inbox instead of junk mail?? cuz before that they have registered their details and stuff..... at first they have been notified... and the second email will be sent to them tellin that they are the official member... so i have tested the second email but still sent to junk mail???? how to handle that???
  24. Hello everyone! i have been testing the mail() function... and it can be sent to my email address successully ! However, it keeps on goin to my junk mail??!!! how to make it like goin to my iinbox instead of junk mail??! cuz i need it to do my club member page! thanks! hope to hear from you guys real soon!! cheers!
  25. Does anyone know how to do it?? please help !!!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.