User Profile

Collapse

Profile Sidebar

Collapse
nilayanand
nilayanand
Last Activity: Jan 22 '10, 01:12 PM
Joined: Nov 26 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • nilayanand
    replied to how to send hidden variables through URL?
    in PHP
    URL paramater cannot be hidden. Use some kind of ecryption decryption mechanism.
    See more | Go to post

    Leave a comment:


  • nilayanand
    replied to Class to convert HTML to PDF
    in PHP
    htmldoc linux command is other alternate. In any case, you won't get accurate result though.
    See more | Go to post

    Leave a comment:


  • nilayanand
    replied to How can I verify if a domain is online?
    in PHP
    Code:
    $fp = fsockopen("www.example.com", 80, $errno, $errstr, 30);
    if ($fp) 
        echo "Domain Online";
    else 
       echo "Not";
    
    fclose($fp);
    See more | Go to post
    Last edited by Atli; Jan 27 '10, 10:12 AM. Reason: Added [code] tags.

    Leave a comment:


  • nilayanand
    replied to how to create a subdomain in php
    in PHP
    Configure your apache/other-web-server for wildcard subdomain. Then your PHP script can read the subdomain using $_SERVER['HTTP_HOST] and can serve the data accordingly.
    See more | Go to post

    Leave a comment:


  • nilayanand
    replied to session data / header question?
    in PHP
    Just make sure, you do not output anything before calling session_start() .
    See more | Go to post

    Leave a comment:


  • nilayanand
    replied to Complex Graphics Generation via PHP?
    in PHP
    Imagemagick work doesn't lie in website design/html. As a facebook user, try to create photobook fetching photo from Facebook, flickr, picasa etc. The cool WYSIWYG editor allow you to compose photobook like any advance photo editor.
    Imagemagick role comes when you save your album and order it for printed version. Imagemagick creates hight resolution bigger size photo for printable version.
    You need to complete above steps to see the...
    See more | Go to post

    Leave a comment:


  • nilayanand
    replied to Complex Graphics Generation via PHP?
    in PHP
    Imagemagick is more powerful. Can draw any kind of complex graphics. I used in my recent project (pixable.com) and then I came to know its power.
    See more | Go to post

    Leave a comment:


  • nilayanand
    started a topic Programmetically add attachement to email.
    in PHP

    Programmetically add attachement to email.

    Hi there,

    My application has link to open email client with Subject and CC field auto filled with data. I did it by placing html snippet like following:
    <a href="mailto:ni lay@csomedomain .com?Subject=Te st&Cc=other@som edomain.com">Ma il</a>

    Is there any way to add attachent too?

    Thanks

    --Nilay
    See more | Go to post

  • nilayanand
    replied to how to embed image into a word document
    in PHP
    This will work.

    Code:
    <?php
    //1. Instanciate Word
    $word = new COM("word.application") or die("Unable to instantiate Word");
    $template_file = "C:/Doc7.doc";
    //3. open the template document
    $word->Documents->Open($template_file);
    $word->Selection->InlineShapes->AddPicture("C://Sunset.jpg", False, True);
    //7. save the template as a new
    ...
    See more | Go to post
    Last edited by Dormilich; Oct 19 '09, 12:52 PM. Reason: Please use [code] tags when posting code

    Leave a comment:


  • nilayanand
    started a topic Need autologin facility to other site.
    in PHP

    Need autologin facility to other site.

    My page has the link to take user directly to report page of other site. Clicking report link ask user (in browser authentication dialog box) to submit user, password, before showing report page. Our site has the user password stored in database and I just want to submit user/password internally so user won’t be asked for it.
    Is there any way to do it through php?


    Thanks in advance
    See more | Go to post
No activity results to display
Show More
Working...