php-general Digest 26 Feb 2010 18:40:07 - Issue 6611
Topics (messages 302398 through 302406):
header function query
302398 by: Nick allan
302399 by: Richard Quadling
302402 by: Rene Veerman
weird behavior: Apache mod rewrite
302400 by: Alberto Lepe
php-general Digest 27 Feb 2010 07:05:54 - Issue 6612
Topics (messages 302407 through 302419):
Post and Redirect
302407 by: Shawn McKenzie
302410 by: Ashley Sheridan
Help preserving sentence structure
302408 by: John Tamm-Buckle
302411 by: Ashley Sheridan
On 26 February 2010 06:49, Nick allan nal...@wdev.net wrote:
Hi all
The situation is as follows
I've read some data in from a couple of files into a string variable, made
some changes to it and want to send the contents of the string out to the
browser as a word document.
My code
Hello everyone, this is my first time in this mailing list.
Using: PHP Version 5.2.10-2ubuntu6.4, Apache/2.2.12
I'm redirecting all the request into one file with ( .htaccess ):
RewriteEngine On
RewriteRule .* index.php
My index code is:
?php echo $_SERVER[REDIRECT_URL]; ?
In the same
On Fri, 2010-02-26 at 18:39 +0900, Alberto Lepe wrote:
Hello everyone, this is my first time in this mailing list.
Using: PHP Version 5.2.10-2ubuntu6.4, Apache/2.2.12
I'm redirecting all the request into one file with ( .htaccess ):
RewriteEngine On
RewriteRule .* index.php
My index
output the html you want to send afterwards first,
then either put a link to another script that outputs the word file,
or have an auto-launch ajax routine (i recommend jquery.com for ajax)
do it automatically.
On Fri, Feb 26, 2010 at 7:49 AM, Nick allan nal...@wdev.net wrote:
Hi all
The
Hey guys.
In my system we´ve got an option of getting charts of some data and it´s
many options.
My problem is that it works fine on my test server but in my client´s server
it gives me the following error as you can see.
*** glibc detected *** /var/www/html/bin/httpd: munmap_chunk(): invalid
Angus Mann wrote:
Hi all. I know this is not strictly a PHP question but the code will be
written in PHP, and I figure the folks here will be well versed in the
questions I raise. Please feel free to contact me off the list if appropriate.
I need some assistance with database design for a
Nathan Rixham wrote:
Angus Mann wrote:
Hi all. I know this is not strictly a PHP question but the code will be written
in PHP, and I figure the folks here will be well versed in the questions I
raise. Please feel free to contact me off the list if appropriate.
I need some assistance with
Bob wrote:
I'm seeing mischief from ctype_print.
So far as I can tell, the British Pound symbol, '£' is considered a
printable character according to the locale I use on my Ubuntu box. But
even across two years, two boxes, several versions of Ubuntu (from 7.04
to 9.10, one x86, one
I remembered seeing this question on the list several times in the past,
so I thought I would post something I just hacked up for someone.
As we know, we can user header() to redirect the browser, but of course
we can't redirect the browser and have it post data to the new page. If
you need to
Hi, new to this list...
I'm adapting some code that generates text and want to keep the syntax. In
the original version the output was iterated from an array in pre tags.
That was fine for what it was, but it's now a word press plugin and the
pre tags get in the way. How do I keep the sentence
Hi,
I've build a registry class to store settings I need to use in several
other classes.
Currently I've set it up with a static array in the registry class and
using two methods to access the settings and values
storeSetting($key,$value) {
$this-_settings[$key] = $value;
}
getSetting($key) {
On Fri, 2010-02-26 at 13:26 -0600, Shawn McKenzie wrote:
I remembered seeing this question on the list several times in the past,
so I thought I would post something I just hacked up for someone.
As we know, we can user header() to redirect the browser, but of course
we can't redirect the
On Fri, 2010-02-26 at 14:11 -0600, John Tamm-Buckle wrote:
Hi, new to this list...
I'm adapting some code that generates text and want to keep the syntax. In
the original version the output was iterated from an array in pre tags.
That was fine for what it was, but it's now a word press
Thank you all very much for your replies.
I learned about a few new approaches.
I didn't see it come up yet, so I'll post the URL of what I have been using.
php_writeexcel -
http://www.bettina-attack.de/jonny/view.php/projects/php_writeexcel/
I've been able to pull off quite a bit with this
Hello, Nathan.
I'm glad to hear that someone else can reproduce the problem with
en_GB.UTF-8. I was worried it was some bad luck quirk that I was never
going to get to the bottom of.
I tried using en_US.utf8 (and also en_US.UTF-8) in setlocale (and it did
not return false, so again looks like
In php.i18n, an interesting discussion about this problem has appeared.
It looks like the problem is Ubuntu and not PHP, as a short chunk of code
written in C and using the native isprint equivalent to ctype_print also
returns false for the British Pound symbol.
--
PHP General Mailing List
http://us.php.net/manual/en/function.htmlentities.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
A week ago Dasn asked a question about converting arrays, and I quoted one
possible way of
achieving his task, using the operation:
$i = 0; while ($i $k) { $b[$a[$i++]] = $a[$i++]; }
I added the comment that I have always been wary of using statements like this
because I
was unsure when the
Hi all
Has anyone got any ideas why the following isn't giving me correct filename
in the ie save dialogue
header('Content-Type: application/msword');
header('Content-Disposition: attachment; filename=PurchaseReq.doc');
I get the save dialogue, but with preq.doc instead of PurchaseReq.doc
Three weeks ago I was working through the Lynda.com PHP with MySQL
Training because I wanted to begin using PHP (surprise, surprise).
Anyway, on this video course the teacher explains that because installing
PHP and MySQL is so well understood on a Mac that we may as well just follow
his steps
On 02/27/2010 06:09 AM, Austin Powers wrote:
It is purely a guess that I need to start again from a complete clean setup
(reformatting my hard disk and reinstall OS X again) but that is pretty much
out of the question.
I guess my question is:
How can I completely uninstall PHP so that I can
Austin Powers wrote:
How can I completely uninstall PHP so that I can start again?
Not knowing the Mac I'm fishing ;)
How did you INSTALL PHP? We normally do this via a 'package manager' of some
sort, where you find the 'PHPxx' and select it. Uninstalling is simply a matter
of 'deslecting'
24 matches
Mail list logo