Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. ps_show_boxed has nothing to do with html. Yes, you warp your results in whatever html is needed to create the effect your looking for.
  2. You would be much better of looking into set_include_path then putting all your libraries within your include path.
  3. trq

    procmail to php

    Oh, and no, you can't leave that line blank. You would need a pattern that matches all. See http://www.perlcode.org/tutorials/procmail/regular_expressions.pod As for standard in, see http://php.net/manual/en/features.commandline.io-streams.php
  4. trq

    procmail to php

    I believe you would also need to use the global procmailrc file not just the one within your ~/ directory.
  5. You can check for the domain name using $_SERVER['SERVER_NAME']
  6. echo it. Then in jQuery you need to create a function to handle the response.
  7. Scripts execute from top to bottom, what exactly do you expect to happen?
  8. trq

    procmail to php

    The second line is where the pattern matching happens. You'll find plenty of tutorials around for this. The contents of the email will show up in the standard in of your php script.
  9. trq

    procmail to php

    There should be plenty of examples of this around on the net, but basically, in ~/.procmailrc you use patterns to match email addresses (or subject lines) and determin what to do with the email (generally sending them to a different inbox). This can be used to pipe an email to a php script. eg; :0: * ^[email protected] | /usr/local/bin/script.php
  10. WAMP uses the same php as (most of) the rest of us.
  11. Assuming your talking about a VPS you need to login to that machine and install php. You can't simply map it to a network drive and execute an installer to get it installed. You need to provide much more information because at the moment, the steps you have described do not make allot of sense.
  12. Where? You don't.
  13. Again, you are not calling the parents __construct().
  14. Yeah I am, I just missed copying and pasting it on the site. If your not going to post your actual code we can't help. Were not here to play guess.
  15. Post your current code.
  16. This has nothing to do with php. You'll want to look at the 'sticky bit' setting on the directories in question.
  17. Yes, more than likely such a script exists. However, this board is for help with code, not help looking for it.
  18. In reality, you really should learn php progressively. Starting with the basics then moving forward to more advanced stuff. Jumping all over the place learning this and that is a recipe for picking up bad habits and poor practices. There's a free book/wiki in my signature (Hudzilla) that's pretty good.
  19. There is an Include directive available within the Apache config files. This directive also allows wildcards. So, you could use something like.... Include /var/www/vhosts/*.conf Within your httpd.conf file. This would make it much easier as you could now use php to simply create new .conf files (one for each vhost) within /var/www/vhosts This is similar to how my CMS used to work.
  20. The web doesn't really work like that. Your response is generally built and then sent. You can muck around with output buffering but its pretty unreliable at best.
  21. Looks like you want to take a look at imap.
  22. Never heard of it, does it actually have anything to do with MySql or are you just posting here for fun?
  23. How about you rephrase the question so we might understand what it is your talking about. Like, what is snowdrop for one? Should we as developers have heard of it?
  24. I think the OP wants to actually output php code. Could well be wrong though...
×
×
  • 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.