-
Replied To a Post in Apache2 Perl-CGI scripts do not execute.
Hi, have you tried to enable the module? You can try with `a2enmod`: sudo a2enmod cgi If you remove the last argument then you get a list of the available … -
Replied To a Post in PHP calculate total price
That page (kosnica.html) needs to be processable by the PHP engine, so you can: * change the extension to `.php` * otherwise modify Apache to process `.html` files as php … -
Replied To a Post in PHP calculate total price
You can use session to send data from a page to another: * http://www.php.net/manual/en/book.session.php but if you're building a cart then use tables, here you can find an example of … -
Replied To a Post in PHP calculate total price
If you're using my previous example you can use `count($sum)`, it will return the total of the selected items. Otherwise you need to create a new loop and apply the … -
Replied To a Post in PHP calculate total price
That happens because if the first `IF` condition is satisfied it will stop executing the other statements. Can you explain what you want to achieve? For the next time, consider … -
Replied To a Post in PHP array variable define
Hi, you can use `sprintf` for this task: echo sprintf($eng['profile_permission'], $group, $permission); However before doing this you need to change the variables in the array with the value types, in … -
Replied To a Post in How to insert cookie in data base table
**Aside Note** Check CodeIgniter (CI) framework you can find an example of what you want to achieve, refer to their session library, here you can find the documentation: * http://ellislab.com/codeigniter/user-guide/libraries/sessions.html … -
Replied To a Post in get last updated time of database in mysql
Check the **information_schema.tables**: > explain information_schema.tables; +-----------------+---------------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-----------------+---------------------+------+-----+---------+-------+ | TABLE_CATALOG | varchar(512) | NO | | | … -
Replied To a Post in PHP trait method conflicts: trait "inheritance"
You can use `insteadof` to declare the first trait, then go with `as`, example: trait TheErrorOfYourWays{ public function booboo(){ echo 'You had a booboo :('; } } trait SpectacularStuff1 { … -
Replied To a Post in PHP calculate total price
You can create an array of prices, for example: $prices = array( 'sol' => 60, 'prasok' => 200, 'vegeta' => 100 ); And then, use a loop to check if … -
Replied To a Post in issue with pdf generation and download
@Laura if you want to be helped then open a new thread, explain the problem and attach the relevant code. Bye! -
Replied To a Post in Scripting Linux Fedora Error
Yes, on line `13` remove the last quote, so change this: echo "Error#: " 60" to: echo "Error#: " 60 -
Replied To a Post in if() and while() statements
> That's C++ ? I think so, but I could be wrong, at first when I saw `cout` I though it was Python, but the switch method is different. -
Replied To a Post in if() and while() statements
And you need it in C++(?) or in PHP? What have you done so far? -
Replied To a Post in Downgrade firefox 25 to 22
Hi, here you can find all the versions: * https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/ You can use multiple versions in the same box, just run the executable that you want to use. However you … -
Replied To a Post in PHP Form Handler not detecting $_POST?
I can only think to an internal redirect, that will empty the $_POST array. >I should add to the OP that the form is located in pages/forums.php and the handler … -
Replied To a Post in PHP Form Handler not detecting $_POST?
Place this `die(print_r($_POST));` before the `IF` statement and check what you get, you can do the same with `$_SESSION`. Otherwise just try to echo something before and after the conditional … -
Began Watching Daniweb OAuth support
Hi Dani, AFAIK OAuth 2.0 supports 3 flavours: Server side apps, client side apps and installed apps. Does Daniweb Oauth allow OOB in the redirect_uri which is part of the … -
Replied To a Post in Wordpress Image mapping (selecting part of an image to be a link)
With some CSS you could place a link over that area. If the container has relative position, then you can use `position:absolute`, for example: a.logo { position:absolute; top:10px; left:10px; display:block; …