<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Login via URL?]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6251&amp;type=atom" />
	<updated>2016-05-06T21:59:11Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=6251</id>
		<entry>
			<title type="html"><![CDATA[Re: Login via URL?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=25467#p25467" />
			<content type="html"><![CDATA[<p>Oh... You were trying to get data <strong>out</strong> of FA?</p><p>In that case, you&#039;d be better off with a simple php script reading from the database directly. No need for ODBC, either. Just make sure you filter/escape all strings before embedding them into your SQL query.</p>]]></content>
			<author>
				<name><![CDATA[tm]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17873</uri>
			</author>
			<updated>2016-05-06T21:59:11Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=25467#p25467</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Login via URL?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=25465#p25465" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>appelm wrote:</cite><blockquote><p>Just looking around and found a post about how curl can use the login fields to pass username and password:</p><p> curl -F &#039;user_name_entry_field=&lt;username&gt;&#039; -F &#039;password=&lt;password&gt;&#039; -F &#039;company_login_name=&lt;company number&gt;&#039; url</p><p>I don&#039;t even really understand what curl is but wondering if there&#039;s a way to use those field names in the url in the same way.</p></blockquote></div><p>Curl allows you to script a browser session from the command line. The snippet above logs in and creates a session. Once there is a session, the script could load a particular page and insert the data into the appropriate form fields before submitting the form.</p><p>It should be possible to call such a script from Excel with the appropriate parameters. As long as the form in question doesn&#039;t use AJAX, it should work.</p>]]></content>
			<author>
				<name><![CDATA[tm]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17873</uri>
			</author>
			<updated>2016-05-06T21:26:32Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=25465#p25465</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Login via URL?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=25463#p25463" />
			<content type="html"><![CDATA[<p>Just looking around and found a post about how curl can use the login fields to pass username and password:</p><p> curl -F &#039;user_name_entry_field=&lt;username&gt;&#039; -F &#039;password=&lt;password&gt;&#039; -F &#039;company_login_name=&lt;company number&gt;&#039; url</p><p>I don&#039;t even really understand what curl is but wondering if there&#039;s a way to use those field names in the url in the same way.</p>]]></content>
			<author>
				<name><![CDATA[appelm]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=21033</uri>
			</author>
			<updated>2016-05-06T20:17:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=25463#p25463</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Login via URL?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=25461#p25461" />
			<content type="html"><![CDATA[<p>Hi Ken..&nbsp; Thanks for your reply.&nbsp; Yes, I am a bit familiar with that strategy.&nbsp; I will try that if there is no simpler approach.&nbsp; All I need for now is the data from the customer and supplier inquiry pages which I modified slightly in the code to default to exactly the way I need.&nbsp; All I need is the webpage in excel and I can use the data on any platform.&nbsp; Using ODBC requires more configuration and is less portable.&nbsp; </p><p>So still wondering about my original question whether or not there is a way to skip the login or put it in the URL.</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[appelm]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=21033</uri>
			</author>
			<updated>2016-05-06T12:56:06Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=25461#p25461</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Login via URL?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=25459#p25459" />
			<content type="html"><![CDATA[<p>Hi,</p><p>What you need is an odbc driver for mysql . connect to excell with the&nbsp; odbc and get the information from fa database.</p><p>Tell me if it works</p>]]></content>
			<author>
				<name><![CDATA[kensoftwares]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18727</uri>
			</author>
			<updated>2016-05-06T11:57:57Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=25459#p25459</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Login via URL?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=25458#p25458" />
			<content type="html"><![CDATA[<p>Thanks in advance for any help.&nbsp; Is it possible to login by adding username and password to a URL?&nbsp; I want to get some data into Excel using Excel&#039;s web query feature but Excel gets redirected to the login screen.&nbsp; Excel needs its own login session.&nbsp; Is this possible?</p>]]></content>
			<author>
				<name><![CDATA[appelm]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=21033</uri>
			</author>
			<updated>2016-05-06T11:20:20Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=25458#p25458</id>
		</entry>
</feed>
