What's a good URL shortening script? [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
What's a good URL shortening script that does the following things?
It is customizable (HTML and CSS)
Users can create accounts
Users can delete shortened URLs
There is a bookmarklet
Users can set privacy codes
Some sort of API (so Twitter clients could use it, etc.)
Thanks a document.write(Math.random()*Math.pow(10,18));
:)

I haven't used any of these, but a quick googling turns up lots of results
Here's a good tutorial on how to do it yourself
Here's a php implementation you can use for free
The user account creation side of things is a separate issue and I'm not aware of any url-shortening scripts that would consider that. You might want to look into using openID providers for your authentication, though.

HotScripts looks like it has a few. Haven't used any but that might be a good place to start.

Check out ur.ly. I use it almost daily to compress URL's.
If you want to use an API to interact with a URL compression service, they have that. They also publish their code, so you can check it out if you want to do something similar. It's written in Python.
ur.ly doesn't have accounts or allow deletion, but the code should help you get started.
EDIT for managing URL's using an account, you could try bit.ly, but they don't offer their code AFAICT. They do offer an API, though, that includes authentication.

I prefer Shrinky the free URL shortener, it’s free and it must be listed too :
Shrinky - Free URL Shortener Script

Related

Private Twitter application? [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 4 years ago.
Improve this question
I'm looking to implement Twitter into an internal existing system. I need to use several features of the API (such as mentions) that require authorization.
From my understanding, this can only be used with a Twitter application, and as such I've created one.
However it all seams very public facing, asking for details like website URL, and application description, which in my case I do not need or want.
I simply need to authorize my system to make calls to the API, am I going about it the right way?
If not, is there a certain PHP library / alternative way of getting autorized? I can't imagine i'm first in this situation?
Thanks!
You'll need to provide these details so Twitter knows what kind of application you're building. If your application is not going to publish any tweets, that's entirely fine; if you're simply making GET requests, your application information won't be published anywhere.
If you don't have a public-facing URL for your application, you can enter a placeholder or a fake URL.

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.

Free PHP framework/library for single-sign on / cross domain login [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 am looking for free (non GPL is better) SSO framework/library implementation or code samples.
There are many kind of SSO implementation. Sharing cookie, sharing session, one time token, associative accounts, etc, etc. (BTW, any good article compare them?)
Is there any keyword I should google and reuse before before I start to implement our own wheel.
I know OpenID, but which is too much and it is not our need. We rather keep it KISS.
We just want share the credentials of user that could save users from another login form.
After some googling I guess I found SSO is not the same as OpenID :)
Did some quick googling and found these:
http://www.single-signon.com/en/home.html (GPL)
https://github.com/jasny/SSO (public domain)
http://share.ez.no/learn/ez-publish/using-a-sso-in-ez-publish
http://simplesamlphp.org/
http://www.yiiframework.com/wiki/135/single-sign-on-across-multiple-subdomains/
Consider OpenAuth. It's what twitter uses, and it's gaining mindshare.
The principle behind it is that when you authenticate against a trusted third party, you are prompted by an auth page on the third party domain, so it's obvious to the user that you are logging in through them, hence the trust.
Facebook's third party login is very similar, where they show their login content in a lightbox or popup window.
Another common one is Kerberos http://en.wikipedia.org/wiki/Kerberos_(protocol)

Copyright content API [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 am looking to see if there is an automatic "copyright content" API that we can use. I know atrributor have a paid service, but I'm wondering if their is something that effectively does a google search for a portion of the content, to check if whole sentences have been copied from elsewhere.
Basically We have several blogers that write for us and we want to check if any of the articles have been partially or completely copied from another source on the web. Manually I would select a few sample sentences and paste them into Google (using quotation marks) to see if I get any exact matches.
Is there a free API / service that you guys are aware of?
I was actually reading something about this a few days back and someone mentioned a service called Copyscape that has an API in its premium service - not free though
I am using Copyleaks API. Nice well built API that allows you to query URL or upload a file to check for plagiarism online.
Copyleaks homepage
Have a good day!
I heard about new service - PlagSpotter. You can read about their API here. However I think it's not free now.
One thing you can do is use a free search API (e.g.: Yahoo Boss).
The idea being is that a couple snippets of text are searched for and the results are evaluated either manually or automatically.
Honestly, the idea sounds great, but I do not think that there is anything like that out there and won't be in the next few years. The reason is probably howto define which sentences are copyright protected and which ones are not (every single line from a book or magazine could be copyright protected). Even if this decision could be properly made, it that would lead to a enormous database and request would take a long time.

Can you recommend: a mailing list script? [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 4 months ago.
Improve this question
I'm looking for a subscribe/unsubscribe mailing list to install on my website.
Requirements:
PHP/MySQL;
Cron job: uses scheduling to send email in batches;
Multiple languages: when user is subscribing, they need to select preferred language from a drop-down;
Send in both HTML/Text;
Bounce-email check;
Double opt-in: user must confirm email before being subscribed.
Unsubscribe link: being able to unsubscribe by following a link in the email.
Any suggestions? Could be paid license as well (maximum $40). However, I'm not interested in hosted services with monthly fees.
Thanks!
Maybe have a go with List Messenger? http://www.listmessenger.com/ It's not great, but it is pretty well featured and it's all in PHP so you can hack it about if you want to.
http://phplist.com/ comes to mind
There is a number of PHP mailing list applications around, and to my surprise, almost all turned out to be total crap. At least the open source ones.
The only free one that I have used myself and was happy with is PoMMO. I don't think it can do cron-powered batch sending, and I'm not sure about automated bounce handling, but the rest should be achievable: You can create custom signup forms so language selection shouldn't be a problem (and later, putting subscribers into groups according to the selection).
It seems to have been inactive since 2008, and the back-end template needs a bit of reworking to look good in Firefox, but it has been a reliable workhorse.
Anyway. The PHPList project #Gordon suggests looks more active, which is always good in a public-facing software. Maybe try that first.

Categories