ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

What is the initiate browser in PHP like ROR?

Ruby provides us methotds to initiate browser, open url in that browser and parse the page contents browser = Watir::Browser.new(:firefox) browser.goto("http://example.com") browser.wait results = browser.text parsed_results = JSON.parse(results) Can we do such a thing in PHP? If yes then how it is possible?

user-image
تم إضافة السؤال من قبل Muhammad Usman Usman , Software Enginner , Five Rivers Technologies
تاريخ النشر: 2013/08/01

* hitting a URL and getting it's content (php): $data = file_get_contents('http://api.somesite.com'); sources: http://php.net/manual/en/function.file-get-contents.php source: http://stackoverflow.com/questions/5971398/php-get-contents-of-a-page * opens a new browser window (javascript) : "window.open(URL,name,specs,replace)" source: http://www.w3schools.com/jsref/met_win_open.asp * parsing a JSON string (php): $feed = json_decode($json); sources: http://php.net/manual/en/function.json-decode.php sources: http://stackoverflow.com/questions/7889738/json-parsing-with-php

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟