Dev Shed Forums http://forums.devshed.com/ Dev Shed - Open Source web development forums. Topics covered include PHP, Apache, mySQL, Zope, Jserv, Java, Python, Zend, XML, DHTML, Javascript and more. en Tue, 26 Sep 2017 09:57:46 GMT vBulletin 60 http://forums.devshed.com/images/misc/rss.png Dev Shed Forums http://forums.devshed.com/ Single vs double opt in http://forums.devshed.com/dev-shed-lounge/979099-single-vs-double-opt-new-post.html Tue, 26 Sep 2017 09:41:59 GMT ***Please only respond only if you have previously done 6 figure launches and have very strong point. Thank You***

Hey

Kern's idea vs Walker's.

Quick question. Would this be a good idea to end up with higher quality list without adding extra step and losing prospects.

1 - once contact opts, send them an email with links to bait.

2 - if contact clicks the link, I'll add them to campaign with API.

Vs

1 - when contact opts in, just add them to long campaign.

What do you experts recommend?

Thank you ]]>
Dev Shed Lounge English Breakfast Tea http://forums.devshed.com/dev-shed-lounge-26/single-vs-double-opt-979099.html
SSD VPS deals from kvchosting.net at modest rates. http://forums.devshed.com/web-hosting-offers/979098-ssd-vps-deals-kvchosting-net-modest-rates-new-post.html Tue, 26 Sep 2017 09:41:03 GMT KVC Hosting was started in 2010 with the sole purpose of creating a host company that was affordable to all. Since its inception, the company has had steady growth due to our practical business model, so much so that we've increased the size of our data center in order to meet the demands of our clients. Putting customers first is what drives us, and this has led to us winning multiple awards for providing quality technology at a great price. We focus on providing cost-effective web hosting solutions, and our extensive experience in the industry assures that you will receive high quality and economical web hosting options that can be customized to suit your needs. We are proud of the trust that our partners and customers have placed in us and welcome all to give our company a try.
Be in charge of your own Virtual Private Server (VPS Hosting)! It will work just as if you have your own machine. Our virtual private servers are affordable and powerful, offering you your own mail server and greater security control. SSD VPS Hosting is a great fit for businesses that are anticipating quick growth, huge website traffic, or who run highly dynamic, interactive websites.

SSD VPS HOSTING

Enterprise Cloud SSD VPS
P1
8 GB DDR3 RAM
100 GB SSD RAID 10
4 CPU XEON@ 2.13 GHz (8.52GHz)
6 TB Premium Bandwidth
$49.99/M
ORDER NOW

P5
24 GB DDR3 RAM
300 GB SSD RAID 10
8 CPU XEON@ 2.13 GHz (17.0GHz)
22 TB Premium Bandwidth
$169.99/M
ORDER NOW

REGULAR VPS

VPS K
Disk Space - 75 GB
Bandwidth - 200 GB
RAM - 4 GB
CPANEL/WHM - Free
$25.99/M
ORDER NOW!

VPS O
Disk Space - 225 GB
Bandwidth - 3 TB
RAM - 10 GB
CPANEL/WHM - Free
$79.99/M
ORDER NOW!


Have a question?
Please feel free to contact us: sales at kvchosting.net
]]>
Web Hosting Offers KVChosting_ http://forums.devshed.com/web-hosting-offers-100/ssd-vps-deals-kvchosting-net-modest-rates-979098.html
<![CDATA[What's the best way to locate user by ip?]]> http://forums.devshed.com/php-development/979097-whats-locate-user-ip-new-post.html Tue, 26 Sep 2017 09:19:25 GMT Hi;

What's the best way to get the rough or exact location of ip address? Maybe something like these guys

Thanks ]]>
PHP Development English Breakfast Tea http://forums.devshed.com/php-development-5/whats-locate-user-ip-979097.html
<![CDATA[⭐⭐ Host Proton ⭐⭐ LiteSpeed - LsCache - http2 - QUIC (nuevo) - MariaDB - JetBackup...]]> http://forums.devshed.com/web-hosting-offers/979096-host-proton-litespeed-lscache-http2-quic-nuevo-mariadb-jetbackup-new-post.html Tue, 26 Sep 2017 07:51:28 GMT Host Proton provides shared, reseller, semidedicated plan solutions and we are working on launching our managed VPS range soon. We are giving special attention to our reseller hosting plans, since they were designed so that they can be rented quickly. We provide our customers with the best features of the hosting industry ... let me introduce our reseller hosting plans *HOSTING... Host Proton provides shared, reseller, semidedicated plan solutions and we are working on launching our managed VPS range soon.

We are giving special attention to our reseller hosting plans, since they were designed so that they can be rented quickly.

We provide our customers with the best features of the hosting industry ... let me introduce our reseller hosting plans


HOSTING RESELLER



FEATURES


CloudLinux
LiteSpeed + LsCache + QUIC (new active protocol faster than HTTP2)
CPanel (Latest Version)
MariaDB (compatible 100% with MySQL, higher performance)
Daily backups accessible from CPanel-JetBackup (14 restore points)
SSL Certificates Let's Encrypt free (as many as required, totally free)
Free CloudFlare + Railgun (Railgun valued at $200 monthly) free
Support WordPress
PhP-Selector 5.4-7.1
Spanish support
PHP Editor Ini
Softaculous
Ruby
Python


If you need more information feel free to access our website and open chat. So here I leave a post where you will find a form that will give you a discount coupon to start with your HOSTING reseller
Link to Post ]]>
Web Hosting Offers hostproton http://forums.devshed.com/web-hosting-offers-100/host-proton-litespeed-lscache-http2-quic-nuevo-mariadb-jetbackup-979096.html
European Dedicated Servers From TEMOK at Very Low Price | Location France http://forums.devshed.com/web-hosting-offers/979095-european-dedicated-servers-temok-low-price-location-france-new-post.html Tue, 26 Sep 2017 07:43:25 GMT Dedicated servers offer an advanced level of control, efficiency and also stability as compared to shared web hosting or virtual servers. Temok collection of personal, 'bare-metal' server hardware is available with a range of Microsoft, Linux and other software installed, and deals with each type of hosting, from websites to private clouds. All with 24/7 support and a 100% uptime SLA that we have provided more consistently than any other premium hosting company.

We are offering French Dedicated Servers according to your need & budget. Below you will find some details of it.

→→ Dedicated Server France 1 ←←

∗ 1x Intel® C2750 (Avoton) 2.4Ghz (8 core, 8 threads), @2.4 Ghz x64, VT-x, AES-NI
∗ RAM: 8GB DDR3 ECC or 16GB DDR3 ECC
∗ Hard Drive(s): 1x 1TB SATA3 or 256GB SSD
∗ Bandwidth: Premium 200 Mbit/s Unmetered
∗ Dedicated IPv4 Address: 1 IPv4
∗ Set-up Fee: $50
∗ Price: $50/Month ⦒⦒ Order Plan 1 ⦑⦑

→→ Dedicated Server France 2 ←←

∗ Intel® Xeon® D-1531 (6c, 12t)
∗ RAM: 32GB DDR4 ECC
∗ Hard Drive(s): 2 × 250 GB SSD
∗ Bandwidth: Premium 300 Mbit/s Unmetered
∗ Dedicated IPv4 Address: 1 IPv4
∗ Set-up Fee: $80
∗ Price: $63/Month ⦒⦒ Order Plan 2 ⦑⦑

→→ Dedicated Server France 3 ←←

∗ Intel® Xeon® E3 1230 v3 or E3 1220 v2 (4 core, 4 threads)
∗ RAM: 32GB DDR3 ECC
∗ Hard Drive(s): 2 × 4TB SATA3
∗ Bandwidth: Premium 300 Mbit/s unmetered on 1 Gbps link
∗ Dedicated IPv4 Address: 1 IPv4
∗ Set-up Fee: $80
∗ Price: $63/Month ⦒⦒ Order Plan 3 ⦑⦑

→→ Dedicated Server France 4 ←←

∗ 1x Intel® Xeon® E3 1245 v5
∗ RAM: 32GB DDR4 ECC
∗ Hard Drive(s): 3 × 250 GB SSD
∗ Bandwidth: Premium 500 Mbit/s Unmetered
∗ Dedicated IPv4 Address: 1 IPv4
∗ Set-up Fee: $80
∗ Price: $70/Month ⦒⦒ Order Plan 4 ⦑⦑

→→ Dedicated Server France 5 ←←

∗ Intel Xeon E3-1230 v3 3.30 GHz (4 core, 8 thread)
∗ RAM: 16GB DDR3
∗ Hard Drive(s): 2x 1TB SATA
∗ Bandwidth: 100 Mbps unmetered
∗ Dedicated IPv4 Address: 1 IPv4
∗ Set-up Fee: $50
∗ Price: $75/Month ⦒⦒ Order Plan 5 ⦑⦑

→→ Dedicated Server France 6 ←←

∗ Dual Intel Xeon E5-2670 2.60Ghz (16c, 32t), 2.60GHz - 3.30Ghz Turbo
∗ RAM: 128GB DDR3 ECC
∗ Hard Drive(s): 2x 1 TB SATA | SSD
∗ Bandwidth: 100 Mbps unmetered
∗ Dedicated IPv4 Address: 1 IPv4
∗ Set-up Fee: $70
∗ Price: $225/Month ⦒⦒ Order Plan 6 ⦑⦑

→→ Dedicated Server France 7 ←←

∗ Dell PowerEdge R720 - Intel® Dual Xeon® E5 2620 v2
∗ RAM: 128GB DDR3 ECC
∗ Hard Drive(s): 2x 3TB SATA OR 2x 500GB SSD
∗ Bandwidth: Premium 300 Mbit/s Unmetered
∗ Dedicated IPv4 Address: 1 IPv4
∗ Set-up Fee: $70
∗ Price: $220/Month ⦒⦒ Order Plan 7 ⦑⦑

→→ Dedicated Server France 8 ←←

∗ Intel Xeon E5-2630 v4 2.20GHz / 3.10Ghz Turbo (10c, 20t)
∗ RAM: 64GB DDR4 ECC
∗ Hard Drive(s):2x 1 TB SATA OR 2x 1 TB SSD
∗ Bandwidth: 100TB on 1Gbps
∗ Dedicated IPv4 Address: 1 IPv4
∗ Set-up Fee: $70
∗ Price: $185/Month ⦒⦒ Order Plan 8 ⦑⦑

→→ Dedicated Server France 9 ←←

∗ 2x Intel® Xeon® E5 2620 v2, 2.4 GHZ L3 15MB, x64, VT (12 core, 24 threads)
∗ RAM: 128GB DDR3 ECC
∗ Hard Drive(s): 2x 4 TB SATA OR 2x 500 GB SSD
∗ Bandwidth: Premium 500 Mbit/s Unmetered
∗ Dedicated IPv4 Address: 1 IPv4
∗ Set-up Fee: $70
∗ Price: $240/Month ⦒⦒ Order Plan 9 ⦑⦑

→→ Dedicated Server France 10 ←←

∗ 1x AMD Opteron™ 4386 (8 core) 3.1Ghz, 8MB L3 Cache
∗ RAM: 64GB DDR3 ECC
∗ Hard Drive(s): 12x 6TB SATA3
∗ Bandwidth: Premium 500 Mbit/s Unmetered
∗ Dedicated IPv4 Address: 1 IPv4
∗ Set-up Fee: $70
∗ Price: $599/Month ⦒⦒ Order Plan 10 ⦑⦑

We have got excellent hardware accompanied with a first-class support staff. At Temok you will enjoy the experience. We do our best to provide service which is not alone rewarding but also pleasurable. We do the job beyond your expectation and go the extra mile to achieve your requirements.

➛ We accept VISA, MasterCard, American Express, PayPal, WorldPay and Diners Club International for payment.
➛ Orders will typically be processed within 48 hours after verification.
➛ Promotional pricing is available for all our customers.

For further information pleasse contact sales[at]temok.com or Via Skype: temok.sales
]]>
Web Hosting Offers tk-hassan http://forums.devshed.com/web-hosting-offers-100/european-dedicated-servers-temok-low-price-location-france-979095.html
Cheap Joomla Web Hosting 10% OFF - Hostripples India! http://forums.devshed.com/web-hosting-offers/979094-cheap-joomla-web-hosting-10-hostripples-india-new-post.html Tue, 26 Sep 2017 06:25:25 GMT Joomla is a free and open-source content management system (CMS) that powers ~2.7% of web sites on the 'net. It's extendable with tons of free plugins and themes. With HostRipples, you can install Joomla with just a click through an automatic installer - QuickInstall. HostRipples offers 100% compatible Joomla Hosting for tens of thousands of sites already, and is the perfect match for your Joomla-based web site.

100% Compatible Joomla Hosting
• Install the latest version of Joomla
• Exceeds Joomla minimum system requirements
• Includes latest versions of Apache, MySQL, & PHP
• PHP runs as suPHP for increased Joomla security


SMART Plan - Rs 65/Month
Unlimited Web Space
Unlimited Monthly Bandwidth
1GB RAM
Unlimited FTP Accounts
15 Sub Domains
5 Parked Domains
Unlimited Email Accounts
24x7 Live Support

BUY NOW!

BUSINESS Plan - Rs 250/Month
Unlimited Web Space
Unlimited Monthly Bandwidth
3GB RAM
Unlimited FTP Accounts
50 Sub Domains
25 Parked Domains
Unlimited Email Accounts
24x7 Live Support

BUY NOW!

ENTERPRISE Plan - Rs 950/Month
Unlimited Web Space
Unlimited Monthly Bandwidth
5GB RAM
Unlimited FTP Accounts
Unlimited Sub Domains
Unlimited Parked Domains
Unlimited Email Accounts
24x7 Live Support

BUY NOW!


Why choose Hostripples?
Instant Setup
Easy usability
Value for money
Customizable VPS environment
Unmatched server performance
Free data migration

Visit:- Cheap Joomla Web Hosting

Coupon Code: JOM10OFF

It’s not that we are bragging about our services, our customers say it all!

Hurry up and get Hostripples – the one-stop solution for your Joomla web hosting requirements!

Hostripples - Affordable web hosting
Hostripples.in Rs. 35 Unlimited Hosting | Unlimited Bandwidth | Unlimited Space | Domain Name Registration

Connect with us: Facebook | Twitter | LinkedIn

Hostripples - Affordable web hosting
http://hostripples.in/
http://hostripples.com/
http://hostripples.co.uk/
https://myhostseo.com/
Hostripples.in Rs.35 Unlimited Hosting ]]>
Web Hosting Offers hi5s2arp http://forums.devshed.com/web-hosting-offers-100/cheap-joomla-web-hosting-10-hostripples-india-979094.html
How To Auto Type In Search Box And Click Search Button ? http://forums.devshed.com/php-development/979093-auto-type-search-box-click-search-button-new-post.html Mon, 25 Sep 2017 23:59:51 GMT Hi,

I want to build a cURL script that auto searches a keyword on any site's search feature.
In this example, imagine I want it to search ebay.com.
How should I code it ?
What is the code that:

1. Types a keyword in the search box;
2. Clicks the search button.

I need the appropriate function names to research on them.

I am stuck at this point:

Code:

$keywords = blah blah;
$url = "http://www.ebay.com";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "$url");
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_HEADER, 5);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$result = curl_exec($ch);
curl_close($ch);
echo "$result";

So, with my cURL, I have managed to load ebay.com homepage.
Now, I need to tell the cURL to:

A). Find the item (search box) that has the following name attribute or id attribute and type the $keywords value onto it.

name="_nkw";
id="gh-ac";


B). Find the item (search button) that has the following name attribute or id attribute attribute and click it.

id="gh-btn";
value="Search";


I would appreciate any code snippet additions to it by anyone.
I am not that much learned to deal with API. Therefore, need the basic code lines that tell cURL or php how to identify items and type in them or click them. General code.

Thank you very much for your help. ]]>
PHP Development UniqueIdeaMan http://forums.devshed.com/php-development-5/auto-type-search-box-click-search-button-979093.html
Secondary sorting an object http://forums.devshed.com/javascript-development/979092-secondary-sorting-object-new-post.html Mon, 25 Sep 2017 18:39:42 GMT Hi--

I'm trying to sort a list of films first by day, then by title and it works everywhere *except* Chrome.

I'll have something like this for data:
Code:

[{
  "filmtitle":"100 Years: One Woman's Fight for Justice",
  "sortabletitle":"100 Years",
  "filmyear":"2016",
  "filmshowtime":"2017-10-30 12:00:00"
  },
  "filmtitle":"Iron Maiden Flight 666",
  "sortabletitle":"Iron Maiden",
  "filmyear":"2017",
  "filmshowtime":"2017-10-30 12:00:00"
  },
  "filmtitle":"Futurama",
  "sortabletitle":"Futurama",
  "filmyear":"2017",
  "filmshowtime":"2017-10-29 12:00:00"
  },
...
]

I'm allowing my users to choose how they sort films. When they sort by title, "100 Years..." Should be first. When they sort by day, it should be Futurama, 100 Years, Iron Maiden.

Here's how I'm sorting:

Code:

cmp = function(x, y) {
                                return x > y ? 1 : x < y ? -1 : 0;
                        };
                       
                        filmdata.sort(function(a, b) {
                                //note the minus before -cmp, for descending order
                                return cmp(
                                [cmp(a.filmshowtime, b.filmshowtime), cmp(a.filmtitle, b.filmtitle)],
                                [cmp(b.filmshowtime, a.filmshowtime), cmp(b.filmtitle, a.filmtitle)]
                            );
                        });


As I said, this works everywhere except Chrome. Stupid IE even does this right. Any ideas?

Thank you! ]]>
JavaScript Development Frank Grimes http://forums.devshed.com/javascript-development-115/secondary-sorting-object-979092.html
Dedicated servers in Mongolia from $20/m Redundant Network 1000 Mb/s http://forums.devshed.com/web-hosting-offers/979091-dedicated-servers-mongolia-20-redundant-network-1000-mb-new-post.html Mon, 25 Sep 2017 13:53:20 GMT MaxiDed provided secure * dedicated servers in Mongolia* (https://maxided.com/dedicated-servers/mongolia) *Location:* Mongolia *Data center:* Mobinet DC AS9484 *About network:* Private Network - more freedom of content and speech *IP network:* 202.131.224.1 *Delivery time:* Unix/Linux-based OS – 12-72 hours. Windows-based OS – 1-72 hours. *Allowed:* adult, erotic, movies, doorways,... MaxiDed provided secure dedicated servers in Mongolia

Location: Mongolia
Data center: Mobinet DC AS9484
About network: Private Network - more freedom of content and speech
IP network: 202.131.224.1
Delivery time: Unix/Linux-based OS – 12-72 hours. Windows-based OS – 1-72 hours.
Allowed: adult, erotic, movies, doorways, dating, vpn, blogs

Best cheap deal:
Processor: instant+ Intel Xeon E5-2630v2 1x2.8GHZ KVM
RAM: 1 GB
Harddisk: 2x120 GB SSD Raid 10
IP: 1 IPv4 included
Bandwidth: Redundant Network 1000 Mb/s

Order Now 20 USD per month

Enter promo code: 55f44ddb2 5% Discount!

If you have any question, feel free to contact us: https://maxided.com/support

Thank you,
MaxiDed team

__________________
Our offer for datacenter and providers
Skype: maxided.com ]]>
Web Hosting Offers MaxiDed http://forums.devshed.com/web-hosting-offers-100/dedicated-servers-mongolia-20-redundant-network-1000-mb-979091.html
<![CDATA[BITCOIN VPS. USA/Netherlands/Ukraine. SSD VPS. WINDOWS VPS. [Extra IPv4, rent IP]]]> http://forums.devshed.com/web-hosting-offers/979090-bitcoin-vps-usa-netherlands-ukraine-ssd-vps-windows-vps-extra-ipv4-rent-ip-new-post.html Mon, 25 Sep 2017 11:04:40 GMT Our new tariffs for SSD VPS in the best data centers of Ukraine, Europe and USA are available:

Linux & FreeBSD only/ 1x Xeon 64bit/ 1 GB RAM/ 25 GB SSD 1 Gbit/s share / 2 TB - $6
VPS-2/ 1x Xeon 64bit/ 2 GB RAM/ 50 GB SSD/ 1 Gbit/s shared/ 2 TB - $11
VPS-3/ 1x Xeon 64bit/ 3 GB RAM/ 75 GB SSD/ 1 Gbit/s shared/ 2 TB - $16
VPS-4/ 1x Xeon 64bit/ 4 GB RAM/ 100 GB SSD/ 1 Gbit/s shared/2 TB - $21
VPS-6/ 2x Xeon 64bit/ 6 GB RAM/ 125 GB SSD/ 1 Gbit/s shared/ 2 TB - $29
VPS-8/ 2x Xeon 64bit/ 8 GB RAM/ 150 GB SSD/ 1 Gbit/s shared/ 2 TB - $37

You can also order HDD VPS in Ukraine or Netherlands:

STORAGE VPS 100GB/ 1x Xeon 64bit/ 1GB RAM/ 100 GB HDD/1 Gbit/s shared/ 2 TB - $10
STORAGE VPS 200GB/ 1x Xeon 64bit/ 2GB RAM/ 200 GB HDD/1 Gbit/s shared/ 2 TB - $15
STORAGE VPS 300GB/ 1x Xeon 64bit/ 3GB RAM/ 300 GB HDD/1 Gbit/s shared/ 2 TB - $20
STORAGE VPS 400GB/ 1x Xeon 64bit/ 4GB RAM/ 400 GB HDD/1 Gbit/s shared/ 2 TB - $25
STORAGE VPS 600GB/ 2x Xeon 64bit/ 6GB RAM/ 600 GB HDD/1 Gbit/s shared/ 2 TB - $35

Extra IPv4 are also available for 1 $!

Order VPS at our web-site: 301 Moved Permanently ]]>
Web Hosting Offers Deltahost http://forums.devshed.com/web-hosting-offers-100/bitcoin-vps-usa-netherlands-ukraine-ssd-vps-windows-vps-extra-ipv4-rent-ip-979090.html
How to run a sql file multiple times until control+C is pressed http://forums.devshed.com/oracle-development/979089-run-sql-file-multiple-times-control-pressed-new-post.html Mon, 25 Sep 2017 03:37:13 GMT generate output file, then it should ask for schema name again--> generate output.. It should continue until control...]]> Hi All,

I am having a sql file which will extract the synonym list based on user input. It will execute once and it will come out. IS it possible to run the sql multiple times based on user input until control +c is pressed.
[what I meant is user will input schema name first-->generate output file, then it should ask for schema name again--> generate output.. It should continue until control -c is pressed.]Appreciate your help on this. Below is the code.



Quote:

set echo off
set verify off
set feedback off
prompt This script allows you to build a SQL*Plus script file
prompt which will recreate all PUBLIC synonyms referencing
prompt objects in a specified schema.
prompt
prompt To abort execution, press ctrl-C.
prompt
accept SynRefsOwner char prompt 'Schema >'
set linesize 132
set pagesize 0
set termout off
set trimspool on
set trimout on

--Spool the output the file requested by the user.
--spool &SynScriptFileName
spool &SynRefsOwner._synonyms.sql

select 'create public synonym '
|| synonym_name
|| ' for '
|| table_owner || '.' || table_name
|| ';'
from dba_synonyms
where table_owner = upper('&SynRefsOwner')
and owner = 'PUBLIC'
UNION
select '--No public synonyms were found referencing the schema '''
|| upper('&SynRefsOwner')
|| '''.'
from dual
where not exists (
select *
from dba_synonyms
where table_owner = upper('&SynRefsOwner')
and owner = 'PUBLIC'
);

--Turn spooling off to close the file.
spool off

--Reset session settings back to their defaults.
set verify on
set feedback 6
set linesize 80
set termout on
set pagesize 24
set trimspool off
set trimout on
set echo on
Thanks ]]>
Oracle Development Mitu08 http://forums.devshed.com/oracle-development-96/run-sql-file-multiple-times-control-pressed-979089.html
SQL Server delete data with Linked Table ? http://forums.devshed.com/database-management/979088-sql-server-delete-data-linked-table-new-post.html Mon, 25 Sep 2017 02:23:27 GMT Suppose you have 3 tables: TABHDBH, TABHDBHCHUYEN and TABHDBHCT Table TABHDBH has the following fields: NGAY DateTime; IDHDBH int ... Table IDHDBHCT has the following fields: MAHDBH int ... Suppose you have 3 tables: TABHDBH, TABHDBHCHUYEN and TABHDBHCT
Table TABHDBH has the following fields:
NGAY DateTime;
IDHDBH int
...

Table IDHDBHCT has the following fields:
MAHDBH int
...

TABHDBHCHUYEN
NGAYCHUYEN datetime
MAHDBH int
...

RELATIONSHIP OF 3 TABLE
TABHDBHCHUYEN.MAHDBH head n
TABHDBH.IDHDBH head 1
TABHDBHCT.MAHDBH head n
Code:

DELETE T1
FROM TABHDBHCHUYEN T1
INNER JOIN TABHDBH T2 ON T1.MAHDBH = T2.IDHDBH INNER JOIN
          TABHDBHCT T3 ON T2.IDHDBH = T3.MAHDBH
WHERE (CONVERT(VARCHAR, NGAYCHUYEN, 101) <= '01/07/2017')

When running the query without error only delete the 1 record in TABHDBHCHUYEN and the records in the other 2 TABLE not delete record, you see help me wrong? Created a relational table for 3 tables to Delete Rule mode to Cascade but not delete. ]]>
Database Management dongtrien http://forums.devshed.com/database-management-46/sql-server-delete-data-linked-table-979088.html
sent message using wifi without internet connection http://forums.devshed.com/android-development/979087-sent-message-using-wifi-internet-connection-new-post.html Sun, 24 Sep 2017 14:14:15 GMT hello guy right now i try to develop a very simple app that can transfer message with other device. this app using same network to allow them to sent and receive message whatever they recognize them. this app still can transfer message using wifi as access point without internet connection. the app should be like this https://www.asus.com/zentalk/thread-25939-1-1.html the problem is i do... hello guy

right now i try to develop a very simple app that can transfer message with other device.
this app using same network to allow them to sent and receive message whatever they recognize them.
this app still can transfer message using wifi as access point without internet connection. the app should
be like this https://www.asus.com/zentalk/thread-25939-1-1.html
the problem is i do not know how to start it. if there is any good tutorials or website, feel free to share with
me.

thank you. ]]>
Android Development Zamri94 http://forums.devshed.com/android-development-165/sent-message-using-wifi-internet-connection-979087.html
Structured Programming Considered Harmful http://forums.devshed.com/programming-languages/979086-structured-programming-considered-harmful-new-post.html Sun, 24 Sep 2017 09:47:45 GMT Okay, the title of the thread is intentional clickbait; but relevant nonetheless.

While talking with a friend about industry-wide shifts in ideology and programming paradigms, I made a joke about combining all the ideas that were universally considered "bad" and pooling them into a single language that somehow managed to be "good". Among these was going back to goto-style programming. At first, it was laughable, but the more I thought about it, the more appealing it started to become. And here's why:

  • Most of the unstructured languages didn't have alphanumeric identifiers for labels; and much of the illegibility and tediousness can be attributed to jumping to line numbers. Adding alphanumeric labels can actually make the code easier to read and write. Some modern languages have even taken to allowing loop structures to be labeled.
  • Most of them also didn't have subroutines, which meant that you had to actively think hard about the organization of your code or you'd quickly end up with spaghetti code. Adding subroutines can eliminate most spaghetti code.
  • Not having structures doesn't mean there's no scope. It just means that everything declared inside of a subroutine is local to the subroutine; just like the function scoping in languages like Python and JavaScript.
  • All structural loops can be rewritten as anonymous functions, which is becoming increasingly common in newer functional languages.
  • Goto makes error handling much easier, because you can jump to a section that does cleanup without having to tinker with magic states.
  • Using goto can eliminate almost a dozen structural keywords from a language: break, continue, for(each), while, switch, case, default, try, catch, throw, and defer


Despite the title (intended to parody "Goto Considered Harmful"), I'm not asserting that structured programming is actually harmful or bad in any way. It's just a different style of programming which is much more prominent these days. I think that there's some value in taking another look at unstructured programming given that there are a lot of new concepts that just didn't exist back then. ]]>
Other Programming Languages Wajideus http://forums.devshed.com/programming-languages-139/structured-programming-considered-harmful-979086.html
Centering images http://forums.devshed.com/css-help/979084-centering-images-new-post.html Sat, 23 Sep 2017 07:57:12 GMT I'm using the following to center images on a page:
Code:

.center {
  position: fixed;
  top: 50%;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
}

But they are not quite centered. Or is my monitor f'd up?

I'd like to have some text directly below the "Faith and Vengeance" image but over the background cross image, and that is a problem to solve. But really, the centering thing is vexing me.

See here: https://botteronet.com/fandv/ ]]>
CSS Help Arty Zifferelli http://forums.devshed.com/css-help-116/centering-images-979084.html