dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: phantom007

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    442

    Regex to get domain from email address

    Hello


    I am looking for a regex or a way to get the domain name (without the subdomain) from an email address.

    For example, in case of the email address phantom@subdomain.domain.co.in the...
  2. Yes it's a foreign key to an article table.

    Yes it's a foreign key to an article table.
  3. `comments5` is the index name for unique key...

    `comments5` is the index name for unique key (`articleid`,`sequence`)

    So when adding an already existing value for articleid and sequence the Integrity constraint violation error occurs.
  4. actually I am using the MAX SQL statement to get...

    actually I am using the MAX SQL statement to get the highest sequence number then adding + 1 to it and using PHP in backend
  5. MySQL: Safely auto increment MySQL field based on MAX() subquery upon insert

    I have the following table structure.




    CREATE TABLE `comments` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `articleid` int(11) NOT NULL DEFAULT '0',
    `sequence` int(11) NOT NULL DEFAULT...
  6. Replies
    3
    Views
    988

    and how does he do that?

    and how does he do that?
  7. Replies
    3
    Views
    988

    Facebook Graph API Email scope issue

    Hello,

    I am using Facebook SDK version 4.0.18 with graph api v2.2


    I am trying to get the basic information of a user i.e. public_profile, email, user_friends which i have specified in the...
  8. Replies
    7
    Views
    2,108

    I am trying to use the `unserialize` function...

    I am trying to use the `unserialize` function with the second param that was introduced in php7 (http://www.php.net/manual/en/function.unserialize.php)
    However, it looks like php generates an error...
  9. Github, making an Github api request on behalf of my customer

    hi

    I am making a webapp in PHP where my customers can add their github account (just one time) and they can see the PULL request of their organization/repo in my web app.

    The github pull...
  10. ok you didnt get my question. It works when i...

    ok you didnt get my question.

    It works when i run Locale::getRegion('ar_BH'); //Outputs BH
    It doesnt work when I run Locale::getRegion('ar'); //No output

    Why?
  11. Working with Modern Standard Arabic locale in PHP

    Hi

    I am working with locales and I have a problem dealing with the Modern Standard Arabic language in PHP.

    When I do a print_r(ResourceBundle::getLocales('')) I get the following list...
  12. Laravel 5: How to validate querystring?

    Hi

    I am using laravel 5.

    I have a situation where my url is

    Where 10 is the id (primary key) of the gallery table.

    I want to validate that the gallery id 10 belongs to the logged in...
  13. Replies
    2
    Views
    1,624

    Help to use Github APIs

    Hello

    I am using [https://github.com/diversen/simple-php-github-api](https://github.com/diversen/simple-php-github-api) to access github's api.


    I am able to access most of the API but the...
  14. Replies
    1
    Views
    1,954

    basically I want facebook to ignore what...

    basically I want facebook to ignore what redirect_uri i have set which gives me the flexibility to use any redirect_uri as I wish.

    Pls help
  15. Replies
    1
    Views
    1,954

    Facebook: Web OAuth Login

    Hello

    I have a product (eg: somedomain.com) where people can create their own subdomains (eg http://xyz.somedomain.com) or even map their domains to it (eg: example.com)

    Now, I want to offer a...
  16. Replies
    7
    Views
    2,108

    Yes that was my question, how do I implement the...

    Yes that was my question, how do I implement the *identical behavior*?
  17. Replies
    7
    Views
    2,108

    So is there no way we can implement PHP 7's way...

    So is there no way we can implement PHP 7's way to handle unserialize exploit?
  18. Replies
    7
    Views
    2,108

    Safe Unserialization

    Hi

    As you might have heard about the Unserialization exploit , PHP 7 has overcome this issue but since it hasnt yet released, I was looking for an alternate way to implement the same in...
  19. Replies
    2
    Views
    2,272

    Free Vector Images, where to find?

    Hi

    I was wondering where can i download vector images for free like the following:


    http://i.imgur.com/gI1uyB4.png
    http://i.imgur.com/MgpRUeD.png
    http://i.imgur.com/9VZ8oO5.png
  20. Getting a record set from associative array

    Hello

    I am dealing with a problem and having a hard time solving it. So need your help!

    Imagine I have a comment section in my website, where there are two types of role "member" and "staff"....
  21. Replies
    6
    Views
    1,590

    HI guys, Not sure if I am following you. ...

    HI guys,

    Not sure if I am following you.

    What if a user enters

    +81-123456

    and other user enters
    +811-23456
  22. Replies
    9
    Views
    1,915

    Please explain PSK with some refrence links so...

    Please explain PSK with some refrence links so that i can study it a bit more?

    Also, by AES you mean Mcrypt library in php? http://php.net/manual/en/book.mcrypt.php


    thanks
  23. Replies
    9
    Views
    1,915

    Few Questions; 1. Can $_SERVER['REMOTE_ADDR']...

    Few Questions;

    1. Can $_SERVER['REMOTE_ADDR'] be spoofed?

    2. Is there any gurantee that $_SERVER['REMOTE_ADDR'] will always return a value ?
  24. Replies
    9
    Views
    1,915

    ok but how does Server B make sure that the...

    ok but how does Server B make sure that the request is coming from Server A and not Server Z?
  25. Replies
    0
    Views
    599

    Amazon Pre-Signed URLs

    Hello

    I am interested to know:

    1) How does Amazon's Pre-Signed url mechanism work?

    2) And is there anyway we can implement the same using php/mysql?

    Thanks for any inputs.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles