Jump to content

greatstar00

Members
  • Posts

    154
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

greatstar00's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. u need to learn pointer, in c++, cause i take this as example use classes ie: channel (class name) channel points to each user so, channel has channelStarter->user1 -> user2 -> user3 (-> means pointer, after user 1, there is a next pointer, to go to next user) kind of like a chain user class: user contains a property pointer, it points back to the current channel when u send message user.get channel for each users in channel, message.send so, in server, u have 2 or more channel classes [attachment deleted by admin]
  2. http://us2.php.net/manual/en/function.mb-convert-encoding.php
  3. <a href="pic.php?pic=3&act=previous">Previous</a> take the above as example pic=3, the current pic, and act is the action u doing, forward of backward if($_GET['act']=="previous") echo "pic".(--$_GET['pic'])."jpg";
  4. below for client side programming in the subform, <form onclick="return returnvalue()" name="form1" /> function returnvalue(){ document.form2.hiddenfield.value = document.form1.field.value; return false; } in your inner (actually, the 1st form), use javascript to pass the value to the 2nd form(outer form) hidden field below for server side programming create 2 pages, 1st page contain the inner form only submit to 1st page, then on this 1st page, write the 2nd form, include 1st's form value as hidden field <input type="hidden" name="1stformname1" value="<?php echo $_POST[1stformname1] ?>" />
  5. $volunteer[]=$_POST['volunteer[]']; should be $volunteer=&$_POST['volunteer[]'];
  6. mod rewrite search on internet for this
  7. $images[0]['residential']['imgUrl']; should be $images[0]['i']['imgUrl'];
  8. the only way you can do is have a file version file in both client sever, and central server have the client (your visitors, the admin), load the current server's file version have a iframe to load central server's version in the iframe, use parent.document.getElementById("version")==document.getElementById("serverversion")
  9. //code to select data, and query stored to $q echo '<table>'; echo '<tr><td>headings</td>.........</tr>'; while ($r=mysql_fetch_assoc($q)){ echo '<tr>'; foreach ($r as $value){ if(is_array($value){ //do array stuff, the inner table, i would recommend put all foreach in a recursive function } echo '<td>'.(empty($value)?' ':$value).'</td>'; } echo '</tr>'; } echo '</table';
  10. the zero is the index not the value in the array
  11. he is saying $row[spot_id]+1; is incorrect, although it added 1, and it didnt save the result somewhere, and the computer will soon replaced this memory chunk with some other variables so, what it means, the result produced by above code is garbage so, change that to what he suggested
  12. mail header, or http header, or ftp header, is those thing the server sending to each other, telling each other, what kind of information they both receiving like, who it is from, what type of text encoding, how the connection be handled after everything are done etc these header wont be seen in header, and human eyes just the server will see it, and process it by the meaning of the sender like http header http 1.1 200 OK content-type: text/html connection: close the above 3 lines are the most common type of header when u use browser (100% of browser will send this out) do u see these 3 lines? NO so, the header in mail is same, it wont be seen by human eye, except the following From: (maybe more) according to this link, the For header isnt used like the way u do http://www.avolio.com/columns/E-mailheaders.html
  13. maybe your are looking for http address rewrite then name your update.php into something really weird i am not so good at this, and not very sure about how it work actually (i mean if it redirect to another page)
  14. if (do_readfile_string(&$clicks,$filename) the & means pass value by reference if you change the $clicks in the function, the value that it gets from, will change without &, if you change the value in the function, the value that it gets from will NOT change
×
×
  • 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.