Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Website Testing


15 replies to this topic

#1 imran

    Member [Level 1]

  • Kontributors
  • PipPipPipPip
  • 55 posts

Posted 30 June 2005 - 06:31 AM

Hi,
I have just finished a template for my website. Its a simple and very basic template. At home page i gonna show the IP address and the country flag of visitor for which i have already written code. But i am not able to test it.
I would appreciate if you people tell me weather my code displaying right country name and flag.

Here is my testing page URL:

http://imran.trap17.com/template.jsp

Please dont click on other links because other pages are not finished and giving error.

Thanks in Advance. :rolleyes:

#2 Tyssen

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,161 posts
  • Location:Brisbane, QLD

Posted 30 June 2005 - 06:33 AM

Worked for me.

#3 palladin

    Member [Level 3]

  • Kontributors
  • PipPipPipPipPipPip
  • 92 posts

Posted 30 June 2005 - 07:20 AM

Your IP Address is 192.xx.xx.xx and your are visiting my website from Italy

I'm Definitly not live in Italy :rolleyes:

They show my local IP, not external. Try this:
<?php
$external_IP = $_SERVER['REMOTE_ADDR'];
?>
To get external IP, and if you can :lol: write what you use now. I never found how i can get local IP :D

#4 imran

    Member [Level 1]

  • Kontributors
  • PipPipPipPip
  • 55 posts

Posted 30 June 2005 - 08:25 AM

palladin, on Jun 30 2005, 11:20 AM, said:

Your IP Address is 192.xx.xx.xx and your are visiting my website from Italy

I'm Definitly not live in Italy  :rolleyes:

They show my local IP, not external. Try this:
<?php
$external_IP = $_SERVER['REMOTE_ADDR'];
?>
To get external IP, and if you can :lol: write what you use now. I never found how i can get local IP  :D

View Post


OOPS, you mean it is showing wrong country name? Is it showing corect external IP? I cant use PHP code as my website is in JSP my friend. ARe you behind any proxy?

#5 Saint_Michael

    $p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 7,459 posts
  • Gender:Male
  • Location:9r33|\| 399$ 4|\|D 5P4/\/\
  • Interests:$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
  • myCENT:71.24

Posted 30 June 2005 - 09:44 AM

well me being experiance designer i will give you the pros and cons


pros

- fast load
-understandable design

cons

-ip address ( i ighly recommend getting rid of that its tacky and useless to tell people who their ip number is and aslo can be used against them as well since this is the internet

-jsp its not a bad programming language to use but since your just doing a personal site about you php would go better with it, thats just me.

#6 Tyssen

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,161 posts
  • Location:Brisbane, QLD

Posted 30 June 2005 - 10:00 AM

Saint_Michael, on Jun 30 2005, 07:44 PM, said:

well me being experiance designer i will give you the pros and cons
pros
How many websites have you designed?

Saint_Michael, on Jun 30 2005, 07:44 PM, said:

-jsp its not a bad programming language to use but since your just doing a personal site about you php would go better with it, thats just me.
I would think a 'con' when reviewing a site would be something that detracts from the user's experience. I can't see how whether the site is coded in JSP or PHP or ASP makes one bit of difference to the end user.

#7 palladin

    Member [Level 3]

  • Kontributors
  • PipPipPipPipPipPip
  • 92 posts

Posted 30 June 2005 - 01:42 PM

imran, on Jun 30 2005, 09:25 AM, said:

OOPS, you mean it is showing wrong country name? Is it showing corect external IP? I cant use PHP code as my website is in JSP my friend. ARe you behind any proxy?

View Post


Yea i'm after proxy on local LAN network, and you scrip show my internal IP, i live in poland he say i'm italiano :rolleyes:

#8 elevenmil

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 471 posts

Posted 30 June 2005 - 07:47 PM

Oh yeah, It got me. Got that there flag with 13 stripes and 50 stars, that'd be the US flag, nice work...

#9 fffanatics

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 936 posts
  • Location:West Chester, PA

Posted 01 July 2005 - 03:58 AM

OK it worked for me. As for the comment about jsp and php, it does actually matter because jsp is a more powerful language that is meant to be used for very hard and extremely difficult code to create a dynamic and secure website. PHP is more for the everyday user which is why it matters. If the site is just about someone, php should be used because the code will be cleaner and take up less lines decreasing the size of the site and the load time.

#10 lava.alt

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 125 posts

Posted 01 July 2005 - 04:23 AM

works fine for me ... country mexico and my ip

:unsure:




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users