Project / Support Center
Welcome, Guest. Please login or register. July 28, 2021, 06:40: 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: 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:

<?php
ob_start();
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

 2 
 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

http://yourdomain.com/thepage.php?acct=5

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

 3 
 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="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="business" value="sales@paypalemailaddress.com">
<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="http://www.yourdomain.com/product.html">
<input type="hidden" name="cancel_return" value="http://www.yourdomain.com/index.html">
<input type="hidden" name="return" value="http://www.yourdomain.com/thankyou.html">
<input type="image" name="addtocart" border="0" src="https://www.paypal.com/en_US/i/btn/btn_cart_SM.gif" alt="add this item to your shopping cart">
</form>
 
It all breaks down like this:
 
Code calls up Paypal server with instructions:
 
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" 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="sales@yourdomain.com">
 
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="http://www.yourdomain.com/product.html?product_id=5">
 
This one tells where to send the customer if they cancel their purchase or checkout:
<input type="hidden" name="cancel_return" value="http://www.yourdomain.com/index.html">
 
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="http://www.yourdomain.com/thankyou.html">
 
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="https://www.paypal.com/en_US/i/btn/btn_cart_SM.gif" alt="add this item to your shopping cart">

</form>
 
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:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_Appx_websit...
 
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.

 4 
 on: April 12, 2021, 06:04: PM 
Started by admin - Last post by admin
good place to get coding for symbols and things

https://www.toptal.com/designers/htmlarrows/

 5 
 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.

 6 
 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; }
}

 7 
 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>

 8 
 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;
   
}

 9 
 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

 10 
 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

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!