Jump to content

PhunkRabbit

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

PhunkRabbit's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. What jcbones said above is absolutely correct. I produced a "mini CRM" for a client of mine which does a very similar task. My client installs fireplaces, gas stoves etc and can also provide servicing for all the products they install (to comply with warranty). My system allows them to enter client details, add jobs and schedule when services are due (11 months from the job date), it will then produce an email that reminds my client that x amount of services are due of which they can then act upon. To give you another example like above but for your specific situation: You have a database that collects customer information once they purchase a soap dispenser. Every day at 7am a cron tab or cron job (these are really easy to setup in an admin panel such as CPanel but can also be done manually) executes a PHP script that does the following: Check the database for customers who purchased a soap dispenser. Check that the customer is happy to be emailed. Build the email (Dear John, don't forget new soap for your "xj2000 super soaper", click here to order.....) etc Send the email. etc
  2. Wow now I feel silly... I have just tested using the server urls and it works once the directory has permissions set. I tested HTML output, PHP functions and a PHP variable, it seems to work perfectly. Thank you.
  3. Thank you for the reply If there are any other opinions on this I would very much like to read them.
  4. Depending on how the url's work for the blog posts it should be fairly simple to link to them dynamically. The PHP will just echo a static link with one or two dynamic components similar to: <?php echo '<a href="/blog/post/' . $blogpostid . '/">Read Blog Post</a>'; ?>
  5. I am developing a CMS for my clients where the login to administrate their website is through my own website. This unified back-end allows me to develop the functionality and user experience without the issue of updating each site manually with the new files or running a complicated macro etc and then uploading them all individually too. I would also like to combine as much of the "client side" CMS code too, i.e. as many of the php files that are stored on the clients website as possible. All of the websites (and the backend website) are located on the same VPS, running PHP V5.3, allow_url_include is not available, I could have it turned on but this causes security issues if I understand correctly? I figure my main options are: - Turn on allow_url_include and just include via IP/Domain. - Use a FTP system similar to the way Wordpress allows remote install of plugins and system updates. or - Include the files using a different /home/username/cmsincludes/ path? Is it possible to use another VPS account to include from? I have tested and it gives me a "failed to open stream" error. Example: Client xyz Website Website located: /home/xyz/public_html/ CMS Included: /home/mainsite/cms/ Client 123 Website Website located: /home/123/public_html/ CMS Included: /home/mainsite/cms/ Client xxx Website Website located: /home/xxx/public_html/ CMS Included: /home/mainsite/cms/
×
×
  • 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.