Jump to content

landavia

Members
  • Posts

    140
  • Joined

  • Last visited

    Never

Posts posted by landavia

  1. how about this

    <div >
    THIS TOURNAMENT IS SANCTIONED BY USYSA<br>
    HOSTED BY SHENENTAHA SOCCER CLUB
    <div class="copyright">© Steven Stangle 2008-09 for Mad Dog Mania College Showcase. All Rights Reserved</div>
    </div>
    
    

  2. to many div..

     

    <div >
    THIS TOURNAMENT IS SANCTIONED BY USYSA<br> 
    HOSTED BY SHENENTAHA SOCCER CLUB
    </div>
    </div>
    
    </div>
    </div>
    </div>
    

    how about put there.. after THIS

    like this

    <div >
    THIS TOURNAMENT IS SANCTIONED BY USYSA<br> 
    HOSTED BY SHENENTAHA SOCCER CLUB
    </div>
    <div class="copyright">© Steven Stangle 2008-09 for Mad Dog Mania College Showcase. All Rights Reserved</div>
    
    </div>
    
    </div>
    </div>
    </div>

     

  3. <html> 
    <head> 
    <title>IU Webmaster redirect</title>
    <META http-equiv="refresh" content="5;URL=http://www.indiana.edu/~wmhelp/new-directory"> </head> 
    <body bgcolor="#ffffff"> <center>The contents you are looking for have moved. You will be redirected to the new location automatically in 5 seconds. Please bookmark the correct page at <a href="http://www.indiana.edu/~wmhelp/new-directory"> http://www.indiana.edu/~wmhelp/new-directory</a> </center> </body> </html> 

    http://webmaster.indiana.edu/tool_guide_info/refresh_metatag.shtml

     

    sry.. no time to explain.. just read the link

     

    the main source was here

    <META http-equiv="refresh" content="5;URL=http://www.indiana.edu/~wmhelp/new-directory">

  4. u know.. i not build form head like above!!

    i just type without any action ^^

    <form method="post">

    or even i use action.. i will type

    <form action="?act=enterMsg" method="post">

     

    but in every last before submit i was place hidden value

    <input type=hidden name=act value=enterMsg> if this form using GET not POST

    anyway.. you problem is interesting..

     

    i think.. this problem because you click wrong submit?

     

     

  5. you might consider to use well

     

    htmlentities($str);

     

    ex:

    <?php
    $str='<table class="main_text" border="1" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">';
    
    print htmlentities($str);
    ?>

    tell me.. what the output !

     

     

  6. omg...

    this request need more than 1 script.. u need 2 script to have what u need

     

    in global..

    1. u need 2 table

    a. table contain image => build yourself but have picid

    b. table named pic_counter=> contain picid & picclick

     

    this pic/image table must seperated.. don't ever try to put together.. and DON't make same mistake like i do

    *and don't ask what is it.. that's something related to corrupt table

     

    2. let's say when you want to see 1 image.. he/she must click mypic.php?id=1 plz add time after id. reason.. to avoid someone steal ur image and put on his/her site; to expire your image. you image today have expire until ... (put on time).. without time.. he will show blank img

     

    3. inside mypic.php contain 3 modules.. more the better

     

    a. view if the time already expire or not

     

    b. if everything goes wrong.. show bad img.. but if not.. query table pic_counter to add 1

     

    c. show the image

     

    sry.. i was work here.. and there a lot user need my/our help

  7. ...........

    I'd personally use count()

    thx.. buat how about this

    is there 2 dimension array

    $box=array(array(1,3,4),array(5,6,1));

     

    count($box) => ....

    sizeof($box) => .....

     

    hm both same?

    <form action="<?php echo $editFormAction; ?>" method="POST" name="form1" style="margin:0px;" >
                        <table width="100%" border="0" cellspacing="0" cellpadding="1">   <?php // table 4 ?>
                     <tr valign="baseline">
                            <td width="30%" height="20" align="left" class="lbtxt">Select Device  : </td>
                     </tr>                         
                   </table>
                        <table width="100%" border="0" cellspacing="0" cellpadding="1">
                     <?php 
                        $darr=array(1,3,4,2,6,8,12);
                     
                          for ($i=0;$i<sizeof($darr);$i++) {  ?>
                             <tr> <td width='25%'></td>
                           <td width='75%' class='intxt' align='left'>
                           <input type="checkbox" name="box[]" value="<?php echo $darr[$i];?>"><?php echo $darr[$i]; ?></td>
                           </tr>                                       
                                   <?php } // closing for loop
                            ?>
                   </table>
                        <table width="100%" border="0" cellspacing="0" cellpadding="1">
                          <tr valign="baseline">
                            <td width="25%" height="20" align="right" class="lbtxt">Selection Criteria : </td>
                            <td width="75%" height="20" class="intxt">
                              <input name="m_status" type="radio" value="a" checked>
                              Available
                              <input type="radio" name="m_status" value="p">
                              Pending</td>
                          </tr>
               </table>
                        <table width="100%" border="0" cellspacing="0" cellpadding="1">
                          <tr valign="baseline" class="wntxt">
                            <td colspan=2 height="20" class="wntxt"> <?php echo "Note : ".$errmsg; ?></td>                       
                     </tr>
                   </table>
                        <hr size="1" noshade class="whiteBox">
                   <?php // if (empty($errmsg)) { ?>
                        <input type="submit" name="Submit" value="Go"> <?php // } ?>
                        <input type="button" name="Submit" value="Return" onClick="window.history.back();">
                        <input type="button" name="Submit" value="Cancel" onClick="window.location='main-menu.php'">       
                      <input type="hidden" name="MM_insert" value="form1">
                      </form></td></table>
    <?php
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
    
      for ($i=0;$i<count($_POST['box']);$i++) {
            print $_POST['box'][$i]."<br/>";
      }
      
    }
    print_r($_POST);
    ?>

    huh.. that's strange.. work on my komp

  8. 1) Where in the process might the system use cookies?

    cookie is better.. u prefer use cookies.

    ___________________________________

    2) Where in the process might the system use sessions?

    u don't need sessions..

    ___________________________________

    3) Would it be better to use a server side database for all the information or a file on the notebook computer?

    use both Note and DB.. u will never know if there a problem.. and backup is nice

    ___________________________________

    4) Are there any security issues with this process?

    * someone will spam your site

    *someone will deface your site

    *DOS

    *other wedding service will take ur customer.. well.. talking about healthy business

    *database corrupt => this not security.. but it will be security if you lost 2 month DB

×
×
  • 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.