an IP as a variable

  • .exe
  • Born
  • Born
  • .exe
  • Posts: 2

Post 3+ Months Ago

whenever i try $ip = 23.124.12.1; (made up ip) it comes with an "parse error"
how would i make an ip a variable?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • RichB
  • Guru
  • Guru
  • User avatar
  • Posts: 1121
  • Loc: Boston

Post 3+ Months Ago

Put the ip inside quotes, so it will be treated as a string of characters.
  • .exe
  • Born
  • Born
  • .exe
  • Posts: 2

Post 3+ Months Ago

ofcourse, how dumb of me
thanks man

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 170 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.