www.webdeveloper.com

Search:

Type: Posts; User: eval(BadCode)

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    5,339

    I believe that xml is an optional output format...

    I believe that xml is an optional output format for the mysqldump (a common program).



    The mysqldump client is a backup program originally written by Igor Romanenko. It can be used to dump a...
  2. Yes there is a reason I say this. In a large...

    Yes there is a reason I say this.

    In a large system, regardless of language, there are going to be bugs. PHP is not strict enough about typing. Obviously PHP is interpretted and not compiled; so...
  3. I recall making a blog type of deal with CakePHP...

    I recall making a blog type of deal with CakePHP in a matter of 10 minutes or so. I'd consider using that with netbeans (which is the only IDE i know which can handle the ORM).

    The project could...
  4. Replies
    7
    Views
    2,326

    read here what this person said:...

    read here what this person said:
    http://www.php.net/manual/en/ref.sqlite.php#66994

    If that doesn't help, try this (for your web server?):
    http://www.aprelium.com/abyssws/php5win.html

    if that...
  5. Replies
    7
    Views
    2,326

    Wait... let me get this strait... you're just...

    Wait... let me get this strait... you're just wanting your PHP to have SQLite2 instead of SQLite3.

    That way, if you write

    <?php sqlite_open(); ?> is means use sqlite2, rather than 3.

    Is...
  6. Replies
    7
    Views
    2,326

    Well I thank the noodly appendage that I've never...

    Well I thank the noodly appendage that I've never used SQLite2 or 3.

    Out of curiosity though, why can't you just use serialize() and unserialize() yourself. SQLite is a SINGLE USER database isn't...
  7. Replies
    7
    Views
    2,326

    Some frameworks make you write your sql queries...

    Some frameworks make you write your sql queries using their php library, and allegedly it makes switching the database version/flavor a really simple thing. I haven't used it myself, but iirc it is...
  8. Replies
    7
    Views
    2,326

    You don't have the PHP sql-lite extension ...

    You don't have the PHP sql-lite extension installed? look at <?php phpinfo(); ?> and it will say nothing about sql-lite if i'm correct. This is odd, because iirc this is compiled in by default so...
  9. This is a job for a firewall. Not a web...

    This is a job for a firewall. Not a web developer... The overhead of opening a sqlite (single user database) per HTTP request is insane. You could easily be the recipient of a no-cache DOS deluge ;\...
  10. Replies
    1
    Views
    668

    This line: $result = array($add, $subtract) ...

    This line:

    $result = array($add, $subtract)

    needs a semicolon :) as a sentinel to PHP (end of the imperative statement). PHP does not use a newline ("\n") character to determine when the end of...
  11. Replies
    2
    Views
    1,089

    Your query... SELECT dudes.dude_id, ...

    Your query...


    SELECT
    dudes.dude_id,
    dudes.dude_name,
    dudes_cars.car_name
    FROM dudes
    LEFT JOIN dudes_cars
    ON (dudes_cars.owner_dude_id = dudes.dude_id AND...
  12. try converting balance to a float or double...

    try converting balance to a float or double first.... perhaps you're coercing 1.0003 to become an integer somehow (in which case it will probably just be 1 and do nothing).
  13. There are some tools OTS (off the shelf...

    There are some tools OTS (off the shelf proprietary) that slaughter the database schema (it's a disgusting design), but it works like a freaking charm when it comes down to not even touching SQL... I...
  14. Replies
    1
    Views
    1,411

    I think you should jump onboard and see how deep...

    I think you should jump onboard and see how deep the rabbit hole goes :D
    but that may just be my courageous youth talking


    also, if you're using some type of version control.... he should have...
  15. Replies
    1
    Views
    1,500

    If you're wanting to do dynamically named columns...

    If you're wanting to do dynamically named columns (which is OK, and I typically do this when someone wants a "report" they could use in excel or whatever), you'll need to use at least two queries if...
  16. From dev.mysql.com: example: mysql>...

    From dev.mysql.com:


    example:


    mysql> CREATE TABLE t1 (
    -> a INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
    -> message CHAR(20)) ENGINE=MyISAM;
    mysql> CREATE TABLE t2 (
  17. prepend your script with:

    prepend your script with:



    <?php
    ini_set("display_errors", 1);
    error_reporting(E_ALL);
  18. Replies
    1
    Views
    627

    none that I can see.

    none that I can see.
  19. http://php.net/manual/en/language.references.retur...

    http://php.net/manual/en/language.references.return.php

    it's returning a reference to a static value. Keep in mind PHP uses a reference counting system for garbage collection. I don't see any...
  20. That is very odd. It is typically called the...

    That is very odd. It is typically called the referencing operator, (a reference to a value in memory as opposed to a value itself).

    I'm not sure what it means in this situation... What PHP...
  21. Replies
    3
    Views
    737

    Access denied for user...

    Access denied for user 'myrealusername'@'localhost' (using password: YES)

    try chaning localhost to 127.0.0.1

    They may appear to be the same in any other situation, but for MySQL they are very...
  22. Replies
    2
    Views
    842

    You shouldn't use an API when you already have...

    You shouldn't use an API when you already have existing data on your machine to do this.
    /usr/share/GeoIP/GeoIP.dat

    you can use apache2's mod_geoip (apt-get install apache2-mod-geoip or yum...
  23. Replies
    2
    Views
    637

    you could serialize the data and write it to a...

    you could serialize the data and write it to a seperate file instead of trying to write it in a configuration file format. It seems like the sensible tool to use in this situation.
  24. wat... ok you get putty, log in with your...

    wat...

    ok you get putty, log in with your "SFTP" credential (SFTP meaning... ftp over ssh). So ssh will spawn a shell (probably bash or sh), and you can use "cp" the copy command,
    cp <src> <dst>...
  25. You can use the "cp" command from ssh+[ba]sh....

    You can use the "cp" command from ssh+[ba]sh. That would make the most sense and would be exceptionally faster than using FTP to copy files.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles