PHP append variable to url in address bar

PHP
I would like to know if its possible to append a variable to url in address bar when page loads. demo: http://communityimpact.com/discussions/ Curre...
1 year ago

Permission denied config.inc.php

PHP
I'm trying to install canvace, but both in local and on another dev server I'm getting error "file_put_contents(config.inc.php): failed to open stream...
1 year ago

How can I write migrations to insert records using phinx?

PHP
I'm using phinx to handle the migration on a new project, now I need to create a new table and insert some rows to it, I have: $tableStatus = $this-&...
1 year ago

Error message Strict standards: Non-static method should not be called statically in php

PHP
I have the following php. However when I see the index.php I get the following error message. Strict standards: Non-static method Page::getInst...
1 year ago

Laravel 5.1 CSRF in iframe, how to make it work?

PHP
I have a plugin for my app that users can implement in their website that contains a form. The problem is that I get TokenMismatchExceptionwhen the fo...
1 year ago

Magento USPS Not Properly Making API Request For International Country

PHP
I have a magento store that needs to be able to ship orders to Curacao. By default this is grouped as Netherland Antilles in Magento, however, I found...
1 year ago

json_decode() expects parameter 1 to be string, array given

PHP
what cause error in the my code? $query = $this->db->query("SELECT * FROM tour_foreign ORDER BY id desc"); $data = array(); for...
1 year ago

How to change a pipe-forwarded email's "From" and "To" section in PHP

PHP
I am trying to mask emails. Basically give an email to a client like "RandomName@MyDomain.com" and have it forward "MyRealEmail@MyDomain.com". I am p...
1 year ago

PHP SQL syntax error MYSQL UPDATE

PHP
So for a long time this code worked but now all of the sudden i get this error: Error: You have an error in your SQL syntax; check the manual that co...
1 year ago

Using an online tool to generate a random name

PHP
I found this website http://www.mess.be/inickgenwuname.php It allows you to type in a name and it will generate a random rapper name. I wanted to hav...
1 year ago

Problems displaying rowspan in dompdf and cakephp

PHP
I have been searching through the Internet searching for a solution to my problem. I am currently using CakePhp + dompdf to generate a PDF. It works f...
1 year ago

What is the good example of using 'func_get_arg' in PHP?

PHP
I just have found out that there is a function called func_get_arg in PHP which enables developer to use variant style of getting arguments. It seems...
1 year ago

How to append scripts and data to existing websites?

PHP
I am not sure if I am asking the right question. If someone could clarify and correct this that would be welcomed! Thank you. I stumbled upon RapGeni...
1 year ago

How to get lastInserted Value on different field instead of ID when successfully insert

PHP
Good day, There was a function on laravel where you can get last inserted ID using the ->insertGetId command eg: $insId = DB::table('time_log_tbl...
1 year ago

Using php loops inside mailtext [mail()]

PHP
I have to send an email for each order. I would formatting the Text a little bit and if there are more orders i would separate like this: 1 clothes 2...
1 year ago

Remove empty elements from XML in php

PHP
Say I have this XML and I need to remove empty elements (elements that don't contain data at all) such as: ... <date> <!-- keep oneDay -...
1 year ago

3 way login in different session

PHP
i use this code but it keeps getting the session of admin when i login as employer i know my conditional statement is wrong what should i do ? if ($u...
1 year ago

nginx showing blank PHP pages

PHP
I have setup an nginx server with php5-fpm. When I try to load the site I get a blank page with no errors. Html pages are served fine but not php. ...
1 year ago

Simple HTML DOM getting href and anchor text from within heading

PHP
For starters this is the code that I have <?php include ('parser_class.php'); $source = file_get_html('http://www.billboard.com/se...
1 year ago

Convert checkbox to dropdown using PHP

PHP
I'm using WP Job Manager plugin, and I want to convert the Job type checkbox into dropdown (the gray background). I tried to convert it but I have no...
1 year ago