www.webdeveloper.com

Search:

Type: Posts; User: phantom007

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds.

  1. 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...
  2. 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
    (
  3. How does web servers serve Media with relative path?

    Hello

    I have been trying to find an answer to this for long but no dice so finally posting it here hoping someone can help me understand the concept.

    Consider the following HTML code:


    ...
  4. Replies
    2
    Views
    315

    Thanks for the share :)

    Thanks for the share :)
  5. Replies
    5
    Views
    608

    Hi again What about getting data from HEAD...

    Hi again

    What about getting data from HEAD method? How do we do that?

    Both file_get_contents("php://input") and $_REQUEST does not seem to output anything :(

    Thanks
  6. Replies
    5
    Views
    608

    Hi NogDog Thanks, yes its working fine... ...

    Hi NogDog

    Thanks, yes its working fine...

    BTW, what does php://input do??
  7. Replies
    5
    Views
    608

    REST Webservice: PUT & Delete methods

    Hi All

    I am using Guzzle PHP client to make REST calls for PUT and DELETE.

    On the server I have this code in my index.php file where the request is being made.



    //index.php
    echo...
  8. Linux Ubuntu - Creating auto executing script

    Hi

    I come from a windows background and in windows there was .bat files that could run commands automatically. Now since I have swiched to linux (Ubuntu) i beilieve it does not support .bat files,...
  9. Replies
    2
    Views
    1,084

    Which Chipset is better Laptop?

    Hi

    I am planning to buy a laptop but I am confused which out the following chipset is better

    Mobile HM76 Express
    OR
    HM86


    And why?
  10. Replies
    0
    Views
    369

    MySQL Sharding

    Hello

    Suppose I have the following 2 tables in a non-sharded cluster.



    CREATE TABLE `users` (
    `userid` int(10) NOT NULL AUTO_INCREMENT,
    `fullname` varchar(64) NOT NULL,
    PRIMARY KEY...
  11. Linux Mint - Configuring Local Area Network

    Hi

    I Have a desktop and a laptop both running Linux Mint 15. I have a D-Link 150 Wireless Router.

    Please can someone guide me how do I configure so that I shall be able to transfer files to and...
  12. Replies
    0
    Views
    609

    PHPUnit Exception

    Hello

    I have the following code that creates a new user. I am using PHPUnit to prepare test cases but however my code coverage is unable to cover the exception case i.e.
    throw new...
  13. Replies
    2
    Views
    831

    Headers / Footers in Libre Office

    Hi all

    I ahve a question about modifyng headers/footers in libre office so thought to ask it here.

    I have a 25 page document, now what I want is I should have 3 differnt headers as per the...
  14. Replies
    9
    Views
    1,343

    Great! Thanks for your reply.

    Great!


    Thanks for your reply.
  15. Replies
    9
    Views
    1,343

    The term "closure" u mentioned is new to me, i...

    The term "closure" u mentioned is new to me, i tried reading it on wikipedia but what they explained didnt make any sense to me, may be because its too complicated. Could you please explain the...
  16. Replies
    9
    Views
    1,343

    Thanks for the reply. I am getting this...

    Thanks for the reply.

    I am getting this result:
    5 2 8 9 3 4
    Flag 5 4 2 9 7 6

    JSBIN: http://jsbin.com/eXizUWOH/1/edit

    It should actually give me only one randomly generated number unless I...
  17. Replies
    9
    Views
    1,343

    Calling a function only once

    Hi

    I am trying to write a function that will generate a random number b/w 1-10 but what I also want is that the function should return the random number only once (no matter how many times we call...
  18. Replies
    1
    Views
    1,052

    How to make a server handle more traffic?

    Hello

    I have a question, given the following architecture of a server stack, where I have a centralized db, 2 webservers that can handle 1000 request each, along with server side caching and a...
  19. Replies
    3
    Views
    705

    Thanks.

    Thanks.
  20. Replies
    3
    Views
    705

    Weird output

    Hi All

    Can someone pls explain me why does the following code prints "t"?



    $a = "print";

    echo $a[4];
  21. Replies
    6
    Views
    977

    Hi Again I am using the following regex: ...

    Hi Again


    I am using the following regex:

    /^(?:\+|00)[1-9][0-9]{10,15}$/

    But it does not validate the following two numbers, any idea why?
  22. Thanks but what will it do?

    Thanks but what will it do?
  23. Is PHP confused about FILTER_VALIDATE_EMAIL?

    HI

    Please consider the following code:



    var_dump(filter_var('a=b@test.com', FILTER_VALIDATE_EMAIL));


    Ideally the above email should be invalid and var_dump should return false but the...
  24. Replies
    10
    Views
    1,304

    oh ok got what I was looking for... thanks

    oh ok got what I was looking for...


    thanks
  25. Replies
    10
    Views
    1,304

    reading a file on same server

    HI

    Suppose I have a php file "read_file.php" that is used to read .txt files, the structure of the folder/files are:

    /www/read_file.php
    /www/public/upload/

    I was wondering which will be...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles