Hello,
I am using CodeIgniter framework for PHP. It requires that index.php should be there in whatever url i type. How do i prevent this? Can anybody provide me a simple .htaccess file that will implicitly map it to index.php so user doesn't have to type it every time?
Thanks in advance:)
...
I've just noticed that my app is including over 148 php files on one page. Bear in mind this is the back end admin and not the main site, but is this too many? What impact does a large number of includes have on a server, both whilst under average load and stressed? Would disk I/o be a problem?
Included File Stats
File Type - Include C...
in windows, to use doctrine CLI from any directory i need to use something like
php D:\full\path\to\doctrine\bin\doctrine.php --variables here
is there anyway i can shorten this so that it becomes something like
php doctrine.php --variables here
or even
doctrine --variables here
...
Hello!
I'm trying to list all files (. DOC and. PDF) contained in a specific Web directory.
The problem is that I do not have access. I can only download with the full path of the file.
Example:
Directory 1: http://xxx.site.com/uploads/local20/40
Files:
45677.pdf
54354.doc
65767.doc
54354.pdf
43243.pdf
...
Directory 2: h t t...
My page should shown information like this:
No. Customer Bank_Name Amount
---------------------------
1. AAA Bank A 100
2. BBB Bank B 200
3. CCC Bank A 500
4. DDD Bank C 150
----------------------------
Total 950
How to sum amount as shown below:
Summary
No.Bank_Name...
i am trying to get started with Doctrine 2. and i am reading their intro. i am stuck trying to run
D:\Projects\Websites\php\Doctrine\sandbox>doskey doctrine=php d:\resourcelibrary\frameworks\doctrine\bin\doctrine.php $*
D:\Projects\Websites\php\Doctrine\sandbox>doctrine --version
Doctrine Command Line Interface version 2.0-DEV
// fro...
I have a shell script that runs very cpu intensive programs. FFMPEG,ffmpeg2theora,etc. and I want to be able to run them but not choke the server. Is there something I can do to make sure the running programs are running as fast as possible but not hurting the server?
Like a priority system...if something else comes along that needs it ...
I was wondering is there a good tutorial on how to build a good recommend to a friend PHP script?
...
I have added two pages through admin side(About us, privacy policy)
How can i show the 'About us' link in header section and 'privacy policy' link i the footer section of client side, dynamically
...
i want to use the dropbox api via this library
http://code.google.com/p/dropbox-php/
...
I need a separate class to generate barcode in php. Can any one tell me now?
...
Hello !
I know it may be simple question to all experienced developer..
I have trapped with the problem that how to set the path in bootstrap file
like ......
when i work on local ... i use this path
$filenam = "C:/xampp/htdocs/application/public/pdf_profile/$pdfname.html";
when i upload this particular file... i need to make chan...
Hi guys, I'm looking for an open source imap library which I can use to help in building my front for the webmail. My current code uses the zend framework but its too slow and memory intensive that I'm forced to look for other options.
I would like a library that is:
Lightweight
Regularly maintained
Allows for download and parsing of...
Launching my canvas page Facebook app is driving me crazy. When I posted it's link (http://apps.facebook.com/digitalhitcelebrity) to a fan page wall the FB "attach link" button grabbed the app's callback url (http://www.digitalhit.com/celebotd) instead.
The strangeness occurs here: if you go to the the callback url when NOT logged in it...
Anyone know how to close the connection (besides just flush()?), but keep executing some code afterwards. I don't want the client to see the long process that may occur after the page is done.
THANK YOU!
...
I do have 8 tables. when a query fires from search page data from all these 8 tables is pulled out and displayed on the result page. What I want to know is which is the best optimized query method for this process??
what I do now is :
$result = mysql_query("SELECT * FROM TG_dat,TG_dat1,TG_dat2,TG_dat3 WHERE
TG_dat.web = TG_dat1.web A...
I am trying to developed one flex 4 appliction using action script 3.0 and php.
In which on button click i want to check whether the callRespoder receive any result or not from php function ,but it's not working as actally as i want.It's work only on when i click on the button twice.
flex Application code:
<?xml version="1.0" encoding...
I am using xampp on windows vista. I want to run a php script once every x minutes. Is there anyway in xampp that can help facilitate this?, or is using the windows task scheduler the only way.
...
Can someone please show me how to do this basic thing using Zend Framework MVC?
I'm looping over the timestamp data and populating my table that way. i don't understand how I would pull my presentation HTML from this loop and stick it in the view? Any help would be greatly appreciated!
<table>
<?php
$day = date("j");
$month = d...
I am working on a project that requires reading text files, extracting data from them, and then generating reports (text files). Since there are a lot of string parsing, I decided to do it in Perl or Python or PHP (preference in that order). But I don't want to expose the source code to my client. Is there any good compiler for compiling...