admin

Forum Replies Created

Viewing 15 replies - 31 through 45 (of 53 total)

0 ANSWERS

February 16, 2017 at 10:04 am admin

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident.

#activate_pack, .topic-pack {
    background-color: #1ABC9C;
    color:#fff;
    padding:10px 20px;
    cursor:pointer;
    display: inline-block;
}
.knowledge .breadcrumbs {
    background-color: #00a4ef;
    color: #ffffff;
    height: 70px;
    width: 100%;
}

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident.
Thanks

February 16, 2017 at 10:04 am admin

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident.

#activate_pack, .topic-pack {
    background-color: #1ABC9C;
    color:#fff;
    padding:10px 20px;
    cursor:pointer;
    display: inline-block;
}
.knowledge .breadcrumbs {
    background-color: #00a4ef;
    color: #ffffff;
    height: 70px;
    width: 100%;
}

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident.
Thanks

February 16, 2017 at 10:03 am admin

Not every framework needs things installed or configured via the command line or even the php.ini file. I believe CodeIgnitor is like this – you can just put the path to the base CI directory in the path and off you go. I’m sure there’s documentation about how to use symfony on a hosting solution. In fact, this document explains how to use symfony on shared hosting.

February 16, 2017 at 10:00 am admin

The filename argument for parse_ini_file is a standard php filename, so the same rules will apply as opening a file using fopen.

You must either specify an absolute file path (“/path/to/my.ini”) or a path relative to your current working directory (“my.ini”). See getcwd for your current working directory.

Unlike the default fopen command, if a relative path is specified (“my.ini”) parse_ini_file will search include paths after searching your current working directory. I verified this in php 5.2.6.

February 16, 2017 at 10:00 am admin

I would imagine it only looks in the current working directory – See http://uk3.php.net/manual/en/function.getcwd.php if you want to know what that is.

You can always find a path relative to your application by basing it on $_SERVER[‘DOCUMENT_ROOT’]

February 16, 2017 at 9:57 am admin

I’d rather provide configuration examples than real config files. In my project there is setup.default.php file in root directory that every user need to copy as setup.php and amend to match local environment. Additionally, to prevent checking in back customised setup files there is a rule for it in .svnignore.

$ echo 'setup.php' > .svnignore
$ svn propset svn:ignore -F .svnignore .
February 16, 2017 at 9:57 am admin

What you are asking is inherently impossible. The game runs on the client and is therefore completely at the user’s mercy. Only way to be sure is running a real time simulation of the game on the server based on user’s input (mouse movement, keypresses), which is absolutely ridiculous.

February 16, 2017 at 9:55 am admin

phing is pretty much ant written in PHP where phpUnderControl adds support for PHP projects to CruiseControl and uses phing or ant on the backend to parse the build.xml file and run commands.

I just set up CruiseControl and phpUnderControl and it’s been working great. It checks out my SVN, runs it through phpDocumentor, PHP_CodeSniffer, and PHPUnit whenever we do a check in. Since it’s all based off of the build.xml file you can run just about any software you want through it.

February 16, 2017 at 9:55 am admin

We’ve been using Phing, and the cost to set it up has been very low; it’s really easy to learn even if you don’t know ANT. I’ve had very bad experiences with CruiseControl (instability – going down randomly) – so I like the simplicity of Phing. Plus, it’s easily extensible using PHP (in case you have a custom task that they don’t support out of the box).

February 16, 2017 at 9:52 am admin

Consider that users might only use one specific syntax element in a posting, so you’d have to check for everything. Looking for “h1.” obviously only works if the user uses exactly that element.

It’s pretty easy with things like headers, but consider that markdown formats *this* as this and Textile will convert that to this instead. So you’d have ambiguous syntax constructs that would yield different results in each language.

I’d suggest going with a user choice. Try to find out what syntax is generally preferred by your users (or you), offer an “use x instead of y” checkbox for those who want the other choice.

February 16, 2017 at 9:52 am admin

Auto-detection, I don’t know, both are based on “natural” typing.
Perhaps you can ask the user to choose a format, with a pair of radio-buttons or something.

February 16, 2017 at 9:50 am admin

I specifically said I do not need this for canvas applications (as that is trivial to do), but on Facebook Pages! This is done with profile.setFBML and data published that way does reside on the facebook servers.

February 16, 2017 at 9:50 am admin

Infinite sessions keys do not exist anymore
Every feed is unique. But even if it weren’t, can I just stuff the fbml.refreshRefUrl in a cron job and it will work without session (because I can not get an infinite session)= Or maybe I first need to request the offline_access extended permission? Is there any way without using cron jobs?

February 16, 2017 at 9:48 am admin

Zlib provides C APIs, and is part of the PHP functional API as well.

February 16, 2017 at 9:47 am admin

gzip is one of the most (if not the most) popular compression scheme. PHP has supported it since version 4. If you need even better compression, consider bzip2.

Viewing 15 replies - 31 through 45 (of 53 total)