Posts by Mega • 159 points
9 posts
-
5
votes3
answers7105
viewsA: Convert String with date to Datetime in Java
Basically you need to parse datetime, like this example: public void Dados(String dado) { // Obtem o time em Wed, etc.. try { this.dado = new SimpleDateFormat("dd/MM/yyyy") .format(new…
-
2
votes2
answers2173
viewsA: How to log into Facebook using an active session cookie in the DOM?
To make it work you need to use a Valid User-Agent[Browser] header, this one has to be up to date, so you can use the live http headers[~Chrome] extension to get the order data. I’ve made several…
-
2
votes1
answer1165
viewsA: Manipulating url with javascript
Here is an example>> <script> var ok = window.location.pathname; window.open('http://linkdowebsitenovo.com/' +ok +window.location.search, target="_self");…
-
1
votes1
answer202
viewsA: Interference of effects Hover
Probably a badly closed div in the code, testing here in Jsfiddle, I realized that there are 2 closed Ivs at the end, while I took one and closed after the facebook code, and it was normal. Era pra…
-
1
votes2
answers384
viewsA: Mysql import . txt - string values
You could use an XLS file and use a function to get the values between tables, so when you put the value in the XLS, it would automatically be added to MYSQL.
-
0
votes1
answer298
viewsQ: IP login authentication
I am creating a PHP application for login authentication: $phpsessid = 'SID: ".SID."<br>session_id(): ".session_id()."<br>COOKIE: ".$_COOKIE["PHPSESSID"]';…
-
0
votes4
answers1341
viewsA: An algorithm for finding repeated files?
You use basename, PHP: $inicio = "file:///C://"; // Você poder alterar o caminho atraves das pastas. $arquivo = basename($inicio); $file = basename($inicio, "Nome"); function stribet($inputstr,…
-
0
votes3
answers275
viewsA: How to use Cookies in Internet Explorer?
I don’t understand your question but if you have any desire to add one cookie, that should work: <script language="JavaScript"> <!--…
-
1
votes3
answers3483
viewsA: How to execute a code by clicking on a link?
This will check if the balance is equal to the product price: if ($precodoproduto == "'.$saldo.'") { --------- Resposta depois da escolha do produto ----------- } Remembering that you must create a…