trq
Staff Alumni-
Posts
30,999 -
Joined
-
Last visited
-
Days Won
26
Everything posted by trq
-
Have you looked into jQuery or a similar framework? This sort of thing is simple with a decent framework? Otherwise, where are you stuck? You haven't exactly posted any code.
-
Your point? phpBB likely allows blocks to appear raw when there is no data within them. I still fail to see the logic in your question / problem. What exactly would you expect your parser to do when it sees a closing [/code] tag? I would expect it to close the code block.
-
You need to turn error reporting on on your server, your code is riddled with syntax errors.
-
Which is exactly what your rewrite rule does.
-
Post your current code.
-
What exactly would you expect to happen? Any parser still needs the correct syntax given to it.
-
.box1 { background-image:url(images/newimage.jpg); }
-
You have html after the ; on that line, which continues onto the next line.
-
tried to install xampp on lucid lynx but things went wrong
trq replied to gencom97's topic in Apache HTTP Server
Ubuntu has a package manager that is perfectly capable of installing the amp stack. Did you use it to install xampp? -
What makes you believe JSP is any quicker than PHP?
-
Again, you cannot execute anything on the clients computer.
-
Help needed with PHP session management class
trq replied to Fergal Andrews's topic in PHP Coding Help
Why would there be a restriction on being able to use php sessions? You can use standard php sessions and still store all session data in a database if the writing of files is the problem. -
A bat file is just another executable. Where exactly are you trying to execute these? On the server or the client?
-
If it is enabled. Your not going to be able to execute an exe file on a client.
-
Were not here to write code for people. I suggest you learn enough cold fusion to pull this apart and turn it into php. Or, if you know php well enough, just write it from scratch.
-
Thanks for what?
-
Is there any decent way to distribute complex PHP CLI scripts?
trq replied to DWilliams's topic in PHP Coding Help
That is pretty much what package managers do. If however (as you have found) the packages you depend on are not available through whatever package manager you (or the end user) are using you won't have much choice but to have them manually install the application. Obviously, you should try and avoid uncommon dependencies when writing an application for distribution. What you could also do however (and this will mean allot more work) is actually provide (and maintain) the dependencies yourself as packages as well. -
You need to draw up a document outlining a sites requirements before work even begins. Anything outside of these requirements needs to be re-negotiated. And yes, you should always get sign-off on work completed. Generally I work on the principle of 1/3 upfront, 1/3 at beta and the final 3rd when the spec is completed.
-
Is there any decent way to distribute complex PHP CLI scripts?
trq replied to DWilliams's topic in PHP Coding Help
Because most (if not all) Linux distributions have there own package management systems distribution should be rather simple. Release a pure src version allowing a manual install and simply list any dependencies within a README file. Then, either you or someone else could maintain distro specific packages. eg; deb, rpm or ebuild scripts. -
doNo Function is Not Defined when its clearly in the file!
trq replied to McBryver's topic in Javascript Help
Its likely out of scope from where it is being called. No way I'm digging through all that code to find out however. -
Using php to iterate through a text file on a timed interval
trq replied to franko75's topic in PHP Coding Help
PHP and the web servers it runs on are completely stateless and therefore have no way of executing script a given time. Depending on how you want your script to work you could either setup the timer in Javascript (on the client) and have the web browser make a new request every 15 minutes. Or you could schedule the script to be execute by your OS's schedule daemon 9this of course would not be seen by any client). -
Strings need to be surrounded by quotes. eg; mysql_connect('localhost','example','example')
-
Variables are not interpolated within single quotes.
-
Obviously you didn't read the sticky at the top of it then.
-
Nothing flash. Connects to a database creating a drop down list of countries with India selected by default.