trq
Staff Alumni-
Posts
30,999 -
Joined
-
Last visited
-
Days Won
26
Everything posted by trq
-
We are going to need a lot more information about exactly what it is you are doing.
-
how to develop interface between xml and mdb files
trq replied to PriteshP23's topic in PHP Coding Help
Do you have a specific issue? -
As Strider has mentioned, just use password_compat and be done with it. https://github.com/ircmaxell/password_compat
-
how to develop interface between xml and mdb files
trq replied to PriteshP23's topic in PHP Coding Help
That would completely depend on your ability, and the amount of differing data that you have. How long is a piece of string? -
So where is bing_results defined?
- 1 reply
-
- unrecognised
- variable
-
(and 2 more)
Tagged with:
-
Is not a valid SQL statement.
-
The highest id is not necessarily the same number as the number of rows. What if you delete a row? Anyway... SELECT id FROM tbl ORDER BY id DESC LIMIT 1
- 10 replies
-
- last row of the table
- max row count
- (and 1 more)
-
You need to define what you mean by "last row". Relational databases don't store data in any particular order. If you really want to know what the last row inserted was, you will need to store a timestamp with each record, then find the latest record using that.
- 10 replies
-
- last row of the table
- max row count
- (and 1 more)
-
Because your query is failing. Meaning $result is the boolean false.
-
Firstly, why would you ever need this information?
- 10 replies
-
- last row of the table
- max row count
- (and 1 more)
-
So attach it to a class instead of an id. ps: I moved your thread as it has nothing at all to do with Ajax.
-
Let's test CryptBB - Open source encrypted forum
trq replied to VanDerSaAr's topic in Website Critique
This board is for website critique. Your OT. -
Configuration to protect the PHP source code?
trq replied to ragax's topic in PHP Installation and Configuration
We have 1100+ clients, who all have copies of our code in there servers. We do however maintain these servers for the clients but that is beside the point. In like the last 7 years there has been one instance of someone breaking their license agreement by trying to use our code outside of it. As for static site generation. I use it because i prefer to add content to my sites via vim and git rather than using some web interface. My sites source code is available (and the app I created to generate it) at the links in the bottom right corner of the site. You'll have to excuse the design of that thing, I got half way through converting it and couldn't be bothered to be honest. -
Configuration to protect the PHP source code?
trq replied to ragax's topic in PHP Installation and Configuration
License agreements. Obfuscating code won't achieve much. -
You have missed the entire point of this forum.
-
It's not clear exactly where you are stuck. Being a PHP development board, I would assume you are wanting to create your own program to generate reports. Where are you stuck?
-
These types of requests need to be posted in the freelance board. Were not here to just fix/write code for people.
-
No idea, what the Smarty() method does, but it looks like its depricated somehow. Just replace: $this->Smarty(); with parent::__construct();
-
This is a non issue thanks to namespaces.
-
There is an example on the page I linked you to. It's also a very well documented spec, where exactly are you lost?
-
Just install something like Xamp if you can't figure out how to install things yourself.
-
Do yourself a favour and follow a standard. https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md You can then use any number of implementation that already exist including composers auto loader. Though to be fair, you can use composers auto loader without being PSR-0 compliant, but anyway.
-
Must have missed this? http://forums.phpfreaks.com/topic/150979-this-board-is-not-a-code-repository/