codekarate
Overriding Ubercart Checkout page
Ever needed to override the Ubercart checkout page? Here is a quick tutorial on how to do it.
The first option is to use a form_alter() function from within a module, however in this tutorial we are going to discuss two theming options that can be used together if necessary.
The first is to change the actual contents of the checkout page. We need to override the THEME_uc_cart_checkout_form function. This can be pulled from the uc_cart.pages.inc and modified as needed from within the template.php function of your theme (replace THEME with the name of your theme).
Post Topics: Drupal 6 Ubercart Drupal Planet
Validating a URL in PHP
I recently ran into a problem of validating a URL in PHP. The simplest and most consistent way to validate a URL in PHP is to use filter_var(). Here is an example:
Post Topics: PHP

