Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1

    Default Something that detects the PICTURE without using FSO


    kiinsa naay knowledge diha kung unsaon pag-detect sa existence sa picture/image nga ni exist or wala nga dili mag-gamit ug FSO(File System Object)...

    pls

    ASP, HTML, CSS, JAVASCRIPT codes are accepted...


    ug kung mahimo hastang pag-detect sa iyang file size gusto sad unta ko mahibaw kung unsaon...


    yeah! bling bling men...abz'

  2. #2

    Default Re: Something that detects the PICTURE without using FSO

    DIR() dili pwede?. eheh.

    kong .dotnet imong gi gamit
    system.io.file.exist()

  3. #3

    Default Re: Something that detects the PICTURE without using FSO

    for WEB purposes man bro...

    either CSS, JAVASCRIPT, ASP, VBSCRIPT, HTML , XHTML

    basta dili gamit FileSystemObject

    yeah! bling bling men...abz'

  4. #4

    Default Re: Something that detects the PICTURE without using FSO

    Quote Originally Posted by kibotizer
    kiinsa naay knowledge diha kung unsaon pag-detect sa existence sa picture/image nga ni exist or wala nga dili mag-gamit ug FSO(File System Object)...

    pls

    ASP, HTML, CSS, JAVASCRIPT codes are accepted...


    ug kung mahimo hastang pag-detect sa iyang file size gusto sad unta ko mahibaw kung unsaon...


    yeah! bling bling men...abz'
    can you give the details?

    You get the images on a remote (i.e. http://localhost:8080/image.gif)?

  5. #5

    Default Re: Something that detects the PICTURE without using FSO

    yah for example i have my site named MYSITE.com then i want to know if the URL like OTHERSITE.com/picture.jpg exist


    i want to know the existence of the picture from the other site...


    yeah! bling bling men...abz'

  6. #6

    Default Re: Something that detects the PICTURE without using FSO

    Sayon ra, gamiti lang ug http request/response headers. The complete details http://www.w3.org/Protocols/rfc2616/rfc2616.html.

    Ang gamit sa headers kay mo return siya ug status like 404 for File Not Found, file size the, image type like jpeg, bmp.

    Gamiti lang na ug web debugging.

  7. #7

    Default Re: Something that detects the PICTURE without using FSO

    bai bag-o kaayo ni nako da, murag wa jud kaayo ko ka gets

    pwede ngayo gamay sample code and explanation?


    yeah! bling bling men...abz'

  8. #8

    Default Re: Something that detects the PICTURE without using FSO

    sample code :

    HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://localhost/myimage.gif");
    request.KeepAlive = true;
    response = (HttpWebResponse)request.GetResponse();
    statusCode = response.StatusCode;
    Console.WriteLine("\r\nThe following headers were received in the response:");

    // Displays each header and it's key associated with the response.
    for (int i = 0; i < response.Headers.Count; ++i) {
    Console.WriteLine("\nName:{0} Value :{1}", response.Headers.Keys[i], response.Headers[i]);
    }

    The result is :

    Name : Keep-Alive Value : timeout=15, max=100
    Name : Connection Value : Keep-Alive
    Name : Accept-Ranges Value : bytes
    Name : Content-Length Value : 12697
    Name : Content-Type Value : image/jpeg
    Name : Last-Modified Value :Mon, 19 Mar 2007 17:21:10 GMT
    Name : Server Value : Apache

    Mao ni ang imong gipangita?

  9. #9

    Default Re: Something that detects the PICTURE without using FSO

    thank you bai pero murag wala ko kasabot da...

    hehe... bitaw bag-o kaayo nako ang codes... unsa ni nga codes?

    kuan raman unta ako gusto nga makahatag ko ug message sa USER bah nga ang iyang image URL nga gi-input sa FORM i created kay wala mo exist...

    unsa diay output ani imo bai?

    yeah! bling bling men...abz'

  10. #10

    Default Re: Something that detects the PICTURE without using FSO

    or bisan nalang unta nga kung wala mo exist ang image, automatically the alternative image will be loaded or just a simple message or anything nga dili ma-notice sa mobasa nga wala mo exist ang image because just like internet explore they will mark X to those images nga wala mo load...


    yeah! bling bling men...abz'

  11.    Advertisement

Page 1 of 2 12 LastLast

Similar Threads

 
  1. Make up that you cant leave the house without?
    By catheeyen25 in forum Trends & Fashion
    Replies: 8
    Last Post: 11-27-2010, 03:19 PM
  2. The Last Something That Meant Anything
    By rhonich in forum Relationships (Old)
    Replies: 6
    Last Post: 09-03-2010, 10:53 AM
  3. 5 things that you can't leave the house without! :D
    By Cynmarie in forum Trends & Fashion
    Replies: 5
    Last Post: 04-28-2009, 12:30 PM
  4. cannot open webpage without using the ip address, virus ni?
    By greatoutlaw in forum Networking & Internet
    Replies: 8
    Last Post: 10-23-2008, 06:55 AM
  5. Replies: 32
    Last Post: 08-21-2008, 07:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top