I am using apache 2.0.50 and php 4.4.3RC2 as mod (on Mandrake 10.1).
When I run this script:
in cli php, i give 'Undefined variable' error message - OK.
But under apache, this variable has value 'N'. Is it error ?
I found nothing about $previous variable in php.ini and php config
directories.
Hello there,
I can't figure out why there are some headers set while i don't set them myself.
The following headers are sent to the browser.
-Expires: Thu, 19 Nov 1981 08:52:00 GMT
-Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
-Pragma: no-cache
All those i didn'
[EMAIL PROTECTED] schrieb:
your big love, ;-)
Well PHP is good but is it that good?
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mathijs wrote:
> Hello there,
>
> I can't figure out why there are some headers set while i don't set them
> myself.
>
> The following headers are sent to the browser.
> -Expires: Thu, 19 Nov 1981 08:52:00 GMT
> -Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
> pre-check=0
> -P
I have a problem when installing php. I have tried with different
versions of apache (2.0.55 and 2.0.58) and php (5.1.4 and 5.1.2).
The problem still there (Same error in different versions)!!!
Note that I had installed apache 2.0.58 and php 5.1.4 before on this
server. Problems began when tri
Dear ALL,
I've an binary file with special (non-printable) characters including '<'
'/' & '>'. I retrieve this file from the database, into a variable
$binaryFILE.
I then copy the content to a temporary file, opened with handle $handle :
if (!fwrite($handle, $binaryFILE)) {
echo "Fai
Jochem Maas wrote:
Mathijs wrote:
Hello there,
I can't figure out why there are some headers set while i don't set them
myself.
The following headers are sent to the browser.
-Expires: Thu, 19 Nov 1981 08:52:00 GMT
-Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Antonio Bassinger wrote:
> Dear ALL,
>
> I've an binary file with special (non-printable) characters including '<'
> '/' & '>'. I retrieve this file from the database, into a variable
those 3 chars are not non-printable (the fact that I see them in this email is
proof enough.
> $binaryFILE.
>
>
Antonio Bassinger a écrit :
Dear ALL,
I've an binary file with special (non-printable) characters including '<'
'/' & '>'. I retrieve this file from the database, into a variable
$binaryFILE.
$binaryMS = explode("",$binaryMMS);
foreach ($binaryFILE as $ii)
{
echo $ii;
try this :
echo htmlspec
Mathijs wrote:
> Mathijs wrote:
>> Jochem Maas wrote:
>>> Mathijs wrote:
Hello there,
I can't figure out why there are some headers set while i don't set
them
myself.
The following headers are sent to the browser.
-Expires: Thu, 19 Nov 1981 08:52:00 GMT
[snip]
One could even say that the slides were rotated. :-)
[/snip]
LOL at the Carousel reference.but if we are still splitting hairs I
owned a Bell & Howell Slide Cube projector. Slides were stacked into
cubes and dropped into place. And anyway, the Carousel rotated, not the
slides. The slid
Jochem Maas wrote:
Mathijs wrote:
Mathijs wrote:
Jochem Maas wrote:
Mathijs wrote:
Hello there,
I can't figure out why there are some headers set while i don't set
them
myself.
The following headers are sent to the browser.
-Expires: Thu, 19 Nov 1981 08:52:00 GMT
-Cache-Control: no-store, n
At 10:16 AM + 7/11/06, Antonio Bassinger wrote:
>Dear ALL,
>
>I've an binary file with special (non-printable) characters including '<'
>'/' & '>'. I retrieve this file from the database, into a variable
>$binaryFILE.
>
>I then copy the content to a temporary file, opened with handle $handle :
Mathijs wrote:
Jochem Maas wrote:
Mathijs wrote:
Hello there,
I can't figure out why there are some headers set while i don't set them
myself.
The following headers are sent to the browser.
-Expires: Thu, 19 Nov 1981 08:52:00 GMT
-Cache-Control: no-store, no-cache, must-revalidate, post-check
Mathijs wrote:
...
>>>
>>> Now i have a problem with the ETag.
>>
>> what are you using this header for?
>
> I Use this header to check if the content of a file has changed.
> This because the content can be variable. But is static most of the time.
>
> I Compute an MD5 of the content, and add
Jochem Maas wrote:
Mathijs wrote:
...
Now i have a problem with the ETag.
what are you using this header for?
I Use this header to check if the content of a file has changed.
This because the content can be variable. But is static most of the time.
I Compute an MD5 of the content, and add t
Solved installing csv version.
Is it officially stable?
Do anyone know when is it going to be stable?
Original Message
Subject:[PHP] Problem installing php
Date: Tue, 11 Jul 2006 12:04:18 +0200
From: Ruben Rubio Rey <[EMAIL PROTECTED]>
To: php-general@lists.php.n
Great approach! Slicker'n snot. I added one enhancement: The shell
script writss progress info to the database which the trigger page
displays on entry.
Richard Lynch wrote:
I would recommend, however, that you re-structure things slightly so
that the Architecture is more like this:
User vi
Hi,
Something strange and dont really know what to expect so was hoping you more
experienced PHP 5 people can help me out.
We have been given a development server thats running php5 with MySql Client
API version 5.0.22 (didnt know there was one that high)
the problem is, we have to develop on t
On Tue, 2006-07-11 at 05:26, Barry wrote:
> [EMAIL PROTECTED] schrieb:
> > your big love, ;-)
> >
> Well PHP is good but is it that good?
*shsh* Where have you been?
http://marc.theaimsgroup.com/?l=php-general&m=115129593132595&w=2
Cheers,
Rob.
--
.
On 7/11/06, Kevin Waterson <[EMAIL PROTECTED]> wrote:
How much of a performance hit?
Kevin
--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote."
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Mathijs wrote:
> Jochem Maas wrote:
>> Mathijs wrote:
...
> (Hartelijk dank voor de hulp :D ).
we kunnen geheime taal gaan gebruiken - vinden ze hier vast leuk ;-)
>
> Mathijs
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ryan A wrote:
> Hi,
> Something strange and dont really know what to expect so was hoping you more
> experienced PHP 5 people can help me out.
btw which minor version of php5 your running is important ... plenty of things
have changed in [semi] breaking ways
between minor php5 versions.
>
> We
I have an array that i would like to sort and reorder based on a simple
critera. I already order the data but I would like to break the data now
into sections by customer id, so one customer has 5 things and another
customer has one. How can I do that with an array.
$data = orders($id,$status);
Jochem Maas wrote:
> hi everyone,
>
> I was wondering if anyone knew how (if possible) I could take a string
> and ftp_put()/ftp_fput() that string directly onto the remote server as a file
> (without first saving the string to disk temporarily locally)
>
> I imagine that there is a way to create
Ok I understand your method now. your code does not match your output. how
would your print line produce that , $customerid ?
anyways...
$data = orders($id,$status);
$c = count($data);
$currentId;
$n = 1;
for($i=0; $i<$c; $i++) {
$orderid = $data[$i]['orderid'];
$customerid = $data[$i]['cu
Dallas Cahker wrote:
> I have an array that i would like to sort and reorder based on a simple
> critera. I already order the data but I would like to break the data now
> into sections by customer id, so one customer has 5 things and another
> customer has one. How can I do that with an array.
>
Eric Butera wrote:
On 7/11/06, Kevin Waterson <[EMAIL PROTECTED]> wrote:
How much of a performance hit?
Kevin
--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote."
--
PHP General Mailing List (http://www.php.net/)
To unsu
I've noticed a 'feature' that seems to be causing me some pain.
When a user logs in, we store various pieces of info and their user class in
a $_SESSION variables.
This includes a flag saying that they've ben authenticated.
I would expect that if I 'rm -rf /tmp/sess_*' that the user would get
pr
Hi,
Something strange and dont really know what to expect
so was hoping you
more experienced PHP 5 people can help me out.
We have been given a development server thats running
php5 with MySql
Client API version 5.0.22 (didnt know there was one
that high)
the problem is, we have to develop on t
It's silly to have two different environments like that.
Either code the thing in PHP4. or upgrade the production environment to
PHP5.
DÆVID
> -Original Message-
> From: Ryan A [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 11, 2006 6:08 AM
> To: php php
> Subject: [PHP] PHP 5...
>
Unless there is some specific reason that you need this code to run on both
php4 and php5, then inform your boss/admin that the idea of developing on
php5, to deploy on php4 is nuts. If they disagree inform them that they are
personally nuts( tell them some guy on the internet said so ).
It may b
Hello all,
This is the first time I have posted an issue to this forum, so please
excuse in noob questions or statement. I am trying to create a table
from a string that created by a DESCRIBE TABLE query... this is the
generated string:
CREATE TABLE 'users' ( 'username' varchar(120) NOT NULL pri
At 5:05 PM -0700 7/11/06, Scott Heinrichs wrote:
>Can anyone give me a solution
If all else fails, use phpAdminMySQL to set up your tables. I seldom program it.
tedd
--
http://sperling.com http://ancientstones.
This one time, at band camp, "Daevid Vincent" <[EMAIL PROTECTED]> wrote:
>
> I wish PHP would add threading. We write enterprise level products with PHP,
> and we end up using DBUS and letting Ruby do all the "real work".
submit patch
Kevin
--
"Democracy is two wolves and a lamb voting on what
For my credit card form I provide the user with a list of countries. I
suppose these are ISO country codes? For the US is there an official
list of countries with which I'm not supposed to do business with? Will
Authorize.Net catch those transactions?
Thanks,
Mike
--
Michael B Allen
PHP Extensio
On Tue, 2006-07-11 at 17:27, Daevid Vincent wrote:
> I've noticed a 'feature' that seems to be causing me some pain.
>
> When a user logs in, we store various pieces of info and their user class in
> a $_SESSION variables.
>
> This includes a flag saying that they've ben authenticated.
>
> I wou
Jochem Maas wrote:
Scott Heinrichs wrote:
Hello all,
This is the first time I have posted an issue to this forum, so please
excuse in noob questions or statement. I am trying to create a table
from a string that created by a DESCRIBE TABLE query... this is the
generated string:
CREATE TABLE
> The session data that you store in $_SESSION is written to
> the files in your /tmp dir.
> Are you sure your session files are getting written to that directory?
Yes.
> You are sure those aren't old session files from a previous configuration?
Positive. I wipe the /tmp dir clean. Login to my
39 matches
Mail list logo