Type: Posts; User: eval(BadCode)
Search took 0.04 seconds.
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...
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...
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...
read here what this person said:
If that doesn't help, try this (for your web server?):
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.
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...
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...
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...
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 ;\...
$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...
LEFT JOIN dudes_cars
ON (dudes_cars.owner_dude_id = dudes.dude_id AND...
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).
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...
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...
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...
mysql> CREATE TABLE t1 (
-> a INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
-> message CHAR(20)) ENGINE=MyISAM;
mysql> CREATE TABLE t2 (
prepend your script with:
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...
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...
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...
You shouldn't use an API when you already have existing data on your machine to do this.
you can use apache2's mod_geoip (apt-get install apache2-mod-geoip or yum...
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.
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>...
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.