gothiquo Posted May 20, 2015 Share Posted May 20, 2015 Hello everybody ! How you doing ? I'm new here and i need your help all Currently I'm so busy with some projects,and i can't find a solution for a php script,i can't uderstand it also very well Can anyone help me please? Thanks in anyway That's the work: Prepare a PHP script that takes data from the http://edu.cba.gov.pl/actbyyearmonth.html - all the documents along with the associated metadata. As for attachment to a particular document (http://edu.cba.gov.pl/actdetails.html?year=2014&act=13, "PDF ogloszony" and below) a list of links is enough. Please suggest MySQL database schema, which would contain the data and the PHP script that will download data from and import them into the database. The script has to be so designed that it can be run regularly. If you delete the data from the original site, they should remain in the database, only to be marked, for example, a flag in the column deleted. Quote Link to comment https://forums.phpfreaks.com/topic/296419-php-script-help/ Share on other sites More sharing options...
Ch0cu3r Posted May 20, 2015 Share Posted May 20, 2015 So you want us to do your homework assignment for you? Sorry we don't do that here. If you are getting any errors then post them here along with your code and we will be happy to help. 1 Quote Link to comment https://forums.phpfreaks.com/topic/296419-php-script-help/#findComment-1512292 Share on other sites More sharing options...
gothiquo Posted May 20, 2015 Author Share Posted May 20, 2015 sorry but i mean that the task is not clear,and i can't understand what is asked exactly That was all,but thanks in anyway Quote Link to comment https://forums.phpfreaks.com/topic/296419-php-script-help/#findComment-1512301 Share on other sites More sharing options...
ginerjm Posted May 20, 2015 Share Posted May 20, 2015 So - if it is not homework, then it must be for work. Ask your boss for clarification if you don't understand it. Quote Link to comment https://forums.phpfreaks.com/topic/296419-php-script-help/#findComment-1512302 Share on other sites More sharing options...
gothiquo Posted May 20, 2015 Author Share Posted May 20, 2015 The teacher didn't answer because he is busy,and i have to give it back before tomorrow 7am Thanks in anyway Quote Link to comment https://forums.phpfreaks.com/topic/296419-php-script-help/#findComment-1512305 Share on other sites More sharing options...
gothiquo Posted May 20, 2015 Author Share Posted May 20, 2015 it's a task about parsing the page and adding results (list of links is enough) to database Quote Link to comment https://forums.phpfreaks.com/topic/296419-php-script-help/#findComment-1512322 Share on other sites More sharing options...
CroNiX Posted May 20, 2015 Share Posted May 20, 2015 It seems pretty clear by the description in your first post what needs to be done. 1) Create a DB schema to store the required data from the web page - You'll need to identify what is needed 2) Retrieve the webpage using PHP 3) Parse the required data from the retrieved webpage and insert it into the db into the appropriate fields in your table(s) The only thing that isn't clear to me is what is meant by "metadata". Quote Link to comment https://forums.phpfreaks.com/topic/296419-php-script-help/#findComment-1512332 Share on other sites More sharing options...
gothiquo Posted May 21, 2015 Author Share Posted May 21, 2015 Not clear for me too,but thanks Quote Link to comment https://forums.phpfreaks.com/topic/296419-php-script-help/#findComment-1512373 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.