Guest
Public paste!

Untitled

By: a guest | Mar 20th, 2010 | Syntax: None | Size: 8.54 KB | Hits: 102 | Expires: Never
Copy text to clipboard
  1. (1:52:24 AM) b?: hi
  2. (1:52:27 AM) b?: can I hire you for php & ajax job?
  3. (12:22:30 PM) sirenemy@live.com is now known as Borce.
  4. (12:27:13 PM) SplitIce: sure.
  5. (5:19:21 PM) sirenemy@live.com is now known as b?.
  6. (5:19:34 PM) b?: hi
  7. (5:19:34 PM) b?: there?
  8. (5:19:41 PM) SplitIce: yep
  9. (5:19:54 PM) b?: look, I have to go to school now
  10. (5:20:00 PM) b?: how can I contact you for the job?
  11. (5:20:09 PM) b?: Basicly, its drop down menu
  12. (5:20:18 PM) b?: if I select country1 it should display country1.txt
  13. (5:20:36 PM) SplitIce: ok
  14. (5:21:32 PM) SplitIce: ill get more details when it suits you, to contact msn or wj pm, ill be on 9:50am-11-am AEST and 4pm - 9:30ph AEST
  15. (5:21:52 PM) b?: okay
  16. (5:22:04 PM) b?: I'll drop you PM asap
  17. (5:22:12 PM) b?: can I pay via paypal?
  18. (5:22:48 PM) SplitIce: yes
  19. (5:22:55 PM) b?: okay
  20. (5:22:57 PM) b?: im not a coder
  21. (5:23:17 PM) b?: but the code will be 100 lines or lesss
  22. (5:23:41 PM) SplitIce: probably only worth $15 but Ill get the details when you have time and make a proper quote then
  23. (5:24:04 PM) b?: sure
  24. (5:24:08 PM) b?: ttyl
  25. (5:24:13 PM) SplitIce: k cya mate
  26. (4:38:24 PM) b?: yo
  27. (4:39:50 PM) b?: I don't need designer
  28. (4:39:54 PM) b?: I need PHP & AJAX code
  29. (4:40:28 PM) SplitIce: oh that was you who messaged me lol sorry
  30. (4:40:41 PM) b?: :)
  31. (4:41:21 PM) b?: I can give you the site, designed, ready to use in html
  32. (4:41:25 PM) b?: If you want to edit it there
  33. (4:41:40 PM) SplitIce: ok then thatll do it, if you want I can do it on your server shouldnt take more than 2hrs
  34. (4:42:06 PM) SplitIce: i usually ask for 50% upfront but since this is a small job can I request all up front?
  35.  
  36. (4:42:38 PM) b?: well, i'd give you all the money upfront
  37. (4:42:47 PM) b?: but Maz, my exchanger isnt online
  38. (4:42:53 PM) b?: 1. Download Link:      Click here to download file http://rapidshare.com/files/365283521/blockmycountry.rar.html MD5: C88BD6861F875874C127F12565833BD1  1. Delete Link:        Click here to delete file http://rapidshare.com/files/365283521/blockmycountry.rar.html?killcode=6716811231460949686
  39. (4:43:29 PM) SplitIce: done
  40. (4:44:05 PM) b?: if you can, remove the drop-down button
  41. (4:44:18 PM) b?: add box instead, and make it so multiple countries can be selected
  42. (4:44:24 PM) b?: using CTRL
  43. (4:45:07 PM) SplitIce: You cant select multiple countries with a select box, its not possible using HTML
  44. (4:45:28 PM) b?: erm, I don't know the right name
  45. (4:45:34 PM) b?: just guessing
  46. (4:47:17 PM) SplitIce: I can do something like this: http://im4ge.info/show.php/150279_im4ge.png.html
  47. (4:48:35 PM) SplitIce: that what you after?
  48. (4:57:26 PM) b?: sec
  49. (4:57:30 PM) b?: I was shawing
  50. (4:57:39 PM) b?: Yes, that's the one
  51. (4:57:58 PM) SplitIce: ok then, and in the case that there is multiples just combine.
  52. (4:58:14 PM) SplitIce: im thinking being that I know .htaccess thats what you want.
  53. (4:58:33 PM) b?: :)
  54. (4:58:40 PM) b?: something like www.blockacountry.com
  55. (5:00:01 PM) SplitIce: ok ill load it from a countries folder but ill give you a header.txt and footer.txt
  56. (5:00:09 PM) SplitIce: so you can put the stuff thats only wanted once
  57. (5:00:30 PM) SplitIce: HEADER:
  58. ErrorDocument 403 http://www.blockacountry.com/blocked.php
  59. <Limit GET HEAD POST>
  60. order allow,deny
  61. COUNTRY:
  62. deny from 77.242.16.0/20
  63. deny from 80.78.64.0/20
  64. deny from 80.90.80.0/20
  65. deny from 80.91.112.0/20
  66. deny from 84.20.64.0/19
  67. deny from 194.1.149.0/24
  68. deny from 213.207.32.0/19
  69. deny from 217.24.240.0/20
  70. allow from all
  71. FOOTER:
  72. </LIMIT>
  73.                    
  74. (5:00:40 PM) SplitIce: get what I mean?
  75. (5:00:53 PM) b?: yeh
  76. (5:01:08 PM) SplitIce: ok ill whip that up, let me know when Maz is online
  77. (5:01:29 PM) b?: he's online around 4-5 PM GMT+1
  78. (5:01:31 PM) b?: tell me ur pp id
  79. (5:01:47 PM) SplitIce: mat.999@gmail.com
  80. (5:02:59 PM) b?: k
  81. (5:03:00 PM) b?: $15 ?
  82. (5:03:27 PM) SplitIce: yeah
  83. (5:04:01 PM) b? is offering to send file PIC5CA6.tmp.jpg
  84. (5:04:08 PM) Starting transfer of PIC5CA6.tmp.jpg from b?
  85. (5:04:41 PM) b?: l
  86. (5:04:41 PM) b?: k
  87. (5:04:43 PM) b?: g2g now
  88. (5:04:46 PM) SplitIce: k
  89. (5:04:48 PM) b?: see ya tonight
  90. (5:05:36 PM) SplitIce: k cya
  91. (5:05:53 PM) Transfer of file PIC5CA6.tmp.jpg complete
  92. (11:34:13 PM) sirenemy@live.com is now known as Borce.
  93. (11:34:17 PM) sirenemy@live.com is now known as b?.
  94. (7:42:56 AM) sirenemy@live.com is now known as Borce.
  95. (6:32:59 PM) Borce: hi
  96. (6:33:09 PM) SplitIce: evening
  97. (6:33:15 PM) SplitIce: I completed your project.
  98. (6:33:18 PM) Borce: Great
  99. (6:33:32 PM) SplitIce: Ill send it to you now
  100. (6:33:36 PM) Borce: thanks
  101. (6:33:43 PM) Borce: but i'll review it later, I have to go now
  102. (6:34:07 PM) SplitIce: ok, just a FYI if the country has ( or ) in it, you need to remove them for it to work
  103. (6:34:26 PM) SplitIce: so "test1(test2)country.txt" = "test1test2country.txt"
  104. (6:34:45 PM) SplitIce: thats so that countries like heard island work (although I doubt they have inet :P)
  105. (6:34:54 PM) Borce: :)
  106. (6:34:55 PM) Borce: okay
  107. (6:35:09 PM) Offering to send blockmycountry.rar to Borce
  108. (6:35:16 PM) SplitIce: ok sending it.
  109. (6:35:22 PM) Borce canceled the transfer of blockmycountry.rar
  110. (6:35:25 PM) Borce: put it on rapidshare
  111. (6:35:27 PM) Borce: or something
  112. (6:35:27 PM) SplitIce: ok
  113. (6:35:29 PM) Borce: my av blocks it
  114. (6:35:37 PM) SplitIce: lol fail av
  115. (6:35:44 PM) Borce: avast
  116. (6:35:50 PM) Borce: but msn needs to be connected
  117. (6:35:55 PM) Borce: so it can scan everyfile i recive
  118. (6:35:55 PM) SplitIce: 1. Download Link:Click here to download file      http://rapidshare.com/files/365730253/blockmycountry.rar.html MD5: F18E20E2FD6BDBADFD711D4316EF79C6    1. Delete Link:Click  here to delete file http://rapidshare.com/files/365730253/blockmycountry.rar.html?killcode=98819522673993105  
  119. (6:35:56 PM) Borce: bunch of bs
  120. (6:36:15 PM) Borce: cya
  121. (6:36:16 PM) Borce: ttyl
  122. (6:36:26 PM) SplitIce: cya
  123. (4:48:17 AM) Borce: mate
  124. (4:48:18 AM) Borce: when I click Create
  125. (4:48:21 AM) Borce: it shows index.php
  126. (4:48:28 AM) Borce: and looks fked
  127. (4:48:29 AM) Borce: :)
  128. (4:49:47 AM) Borce: and I told you
  129. (4:49:54 AM) Borce: it should read uk from uk.txt
  130. (4:49:55 AM) Borce: etc.
  131. (4:49:59 AM) Borce: I cant see that function
  132. (4:50:08 AM) Borce: can you write one line so later I can just copy-paste it?
  133. (11:11:49 AM) SplitIce: it reads it from country/COUNTRY_NAME.txt e.g Austrlia is included
  134. (11:11:55 AM) SplitIce: it also reads txt/header.txt
  135. (11:12:01 AM) SplitIce: and txt/footer.txt
  136. (11:12:13 AM) Borce: yeh
  137. (11:12:18 AM) Borce: so when I open austrialia
  138. (11:12:19 AM) Borce: i get this
  139. (11:12:20 AM) Borce: sec.
  140. (11:12:45 AM) Borce: http://imgcentre.com/img/uploads/big/d1e154633f.png
  141. (11:13:06 AM) Borce: What do I need to put in header & footer?
  142. (11:13:31 AM) SplitIce: well the .htaccess header and footer that you need to block sites, im not going to write all that for you.
  143. (11:13:52 AM) SplitIce: if your server is working correctly you will get: http://im4ge.info/show.php/150527_im4ge.png.html
  144. (11:14:16 AM) SplitIce: because as you can see Australia.txt contains the word blocked
  145. (11:14:20 AM) Borce: Yeh
  146. (11:14:40 AM) Borce: Maybe it's because I'm trying it on XAMPP
  147. (11:14:47 AM) SplitIce: im running xampp
  148. (11:15:45 AM) Borce: strange
  149. (11:15:53 AM) Borce: anyway
  150. (11:15:56 AM) SplitIce: when you said you couldnt find the function that gets the txt
  151. (11:16:05 AM) SplitIce: its at the top of index.php
  152. (11:16:08 AM) Borce: yeh
  153. (11:16:09 AM) Borce: my bad
  154. (11:16:11 AM) Borce: sorry
  155. (11:16:12 AM) SplitIce:     if($_GET['ajax_get']){
  156.         $vv = '';
  157.         foreach(explode('|||',$_GET['ajax_get']) as $n){
  158.             $txt_name = str_replace(array('(',')','\'','\\','/'),'',$n);
  159.             if(@filesize('countries/'.$txt_name.'.txt')) $vv .= file_get_contents('countries/'.$txt_name.'.txt');
  160.         }
  161.         //countries
  162.         if($vv) $c = file_get_contents('txt/header.txt')."\r\n".$vv."\r\n".file_get_contents('txt/footer.txt');
  163.         else $c = 'Sorry we have no records of those countries';
  164.         die($c);
  165.     }
  166. (11:16:21 AM) Borce: anyway
  167. (11:16:27 AM) Borce: the square there is for advertising
  168. (11:16:31 AM) Borce: I need the text bit higher
  169. (11:16:50 AM) Borce: Also there should be options, View or download
  170. (11:17:28 AM) SplitIce: just add another square and change the id in: ajaxRequest('index.php?ajax_get='+s,'square')
  171. (11:17:47 AM) SplitIce: that was not in what you paid me to do, I completed the paid job and more.
  172. (11:18:11 AM) SplitIce: ajaxRequest('index.php?ajax_get='+s,'square') change square to the elements ID that you want it displayed in.
  173. (11:18:17 AM) Borce: We agreed on pop-up box and all that
  174. (11:18:19 AM) Borce: Read history
  175. (11:18:28 AM) Borce: Yeh, I'll do that