Need assistance with saving a table - html-table

I was asked to create a table for my guild on swtor for guild members armor, and I want to be able to set it up so that it will save. I tried using the html style e-mail, but it kept coming up blank.
Directly updating on the page itself.
E-mailing the data to myself.

Since you can't do the things you want to in HTML, I recommend visiting these websites for tutorials on PHP, MySQL database and XAMPP web server:
php: http://php.net/manual/en/tutorial.php
MySQL: http://dev.mysql.com/doc/refman/5.0/en/tutorial.html
XAMPP: http://www.apachefriends.org/en/xampp-windows.html
You will be able to save the table in the database and email it with PHP.

Related

Apex - Create DB link

so, I have to make an Application Page with Oracle Apex. It is relatively simple, I only need one table. I tried to connect to it by SQL, but here comes the problem. There is no DB-Link existing.
How do I create a database link. I have Admin rights for Apex and have access to the admin account on the database server, from which I would need the data. Previously the data would be sended by E-Mail to us.
The sending Mailadress is adminname#servername.domain.net, that way I know on which server the database is located
I sadly do not know how the Mail Protocoll works, cause this was created before I started there.
I also do not know where on the server the database is located, all I know is that it is somewhere on the server.
Kind regards
Elias

How to use SQL Server Reporting Services URL Access to save rendered PDF-Reports as varbinary into Table

I'm trying to store rendered pdf-reports from the Report Server back into a table of the origin database as a varbinary. My current approach would be to use URL-Access inside of an external python script to get the rendered reports and then save them into the corresponding table. The following URL works as expected in the browser:
http://localhost/reportserver?/ReportingServicesTest/Report_Test&rs:Format=PDF
However when I tried to access that URL inside of the external python script I received a 401 error.
So I then tried to use the requests_ntlm library to pass the username and password, but somehow it still doesn't work.
import requests
from requests_ntlm import HttpNtlmAuth
url = 'http://localhost/reportserver?/ReportingServicesTest/Report_Test&rs:Format=PDF'
session = requests.Session()
session.auth = HttpNtlmAuth('Domain\\Username','password')
response = session.get(url,stream=True)
open('C:/Path/Report_Test.pdf', 'wb').write(response.content)
Is my approach in principle correct or are there better ways to accomplish the same thing?
I'm fairly new to SQL Server Reporting Services, so I'm open to your suggestions and appreciate your help in advance.
IMHO if you need to historic data for safekeeping or auditing purposes I'd strongly recommend to keep the data in the database. Use a staging environment to add a timestamp to the report data so the snapshots make more sense. In this way you can use the SSRS portal later on to filter on a particular historic version (parameterized) and you don't have to build a bespoke PDF viewer. It would also save some database storage. As an alternative, you could create a subscription in SSRS, have the PDF send to a file share. Then configure a listener to that directory to get your meta information and store that reference in a database table. Needless to say I'm not a big fan of storing files in the database as file storage is cheaper than database storage most of the time.
To solve your authentication issue you might want to check up on your rsreportserver.config file on your web server as your current code suggests that your local host is unknowing of any domain. In any case you can try changing your <Authentication/> section so that it looks like this:
<Authentication>
<AuthenticationTypes>
<RSWindowsBasic>
<LogonMethod>3</LogonMethod>
<Realm></Realm>
<DefaultDomain>putyourfullyqualifieddomainnamehere</DefaultDomain>
</RSWindowsBasic>
</AuthenticationTypes>
<RSWindowsExtendedProtectionLevel>Off</RSWindowsExtendedProtectionLevel>
<RSWindowsExtendedProtectionScenario>Proxy</RSWindowsExtendedProtectionScenario>
<EnableAuthPersistence>true</EnableAuthPersistence>
</Authentication>
This will also work if your web server is behind a proxy or firewall.
Important: the content of DefaultDomain should be a FQDN, such as contoso.microsoft.com or myprimarydomain.lan

Easiest way to display SQL query results on a wordpress site in a paragraph of text?

I would like to get the results of a sql query in a text output and embed that in a sentence on a wordpress page.
I have tried using google apps script to run a sql query and convert the result to html or text, but it seems like html or text can only be embedded in an iframe, which will not work.
Willing to try other methods/free software, I am very much a programming novice so I'm sure there are things I don't know that might be able to help do this.
I can be wrong, but I'm going to say it's not possible to connect SQL to wordpress. To get PHP to even attempt to talk to SQL you need sqlsrv drivers installed on the machine hosting the site. My recommendation would be get access to you're MySQL database that's included with your wordpress site, and manage things through there.
If you have the ability to FTP into your host, you can write custom php functions that talk to your MySql database and do what you're thinking.

Wordpress posts showing in SQL database but not in My wp-admin dashboard

I transfered my site and I have a problem:
I cannot see any Worpdress posts that I had, and when I go inside my phpMyAdmin they are there, in wp-posts table.
All of the URLs are correct and the rest of the URL paths and everything is fine.
Does anyone have an idea how to restore that posts from SQL?
It would have probably been better to use the wordpress export functionality.
If you moved this from multi-site, then the table names may be different. For example wp_posts may have been wp_2_posts.
You may want to check the wordpress config files to see what it expects for the table names.

How do I add new form page to take information from user and store in database in Yii?

The website is already live and I have to add a new form , The previous Developer had created the website in Yii v1 and I have little knowledge about Yii2 .
Can I do it manually or I need to do it with Gii only ,If yes then How ?
How should I run the entire app on local host ?
I think You are beginner in yii. i'll explain you clearly.
Basic Initial steps :
1.First Install yii v1 in your local host.
2.copy live website codes and paste it in your server folder.
3.copy the live database structure and create in your (localhost/phpmyadmin)
4.change database name in config.php file.
Your Requirement steps:
first u try to understand your website old codes.
Don't try to write yii2 codes in your website.
create new table in database to store data
open gii in localhost using url
like(localhost/foldername/index.php?r=gii)
generate Model using that new table
generate CURD using your new Model.
now you done new form insert update delete function.
U can get user details by Yii::app()->user->getId();
I think now u got idea to get all details from users and stored in database in your local server.