www.webdeveloper.com

Search:

Type: Posts; User: silver_moon

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,203

    Always use absolute paths when launching php...

    Always use absolute paths when launching php scripts from cron.
    For example :

    0 0 * * * /usr/bin/php /var/www/mysite/script.php

    To get the absolute path in your cron scripts use the __FILE__...
  2. First detect if the device is mobile or not. Use...

    First detect if the device is mobile or not.
    Use the ua-parser library for that,
    https://github.com/tobie/ua-parser/tree/master/php

    Next redirect using php headers or meta redirect.
    Most...
Results 1 to 2 of 2
HTML5 Development Center



Recent Articles