Solar Energy Technology Spreading Sunshine on Wall Street Hardware and Software Hardware by Brian.oco …'s electricity coming from concentrating solar power systems, while solar photovoltaic systems will provide more than 8% of the nation's…. Those figures correlate to nearly 50,000 megawatts of solar photovoltaic systems and more than 6,600 megawatts of concentrating solar… Pull data from a website Programming Web Development by jamesl22 … films with nanostructured donor/acceptor interfaces have been fabricated for photovoltaic devices by means of anodic aluminum oxide (AAO) templates. <…;</h3> <p> A thorough understanding of photovoltaic materials is crucial if thin-film solar cell efficiency is… European Solar Photvoltaic Market Faces Instability Community Center Geeks' Lounge by VanessaRyan The pulse of the European solar photovoltaic (PV) market (solar panels on rooftops) in the first half … Coming Soon... Solar Power Everywhere Hardware and Software Hardware Mobile and Wearables by EricMack … sunlight as we travel around. Imagine, one day your solar photovoltaic shirt could come with a pocket that doubles as a… Segmentation Fault - Why???? Programming Software Development by babis87 … am making a program which does many computations for a Photovoltaic system. The problem is that i get a strange segmentation… Re: Pull data from a website Programming Web Development by phaedrusGhost Look up web scraping or site crawling. There are several ways to accomplish this so you have to figure out what type of data you are going to be scraping off the site(s) and then build something to accomplish your goal. Re: Pull data from a website Programming Web Development by diafol If your host allows you to use file_get_contents() on external sites (some don't - check the phpinfo()), then use that to gain the output and use substr() or some of the preg functions to strip out the bits you need. Perhaps xpath or curl could also do what you want. Re: Pull data from a website Programming Web Development by jamesl22 [QUOTE=ardav;1636940]If your host allows you to use file_get_contents() on external sites (some don't - check the phpinfo()), then use that to gain the output and use substr() or some of the preg functions to strip out the bits you need. Perhaps xpath or curl could also do what you want.[/QUOTE] Im a little confused of what I would need to … Re: Pull data from a website Programming Web Development by diafol Have a look at this: [url]http://uk.php.net/manual/en/function.preg-match.php[/url] Re: Pull data from a website Programming Web Development by jamesl22 [QUOTE=ardav;1636977]Have a look at this: [url]http://uk.php.net/manual/en/function.preg-match.php[/url][/QUOTE] In this example: [CODE]<?php // get host name from URL preg_match('@^(?:http://)?([^/]+)@i', "http://www.php.net/index.html", $matches); $host = $matches[1]; // get last two segments of host name … Re: Pull data from a website Programming Web Development by chrishea I have done quite a bit of screen scraping. Some of this has been run on a daily basis to extract data and move it to somewhere else. I decided to capture what I know about this in my help file. You can see it [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php#question_26"]here[/URL]. Re: Pull data from a website Programming Web Development by diafol If you want a ready made script, you could do worse than look at: [url]http://simplehtmldom.sourceforge.net/[/url] Re: Solar Energy Technology Spreading Sunshine on Wall Street Hardware and Software Hardware by arslan_12 Your article is very informative. Re: Segmentation Fault - Why???? Programming Software Development by Ancient Dragon line 26: does N_row contain a valid value? I don't see how the code you posted could cause a stack problem since it doesn't appear to be using any arrays. The real problem could be somewhere else in your program, but its just manifesting itself in the code you posted. You would have to give us the entire program in order for us to help you … Re: Segmentation Fault - Why???? Programming Software Development by babis87 It's for my thesis, but the code is not my proprietary, i've take it from a professor. Anyway, thanks for your answer. I'll try another compiler and use gdb more deeply. Until now the problem still exists, if you have any better suggestion that would help me find out tell me please. Thanks! Re: Segmentation Fault - Why???? Programming Software Development by babis87 Oh, yes, N_row contains a valid value.... Re: Segmentation Fault - Why???? Programming Software Development by Salem You should post your actual error message, because I'm pretty sure that whatever you're seeing is not a segfault. segfaults happen when you access out of bound array indices, or "garbage" pointers. Your loop contains neither of these things (unless this isn't your real code). Examples. The flawed code [code] $ cat foo.c #…