Jump to content

gw1500se

Members
  • Posts

    879
  • Joined

  • Last visited

  • Days Won

    14

gw1500se last won the day on June 21

gw1500se had the most liked content!

4 Followers

About gw1500se

Profile Information

  • Location
    Georgia, USA

Contact Methods

  • Skype
    gw1500se

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

gw1500se's Achievements

Prolific Member

Prolific Member (5/5)

72

Reputation

3

Community Answers

  1. There is a PHP library for that called TCPPDF.
  2. This is probably really a raspbian issue so you may want to try the raspberry forum. However, what do you get when you run this script? for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do ( syspath="${sysdevpath%/dev}" devname="$(udevadm info -q name -p $syspath)" [[ "$devname" == "bus/"* ]] && exit eval "$(udevadm info -q property --export -p $syspath)" [[ -z "$ID_SERIAL" ]] && exit echo "/dev/$devname - $ID_SERIAL" ) done
  3. What type interface device are you using?
  4. I've worked with Raspian quite a bit and using serial devices on it can be tricky. Kicken is exactly right. Also depending on the serial device you are using you may need to install specific drivers. This is especially true if you are using a one-wire device over USB.
  5. First your crontab is the long way around the barn. Use: */5 * * * * /usr/bin/php /var/www/settime.php Not sure why /bin/sh is involved base on what you've shown. What distro are you running? Since your didn't show the script how do you expect any help?
  6. Sounds to me like you need to backup and rewrite the original data schema. From where is the data coming?
  7. Only you can tell what output is valid. You need to tell us what criteria you want to use. What happened to the json part you wanted?
  8. You want to process the output? Why not do that in PHP as well?
  9. From command line: <path to php.exe> -f "<path to script.php>" -- -arg1 -arg2 -arg3
  10. None of that data exists, at least in the posted HTML. Have you tried anything yet? I suggest you use DOMDocument and get the data into an array. Converting that to json for output is simple.
  11. Remember Barand's first post. You need to check that the form was submitted before using the variables. P.S. That first '=' is a typo. Barand meant to close the brackets using ']'.
  12. You are probably trying to use those variables on the first output of the page. They will not be filled in until the user does it and the page is submitted. Your HTML shows not form or submit action. See this article on how to create an interactive page.
  13. $result=$stmt->fetchAll(); echo "<pre>"; print_r($result); echo "</pre>";
  14. This is a guess without more detail but try: $this->new_name2 = clone $crop->new_name;
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.