Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. PERL reading .sql file?

PERL reading .sql file?

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
perldatabasehtmlpostgresqltools
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    josephong
    wrote on last edited by
    #1

    Hi, I have a device(mote) that monitor temperature, light and sound. It transmit the data to PC using wireless and store in a database (PostgreSQL). After storing the data, i have it exported out becoming a .sql extenstion file. I will be only able to view the data via a program provided by the device company. The main aim of my project is to make data viewable on html where im able to publish it online. Where i will be using the output data (.sql file) and publish it on html using PERL and CGI. Any helps on how i can make the .sql file readable in PERL or do i need another program to read the database output(.sql file) then making PERL script able to read the filen and then publish it online? The device I'm using which is made by Xbow and im running Win XP. Any help would be greatly appreciated. Regards Joseph

    J 1 Reply Last reply
    0
    • J josephong

      Hi, I have a device(mote) that monitor temperature, light and sound. It transmit the data to PC using wireless and store in a database (PostgreSQL). After storing the data, i have it exported out becoming a .sql extenstion file. I will be only able to view the data via a program provided by the device company. The main aim of my project is to make data viewable on html where im able to publish it online. Where i will be using the output data (.sql file) and publish it on html using PERL and CGI. Any helps on how i can make the .sql file readable in PERL or do i need another program to read the database output(.sql file) then making PERL script able to read the filen and then publish it online? The device I'm using which is made by Xbow and im running Win XP. Any help would be greatly appreciated. Regards Joseph

      J Offline
      J Offline
      jschell
      wrote on last edited by
      #2

      You can read the database using perl. There are libraries for that. You can create html using perl. There are libraries for that. And of course perl does CGI. Presumably you already have a way to host on the internet that supports CGI.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups