User Profile

Collapse

Profile Sidebar

Collapse
pritipshah
pritipshah
Last Activity: Dec 14 '07, 09:38 AM
Joined: Sep 1 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hey beary

    You can put Javascript to call function below the text area.and pass NAME/ID of text area and max limit for the textarea in passing value of that funtion.

    Here is a function for count the limit for the text area.

    Code:
    function displaylimit(thename, theid, thelimit){
    var theform=theid!=""? document.getElementById(theid) : thename
    var limit_text='<b><span
    ...
    See more | Go to post

    Leave a comment:


  • Hi there,

    To get remote IP address you can use

    getenv('REMOTE_ ADDR')

    Regards,
    Priti Shah
    See more | Go to post

    Leave a comment:


  • pritipshah
    replied to FCKeditor Image upload with IE7
    in PHP
    Hi,

    Is there any one who Know the solution for this problem?????? Please reply me ......

    Or if the way of presentation of my question is not understandable please ask for more clarification.

    Please HELP ME OUT........

    Regards,
    Priti
    See more | Go to post
    Last edited by pritipshah; Nov 2 '07, 04:56 AM. Reason: Seplling mistake

    Leave a comment:


  • pritipshah
    replied to multiple forms problem
    in PHP
    Hey

    Try two forms individually. I mean don't keep inner loop for form, close 1st form before starting second one then start second form and close it at the end.

    Regards,
    Priti Shah...
    See more | Go to post

    Leave a comment:


  • pritipshah
    replied to passing a query to another page
    in PHP
    Hi backups2007,

    As per mine this is the only safe way to use query values from last page. you can't pass to in get value as it displays on toolbar and not the right way of codeing too.

    My suggesion to you is better to write a query on the same page where you want to run it because if lost connection or other tech problem will occure while redirecting the page then it will end to error.

    Regards,...
    See more | Go to post

    Leave a comment:


  • pritipshah
    replied to passing a query to another page
    in PHP
    If you want to user $_POST['query'] in page2.php then you have to have hidden variable in first file named query and in that variable you have to set your value(i.e sql query)

    Regards,
    Priti
    See more | Go to post

    Leave a comment:


  • pritipshah
    started a topic FCKeditor Image upload with IE7
    in PHP

    FCKeditor Image upload with IE7

    Hi All,

    I am using vtiger open source CRM and in that they are using FCKeditor for Image Upload (Resource browser window) but it is not upload or make new folder for image.

    Vtiger CRM fource to use IE for better performence so from the first day i was using IE7 for editing and testing.

    After some time today i tried it with Mozilla browser and Image upload works great in this browser, and sudanly...
    See more | Go to post

  • pritipshah
    replied to How to get JavaScrip variable into PHP
    in PHP
    Hello,

    It will be better if you would post your code with your question. still i can say that you can use <script language ="JavaScript "> </script> in your html tag.(middle of two PHP tags.)

    Example :
    [CODE=PHP]
    <?php $value = "Hello World"; ?>
    [/CODE]


    [CODE=javascript]
    <script language ="JavaScript">a lert("Hello...
    See more | Go to post
    Last edited by pbmods; Sep 3 '07, 01:21 PM. Reason: Changed [CODE :PHP] to [CODE=php].

    Leave a comment:


  • pritipshah
    replied to Problem display image through image path
    in PHP
    Hi There,

    When you write like these
    [code=php]<img src="<?php echo $row["imgSelectedPat h"];?>">
    it will start Quote frpm "<? and ends to $row[", again starts at "]; at ends to ?>"
    [/code]
    so it will give error so try below insted of this
    [code=PHP ]
    <?php $ImgValue = $row["imgSelectedPat h"]; ?>
    <img src="<?php...
    See more | Go to post
    Last edited by ak1dnar; Sep 3 '07, 03:40 AM. Reason: Added the CODE Tags

    Leave a comment:


  • pritipshah
    replied to Read Registry from PHP
    in PHP
    Thank you,

    But i can't event got what you say because i am very new for dealing with registry.so can you please explain me as simple as you can??? may be i can make some idea from that....

    Or please anyone who know sonlution for this HELP ME OUT...

    Regards,
    See more | Go to post

    Leave a comment:


  • pritipshah
    started a topic Read Registry from PHP
    in PHP

    Read Registry from PHP

    Hello All,

    I want to Access Registry from PHP script. I had sreach on net and I got Class for this which is as below.
    [code=php]
    <?php
    class Registry {
    private $vars = array();
    function set($key, $var) {
    if (isset($this->vars[$key]) == true) {
    throw new Exception('Unab le to set var `' . $key . '`. Already set.');
    }

    $this->vars[$key]...
    See more | Go to post
No activity results to display
Show More
Working...