As Manuel said, have you tried to send no-cache headers and tags?
--
Nitsan
On Fri, Jun 12, 2009 at 8:04 AM, Manuel C. wrote:
> Matt Neimeyer a écrit :
>
> I'm at a complete loss... So I'm hoping someone can point me in the
>> right direction to even start looking.
>>
>> We have an applicatio
Matt Neimeyer a écrit :
I'm at a complete loss... So I'm hoping someone can point me in the
right direction to even start looking.
We have an application written in PHP that lets users send out emails.
The basic process is as follows.
1. Go to "start" screen. (This resets anything currently in
Hello, im trying to make the CMS system im using more SEO friendly by giving
each page it's own title. Right now, the system assigns all pages the same
general title. I would like to use PHP to discertain which page is being viewed
and in turn, which title should be used.
I have put in the titl
I am just beginning my foray into writing my own wrapper for a C++ library
that maintained by someone else. I have ordered Sara Golemon's book "Extending
and Embedding PHP" which should arrive in the next week or so, but until then
I had a couple of questions that I was hoping might be able to b
It looks like a connection problem,
You has to make sure php can connect to the IP
You can remove the IP from the source, just add an entry in the /etc/hosts
file
Mrtn
On Thu, Jun 11, 2009 at 8:14 PM, Daniel Brown wrote:
> On Thu, Jun 11, 2009 at 19:07,
> ioan...@btinternet.com wrote:
> >
>
Robert Cummings wrote:
> Shawn McKenzie wrote:
>> Waynn Lue wrote:
>>> For mysql, it's better to use int and then store it in cents (or
>>> micros) so you can use all integer operations instead of float ones.
>>>
>>
>> To each his own. Speed or otherwise I don't see a difference between:
>>
>> $to
>
> Shawn McKenzie wrote:
>
>> Waynn Lue wrote:
>>
>>> For mysql, it's better to use int and then store it in cents (or
>>> micros) so you can use all integer operations instead of float ones.
>>>
>>>
>> To each his own. Speed or otherwise I don't see a difference between:
>>
>> $total = 19.95 + 3
On Thu, Jun 11, 2009 at 19:07,
ioan...@btinternet.com wrote:
>
> The target URL works perfectly and quicly if put directly into the browser
> URL line.
>
> Do you know of any other reasons for problems with such a connection?
Is the script being run located on the same system as which you're
u
Shawn McKenzie wrote:
Waynn Lue wrote:
For mysql, it's better to use int and then store it in cents (or
micros) so you can use all integer operations instead of float ones.
To each his own. Speed or otherwise I don't see a difference between:
$total = 19.95 + 3.99; //shipping
and
$total =
I have been having problems with a curl script which works normally with
many different URLs but had a particular intermittant problem with a url
in the following format:
http://10.20.30.40/0001/032/023112/filename.phtml?param1=paramvalue1¶m2=paramvalue2
etc etc.
The unusual thing about th
Waynn Lue wrote:
> For mysql, it's better to use int and then store it in cents (or
> micros) so you can use all integer operations instead of float ones.
>
To each his own. Speed or otherwise I don't see a difference between:
$total = 19.95 + 3.99; //shipping
and
$total = 1995 + 399; //shipp
For mysql, it's better to use int and then store it in cents (or
micros) so you can use all integer operations instead of float ones.
On 6/11/09, Shawn McKenzie wrote:
> revDAVE wrote:
>> Php - MySQL - newbie question
>>
>> - Field type for american money - int(11) seems to work fine
>>
>> - but
revDAVE wrote:
> Php - MySQL - newbie question
>
> - Field type for american money - int(11) seems to work fine
>
> - but also I tried decimal(10,2)
>
> Is one a better choice than another for american money usage?
>
>
> --
> Thanks - RevDave
> Cool @ hosting4days . com
> [db-lists 09]
>
>
>
On Thu, Jun 11, 2009 at 16:08, revDAVE wrote:
> Php - MySQL - newbie question
>
> - Field type for american money - int(11) seems to work fine
>
> - but also I tried decimal(10,2)
>
> Is one a better choice than another for american money usage?
For PHP, check out money_format(), number_format
Php - MySQL - newbie question
- Field type for american money - int(11) seems to work fine
- but also I tried decimal(10,2)
Is one a better choice than another for american money usage?
--
Thanks - RevDave
Cool @ hosting4days . com
[db-lists 09]
--
PHP General Mailing List (http://www.php
Jean-Pierre Arneodo wrote:
Ashley Sheridan a écrit :
On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my script.
Any idea to solve?
Thanks
PHP 5.2.9-0.dotdeb.2 with Suhosin-Patch 0.9.7 (cli) (built: Apr 7
Ashley Sheridan a écrit :
On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my script.
Any idea to solve?
Thanks
PHP 5.2.9-0.dotdeb.2 with Suhosin-Patch 0.9.7 (cli) (built: Apr 7 2009
20:06:36)
Linux ubunt
Hello!
we have packaged PHP 5.3.0RC3, which you can find here:
http://downloads.php.net/johannes/
Windows binaries are available here:
http://windows.php.net/qa/
This third release candidate focused on bug fixes and stability
improvements and we hope to only require minimal changes ahead
of the
On Thu, Jun 11, 2009 at 13:24, Mika Pohjola wrote:
> It could be arti...@bluemusicgroup.com or m...@bluemusicgroup.com
>
> Please, remove. Thanks.
Mika,
You will need to do this yourself at http://php.net/mailinglists.
If it's a different address forwarding to your primary that is
subscri
It could be arti...@bluemusicgroup.com or m...@bluemusicgroup.com
Please, remove. Thanks.
2009/6/11 PJ
> Robin Vickery wrote:
> >
> >
> > 2009/6/11 PJ mailto:af.gour...@videotron.ca>>
> >
> > How can order by be forced to order alphabetically and ignore accents
> > without stripping the accents for printout? This is a problem for
> both
> > caps & normal letters.
> >
> >
>
2009/6/11 HallMarc Websites
>
>
> > -Original Message-
> > From: tedd [mailto:tedd.sperl...@gmail.com]
> > Sent: Thursday, June 11, 2009 9:28 AM
> > To: PHP-General List
> > Subject: Re: [PHP] Preventing XSS Attacks
> >
> > At 7:08 PM +0100 6/10/09, Ashley Sheridan wrote:
> > >
> > >So so
2009/6/10 Clancy
> On Tue, 09 Jun 2009 12:22:22 -0400, rob...@interjinn.com (Robert Cummings)
> wrote:
>
> >Craige Leeder wrote:
> >> I'm not sure I agree with NEVER using else. Sometimes else is a very
> >> logical way to organize code. However, it should not be used for data
> >> validation IE:
I decided to change the call to send to:
$mail =& Mail::factory("smtp", array("host" => "localhost"));
return $mail->send($params["email"], $headers, $body);
and now hotmail wokrs. Maybe qmail changes something when the mail() function
is used.
Thank you for all your help.
Fernando.
> From:
On Thu, Jun 11, 2009 at 11:35 AM, PJ wrote:
> Robin Vickery wrote:
> >
> >
> > 2009/6/11 PJ mailto:af.gour...@videotron.ca>>
> >
> > How can order by be forced to order alphabetically and ignore accents
> > without stripping the accents for printout? This is a problem for
> both
> > c
PJ wrote:
> PJ wrote:
> There are some options which all need some sort of adjustment.
> If , e.g. É is used in the db instead of É the output onscreen
> is a little black diamond with a quesion mark inside. The order is
> correct, but the diamond is not acceptable... obviously, one cannot
> expec
Robin Vickery wrote:
>
>
> 2009/6/11 PJ mailto:af.gour...@videotron.ca>>
>
> How can order by be forced to order alphabetically and ignore accents
> without stripping the accents for printout? This is a problem for both
> caps & normal letters.
>
>
> Depends on the database.
>
> If you'
On Thu, Jun 11, 2009 at 11:27 AM, PJ wrote:
> Robin Vickery wrote:
>>
>>
>> 2009/6/11 PJ mailto:af.gour...@videotron.ca>>
>>
>> How can order by be forced to order alphabetically and ignore accents
>> without stripping the accents for printout? This is a problem for both
>> caps & norma
Robin Vickery wrote:
>
>
> 2009/6/11 PJ mailto:af.gour...@videotron.ca>>
>
> How can order by be forced to order alphabetically and ignore accents
> without stripping the accents for printout? This is a problem for both
> caps & normal letters.
>
>
> Depends on the database.
>
> If you'
I'm at a complete loss... So I'm hoping someone can point me in the
right direction to even start looking.
We have an application written in PHP that lets users send out emails.
The basic process is as follows.
1. Go to "start" screen. (This resets anything currently in process
for the current lo
Jay Blanchard wrote:
> [snip]
>
>> [snip]
>> How can order by be forced to order alphabetically and ignore accents
>> without stripping the accents for printout? This is a problem for both
>> caps & normal letters.
>> [/snip]
>>
>> Definitely an SQL question. What character set are you using in
PJ wrote:
> Jay Blanchard wrote:
>
>> [snip]
>> How can order by be forced to order alphabetically and ignore accents
>> without stripping the accents for printout? This is a problem for both
>> caps & normal letters.
>> [/snip]
>>
>> Definitely an SQL question. What character set are you using
2009/6/11 PJ
> How can order by be forced to order alphabetically and ignore accents
> without stripping the accents for printout? This is a problem for both
> caps & normal letters.
Depends on the database.
If you're using mysql, the order is governed by the collation used. To get
the order y
[snip]
> [snip]
> How can order by be forced to order alphabetically and ignore accents
> without stripping the accents for printout? This is a problem for both
> caps & normal letters.
> [/snip]
>
> Definitely an SQL question. What character set are you using in your
> database? Is the accent the
> -Original Message-
> From: tedd [mailto:tedd.sperl...@gmail.com]
> Sent: Thursday, June 11, 2009 9:28 AM
> To: PHP-General List
> Subject: Re: [PHP] Preventing XSS Attacks
>
> At 7:08 PM +0100 6/10/09, Ashley Sheridan wrote:
> >
> >So something like this would be acceptable?:
> >
> >$s
Jay Blanchard wrote:
> [snip]
> How can order by be forced to order alphabetically and ignore accents
> without stripping the accents for printout? This is a problem for both
> caps & normal letters.
> [/snip]
>
> Definitely an SQL question. What character set are you using in your
> database? Is t
Hello, Thank you all for your cooperation yesterday. I tried PEAR Mail_mime as
follows:
function SendEmail($template, $params){
// Read and open the template file and the image file
$htmlFile = fopen("./templates/$template.html", "r");
$txtFile = fopen("./templates/$template.txt", "
[snip]
How can order by be forced to order alphabetically and ignore accents
without stripping the accents for printout? This is a problem for both
caps & normal letters.
[/snip]
Definitely an SQL question. What character set are you using in your
database? Is the accent the first character of the
How can order by be forced to order alphabetically and ignore accents
without stripping the accents for printout? This is a problem for both
caps & normal letters.
--
Hervé Kempf: "Pour sauver la planète, sortez du capitalisme."
-
Phil J
At 7:08 PM +0100 6/10/09, Ashley Sheridan wrote:
So something like this would be acceptable?:
$searchTerms = (isset($_REQUEST['q']))?$_REQUEST['q']:'';
$searchTerms = htmlentities($searchTerms);
$dbSearchTerms = mysql_real_escape_string($searchTerms);
Giving me two variables, one for display o
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
Ford, Mike wrote:
On 11 June 2009 12:00, Ashley Sheridan advised:
On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my script.
Any
idea to solve? Thanks
PHP 5.2.9-0.dotdeb.2 with Suhosin-Patch 0.9.7 (cli) (
try set_time_limit(0) ?
On Thu, Jun 11, 2009 at 8:05 AM, Ford, Mike wrote:
> On 11 June 2009 12:00, Ashley Sheridan advised:
>
> > On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
> >> Hi!
> >> I'm stuck.
> >> I don't understand why the php CLI dies after 3 hours in my script.
> Any
On 11 June 2009 12:00, Ashley Sheridan advised:
> On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
>> Hi!
>> I'm stuck.
>> I don't understand why the php CLI dies after 3 hours in my script.
Any
>> idea to solve? Thanks
>>
>>
>> PHP 5.2.9-0.dotdeb.2 with Suhosin-Patch 0.9.7 (cli) (b
On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
> Hi!
> I'm stuck.
> I don't understand why the php CLI dies after 3 hours in my script.
> Any idea to solve?
> Thanks
>
>
> PHP 5.2.9-0.dotdeb.2 with Suhosin-Patch 0.9.7 (cli) (built: Apr 7 2009
> 20:06:36)
> Linux ubuntu 2.6.24-19
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my script.
Any idea to solve?
Thanks
PHP 5.2.9-0.dotdeb.2 with Suhosin-Patch 0.9.7 (cli) (built: Apr 7 2009
20:06:36)
Linux ubuntu 2.6.24-19-server #1 SMP Wed Jun 18 14:44:47 UTC 2008 x86_64
GNU/Linux
Conf [php.ini]
max_
On Thu, Jun 11, 2009 at 1:21 PM, web wrote:
>
> Please can some one help me with a dynamic menu.
you can accomplish this easily. read about 'recursive functions'
>
> I have a 2 tables and I want to display the record from the first one as
> parent and the second one as the child.
use a mysql
On Thu, 2009-06-11 at 09:51 +0200, web wrote:
> Please can some one help me with a dynamic menu.
>
> I have a 2 tables and I want to display the record from the first one as
> parent and the second one as the child.
>
> My problem is when I query the data I can't place the child at their
> appro
Please can some one help me with a dynamic menu.
I have a 2 tables and I want to display the record from the first one as
parent and the second one as the child.
My problem is when I query the data I can't place the child at their
appropriate position.
Please you help will be appreciated.
49 matches
Mail list logo