User Profile

Collapse

Profile Sidebar

Collapse
CFFAN
CFFAN
Last Activity: Dec 17 '09, 11:21 AM
Joined: Dec 5 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • CFFAN
    started a topic file upload issue with large filename

    file upload issue with large filename

    Code:
    <form action="" method="post" enctype="multipart/form-data">
    	<input type="file" name="img">
    	<input type="submit" name="submit" value="submit">
    </form>
    <cfif ISDefined('Form.img')>
    	<cffile
    		action="upload"
    		destination="D:\thumb"
    		filefield="img"
    ...
    See more | Go to post

  • CFFAN
    started a topic dpi of an image

    dpi of an image

    How to find an dpi of an image using coldfusion?

    is there any way to modify an images dpi using coldfusion?
    See more | Go to post

  • CFFAN
    started a topic WRAP function not working

    WRAP function not working

    Code:
    <h3>Wrap Example</h3>
    <cfset inputText1="Inserts line break at the location of the first white space character (such as a space, tab, or new line) before the specified limit on a line. If a line has no whitespace characters before the limit, inserts a line break at the limit. Uses the operating-system specific line break: newline for UNIX, carriage return and newline on Windows.If you specify the strip parameter, all existing
    ...
    See more | Go to post
    Last edited by acoder; Apr 9 '09, 04:17 PM. Reason: Changed quote to code tags

  • CFFAN
    replied to subdomain validation
    Now it workg fine...ok thank u very muchhhh
    See more | Go to post

    Leave a comment:


  • CFFAN
    replied to subdomain validation
    i remove staring / and eng /.then it works....

    <cfscript>


    result = REMatch("^[a-z0-9][a-z0-9\-]+[a-z0-9]$",arguments.We baddress);
    </cfscript>


    how to avoid continous repetaion of hyphn?
    See more | Go to post

    Leave a comment:


  • CFFAN
    replied to subdomain validation
    <cfscript>
    result = REMatch("/^[a-z0-9][a-z0-9\-]+[a-z0-9]$/",arguments.Web address);
    </cfscript>

    <cfdump var="#result #"> always getting empty array..
    i test with test,test12t etc ....stil sme probs
    See more | Go to post

    Leave a comment:


  • CFFAN
    replied to subdomain validation
    ok thanks ..
    i have to satisy there two condition also
    *An address must begin and end with an alphanumeric character. Punctuation characters must not be placed together
    * Sub-Domain names can contain letters, numbers or hyphens (-), NO spaces or other characters are allowed.
    how can this also possible with ?
    See more | Go to post

    Leave a comment:


  • CFFAN
    replied to subdomain validation
    arguments.subdo main is test123
    See more | Go to post

    Leave a comment:


  • CFFAN
    replied to subdomain validation
    K thanks

    <cfset result = REMatch("/^[a-zA-Z0-9\-]*?$/",arguments.sub domain)>



    i used this code for checking subdomain validation. but always getting empty array....hw can i?
    See more | Go to post

    Leave a comment:


  • CFFAN
    replied to subdomain validation
    these are rules to create Sub-Domain Names
    Sub-Domain Names

    A Sub-Domain Name does not form part of a Registered Domain Name, therefore the rules laid down by the Registrar do not apply.

    The characters you can choose from:

    * A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
    * 1 2 3 4 5 6 7 8 9 0
    * Hyphen (-)
    * An address must begin and end with an alphanumeric...
    See more | Go to post

    Leave a comment:


  • CFFAN
    started a topic subdomain validation

    subdomain validation

    How to validate "subdomain" in atextfiled in coldfusion?
    See more | Go to post

  • CFFAN
    replied to Error while payment in sandbox
    paypal sanbox merchant account

    How can i create paypal sanbox merchant account??
    See more | Go to post

    Leave a comment:


  • CFFAN
    started a topic which one i can use cfinvoke /cfobject

    which one i can use cfinvoke /cfobject

    Hi,
    one doubt regarding cfinvoke /cfobject

    i have one cfc with more than 2 function called comp1.cfc
    i have another cfc with more than 2 function called comp2.cfc

    in the 2nd one (comp2.cfc) use one same function in comp1.cfc.
    which way is better CFINVOKE or Createobject for tht componet?
    why?
    See more | Go to post

  • CFFAN
    replied to Error while payment in sandbox
    NO. when i tried this cod ei always got this msg
    See more | Go to post

    Leave a comment:


  • CFFAN
    replied to Error while payment in sandbox
    Could you please reply for this?
    See more | Go to post

    Leave a comment:


  • CFFAN
    replied to VAt calculation in UK
    In this formula y adding 1 ?
    price * (vatrate/100) is it enough??
    See more | Go to post

    Leave a comment:


  • CFFAN
    started a topic Error while payment in sandbox

    Error while payment in sandbox

    when i testing sandbox for paypal i am getting this error..i used this code for this
    Code:
    <form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">  
    
    <input type="hidden" name="cmd" value="_xclick-subscriptions">
    
    <input type="hidden" name="business" value="asha@digitalmesh.com ">
    ...
    See more | Go to post
    Last edited by acoder; Feb 10 '09, 04:22 PM. Reason: Changed [quote] to [code] tags

  • CFFAN
    replied to VAt calculation in UK
    Thanks for your replay..i wnd to implement this to my coldfusion sie.....i am doubt this calculation regarding vat "how can i calculate VAT for that?if a person outside the uk have to pay the same VAT rate of UK or his own country vat rate? "
    See more | Go to post

    Leave a comment:


  • CFFAN
    started a topic VAt calculation in UK

    VAt calculation in UK

    Hi all,
    I want to sell a product in UK in our website....how can i calculate VAT for that?if a person outside the uk have to pay the same VAT rate of UK or his own country vat rate?
    See more | Go to post

  • ok thanks.
    Code:
    CFSET str="cmd=_notify-validate">
    <!---<CFLOOP INDEX="TheField" list="#Form.FieldNames#">
    <CFSET str = str & "&#LCase(TheField)#=#URLEncodedFormat(Form[TheField])#">
    </CFLOOP>--->
    
    <CFIF IsDefined("FORM.payment_date")>
    <CFSET str = str & "&payment_date=#URLEncodedFormat(Form.payment_date)#">
    ...
    See more | Go to post
    Last edited by acoder; Feb 9 '09, 02:33 PM. Reason: Changed [quote] to [code] tags

    Leave a comment:

No activity results to display
Show More
Working...