How do I program this thing (extract data from other website) [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am a union member of a airlines company, and I possess the elementary level of HTML, PHP and MYSQL. I have experience programming a library system and personnel system.
Our union would like to create an online platform, one of the function is to allow our crews to calculate their flying allowances and salary easily.
I think first of all, I need the roster data, so the platform is required to log in my company website in order to extract the roster data, and then I can code with PHP.
Therefore, I wonder if it is possible to write PHP code "log in to my company website and extract the data".
Or what is the best language for this program you recommend? Maybe I can learn a new language if PHP is not applicable.
Thanks for your attention.

Welcome to Stack Overflow.
To answer your question, Yes, you can write this in PHP. And by you, I mean you! None of us know the site and there is no way for us to know how it operates.
You may want to consider if there is an API for this site. You may want to load the site via cURL or another HTTP request into PHP and parse the HTML. There are a lot of ways to do this.
PHP is not the only language to perform this in: ASP.NET, Perl, Python... in the end, it sounds like you need to collect data that you would normally see using a web browser, so you're going to mimic that behavior with whatever language you choose to use.

Related

php email management and Event management [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have a client that has a list of several thousand email addresses (and their personal info). If they are holding an event in a particular city, they want to send an email to "everyone in these cities with these parameters". They would like to keep track of who attends each event, let people unsubscribe, but not loose their data, track other attributes about each person over time, etc.
The main company site is in Drupal, but this project can use any platform. Any suggestions about php software that can be customized to do this?
There is heaps of software to do this. You will have to get the data into a form that can be imported into a database though like mysql.
Wordpress has lots of plugins that can import mailing lists and news letters.
Once the data is in a database table then you could also write your own quite easily. If you aren't a coder though wordpress plugins or something similar might be the way to go.
Also, checkout mailchimp and services like that.
p.s. if you send several thousands emails you will probably get black listed :P
Obviously there is lots of software to do this, but I was looking for any advice someone might have to help me narrow down the search because there are so many scripts to test.
In this case, I settled on CiviCRM, which has both a drupal and a wordpress integration and does everything that I needed, specifically the ability to record lots of meta data about the individuals in the database and then to segment that data to use for sending email.
https://civicrm.org/

Open Source Reporting and Analytics for PHP (Logistics) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
We're a small logistics company and want to be able to provide clients with a way to generate custom reports with their data in our shared database (limited by the relations built in the DB) as well a few standard reports that we will build for them.
We've looked into iDashboards and LogiAnalytics but the price tags are huge, and iDashboards have limitations on user sessions that directly obstruct how we deal with user logins (one company might have 10 people using the same User/Pass) so a "perpetual named session" is pretty unacceptable.
The ability to generate maps with the data (like a US map) and drill down to the city, county, or zip code level is also a must (though I would consider software that enables me to add this easily).
I've been searching, and searching, and have not found anything that looks useful thus far and am hoping someone out there has used something they liked and can make a recommendation.
If I can provide any more info about our requirements or needs, let me know and I'll gladly edit.
Try DBxtra, the license allow an unlimited number of report viewer users and also can do maps of pivot grids, besides it can connect to several databases and even plain text (CSV) files.
Take a look at myDBR. It will do everything you listed and much more.

Looking for a Q&D PHP SQLite editing solution [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Here's what I need: I have a table in a SQLite file, that contains items - descriptions, dimensions, image and thumbnail.
I need to allow someone from outside the company to edit this table through an "admin interface". I need a simple login mechanism to authenticate said user, and I need a form that shows all available rows in the table applicable to him/her, and allow editing the values. That may include uploading images.
Now, I've developed tons of these interfaces before, in several languages. What I'd like to ask is: is there a shortcut? Since this needs to be quick and dirty (i.e., this wasn't in the original plan, I'm not being paid for this, but I may lose a client if I don't have it in place) and be up as soon as possible, is there some open source solution, or any previous PHP code, that I can customize and use in this and future cases?
Any solution that will save me time is welcome.
Thanks for YOUR time :)
Guy
Well if you can use a framework you could use an auto generated admin interface or scaffolding from a framework. Symfony and Cake both have this. Of course thats a lot of dead weight to have if the whole app/site isnt using the framework. But it would make it relatively painless to create. IF you can run this interface on a subdomain that would make it even esier since you dont have to worry about integrating it with anything existing except the DB and shared folder for the uploaded files.

Using Barcode ID for Event Management [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have a barcode scanner and laptop (ofcourse :)), I'm looking for simple event management app that can process the input from the barcode scanner and keep attendance record for our frequent private meetings.
I wonder if there's an open source software available that'd allow me to manage events using code 128 barcode id cards?
Many thanks for your help.
DIY. Seriously, this would be a perfect project to do. If you're inclined that way!
If you have a barcode scanner that follows some standards in interfacing (serial etc.) and protocol then PHP will be able to read the data. After that it's plain sailing!
EDIT: Seems like amazon sells barcode readers that act like keyboards. This makes interfacing the least of your problems!
Choose a scanner that acts as a keyboard and automatically translates the code 128 to a series of numbers followed by a "return". That way you could use any ol' spreadsheet, website or even Notepad to keep track of your meetings.
Look at Drupal and the many plug-ins that are available there. There are complete conference kits that you should be able to use. I think going for that kind of monster solution will just complicate matters - the relative simple task involved taken in to account...

Is there an open source class somewhere for handling user comments? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm just wondering if anyone knows of a class that exists for handling user comments already. I can always write my own, but I figure I wouldn't re-invent the wheel if there is one out there.
Id like to be able to display a comment form, manipulate/validate/sanitize user input, and possibly more functions such as inserting into a database.
If anyone knows of any classes/packages that already implement this sort of thing, I'd love it if they could share.
Thank you,
Aside from collaborating with a 3rd party ASP-style vendor (like Pluck), I'm not sure you're going to find something like this.
I've seen components to support comments in the ORM (such as Commentable Behavior Plugin for Propel within symfony) but that doesn't give you anything in the way of forms, sanitization, display, user validation, etc.
And then there's the question of features: Do you want flaggable comments? Rich HTML? Emoticons? URL Parsing? Nested comments? Moderation tools? Profanity filtering?
I suppose all of this depends heavily on what type of existing system you're adding this to, as well (can you leverage AJAX? MVC? Postbacks? etc) but really I think it's a fairly broad topic which is why you'll probably just want to roll your own.
Another 3rd party option is www.kickapp.com which seems to be pretty decent.

Categories