Tagged Questions
PHP is an open-source server-side scripting language widely used in web development. Use this tag for questions about PHP classes, methods, functions, syntax and use.
0
votes
1answer
3 views
Make the media uploader accept flash files
I am currently working with WordPress on a project and I need to allow the WordPress Media-Uploader.
I need to allow the upload of flash files since everytime I attempt to upload a flash file i get ...
0
votes
1answer
23 views
Do I need to include my PHP class in every file
I have a class for managing a database. In this class I define the connection and I have various functions for different kind of fetches/retrieving of data.
I usually have a php file for ajax ...
1
vote
0answers
7 views
RDF api for PHP not returning classes with inheritance
I am using the RDF api for PHP (RAP). I want to be able to use the SPARQl engine to query my RDF, in this case it is based around the wine ontology at www.w3.org/TR/owl-guide/wine.rdf. Here is my ...
-1
votes
1answer
29 views
encoding HTML content with JSON [closed]
I have a set of archived articles from my blog in a database. The articles are stored in HTML. I want to JSON encode the content of the article by giving each tag a unique id and storing the content ...
-2
votes
0answers
15 views
Association rule learning in PHP [closed]
Is there any PHP data mining toolkit that includes association rule learning algorithms like: Apriori, Eclat, FP-growth ,...?
0
votes
0answers
8 views
How do I add my own custom fields to my custom page templates on WordPress?
I downloaded a WordPress theme and one of its custom page templates has some custom fields that can be found when editing the pages of this particular page template. When you edit these fields within ...
0
votes
1answer
8 views
ini_set for xdebug.remote_enable not work
I'm trying to disable xdebug on "Prod" environment(in php.ini this option is "1") via command:
ini_set('xdebug.remote_enable', '0');
But this is not work, phpinfo show this option value is enabled. ...
0
votes
0answers
10 views
Apache Rewrite for URL with subfolder to internal subfolder
Assuming I have to following URL:
www.example.com/subA
And the following folder structure on the server:
/subA
/public_html
index.php
/css
/js
[...] ...
-5
votes
1answer
32 views
HTML conditional statement
I’m trying to automate user creation in our division.
Following are the one I’m trying to do at the start.
Form to get user credentials, After entering the credentials, request will go to LDAP ...
-1
votes
1answer
12 views
Loading custom library in constructor
public function __construct()
{
$this->load->library('googleapi');
$this->authUrl = $this->googleapi->generateAuthUrl();
}
But I get: Message: Undefined property: Home::$load;
...
1
vote
0answers
11 views
how rewrite urls without rooting to single file?
i guess is not possible but it may exist a way that i don't know for pretty url, or url rewriting without rooting all requests on a single index.php page
on existing website with folder structure and ...
0
votes
0answers
8 views
How to create laravel based project in Netbeans with all steps?
I want to create a project using laravel framework. But I don't know that What kind of plugins and libraries I need to integrate in netbeans.
Please let me know about steps to run any demo ...
1
vote
1answer
16 views
Using mod-rewrite to pass route to index.php
I'm kind of new to mod_rewrite so I need some help from you guys.
My folder structure is:
assets/fonts/ Contains all fonts
assets/images/ Contains all images
assets/scripts/ Contains ...
0
votes
0answers
8 views
Zend 1 unittest don't send POST value
I've got this simple test
public function testUserCanRegisterAction()
{
$data = array(
'email'=>'[email protected]',
'password'=>'password',
...
0
votes
1answer
15 views
PHPExcel save file
Hi all I have a site and i want to create an excel file and save into my folder into my server.
I have tried in this mode but every time ask me to download it.
I don't want that ask to download ...