Project / Support Center
Welcome, Guest. Please login or register. February 28, 2021, 05:20: PM
Home Help Search Login Register
D-Web Web Site Creator D - Web Web Site Creator On-line HTML Editor No Programming knowledge required. Web Global Net PayPal-Cart Shopping Cart System PayPal - Kart Shopping Cart System for E-Commerce over the internet, that's easy to use. Web Global Net Newsletter Manager Newsletter Manager On-line Newsletter Creator with Email Subscriber Management.
Ring Central Discount
Web Global Net Web Application & Web Development Project Center  |  Recent Posts
Pages: [1] 2 3 4 5 6 ... 10

 1 
 on: February 20, 2021, 04:05: PM 
Started by admin - Last post by admin
Spent about an hour looking for this answer, all the solutions we found required a JavaScript solution. But it doesn't, just add the red code to your <li> tag

Couldn't believe how simple this was to do.

<li  class="tab-btn" onclick="location.href='template.php?acct_id=<?php echo $_GET['acct_id']; ?>';">Social Media</li>


<a class="btn btn-success" href="https://www.google.com" target="_blank">Google[/url]

And use target="_blank" to open the link in a new tab.

 2 
 on: January 20, 2021, 07:00: PM 
Started by admin - Last post by admin
This won't change columns or row settings but its the first thing I've found that quickly handles scaling of a table in a responsive manner. Not meant for big tables either.

"<table width="90%" border="0" class="table_text">"

.table_text { font-size: 12px; }

@media screen and (min-width: 480px) {
  .table_text { font-size: 9px; }
}
@media screen and (min-width: 640px) {
  .table_text { font-size: 12px; }
}
@media screen and (min-width: 1024px) {
  .table_text { font-size: 14px; }
}

 3 
 on: December 30, 2020, 08:15: PM 
Started by admin - Last post by admin

Image:

<button onclick="window.print()"><img src="assets/icons/print_button.png" alt="Print Quote" width="100"></button>

Text:

<button onclick="window.print()">Print</button>

 4 
 on: December 02, 2020, 08:47: PM 
Started by admin - Last post by admin
This is universal the scale can be changed to affect the size of the box itself - other css control may or may not work test them yourself to see what will work.

input[type=checkbox] {
   transform: scale(1.375);
   margin-left: 5px;
   margin-right: 10px;
   margin-bottom: 10px;
   
}

 5 
 on: November 24, 2020, 08:48: PM 
Started by admin - Last post by admin
my server was 5 hours ahead and I needed to store the fixed local time ( meaning no other time zones would be needed)

<?php $hour= date('g'); ?>

<?php $time= $hour-5 ?>

Bold is the hour - $time takes the hour and subtracts 5 hours - change this to what ever you need to to match your correct time.

this is the value used in a text field

 value="<?php echo date('F') ?> <?php echo date('d') ?> <?php echo date('Y') ?>  - <?php echo $time ?>:<?php echo date('i') ?> <?php echo date('a') ?>"


This will insert into a text field in this format (we use this to show when someone last updated a record).

November 24, 2020 - 3:24 pm

 6 
 on: October 21, 2020, 07:31: PM 
Started by admin - Last post by admin
http://www.nux.ro/oldblog/archive/2012/10/Instant_image_gallery_with_Apache_s_mod_autoindex_and_fancybox.html

This will show a Lightbox pop up window for a ll photos or video listed in a apache server directory

 7 
 on: September 21, 2020, 11:20: PM 
Started by admin - Last post by admin
When you use it as a dynamic variable it will be entered into your script or email as {SERVER.HTTP_HOST}

$_SERVER['REQUEST_URI']
It returns the URL in to access the page which is executing the script.
If you need to type http://www.example.com/product.php?id=5 to access the page then $_SERVER['REQUEST_URI'] returns /product.php?id=5″.

$_SERVER['DOCUMENT_ROOT']
Returns the root directory of the server which is specified in the configuration file of server.
This variable usually returns the path like /usr/yoursite/www in Linux and D:/xamps/xampp/htdocs in windows.

$_SERVER['HTTP_HOST']
Returns the host’s name as found in the http header.
This variable usually returns the path like example.com when you find http://example.com in browsers address-bar and return www.example.com when you see http://www.example.com in the address bar.

This is quite useful when you've to preserve session while making an online payment using PHP since session stored for http://example.com is not same as for the http://www.example.com.

$_SERVER['HTTP_USER_AGENT']
Returns the user agents (browser) detail accessing the web page.
We can use strpos($_SERVER["HTTP_USER_AGENT"],MSIE) to detect Microsoft Internet explorer or you can use strpos($_SERVER["HTTP_USER_AGENT"], Firefox) to detect firefox browser in PHP.

$_SERVER['PHP_SELF']
Returns the file-name of the currently executing script.
Let’s suppose that you’re accessing the URL http://www.example.com/product.php?id=5 then $_SERVER['PHP_SELF'] returns /product.php in your script.

$_SERVER['QUERY_STRING']
Returns the query string if query string is used to access the script currently executing.
Query strings are those string which is available after the ? sign. If you use $_SERVER['QUERY_STRING'] in the script executing the following URL http://www.example.com/index.php?id=5&page=product then it returns id=5&page=product in your script.

$_SERVER['REMOTE_ADDR']
Returns the IP address of remote machine accessing the current page.
But you can’t relie on $_SERVER['REMOTE_ADDR'] to get the real IP address of client’s machine.

$_SERVER['SCRIPT_FILENAME']
Returns the absolute path of the file which is currently executing.
It returns path like var/example.com/www/product.php in Linux and path like D:/xampp/xampp/htdocs/test/example.php in windows.

 8 
 on: August 17, 2020, 09:57: PM 
Started by admin - Last post by admin
 <script type=”application/ld+json”>
{
“@context”: “http://schema.org/”,
“@type”: “Review”,
“itemReviewed”: {
“@type”: “Thing”,
“name”: “name of service”
},
“author”: {
“@type”: “Person”,
“name”: “ group or oganization ”,
"reviewBody": "actual review "
},
   "date": "May 2, 2019",
“reviewRating”: {
“@type”: “Rating”,
“ratingValue”: "9.5 ",
“bestRating”: “10”,
 "worstRating": 1
},
"offers":
{
    "@type": "Offer",
    "name": "what are you offering",
    "url": "link to web page with offer",
    "price": "0.00",
    "priceCurrency": "USD"
  },
“publisher”: {
“@type”: “Organization”,
“name”: “group name”
}
}
</script>

 9 
 on: August 10, 2020, 04:54: PM 
Started by admin - Last post by admin
Here is some sample code illustrating how this might be used for a service provider with a local service to provide that we can be introduced on a page without structure data, or appended to a page with existing schema.org structured data:


<script type="application/ld+json">   
           {
   "@context": "http://schema.org",
   "@type": "Service",
   "serviceType": "{Insert Service Here}",
   "provider": {
      "@type": "Organization",
      "name": "{Insert Org Name Here}",
      "@id": "{Insert Org URL Here}"
   },

   "description": "{Insert Description Here}",
        "potentialAction": {
                "@type": "Continue the Conversation",
                "name": "Continue the Conversation"
   "serviceOutput": {
      "@type": "{Insert Output Here}",
      "name": "{Insert Output Here}",
      "@id": "{Insert Defining URL Here}"
   },

        "url": "{Insert URL Here}",
        "@id": "{Insert URL Here}"
}

</script>

 10 
 on: July 16, 2020, 01:55: PM 
Started by admin - Last post by admin
The following rule must be added to the website .htaccess file

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Pages: [1] 2 3 4 5 6 ... 10
Web Global Net Web Application & Web Development Project Center  |  Recent Posts


Login with username, password and session length
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!