Playing with FB
Posted in babeling
Up Again
Like I wrote yesterday that the email server was down, today it’s up again. My feeling was right, the error was not at my side. Error was happened in center DNS. Somebody accidentally made mistake when edit the dns record. I didn’t who’s that, hope that it was not myself.
Everything just work fine and I can sleep well tonight.
PS:
when set relayhost in postfix use IP don’t use hostname.
If hostname is used, it will be error with message “Name or service not known”.
At least it’s happen to me.
Posted in Computer Science | Tags: dns, email
Creepy Thursday
Today seem everything goes wrong. Complain due to email malfunction still continued. My deduction point to problem in upper network, which is ITB network. Network unreachable when access from outside network. Here, I use network from XL to test it, and the same thing happen when access from Speedy.
Right now, I still can’t figure out where the problem source. May be due to black out last Tuesday, or may be another reason, I don’t know. So, until this noon geoph mail wouldn’t accept email from outside network. Hope this over soon.
Well, that was the bad news. Fortunately, not only bad news I also have the good one. My script from last Wednesday work well. The script for the lazy person that what I call this. The script mainly contains wget and sed command. Small script, but good one.
This script divided into to two part. First part, download full index.html with contains list name of file in current folder. Second, manipulate the index.html and then download the needed file.
May be this step seem to be complicated. Because wget actually can choose what we want to download. But in this case I don’t see this work. So this tricky work fine for me.
Posted in Computer Science | Tags: email, script
Update php 5.2.6 on SLES 9
I Luv SuSE
More POP3 command
Here the complete command use in pop3 shell.
USER userid
This must be the first command after the connect. Supply your e-mail userid (not the full e-mail address). Example: USER john.smith
PASS password
This must be the next command after USER. Supply your e-mail password. The password may be case sensitive.
The following commands may be used as needed:
STAT
The response to this is: +OK #msgs #bytes Where #msgs is the number of messages in the mail box and #bytes is the total bytes used by all messages. Sample response: +OK 3 345910
Read More…
Posted in Computer Science | Tags: data transfer, protocol
XP Windows is not genuine
Olah raga tiap hari
Pass data array thru post or get method
The problem arise while I’m trying to catch my calculated data that pass to another php file that will plot the result. It will be simple problem if the data pass one value per variable, but would be another case if we want to catch the whole data and keep in single variable.
One moment on trying, so I decide to take a look on google. Found a similar problem that anybody got. In the end of discussion, somebody mention a simple solution.
Use the serialize() and unserialize() . Well, that was another precious lesson I’ve got today.
Another detail example is in http://www.php.net/manual/en/function.serialize.php.
Pretty easy isn’t it.
Posted in Computer Science | Tags: php, web trick
Ajax doesn’t response submit button
Sudah beberapa hari buat program gak jalan2 sesuai keinginan selain bikin capek juga bikin pusing. Padahal skrip sudah bener, nyontek dari program yang lain. Program lain jalan dengan lancar, tapi yang satu ini kok bandel. Gak mau jalan sama skali. Malah keluar error macem2. Mulai dari data “null” sampai Error: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]” nsresult: “0×80040111 (NS_ERROR_NOT_AVAILABLE)” location: “JS frame :: http://xxxxx ::function ” data: no] Source File: http://xxxxxx Line:
Setelah googling akhirnya ketemu juga jawabanya. Mudah sekali pemecahannya. Dari artikel yang ditulis di http://matthom.com/archive/2006/05/15/scary-ajax-error dijelaskan bahwa submit tidak benar2 mensubmit melalui action. Jadi dengan submit percuma saja karena tidak ada data yang ditransfer.
Dari masalah yang dihadapi form type submit harus diganti dengan type button biasa sebagai solusinya. Sbagai hasilnya program jalan seperti yang diharapkan.
Posted in Computer Science | Tags: java, technology, xml

. Well that would be a shocking notification.