I've been wrestling with this issue for a few days, I'm hoping someone
can help.
The issue we had is that we have a system httpd running a custom
php-5.2.9 which is compiled in /opt/php/. The php.ini for this
installation linked to and ioncube accelerator Zend module. The same
apache also hosted
I'm not sure it will resolve your issue, but the closing ?> is not a
requirement and will eliminate any chance of you adding whitespace to
the end of your scripts:
#!/usr/bin/php
mailto:and...@packetstorm.com]
Sent: Wednesday, March 25, 2009 11:29 AM
To: php-general@lists.php.net
Subject: [PHP] n
n the same position.
- Kyle
-Original Message-----
From: kyle.smith [mailto:kyle.sm...@inforonics.com]
Sent: Wednesday, March 25, 2009 10:56 AM
To: php-general@lists.php.net
Subject: [PHP] Multiple PHP's and php.ini's - Linux 5.2.9/5.2.6
I've been wrestling with this issue f
Have you bolded sections of the email or are there really asterisk
characters in those strings?
Assuming it's bolding being converted to text, why shouldn't this work?
It's definitely not the best approach, for example if you instanciate
the "index" class twice, you'll re-include the code *again*.
What about using "IN", something like:
SELECT * FROM book WHERE id IN (SELECT bookID FROM book_authors WHERE
authID IN (SELECT author.id FROM authors WHERE last_name LIKE
"$Auth%"));
You could use LEFT instead of LIKE, too.
-Original Message-
From: PJ [mailto:af.gour...@videotron.ca
Try something like print_r on $_POST to see if it contains *anything*,
seems like it's empty?!
Also, when you say blank emails I assume you mean they have the template
you made but the variables are empty and not zero-length emails.
-Original Message-
From: Gary [mailto:gwp...@ptd.net]
S
re working, but I cant seem to find why the others are not.
Thanks for your reply.
Gary
""kyle.smith"" wrote in message
news:d3fe56d174abf6469079ca1a5c8474a804fa9...@nsmail01.inforonics.corp..
.
Try something like print_r on $_POST to see if it contains *anything*,
seems lik
This is unrelated, the email sends fine. And it's one per submission.
-Original Message-
From: doctortomor...@gmail.com [mailto:doctortomor...@gmail.com] On
Behalf Of 9el
Sent: Friday, April 03, 2009 3:37 PM
To: Gary
Cc: php-general@lists.php.net
Subject: Re: [PHP] What is wrong with thi
Wow can't believe I missed that. I also was wondering why Ray mailed an
empty message... :)
-Original Message-
From: doctortomor...@gmail.com [mailto:doctortomor...@gmail.com] On
Behalf Of 9el
Sent: Friday, April 03, 2009 4:05 PM
To: Gary
Cc: php-general@lists.php.net
Subject: Re: [PHP]
You're echoing the return value of include(), which is "true", or 1.
--
Kyle Smith
Unix Systems Administrator
-Original Message-
From: Gary [mailto:gwp...@ptd.net]
Sent: Thursday, April 16, 2009 2:14 PM
To: php-general@lists.php.net
Subject: [PHP] Re: Strange result, 1 shows up
Perf
How is 700MB too big for HTTP? Ever download a linux distro? Ever
benchmark FTP vs HTTP, the overhead is minimal...
--
Kyle Smith
Unix Systems Administrator
-Original Message-
From: Nitsan Bin-Nun [mailto:nit...@binnun.co.il]
Sent: Thursday, April 16, 2009 3:37 PM
To: PHP General L
Have you tried escaping the : with a \?
Like:
mb_ereg_replace('^(.*)this is the test\: replace(.*)$', '', $contents
,'UTF-8');
Also, have you tried removing the : and adjusting the input string to
verify your belief that it's the :?
HTH,
Kyle
-Original Message-
From: Merlin Morgenstern
Edward Diener wrote:
> Phpster wrote:
>>
>>
>> On Apr 21, 2009, at 20:32, Edward Diener
wrote:
>>
>>> I have a PHP script which uses the PHP 'mail' function. When the
>>> script's 'to' address is an AT&T address, such as my own as an AT&T
>>> ISP customer, the mail never gets to me. If the 'to'
> Phpster wrote:
>>
>>
>> On Apr 21, 2009, at 20:32, Edward Diener
wrote:
>>
>>> I have a PHP script which uses the PHP 'mail' function. When the
>>> script's 'to' address is an AT&T address, such as my own as an AT&T
>>> ISP customer, the mail never gets to me. If the 'to' address is
>>> anyt
It's always better to validate your inputs in any was possible, this
helps prevent exploits.
-Original Message-
From: Gary [mailto:gwp...@ptd.net]
Sent: Thursday, April 30, 2009 8:51 AM
To: php-general@lists.php.net
Subject: [PHP] Warning: Division by zero
I have a script that is a resu
Most carriers have email-to-sms bridges. For example, I use AT&T
Wireless and you can text me by sending an email to
myphonenum...@txt.att.net.
HTH,
Kyle
-Original Message-
From: dheeraj bansal [mailto:bansalcooldhee...@gmail.com]
Sent: Wednesday, May 13, 2009 10:24 AM
To: php-general@
SSL occurs a layer above HTTP, so HTTP/1.1 is correct. HTTPS is not a
different data protocol, but a different transport protocol.
HTH,
Kyle
-Original Message-
From: Dee Ayy [mailto:dee@gmail.com]
Sent: Friday, May 22, 2009 11:05 AM
To: php-general@lists.php.net
Subject: [PHP] IE ca
I'm confused as to why cron doesn't work for you. It doesn't explicitly
tell you when the next X occurences will be, but math does. If you
schedule something to run every 5 minutes starting at 1:45 PM, it's
simple work to be able to report that the next times would be 1:50 PM,
1:55 PM, 2:00 PM et
Wrap some debug code in the loop:
echo "I want to upload $file. Is it a file?" . is_file($file) .
"";
See what that says.
-Original Message-
From: haliphax [mailto:halip...@gmail.com]
Sent: Thursday, June 04, 2009 10:23 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Not a regular
Likewise, do some debug output.
echo "I'm going to upload $FilePath to $remote_path.";
Make sure it looks sane, maybe your variables aren't what you think they
are... You can also use is_file() on http:// locations, AFAIK.
-Original Message-
From: Miller, Terion [mailto:tmil...@springfi
One of two things is happening:
- PHP is crashing, maybe a memory leak, etc.
Or
- That while(true) loop is exiting, and the script is completing.
Would be interesting to know which, try adding this after the loop:
$fp = fopen('/tmp/test','w');
fputs($fp, 'My script left the loop and exited clea
You really can't send multiple files in a single response, and you certainly
can't send multiple headers after data has gone through.
Zipping would be a nice approach. Another would be to use AJAX calls to
sequenctially download the files.
HTH,
- Kyle
-Original Message-
From: Ashley
-Original Message-
Recently i read this blog post about speed issues comparing PHP with
ASP.net, please, read that and comment what you think about it:
http://misfitgeek.com/blog/aspnet/php-versus-asp-net-ndash-windows-versu
s-linux-ndash-who-rsquo-s-the-fastest/
The big deal is: I don't
23 matches
Mail list logo