Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=351591.0
  2. Exceptions are probably the best option because you can easily send a descriptive message along with them. You just need to document the client well enough that users are aware it will throw exceptions on errors.
  3. You would need to schedule a job to execute your script. Look into cron.
  4. What your asking is definitely possible, you just need to find out what protocol your service speaks. That is the information we need. If you can find out exactly what ServiceReference does it might help.
  5. What web page? Servers need to be started via php's cli, the code you posted should not be executed as a web page.
  6. The description of your issue isn't exactly helpful I'm afraid.
  7. You could use array_map. You should also be using mysql_real_escape_string instead of that str_replace that you attempting to use. Why would you want to store html entities in your data?
  8. Which is what exactly? I swear, this is the last time I'm going to ask this same question.
  9. trq

    enquiry

    The entire forum is open source, take a look at the bottom of the page. Not sure what editor it is.
  10. What does: echo $file; output?
  11. There might be some misunderstanding here. I thought you where actually looking to wrap calls to $_POST['something'] with some sanitising functionality within your code itself. eg; Search your code base and replace the calls. You need to use the search and replace in your text editor or better still, a tool like sed if your on a *nix based system.
  12. We need to see code and exactly what your getting back as a response.
  13. Given the right tools of course you can. I don't see what this has to do with php.
  14. Do you have error reporting enabled? What error are you getting? Have you got a mail server installed?
  15. What exactly is being returned and how?
  16. The service must use some protocol that passes simple text as a request, it would then be this text which is used to trigger some function. It might look like your imply calling "somefunction", but this would actually be wrapped within some other request. We need more details basically.
  17. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=351534.0
  18. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=351535.0
  19. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=351532.0
  20. #3# should cause you a syntax error as it makes absolutely no sense to php. You probably need to check for a string. if ($file == '#3#') {
  21. Sounds easy enough. What kind of data does the .Net service expect as part of the request? I assume the service is using HTTP? What would a typical response look like?
  22. Have you checked the manual? See mail.
  23. Your forgot to mention what the issue is.
  24. This topic has been moved to Other Web Server Software. http://www.phpfreaks.com/forums/index.php?topic=351526.0
×
×
  • 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.