Archive for April, 2005

Apr
30

Je répond à beaucoup d’emails que j’ai reçu en meme temps, et tout ceux qui se posent la question. Apparament ça pose un probléme ces points, voilà ce que je propose, et voilu ce que vous proposer.
Continue reading Système de points, le point !

Apr
27

PHPTunisie.net will have its first year in 10 may 2005 ! Next magazine edition will be special edition dedicated to …. and … :P news as usual and big Cake with chocolate to make the party. To be continued …

Apr
26

The first Tunisian blogger meetup

Karim have published some photo on his blog, and this is another pict from the Tunisian Meetup. Hope i’ll be there on the next meetup :-)

Apr
25

I have some messages so you can have idea :

  • ٩٩هناءأنور..
  • بحبه لكن مش مقدر زهقت إنى أعلمه إزاي يحب مراته ويدلها كل حاجه المعذبه.
  • انوار تهني الاهل في السودان والسعوديه .
  • غزل يسعد صباحك ممكن أسمع كاظم صباحك سكر وبهديها إلك ولقتيبة الفارس .
  • انوار تقول لهشام صباح الخير ياعسل يااحلي هشوو وم .
  • أطلب أغنيه أمل حجازي -من زمان وأنتم من زمان ماحطيتوها أهديها إلك.
  • السلطان/انتي واناربي خلقنامجانين.
  • الوردي تحياتي.
  • هاي مساء الورد زينه وزياد بليز بدي أسمع عزت نفسي لصابر بليز.
  • هدى القيسي أحبك بجنون ياعشقي المجنون (بسمة الماضي) .
  • الشمري سلام لكل الموجدين وخص الحلوين .
  • انا شوقي..من الرياض اطلب اغنية غريس ديب الجديده وشكرأ..مهداة الى جميع المستمعين..
  • انا من انصار الرجل بطلب اي شي لراشد الماجد عمر من الخبر.
  • بليز ممكن أغنيه ماجد المهندس قوه قوه وأهديها لمحمد وأهلي لازورد من المدينه.

Cool hein ? just use your imagination, but don’t loose ur money, It’s funny reading such scraps :P

Apr
24

Today the first Tunisian blogger meetup, I won’t be there but i’ll try to call as usual since karim2k will be there :=)
The rendez vous is on April 24th at 7PM in Biwa (Les Berges du Lac).

Apr
23

I thought nobody is using this application anymore, but today I received the italian translation, now it’s translated to 11 langages … I think I’ll make an update soon… specially to remove the gonxtabs :)

Apr
23

I was running a similar project last year maybe some friends remember it, but didn’t continue its development. But Answers.com is really big and professionnal database, you can find answers (not links) to any definition, they give also translation. A very nice encyclopedia !! They also have a small software 1Click Answers, wich can lay in tray and allow to find fastly any answer.

Have a look at their website http://www.answers.com/

Apr
21

I thought mysqldump was great tool to export large databases, but noway ! I was trying to export a small database of 500Mo, and it hangup at 300Mo, I need ram or mysql backup pro .. or anything else ! I dunno. My machine have just 128Mo ram is it not enough ?

Apr
20

ça se passe le 26 mai 2005 à Soissons Informatique Libre - Centre Européen de Transfert et de Recherche en Informatique Libre (France). La liste des projets participants comportent une panoplie entre educatif, multimedia, securité, php, mobilite …
Continue reading Les trophées du libre, deuxième éditions

Apr
19

Some websites force cookie usage to open a https page, So i’ve written this function to make it easier. To use it just create a cookie.txt file and allow write permission.


/**
* Open an url on https using curl and return content
*
* @param string url The url to open
* @param string refer Referer (optional)
* @param mixed usecookie If true, cookie.txt will be used as default,
* or the usecookie value.
* @return string
*/
function open_https_url($url,$refer = “”,$usecookie = false) {

if ($usecookie) {

if (file_exists($usecookie)) {

if (!is_writable($usecookie)) {

return “Can’t write to $usecookie cookie file, change file
permission to 777 or remove read only for windows.”;
}
} else {
$usecookie = “cookie.txt”;
if (!is_writable($usecookie)) {

return “Can’t write to $usecookie cookie file, change file
permission to 777 or remove read only for windows.”;
}
}

}

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url);

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);

curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);

curl_setopt($ch, CURLOPT_HEADER, 1);

curl_setopt($ch, CURLOPT_USERAGENT, “Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)”);

if ($usecookie) {
curl_setopt($ch, CURLOPT_COOKIEJAR, $usecookie);

curl_setopt($ch, CURLOPT_COOKIEFILE, $usecookie);
}

if ($refer != “”) {

curl_setopt($ch, CURLOPT_REFERER, $refer );

}

curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);

$result =curl_exec ($ch);

curl_close ($ch);

return $result;
}

echo open_https_url(”https://domain.com/”,”",true);