www.webdeveloper.com

Search:

Type: Posts; User: phantom007

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    14
    Views
    1,308

    Thanks for your reply. What will that secret...

    Thanks for your reply.

    What will that secret key be made up of?
  2. Replies
    14
    Views
    1,308

    I am looking for some practical implementation on...

    I am looking for some practical implementation on how this can be achieved.
  3. Replies
    14
    Views
    1,308

    I am sorry I didnt clear that thing out... So...

    I am sorry I didnt clear that thing out...

    So what exactly should I do so that no one else but that mobile app can only make request?


    thanks
  4. Replies
    14
    Views
    1,308

    I do have access to modify both the server and...

    I do have access to modify both the server and the client app i.e. the mobile app but my client (my boss) does *not* want any feature of registration/signups/logins etc
  5. Replies
    14
    Views
    1,308

    Authorization between PHP and Mobile App

    Hi

    I am stuck in a scenario and need someone to help me out.

    I have a REST web service written in PHP. Its an open-ended web service with no concept of login etc. Now there is a mobile app...
  6. Replies
    3
    Views
    544

    Best way to iterate an array

    Hi

    Imagine we have an array like the following,

    The values, 10, 20 are the userids. I want to send text messages to my users. What is the best way to iterate through this array to get the...
  7. Hi NogDog Appreciate your reply. One thing...

    Hi NogDog

    Appreciate your reply.

    One thing that I forgot mentioning, and that is to use a provider we have to use their library through which we interact with their servers.

    So whats the...
  8. Thanks NogDog for the theoretical explanation....

    Thanks NogDog for the theoretical explanation. Can u please write the skeleton code to explain this?


    Thanks in advance.
  9. Using Interfaces to design an application

    HI

    I am trying to implement a Short Message Service or as you call it Texting service for mobiles into my PHP application that will send sms to my customers using various SMS providers (the real...
  10. Not at all helpful :( Thanks anyways

    Not at all helpful :(


    Thanks anyways
  11. I dont understand, what does the XML parser have...

    I dont understand, what does the XML parser have to do with PHPUnit testing?
  12. How to test license validation via REST API

    Please consider the following PHP code



    static public function IsLicenseValid($domain)
    {
    if (empty($domain)) {
    throw new Exception;
    }
  13. PHPUnit - Can Mocking/Stubbing happen without the actual class file?

    Hello All,

    I was wondering if Mocking/Stubbing can be done without the original class file that has to be mocked/stubbed?
  14. ZendFramework > ZendService > APNS > Enhanced Payload

    Hi

    I am using ZendService\Apple\Apns to send request to APNS.

    Its working fine, but APNS does not send you a response in case there is an error occurred (for eg, if token is invalid). To do...
  15. How to prevent spamming to my api server?

    Hello

    I have been thinking of a way to make a secured request from a client to server (not in terms of implementing an SSL) but a way so that I can prevent spamming.

    Allow me to explain what...
  16. Calling Static Method inside non-Static Method

    Hi

    I would like to know if the following is correct way of doing?




    class Foo
    {
    static public function Hello() {
  17. PHPUnit: Calling methods inside dataprovider

    Is there anyway I can call a method within the dataprovider method? I tried doing it but the value passed from the dataProvider to the testAdd() method won't just pass. How do I do this?

    PS: I do...
  18. Replies
    7
    Views
    1,403

    So if I am following your code and I have another...

    So if I am following your code and I have another method listAllUsers() that again calls the $myObject property, will it not insert another user record?





    <?php
    class Hello {

    private...
  19. Replies
    7
    Views
    1,403

    Sorry that my code was confusing, allow me to...

    Sorry that my code was confusing, allow me to revamp the same... (pls consider the following as an example..I have commented that is being returned in the User class so to give you an idea whats its...
  20. Replies
    7
    Views
    1,403

    Singleton Design Pattern

    Hi PHP Gurus!!

    Can you please check and confirm if the following code snippet qualifies for a full or partial singleton design pattern?



    <?php
    Class Hello
    {
    private static $MyObject =...
  21. Replies
    3
    Views
    844

    got the above working by changing ...

    got the above working by changing



    public function __construct()
    {
    register_shutdown_function(array($this, 'shutdownHandler'));
    set_error_handler(array($this,...
  22. Replies
    3
    Views
    844

    Super awesome solution....got it working....many ...

    Super awesome solution....got it working....many thanks sir...


    I have another problem related to this. As soon as I move the code into a class it stops working. Pls consider the code below:

    ...
  23. Replies
    3
    Views
    844

    Unable to log "Parse Errors"

    Hi

    I am using the following code to log all types of errors viz. Fatal Error, Warning Error, Notice Error.



    set_error_handler("errorHandler");...
  24. Thanks Error404 for your reply, however I do not...

    Thanks Error404 for your reply, however I do not want to do that. Imagine a file 1 GB in size, wouldn't dumping the entire content into the memory will slow down the system?

    Basically I need to...
  25. Reading and storing partial data from a file

    Hello

    I have a question about reading chunks of data from a file.

    Suppose I have the following array saved in a file:



    Array
    (
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles