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 Wed, 17 Jan 2018 08:17:42 GMT vBulletin 60 http://forums.devshed.com/images/misc/rss.png Dev Shed Forums http://forums.devshed.com/ <![CDATA[[MilesWeb] 50% OFF on Shared Hosting Starts @ $7.75/yr | Free SSL | END50 | Buy Now]]> http://forums.devshed.com/web-hosting-offers/979859-milesweb-50-shared-hosting-starts-7-75-yr-free-ssl-end50-buy-new-post.html Wed, 17 Jan 2018 06:42:46 GMT *MilesWeb* (https://www.milesweb.com) is a world-class hosting provider that provides web hosting solutions of all types. Our captivating web hosting platforms are fully capable of supporting you for managing your websites in a way that will save your time and money. We believe in offering nothing but the best when it comes to service and server performance. Get web hosting solutions that are... MilesWeb is a world-class hosting provider that provides web hosting solutions of all types. Our captivating web hosting platforms are fully capable of supporting you for managing your websites in a way that will save your time and money. We believe in offering nothing but the best when it comes to service and server performance. Get web hosting solutions that are simple, powerful and reliable.

Quote:

Save 50% OFF on your first invoice. Enter promo code END50 during checkout.
Below is the list of Cheap Web Hosting plans:

Lite Plan

  • Host 1 Website
  • 1GB SSD Space
  • 10 GB Bandwidth
  • Free SSL Certificate
  • cPanel + Softaculous
  • 1 SQL DB's
  • 2 Email Accounts

Discounted Price: $7.75/yr | Buy Now

Deluxe Plan

  • Host 3 Websites
  • 5 GB SSD Space
  • 50 GB Bandwidth
  • Free SSL Certificate
  • cPanel + Softaculous
  • 5 SQL DB's
  • 10 Email Accounts

Discounted Price: $30.75/yr | Buy Now

Ultimate Plan

  • Host 5 Websites
  • 10 GB SSD Space
  • 100 GB Bandwidth
  • Free SSL Certificate
  • cPanel + Softaculous
  • 10 SQL DB's
  • 20 Email Accounts

Discounted Price: $46.25/yr | Buy Now

Below is the list of Unlimited SSD Hosting plans:

Economy Plan

  • Host 1 Domain
  • 1GB SSD Space
  • Unlimited Bandwidth
  • Free SSL Certificate
  • cPanel + Softaculous
  • 3 SQL DB's
  • 10 Email Accounts
  • Discounted Price: $1.67/mo

Buy Now

Value Plan

  • Host 1 Domain
  • Free .COM/.IN domain
  • Unlimited SSD Space
  • Unlimited Bandwidth
  • Free SSL Certificate
  • cPanel + Softaculous
  • Unlimited SQL DB's
  • Spam Experts
  • Unlimited Email Accounts
  • Discounted Price: $2.8/mo

[20% OFF] : Discount Code :: VNEW | Buy Now

Unlimited Plan

  • Host Unlimited Domains
  • Free .COM/.IN domain
  • Unlimited SSD Space
  • Unlimited Bandwidth
  • Free SSL Certificate
  • cPanel + Softaculous
  • Unlimited SQL DB's
  • Spam Experts
  • Unlimited Email Accounts
  • Discounted Price: $4.2/mo

[30% OFF] : Discount Code :: UNEW | Buy Now

Quote:

The domain will be FREE till the time your web hosting account remains active.
For more details on Unlimited Web Hosting plans visit : https://www.milesweb.com/hosting/web-hosting

For more details on Cheap Web Hosting plans visit : https://www.milesweb.com/shared-hosting.php

Below is the list of Add-ons provided with plans:

SSL Certificate

  • Comodo Domain SSL - Monthly $1.65
  • Let's Encrypt SSL - Free

Daily Automated Backup : Annually $15

  • We maintain last 7 days backup of your website, email and database.

Dedicated IP Address : Monthly $2

  • Recommended for SEO,SSL and Email

Boost website speed with CDN : Monthly $10

HackAlert Monitoring : Annually $15

  • HackAlert is a monitoring service that checks your website daily and immediately notifies you if your website has been hacked or injected with malicious code.

Sitelock Basic : Annually $25

  • Get Total Website Security, protect your website with monthly malware scans and guard against hacker attacks, identity theft and other threats. Trust Seals and Daily Security Scanning of upto 25 pages. Exclusive registration price!

Datacenter Location:

  • India
  • UK
  • USA
  • Romania


Quote:

SpamExperts:The Best Solution Against Spam And Viruses For Your Organization! Protect unlimited mailboxes from spam emails for just
$3/mo

For Immediate Assistance, Contact Us : sales@milesweb.com or visit our website to initiate live chat. ]]>
Web Hosting Offers MilesWeb http://forums.devshed.com/web-hosting-offers-100/milesweb-50-shared-hosting-starts-7-75-yr-free-ssl-end50-buy-979859.html
Footer Headach http://forums.devshed.com/css-help/979858-footer-headach-new-post.html Wed, 17 Jan 2018 06:38:14 GMT
]]>
I would like to build a footer structure something like this:
Code:

<footer class="footer">
    <div class="A"></div>
    <div class=B"></div>
    <div class="C"></div>
    <div class="D"></div>
    <div class="E"></div>
</footer>

Where:

A) The footer expands to the full viewport whatever that may be (and contracts as well)
B) DIV A spans the full width as well (or can if what's in it is that wide)
C) DIV's B, C, and D are lined up in a row
D) DIV E is like DIV A
E) For "responsiveness", at a certain minimum width, I would use @media queries to reduce it all to a nice easy stack.

But it's the wide layout that has me perplexed. I can get three div's to line up, but the outer footer tag has to expand with them because it has the background.

Do I need another DIV to wrap around A though E for the overall background? Whatever holds the background has to get taller or shorter as content in B, C, and D expands and contracts.

I'm not sure where to go. It's making my head hurt.

See a sketch here => demo.png
Attached Images
]]>
CSS Help Arty Zifferelli http://forums.devshed.com/css-help-116/footer-headach-979858.html
Cheap Openvz VPS India 10% OFF - Hostripples ! http://forums.devshed.com/web-hosting-offers/979857-cheap-openvz-vps-india-10-hostripples-new-post.html Wed, 17 Jan 2018 06:13:51 GMT *Cheap Openvz VPS India 10% OFF - Hostripples ! * The VPS models are ideal for hosting professional production environments or critical applications. A hardware SLA is just one of the guarantees in place to provide you high availability and stable service right from the word go. *Openvz Linux VPS Plans* *OPENVZ LINUX PLAN 1 - $13/Month* Guaranteed RAM : 1 GB HDD : 50 GB Raid 10
Cheap Openvz VPS India 10% OFF - Hostripples !


The VPS models are ideal for hosting professional production environments or critical applications. A hardware SLA is just one of the guarantees in place to provide you high availability and stable service right from the word go.

Openvz Linux VPS Plans

OPENVZ LINUX PLAN 1 - $13/Month
Guaranteed RAM : 1 GB
HDD : 50 GB Raid 10
Bandwidth : 100 GB
CPU Cores : 2 vCores
Free Control Panel : YES
Root Access : YES
IPv4 : 1 IP

Buy Now!

OPENVZ LINUX PLAN 2 - $18/Month
Guaranteed RAM : 2 GB
HDD : 80 GB Raid 10
Bandwidth : 500 GB
CPU Cores : 4 vCores
Free Control Panel : YES
Root Access : YES
IPv4 : 1 IP

Buy Now!

OPENVZ LINUX PLAN 3 - $35/Month
Guaranteed RAM : 4 GB
HDD : 150 GB Raid 10
Bandwidth : 1000 GB
CPU Cores : 4 vCores
Free Control Panel : YES
Root Access : YES
IPv4 : 1 IP

Buy Now!

OPENVZ LINUX PLAN 4 - $45/Month
Guaranteed RAM : 6 GB
HDD : 200 GB Raid 10
Bandwidth : 1500 GB
CPU Cores : 6 vCores
Free Control Panel : YES
Root Access : YES
IPv4 : 1 IP

Buy Now!

OPENVZ LINUX PLAN 5 - $55/Month
Guaranteed RAM : 8 GB
HDD : 300 GB Raid 10
Bandwidth : 2000 GB
CPU Cores : 8 vCores
Free Control Panel : YES
Root Access : YES
IPv4 : 1 IP

Buy Now!

OPENVZ LINUX PLAN 6 - $55/Month
Guaranteed RAM : 16 GB
HDD : 500 GB Raid 10
Bandwidth : 3000 GB
CPU Cores : 10 vCores
Free Control Panel : YES
Root Access : YES
IPv4 : 1 IP

Buy Now!

Visit:- Cheap Openvz VPS India

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 web hosting requirements!

Hostripples - Affordable web hosting
Hostripples.com Cheap Hosting | Unlimited Bandwidth | Unlimited Space | Domain Name Registration

Connect with us: Facebook | Twitter | LinkedIn

Hostripples - Affordable web hosting
http://hostripples.com/
http://hostripples.in/
http://hostripples.co.uk/
https://myhostseo.com/
Hostripples.com $1 Unlimited Hosting | $2 Unlimited Windows Hosting | Unlimited Bandwidth | Unlimited Space | Domain Name Registration ]]>
Web Hosting Offers hi5s2arp http://forums.devshed.com/web-hosting-offers-100/cheap-openvz-vps-india-10-hostripples-979857.html
Auto-increment functionality http://forums.devshed.com/php-development/979856-auto-increment-functionality-new-post.html Wed, 17 Jan 2018 05:47:00 GMT delete()){]]> I have been struggling to find out a way to reset the auto increment value in Laravel 4 but it seems that this functionality is not embedded in laravel 4 at least for now. so I did it this way:

PHP Code:

$user User::find($user_id);

                if (
$user)  {
                    if (
$user->delete()){

                    
DB::statement('ALTER TABLE users AUTO_INCREMENT = '.(count(User::all())+1).';');

                    echo 
json_encode('User Was Deleted Successfully..');
                    }   
            } 

each time I delete a user from the database I set the auto increment pointer to the number of all users +1.

if anybody has a better solution inform me, please... ]]>
PHP Development sophie334 http://forums.devshed.com/php-development-5/auto-increment-functionality-979856.html
New cheap and high-performance SSD VPS plans from invpsus.com http://forums.devshed.com/web-hosting-offers/979855-cheap-performance-ssd-vps-plans-invpsus-com-new-post.html Tue, 16 Jan 2018 22:39:21 GMT **Invpsus.com** is introducing it’s updated *Pure SSD VPS* packages with advanced features. Our VPS servers are really big, fast and powerful, but one of cheapest in the industry at the same time. There are different plans for everyone, you may choose the pricing that fits your business needs - it includes both monthly and hourly prices. We are using *KVM virtualization*. Your RAM and Disk... Invpsus.com is introducing it’s updated Pure SSD VPS packages with advanced features. Our VPS servers are really big, fast and powerful, but one of cheapest in the industry at the same time. There are different plans for everyone, you may choose the pricing that fits your business needs - it includes both monthly and hourly prices.

We are using KVM virtualization. Your RAM and Disk allotments are dedicated and guaranteed.

Our all VPS plans include the following features:

• Free instant setup
• KVM Virtualization
• Pure SSD storage
• Full Root Access
• Outstanding Support 24/7
• Best control panels
• Free backups
• Free migration assistance


VPS-1 - $3/month, $0.004/hour
512 MB RAM
1 vCPU
15 GB SSD Storage
1 IP
3 TB Bandwidth


VPS-2 - $5/month, $0.006/hour
1 GB RAM
2 vCPU
25 GB SSD Storage
1 IP
3 TB Bandwidth


VPS-3 - $10/month, $0.013/hour
2 GB RAM
4 vCPU
50 GB SSD Storage
1 IP
4 TB Bandwidth


VPS-4 - $15/month, $0.020/hour
3 GB RAM
4 vCPU
75 GB SSD Storage
1 IP
5 TB Bandwidth


VPS-5 - $20/month, $0.027/hour
4 GB RAM
4 vCPU
100 GB SSD Storage
1 IP
6 TB Bandwidth

We aim to use only top-notch hardware resources for the best performance of your websites, that’s why your VPS will be hosted on powerful Eight Core enterprise-grade Quanta servers in Netherlands DC.

To know more about our company please visit our website https://invpsus.com/

If you have a question please contact us via https://invpsus.com/billing/contact.php or via an email support@invpsus.com ]]>
Web Hosting Offers invpsus http://forums.devshed.com/web-hosting-offers-100/cheap-performance-ssd-vps-plans-invpsus-com-979855.html
Calling Php script with return function http://forums.devshed.com/php-development/979854-calling-php-script-return-function-new-post.html Tue, 16 Jan 2018 20:51:15 GMT Good evening

I was wondering if someone can help me in a question: can I call a php script - via post or get - and:

1) either retrieve from the response pure html AND (at the same time) php variables which I can use next - right after the call

2) or execute a function within the response - if it's in the php form?...

The remote script gives back html code with several information.
What I need is to reuse that info within the php or run a function contained within.

Is any of these solutions possible?

Kind regards

JKepler ]]>
PHP Development johannes.kepler http://forums.devshed.com/php-development-5/calling-php-script-return-function-979854.html
<![CDATA[⚡Energized VPS | WARM UP WITH OUR HOT PRICES | 30% OFF RECURRING | KVM VPS⚡]]> http://forums.devshed.com/web-hosting-offers/979853-energized-vps-warm-hot-prices-30-recurring-kvm-vps-new-post.html Tue, 16 Jan 2018 20:25:06 GMT USE COUPON CODE VPS30OFF FOR 30% OFF RECURRING VPS HOSTING

Why choose Energized I.T.?

Dedicated Customer Support
Our customer support is outstanding in our field. We stand behind our services and won't let you down.

Realistic Prices & Specs
We specialize in small business hosting, which lets us create the right package to suit your needs.


Free Website Migrations
Are you considering moving your active website to our company? Our support team is available to assist you with your move!


UNMANAGED KVM VPS

Full Root Access & UNManaged

VPS - S1
* 512 MB RAM
* 10 GB Disk Space
* 1000 GB Data Transfer
Monthly: $5.95 NOW! $4.16
Order:
VPS - S1 Package - Cpanel



VPS - S2
* 1 GB RAM
* 35 GB Disk Space
* 2000 GB Data Transfer
Monthly: $9.95 NOW! $6.96
Order:
VPS - S2 Package - Cpanel



VPS - S3
* 2 GB RAM
* 50 GB Disk Space
* 3000 GB Data Transfer
Monthly: $16.95 NOW! $11.86
Order:
VPS - S3 Package - Cpanel



VPS - S4
* 4 GB RAM
* 75 GB Disk Space
* 5000 GB Data Transfer
Monthly: $27.95 NOW! $19.56
Order:
VPS - S4 Package - Cpanel



=============

FULLY MANAGED KVM VPS

All Fully Managed VPS plans include:
» FREE cPanel License
» 4 CPUs @ 3.40GHz
» Initial Server Hardening
» 1 x IPv4 Addresses
» Full Root Access & Fully Managed
» CentOS

Thank you for taking some of your time to review our VPS Hosting offerings.


Full Root Access & Fully Managed

VPS - Personal
* 2 GB RAM
* 60 GB Disk Space
* 2000 GB Data Transfer
Monthly: $45 NOW! $31.50
Order:
VPS - Personal Package - Cpanel



VPS - Business
* 3 GB RAM
* 100 GB Disk Space
* 3000 GB Data Transfer
Monthly: $60 NOW! $42
Order:
VPS - Business Package - Cpanel



VPS - Advanced
* 4 GB RAM
* 150 GB Disk Space
* 4000 GB Data Transfer
Monthly: $75 NOW! $52.50
Order:
VPS - Advanced Package - Cpanel


==========

We accept
Credit Card
PayPal ]]>
Web Hosting Offers energizedit http://forums.devshed.com/web-hosting-offers-100/energized-vps-warm-hot-prices-30-recurring-kvm-vps-979853.html
Why cURL Fails To fetch Page ? http://forums.devshed.com/php-development/979852-curl-fails-fetch-page-new-post.html Tue, 16 Jan 2018 19:05:32 GMT Folks,

Why is cURL failing to fetch the page ? All this time it worked.
Echoes "Page fetching problem!"

PHP Code:

<?php 

//Required PHP Files.
include 'config.php';
include 
'header.php';

//1). Set Banned Words.
$banned_words = array("asshole""nut""bull****");

$url "http://devshed.com";
// 2). $curl is going to be data type curl resource.
$curl curl_init();

// 3). Set cURL options.
curl_setopt($curlCURLOPT_URL"$url");
curl_setopt($curlCURLOPT_SSL_VERIFYPEERfalse);
curl_setopt($curlCURLOPT_RETURNTRANSFERtrue);

// 4). Run cURL (execute http request).
$result curl_exec($curl);

if (
curl_errno($curl))
{
    echo 
'Error:' curl_error($curl);
}

$response curl_getinfo$curl );

//If page is fetched then replace banned words found on page.
if($response['http_code'] == '200' )
{   
    
$regex '/\b';
    
$regex .= implode('\b|\b'$banned_words);
    
$regex .= '\b/i';
    
$substitute 'BANNED WORD REPLACED';
    
$clean_result preg_replace($regex$substitute$result);
    
//Present the banned words filtered webpage.
    
echo $clean_result;
}
else
{
    
//Show error if page fetching failed.
    
echo "Page fetching problem!";
    exit();
}


?>

]]>
PHP Development UniqueIdeaMan http://forums.devshed.com/php-development-5/curl-fails-fetch-page-979852.html
High Speed Virtual Servers at Low Price with Excellent Features | 24/7 Expert Support http://forums.devshed.com/web-hosting-offers/979851-speed-virtual-servers-low-price-excellent-features-24-7-expert-support-new-post.html Tue, 16 Jan 2018 16:21:08 GMT *Rankfirsthosting.com* has surpassed all its SEO hosting rivals with an exceptional variety of SEO hosting deals and hosting servers. With our virtual server you get 100% control and take advantage of a custom-made hosting setting which fits best to your individual precise demands. Our virtual servers are powerful and economical. Advanced hardware, full root access and affordability makes our... Rankfirsthosting.com has surpassed all its SEO hosting rivals with an exceptional variety of SEO hosting deals and hosting servers. With our virtual server you get 100% control and take advantage of a custom-made hosting setting which fits best to your individual precise demands. Our virtual servers are powerful and economical. Advanced hardware, full root access and affordability makes our virtual server an ideal pick for ever-growing businesses.

OUR VIRTUAL SERVER DEAL 1
Memory: 1GB
Disk Space: 50GB
Bandwidth: 1000GB
Number of IPs: 5
Monthly Price: $50
ORDER DEAL 1 NOW

OUR VIRTUAL SERVER DEAL 2
Memory: 2GB
Disk Space: 100GB
Bandwidth: 2000GB
Number of IPs: 10
Monthly Price: $75
ORDER DEAL 2 NOW

OUR VIRTUAL SERVER DEAL 3
Memory: 3GB
Disk Space: 150GB
Bandwidth: 3000GB
Number of IPs: 15
Monthly Price: $100
ORDER DEAL 3 NOW

OUR VIRTUAL SERVER DEAL 4
Memory: 4GB
Disk Space: 200GB
Bandwidth: 4000GB
Number of IPs: 20
Monthly Price: $125
ORDER DEAL 4 NOW

OUR VIRTUAL SERVER DEAL 5
Memory: 5GB
Disk Space: 250GB
Bandwidth: 5000GB
Number of IPs: 30
Monthly Price: $150
ORDER DEAL 5 NOW

↯ OUR FEATURES ↯
Full root access
Instant setup
99.99% uptime
Completely customized hosting environment
Dedicated Ips
With / Without cPanels
Free migration assistance
Affordable price
State-of-the-art Hardware
Added security
24/7/365 expert support

Website: www.rankfirsthosting.com
Email: support(at)rankfirsthosting.com
Phone: +1 718 414 6543 ]]>
Web Hosting Offers rf-harris http://forums.devshed.com/web-hosting-offers-100/speed-virtual-servers-low-price-excellent-features-24-7-expert-support-979851.html
Search for previous file in data format yyymmdd http://forums.devshed.com/java-help/979850-search-previous-file-data-format-yyymmdd-new-post.html Tue, 16 Jan 2018 14:47:39 GMT Hi I have a directory where log txt files are logged. Each log file has the following title date format 20180114.log, which is yyymmdd. I want to search for data in the preceding file (date) so if the current date file is 20180114.log, I want to search the previous day 20180113.log, and then output the data i search for in anther text file. How do I achieve this in java? any code... Hi

I have a directory where log txt files are logged. Each log file has the following title date format 20180114.log, which is yyymmdd.

I want to search for data in the preceding file (date) so if the current date file is 20180114.log, I want to search the previous day 20180113.log, and then output the data i search for in anther text file.


How do I achieve this in java? any code examples I can follow?

I made a start by displaying the list of the files in the directory but could do with some help to achieve the above

public static void main(String[] args) {
File currentDir = new File("\\\\directory Path"); // current directory
displayDirectoryContents(currentDir);
}

public static void displayDirectoryContents(File dir) {
try {
File[] files = dir.listFiles();
for (File file : files) {

System.out.println(" file:" + file.getCanonicalPath());
}

} catch (IOException e) {
e.printStackTrace();
}
}


thanks in advance ]]>
Java Help hm9 http://forums.devshed.com/java-help-9/search-previous-file-data-format-yyymmdd-979850.html
<![CDATA[Regex To Extract Content Visible To Webpage Visitor's Browser]]> http://forums.devshed.com/regex-programming/979849-regex-extract-content-visible-webpage-visitors-browser-new-post.html Tue, 16 Jan 2018 13:55:39 GMT & tags as including that in the filter would render the data extraction useless:...]]> Php Folks,

What is the regex to extract the content of a webpage that is visible to the user in his browser no matter what is visible to the web crawler (searchengine spider or bot)?
That means, it should ignore the following and not extract these tags or any data inbetween these tags excluding the <body> & </body> tags as including that in the filter would render the data extraction useless:

title
title tags
meta keywords
meta keywords tags
meta descriptions
meta descriptions tags
html tags
dhtml tags
xml tags
javascript tags,
etc. tags.

If you know of php functions, other than regex that do what I want, then say so by writing: OFF TOPIC.

Thanks for your help! ]]>
Regex Programming UniqueIdeaMan http://forums.devshed.com/regex-programming-147/regex-extract-content-visible-webpage-visitors-browser-979849.html
What Is The Regex To Deal With Html Tags ? http://forums.devshed.com/regex-programming/979848-regex-deal-html-tags-new-post.html Tue, 16 Jan 2018 13:46:12 GMT Php Folks, What is the regex to extract the title, meta keywords, meta descriptions and the content text (without all the tags such as html tags, dhtml tags, xml tags, javascript tags, etc.) ? I actually, prefer one regex to extract title, another to extract meta keywords, another to extract meta descriptions and finally another to extract the content text. That way, I can make use of... Php Folks,


What is the regex to extract the title, meta keywords, meta descriptions and the content text (without all the tags such as html tags, dhtml tags, xml tags, javascript tags, etc.) ?

I actually, prefer one regex to extract title, another to extract meta keywords, another to extract meta descriptions and finally another to extract the content text.

That way, I can make use of each separately when I don't want to extract all (title, description, etc.).



If you know of php functions, other than regex that do what I want, then say so by writing: OFF TOPIC.

Thanks for your help! ]]>
Regex Programming UniqueIdeaMan http://forums.devshed.com/regex-programming-147/regex-deal-html-tags-979848.html
Regex To Exract Text Inbetween 2 Selected Points http://forums.devshed.com/regex-programming/979847-regex-exract-text-inbetween-2-selected-new-post.html Tue, 16 Jan 2018 13:30:03 GMT Article]]> RegExp Exps (Regular Expression Experts), ;)


What is the regex to extract your desired text inbetween 2 tags such as the opening html tag and the closing.
Should work for other tags too such as javascript, xml, dhtml, css, etc.

Imagine that, I'm on a webpage that looks like this in the source code:

<html>
<head><title>Article</title></head>

<body>
Regex is too complicated to learn!<br>
Why on earth could not the inventors build it simpler so it is easier to learn ?<br>
Oh boy, oh boy!<br>
</body>
</html>

Now imagine, I want to extract the text inbetween the <title< and </title>.
and likewise extract inbetween <body> and </body>.
Now, what is the regex to do that ?
Ok, there maybe regex to extract the title and another to extract the meta keywords and another to extract the meta descriptions and so on from a page.
But, I ain't interested in the specific regex. I just need to learn the general one that is capable of extracting text inbetween 2 points. In the regex, I should point out (1st param) what the starting point is. And, point out (in the 2nd param) what the ending point is.
And, in this thread, I ain't interested in extracting text inbetween tags either. I'm actually interested in extracting text from inbetween 2 points whether the starting point is some tag (html, javascript, etc.) or mere simple text.
Another example ....

My name is Bert. What is your's ?. What ! You don't have a name ? You mus be kidding ?
Imagine in this example, the starting point is the 2nd "is" and the ending point is the 2nd "?".
And so, the regex should allow me to pick the starting and ending point and any offsets.

If there is a php function that does this then you can mention this too. But, mention it under "OFF TOPIC". ]]>
Regex Programming UniqueIdeaMan http://forums.devshed.com/regex-programming-147/regex-exract-text-inbetween-2-selected-979847.html
$1 Web Hosting - Dollar1hosts.com! http://forums.devshed.com/web-hosting-offers/979846-1-web-hosting-dollar1hosts-com-new-post.html Tue, 16 Jan 2018 11:12:02 GMT * Dollar1hosts.com have been successfully providing a range of services aimed at world wide web since last 4 years. These products/services includes shared hosting, domain registration, wordpress hosting, reseller hosting, windows shared/reseller hosting, cheap vps hosting, low cost dedicated servers, SSL certs, dedicated ips and much more. One of our personal beliefs is that passion is...
Dollar1hosts.com have been successfully providing a range of services aimed at world wide web since last 4 years. These products/services includes shared hosting, domain registration, wordpress hosting, reseller hosting, windows shared/reseller hosting, cheap vps hosting, low cost dedicated servers, SSL certs, dedicated ips and much more. One of our personal beliefs is that passion is everything, that's why we only provide products/services that we're very passionate about and have a lot of experience in. Our quality services, passion and focus on a high level of support has led to an array or 301 Moved Permanently & continuous grow month after month, so visit today and try our hugely demanded quality services. Fast !

Key Features :

– Half Dollar Hosting
– Unlimited Space
– Unlimited Bandwidth
– Easy Billing Cycles
– Cheaper Reseller hosting Plans
– Easy Upgrade Facility
– Free Migration Services
– Ideal plans for wordpress Hosting
– Ideal plans for third party scripts or apps
– Multiple GEO Locations
– SEO Tools for search engine submissions
– 24Χ7 Live Chat Support
- Free Migration Service-Half
- Fixed Pricing for Lifetime
- No Hidden Fees
- Unconditional Money Back Guarantee.
- Cheaper Dedicated Servers
- Low Cost Dedicated Servers
- Life Time Fixed Pricing
- Fast Issue Resolution
- Priority Based Customer Support
- Best $1 Unlimited Hosting
- Paypal As an Payment Gateway
- Free Auto SSL


https://www.dollar1hosts.com/ - web hosting, hosting, web hosting, linux shared hosting, half dollar hosting, one dollar hosting, $1 hosting, $1 web hosting, $1 unlimited hosting, reliable web hosting, affordable web hosting, latest php hosting, free ssl hosting, money back hosting, cheap dedicated servers, low cost dedicated serfvers, priority hosting support, 24x7 support, best support hosting, dollar1hosts, dollar1host, dollar 1 host, dollar host, 1 dollar host, 1 dollar hosting, 1 dollar web, web hosting $1, cheap hosting solutions, cheap vps hosting, cheap ssl cert, free dedicated hosting, free domain hosting.

HURRY UP.

————
Dollar1hosts.com
Sales/Support Team
]]>
Web Hosting Offers karryjones http://forums.devshed.com/web-hosting-offers-100/1-web-hosting-dollar1hosts-com-979846.html
<![CDATA[[Python 3] Prompt Saver/Loader, help needed!]]> http://forums.devshed.com/python-programming/979845-python-3-prompt-saver-loader-help-new-post.html Tue, 16 Jan 2018 10:52:59 GMT Hey Python Programmers... How can i create an command prompt in python 3, thad my users can start an project to give it an name as example this: Code: --------- # JCads Prompter - By Jamie van Cadsand: Hey Python Programmers...

How can i create an command prompt in python 3, thad my users can start an project
to give it an name as example this:

Code:

# JCads Prompter - By Jamie van Cadsand:

prompt_projectGet = str(input("Choose 'New' or 'Load': "))
prompt_projectName = str(input("Project Name: "))
prompt_projectStart = str(input("Choose bewteen '+', '-' or 'x'...: "))

if(prompt_projectGet = 'New'):
    prompt_projectGet = 'New'
    pStart():
elif(prompt_projectGet = 'Load'):
    # Load your project from the foldername with the given project name...
else:
    print("Error: We don't support other chooses... quit JCads Prompter....")
    quit()



def pStart():
    if(prompt_projectStart == '+'):
        prompt_projectStart = '+'
        startCalculatePlus()
    ....



I know how i can working with if startuments....... but now the problem...

- How can i create an prompt loader or saver like this and the code above ?...:
Code:

prompt_projectSave = str(input("Do you want save our project ?... 'Yes' or 'No': "))

if(prompt_projectSave == 'Yes'):
    prompt_projectSave = 'Yes'
    # Save your project... with the at begin gived project name
elif(promot_projectSave == 'No'):
    # Further with your project...
else:
    print("Error: we don't support this!... quit JCads Prompter")
    quit()




I get help needed to understand how i can create an easy project saver and loader
for an prompt, writted in the current version of python 3.......

Can anyone help me with my wish ?... to give an code so simple as possible ?...

Thanks for help, Jamie. ]]>
Python Programming JamieVanCadsand http://forums.devshed.com/python-programming-11/python-3-prompt-saver-loader-help-979845.html