Project / Support Center
Welcome, Guest. Please login or register. January 26, 2023, 11:29: 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

 on: August 31, 2022, 03:49: PM 
Started by admin - Last post by admin
SELECT marketing_email, COUNT(marketing_email) 
FROM Email_Marketing 
GROUP BY marketing_email 
HAVING COUNT(marketing_email) > 1;

This will count and display duplicate records and the individual totals for each duplicate

 on: January 26, 2022, 11:09: PM 
Started by admin - Last post by admin
if you have a field that show certain values multiple times yet you only want to know those values not all of the same values in the field then use the SELECT DISTINCT

lets say you have 10 records in a table have a column field - category and in that field 5 are RED and 5 are Blue values and you want a list of the type of values used then use the SELECT DISTINCT  to show you just the different values - Red or Blue in the category field and not list all the values

FROM models

is how you'd write the mysql

 on: October 19, 2021, 12:33: PM 
Started by admin - Last post by admin
Facebook like button

Step 1: Include the JavaScript SDK on your page once, ideally right after the opening body tag.

<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="" nonce="k2AeS07s"></script>

Step 2: Place this code wherever you want the plugin to appear on your page.

<div class="fb-like" data-href="" data-width="" data-layout="button" data-action="like" data-size="large" data-share="true"></div>

 on: August 25, 2021, 06:06: PM 
Started by admin - Last post by admin
put this in the the head section

          * If browser back button was used, flush cache
          * This ensures that user will always see an accurate, up-to-date view based on their state
         (function () {
            window.onpageshow = function(event) {
               if (event.persisted) {

Apple's own fix suggestion is to add an empty iframe on your page:

<iframe style="height:0px;width:0px;visibility:hidden" src="about:blank">
    this frame prevents back forward cache

 on: August 16, 2021, 02:12: PM 
Started by admin - Last post by admin
The log image url needs to be something of this nature: https://yourweb/picture.jpg 
If the file itself is not a .png .jpg or .gif then the logo image will not display properly.

Logo Image URL - Choose an image with a maximum size of 190 pixels wide by 60 pixels high. The image will appear at the top of the order summary. We recommend providing an image that's stored on a secure (https) server.

Header Image URL - Please specify an image that I
s a maximum size of 750 pixels wide by 90 pixels high. Larger images will be cut to this size. The image you choose will appear at the top left of the payment page. We recommend providing an image only if it is stored on a secure (https) server.

In the button coding add this line for logo or header display"

 <input type="hidden" name="image_url" value="" />

 on: August 11, 2021, 07:34: PM 
Started by admin - Last post by admin
Here, if you want to control it through HTML: do like below Option 1:

<meta http-equiv="expires" content="Sun, 01 Jan 2021 00:00:00 GMT"/>
<meta http-equiv="pragma" content="no-cache" />
And if you want to control it through PHP: do it like below Option 2:

header('Expires: Sun, 01 Jan 2021 00:00:00 GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', FALSE);
header('Pragma: no-cache');

AND Option 2 IS ALWAYS BETTER in order to avoid proxy based caching issue.

 on: August 05, 2021, 02:07: PM 
Started by admin - Last post by admin
<a href="#" title="delete" class="delete" onclick="return confirm('Are you sure you want to delete this item')">Delete [/url]

Add Bold to your button link

 on: July 09, 2021, 06:55: PM 
Started by admin - Last post by admin
Had this error using Pear Mail solved it by including E_STRICT in the error_reporting - so place this at the beginning of your page code (this actually stops several different levels of error messages from appearing on your page is errors occur:

error_reporting(E_ALL ^ (E_NOTICE | E_WARNING | E_DEPRECATED | E_STRICT));

Bold portion helps with header already sent errors by slowing things down when loading a page

 on: May 25, 2021, 08:33: PM 
Started by admin - Last post by admin
http://<?php echo $_SERVER['HTTP_HOST'];?><?php echo $_SERVER['REQUEST_URI'];?>

will produce

most likely an easier way to do this but this works too

 on: May 24, 2021, 08:12: PM 
Started by admin - Last post by admin
This is not a question but rather some insight on creating a button which you can edit on the fly without creating a new on Paypal for each item your selling.
A lot of people want to use a manual html/java code for buttons for that reason but cannot seem to find the info.
There is help on Paypal and Merchant Services and Web Development and after much searching and putting it all together I came up with a solution, an editable custom code of my own. Here is it explained below. I hope this helps some of you. For this example, I'm using a shopping cart button. With this code, Paypal automatically generates a standard shopping cart. You can use custom checkout pages or add your logo, banner, etc to the cart by setting it up in your account Profile. (this example is a fictional company)
<form target="paypal" action="" method="post">
<input type="hidden" name="business" value="">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="add" value="1">
<input type="hidden" name="item_name" value="blue table">
<input type="hidden" name="quantity" value="1">
<input type="hidden" name="amount" value="365.00">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="shopping_url" value="">
<input type="hidden" name="cancel_return" value="">
<input type="hidden" name="return" value="">
<input type="image" name="addtocart" border="0" src="" alt="add this item to your shopping cart">
It all breaks down like this:
Code calls up Paypal server with instructions:
<form target="paypal" action="" method="post" target="new">
This one tells Paypal who's getting paid (business variable). Instead of using your Paypal account email, it's better to use your merchant id number, located at the top of your Account Profile page under your name but you can use your email address and it will work to send the funds from the sale to your account:

<input type="hidden" name="business" value="">
This one tells PayPal that it's a shopping cart:
<input type="hidden" name="cmd" value="_cart">
This one instructs Paypal to add one (1) item to the shopping cart:
<input type="hidden" name="add" value="1">
This one gives the item description or title:
<input type="hidden" name="item_name" value="product name here">
This one tells Paypal that there is only 1 item and not to sell it again. For more than one item, adjust the "value."
<input type="hidden" name="quantity" value="1">
This one tells what price to charge the customer:
<input type="hidden" name="amount" value="395.00">
This one instructs how to charge shipping: (I offer free shipping so I use the "no_shipping" variable)
Value of "0" equals no shipping charges, customer address optional.
Value of "1" equals no shipping charges, do not collect customer address.
Value of "2" equals no shipping charges, customer address required.
<input type="hidden" name="no_shipping" value="2">
This one tells Paypal that the currency is United States Dollars:
<input type="hidden" name="currency_code" value="USD">
This one tells where to send the customer if they click "Continue Shopping" button in cart:
<input type="hidden" name="shopping_url" value="">
This one tells where to send the customer if they cancel their purchase or checkout:
<input type="hidden" name="cancel_return" value="">
This one tells where to send the customer after they complete their purchase and payment: It's a good idea to have a thank you or confirmation page that matches your site to bring the customer back to after checkout otherwise Paypal sends them to a Paypal page. I want them back on my site so I have a confirmation page set up.
<input type="hidden" name="return" value="">
This one tells where to find the "Add to Cart" or "Buy" button: (I'm using the Paypal small button here. To use your own button, simply change the image file address (src variable) to your location and image file)
<input type="image" name="addtocart" border="0" src="" alt="add this item to your shopping cart">

So now I have a working and workable button code which I can simply edit on the fly instead of creating new buttons on Paypal for each item.
If you need other code variables for different functions, you can find them here:
Each function will be listed as an input(<input). To use the code you only need to edit/change the "Value" variable in each code. In my code each input is "hidden." The only one to be displayed will be the image unless your using selection drop down menus or other "option"s such as size, color, etc. Those variables are found at the link above also.
It's just that easy. For other button or checkout features, refer to the link above. All the variables will work on all types of buttons (shopping cart, buy now, subscribe, donate, etc).
I hope this helps some of you. If you want, you can copy my code and edit it with your account id, items, prices, etc.

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!