Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

2 Neutral

About phpnoob

  • Rank
  • Birthday 06/09/1977

Contact Methods

  • Website URL
  • ICQ
  1. editI see now, wasnt guess what you guys talking,
  2. i was check this forum, and not the A was the search, it have a hide div with id= #entry something.and what is this anchor? i was see this somewhere when i search js
  3. I'm not good in js, so plz help meI want to make a jump to the first unread post in forum and i figure it out, it need a js for moving the browser view to a hide div.Help me, at least if you not want to make full script, then post how to find a script in net, i try to search it but no luck
  4. not sure but maybe the problem is here if($_FILES['video_upload']['size'] <= $maxfilesize_vid ) { the > was the problem
  5. I post it again, maybe you miss read itSo for forum now it have 3 tableForumgroupForumtopicForumpostForumgroup have 3 columnID + Name + StatusStatus its for admin itForumtopic have 15 column, don't ask what, don't want to post what haveand Forumpost have 10 columnid + post + date + userid + forumid + topicid + sub + status + edituserid + editdateand now for postmark tablehave 4 column ID + Userid + Forumtopicid + postcountidid for delete and update, userid know why and forumtopicid to, and for postcountid to know which post was readed last this can make two way, write real Forumpost id.Example
  6. sorry i was write it to fast, check now
  7. editedi check your post again for true or not, the multiple page its like this index.php?showtopic=45544&st=20st=20 its the code for pages, i talk sid not stLookwith pidw/o pidi was remove the pid and no different, its not do anything for pages script New questionWhat you advice for postcountid put real post id or alt 1?alt its like this, new column for counting post for each topic.Example:Forumpost tableid=1000 forumid=1 forumtopic=100 postcount=3 the topic have only 3 post, and each + record will be +1 in post count, like in here, or here those number its from of js? anyway i think i
  8. Now i know what need to do, i was wrong about how to go to the first unreaded post :)I was check some forum, this forum to, and now i know how to make 1 :)the browsercode its like this. forum.php/forum.php?f=topicview&p=3$view=gotonewpost the p number its forumtopic id numberall select its if, and this script start with view=gotonewpost GETNote postmark table have 4 column ID + Userid + Forumtopicid + postcountid, the strategy is this, first record its insert into, the second will be update record1. select table "postmark" and search Userid and forumtopicid and get the postcountid data2.
  9. phpnoob

    Password update

    I was made a nice website and i can tell how to make a good pass update script, but first i write how i was build my login security. in login.php, it have 2 way, cookie + session and the other have only session, in user table have session + cookie + ip column, session and cookie column have 32 lengh value, and before i log in the php make a random number and compress it to md5 and update both column, and after that create 1 session + cookie with that code, and it have a check.php, each browser freshing, it check all stat, cookie and session and ip address, and if something not match, then co
  10. I know lots of thing about php, i have a nice website, just dont know how to make this, step by step1. select all record and start while2. check "thread mark table" for which post you see, and stop the process in last watched id post3. ...................4. ................... I hope you understand now, what i mean, and i think that 2 step its good.
  11. I don't want php code, only just want to know how to build it.Most forum have 2 simple way, the easy 1, only go to last post in thread, the other it go to the first unreaded post.The easy php its like thisI post the code step by step 1. counting how many post have in that thread2. start while for to select all record3. because of the first step you can get the last post id, and can put it to js, it need only a for code when need to active the js.so after the page loaded, the js will activate and go to last post by id searching in html But for how to reach the first unreaded post, cant figure h
  12. phpnoob

    Security for post

    i get what you mean by momment :)and if i make both string at once? or do those code 2 time?
  13. phpnoob

    Security for post

    i was read it, but a little bit confused, that why i post that. this one i cant understand, the thread name "Security for post" only 1 section i can post, in forum EditBut ok i add mysqli_real_escape_string
  14. phpnoob

    Security for post

    forum posting secure, and mysql database
  • Create New...