trq
Staff Alumni-
Posts
30,999 -
Joined
-
Last visited
-
Days Won
26
Everything posted by trq
-
There are like a million different things you can do, and no single answer to a question such as "what security should i use?".
-
I didn't really look at your code earlier, but there is definitely no limit clauses in your queries. You might also want to take a look at what mysql_fetch_array actually returns, I think you might be confused. It only ever returns a single record.
-
Simple Encryption Routine VBA to PHP URL Encoding Problem
trq replied to Shinzan's topic in PHP Coding Help
I've got to ask why your doing all of this? Get an ssl and be done with it.- 11 replies
-
- php
- encryption
-
(and 3 more)
Tagged with:
-
You have provided nothing that is at all helpful I'm sorry. Can we see the markup your php produces?
-
There is no way this: <?php echo $result.'_s'; ?> will ever produce the string "batman"
-
Why? Your are now querying the database for more data than you use.
-
select field with multiple sub-categories - too inefficient
trq replied to 1internet's topic in PHP Coding Help
So your just going to put off learning how to do things properly for now? -
If you don't want to work within the confinements of the framework you are using you are really going to need to investigate this stuff yourself. I completely understand where you are coming from (except the composer part - this truly is an awesome tool), as in a lot of cases, skeleton apps do not fit your normal workflow. The problem is, that most frameworks require a certain amount of convention. This is how they make application development "rapid". The framework needs to kno wwhere everything lives and expects things to be configured accordingly. Some frameworks however are more configuration over convention out of the box. This gives you the flexibility to configure the conventions used by the framework. We have just spent the past 4 months bending Laravel into a shape that was right for us. We now have our own structure / skeleton. Unfortunately however, this stuff isn't usually documented anywhere, and if it was, it would be describing someone else's workflow which is precisely what your trying to avoid. There are other, more minimal frameworks around however that will allow you to make these sorts of changes more easily. Silex comes to mind. It is a very small framework built on the shoulder of Symfony2.
- 1 reply
-
- php
- zend framework 2
-
(and 1 more)
Tagged with:
-
Silex (http://silex.sensiolabs.org) is an awesome micro-framework built on the shoulders of Symfony (another great though full stack framework).
- 8 replies
-
- 1
-
- framework
- micro-framework
-
(and 1 more)
Tagged with:
-
Your code makes little sense thanks to nameless variables. Care to elaborate?
-
Can't you just mount the drive or whatever it is you Windows users call it?
-
You would need to develop some form of API. Most people first develop there API, then build there websites and mobile apps from that.
-
That is incorrect. You can define a static property like any other.
-
best way to show page only if user logged in?
trq replied to john.muckley's topic in PHP Coding Help
Or better yet, use booleans instead of strings. -
You should be running workbench locally and connecting to a remote server.
-
What steps (if any) have you taken to debug the issue?
-
/ is the root of the filesystem as far as php is concerned.
-
Is your project really in the root of the filesystem? Seems an odd place to put it.
-
Yuk. Anyway. I would probably run another vps instance for this task.
-
Your question however is unrelated to this board.
-
Try google. This boars is for help with code, not help finding it.
-
Take the autoincrement ID from Database and call as default number
trq replied to shebbycs's topic in PHP Coding Help
Why guess? I'm trying to get the op to ask a decent question. This thread is a joke. -
PHP variables not passing through javascript function
trq replied to Xanco's topic in PHP Coding Help
The variables to not exist until after the form has been submitted.