On 7/12/06, Daevid Vincent [EMAIL PROTECTED] wrote:
I am thinking you are killing the first session, rming the
files, then
creating a new session. At the end of the page the data that was in
memory is getting written to the new session file.
Yes. That's what is happening as I said. I don't
Hi everyone.
I´m facing a big trouble that a don understand why is it happenin.
I´ve got an array with 1046 elements in it like this.
Here is a part of a print_r of my array.
Array ( [0] = 0001-01 [1] = 0003-01 [2] = 0140-01 [3] = 0141-01 [4] =
0142-01 [5] = 0170-03 [6] = 0181-01 [7] =
[snip]
How much of a performance hit?
[/snip]
Here is an interesting read;
http://mysqldump.azundris.com/archives/36-Serving-Images-From-A-Database
.html
Your system receives a number of file read requests, requesting it to
load a number of blocks from the disk into the mysqld process.
I found the trouble.
The content of array had length of 20 and the database didn´t;
Excuse me.
João Cândido de Souza Neto [EMAIL PROTECTED] escreveu na
mensagem news:[EMAIL PROTECTED]
Hi everyone.
I´m facing a big trouble that a don understand why is it happenin.
I´ve got an array with
On 7/11/06, Adam Zey [EMAIL PROTECTED] wrote:
The time taken per request, though (and that's about all we can get with
a concurrency as low as 5) doesn't tell us much. We also don't know
exactly what the PHP code is doing, how it does it, how your database is
organized/indexed/accessed, if you
Thanks guys,
Will contact the admin and see what can be done,
your replies really helped me and I appreciate it.
Cheers!
Ryan
--
- The faulty interface lies between the chair and the keyboard.
- Creativity is great, but plagiarism is faster!
- Smile, everyone loves a moron. :-)
Dear All,
I have 150,000 + URLS I need to validate. When I say validate, I mean I would
like to verify the URL opens up a web page that returns a '200' and not a
'404'.
I was thinking of first verifying the host has a DNS A record by using
checkdnsrr().
Then using CURL to check server
At 10:01 PM +0200 7/11/06, Jochem Maas wrote:
Anyway I can do that?
as many as there ways to skin a cat probably :-)
Yeah, but the cat ain't going to like any of them -- Jeff Foxworthy :-)
tedd
--
Jake Gardner wrote:
An intriguing method, but then it is the only answer I can think of
(when I see it above) to what you must admit is a rather odd question...
what is it that you consider odd?
I have a generated string containing XML and I want it to end up on
a remote server as a file - it
Hey all. Well I just finished my first version of a little tool I have
affectionately dubbed dumpster.
I do use my own SQL wrapper functions, but they should map fairly cleanly to
a search and replace for the stock PHP mysql_*() ones, or your own ones.
Mad props to Peter Brawley [EMAIL
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 'users' (
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 a stream that refers to the
Dear All,
I'm composing a HTML email. When I send it out it looks fine in all clients
except outlook which shows the Message-ID.
Heres the basic code:
$html=htmlbodyimg
src=\http://celebrityaccess.com/images/marketing/ca_july_advert.jpg\;/body/html;
$recip = [EMAIL PROTECTED];
Hi.
Is there a way to have multiple sessions open in one browser
(specifically, Firefox or Safari)? For example, IE does not transfer
session data from one window to another, however, Firefox does. So,
if one user opens a session and then his/her friend wants to open a
different session
What is the standard method of logging debug info? Should I just fopen
a file for append and write the message or is there a facility provided?
Mike
--
Michael B Allen
PHP Extension for SSO w/ Windows Group Authorization
http://www.ioplex.com/
--
PHP General Mailing List (http://www.php.net/)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael B Allen wrote:
What is the standard method of logging debug info? Should I just fopen
a file for append and write the message or is there a facility provided?
http://php.net/syslog or use a file. There are also various JS-based
solutions
http://pear.php.net/package/Log/ works well for me. Supports writing
messages to files, to a separate window via JavaScript, probably syslog as
well as a few others.
-Original Message-
From: Michael B Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 2:02 PM
To:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Philip Thompson wrote:
Is there a way to have multiple sessions open in one browser
(specifically, Firefox or Safari)? For example, IE does not transfer
session data from one window to another, however, Firefox does. So, if
Not strictly true. It's
I wrote my own, very simple, very easy. I think the code is in the
archive somewhere. Otheres have written similar functions.
CODE +++
function logError ($logentry, $lgname) {
// simple function to log errors to text/log file.
$logfile =
Michael B Allen wrote:
What is the standard method of logging debug info? Should I just fopen
a file for append and write the message or is there a facility provided?
there is also error_log() (and the 'error_log' ini setting)
- I abuse it for debugging now and again.
Mike
--
PHP
Anyone know of any language translation APIs or anything of that sort out
there? Looking to translate quite a bit of content and would rather not do
it by hand.
Stut wrote:
I'm confused as to why you need a solution to this 'problem'. How likely
is it that you'll have 2 users trying to access your site on the same
machine at the same time? If it is likely (although I don't see how)
then you need to design your session data as an array keyed on the
I am using the Spreadsheet Excel Writer tool to export a php generated
page to an Excel Spreadsheet.
The information is being generated properly but the display is not
functioning as I would like. The column
headers are not automatically setting the width of the column as I was
expecting.
I
At 2:09 PM -0400 7/12/06, Russell Jones wrote:
Anyone know of any language translation APIs or anything of that sort out
there? Looking to translate quite a bit of content and would rather not do
it by hand.
I'm not sure as to what you want, but perhaps this might help:
Ahh yes I do that as well, I knew there was another other then syslog.
On 7/12/06, Jochem Maas [EMAIL PROTECTED] wrote:
Michael B Allen wrote:
What is the standard method of logging debug info? Should I just fopen
a file for append and write the message or is there a facility provided?
there
Hello,
on 07/12/2006 03:09 PM Russell Jones said the following:
Anyone know of any language translation APIs or anything of that sort out
there? Looking to translate quite a bit of content and would rather not do
it by hand.
Here you may find several classes that use remote translation Web
Hi,
I'd like to enable safe mode in my current setup but it seems that I am
doing something wrong.
I have configure a webmail (IMP) and I can access my messages fine but when
I try to send a new one I get error message in my log
Jul 12 15:00:44 HORDE [error] [imp] sendmail
On Wed, 12 Jul 2006 19:13:53 +0100
Stut [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael B Allen wrote:
What is the standard method of logging debug info? Should I just fopen
a file for append and write the message or is there a facility provided?
I did some more googling and found some information on setColumn().
Thanks for your responses.
Jef
-Original Message-
From: Jef Sullivan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 12:57 PM
To: php-general@lists.php.net
Subject: [PHP] setting column width
I am using the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Austin Denyer wrote:
Stut wrote:
I'm confused as to why you need a solution to this 'problem'. How likely
is it that you'll have 2 users trying to access your site on the same
machine at the same time? If it is likely (although I don't see how)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael B Allen wrote:
On Wed, 12 Jul 2006 19:13:53 +0100
Stut [EMAIL PROTECTED] wrote:
Michael B Allen wrote:
What is the standard method of logging debug info? Should I just fopen
a file for append and write the message or is there a facility
mbneto wrote:
Hi,
I'd like to enable safe mode in my current setup but it seems that I am
doing something wrong.
have a look at the open_base_dir ini setting.
IIRC safe_mode is being depreciated and will eventually be phased out.
I have configure a webmail (IMP) and I can access my
I would expect that if I 'rm -rf /tmp/sess_*' that the user
would get
prompted to re-login (since the flag is not set).
Does it say someplace in the manual that you should be able
to do that?
Or is this a case of what you expect is not what the rest of the world
expects?
This is how
Hello,
I have a question about how I am searching through a products database.
What I am wanting to do is store the result set so that I can provide a
link to go back to previous searches quickly, and also manipulate it
quickly. If I had a flat catalog of pages I could index the content in
Just to be clear, what exactly are you trying to do? Are you trying to
logout a user
No.
We write enterprise level software probably far surpassing what PHP was ever
intended for.
However, our GUI is web based (LAMP).
We have fail over cluster nodes. If a user is logged into one via a
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 'users' ( 'username'
On Tue, July 11, 2006 4:27 pm, 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 would
On Wed, 12 Jul 2006 21:13:31 +0100
Stut [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael B Allen wrote:
On Wed, 12 Jul 2006 19:13:53 +0100
Stut [EMAIL PROTECTED] wrote:
Michael B Allen wrote:
What is the standard method of logging debug info? Should I
Daevid Vincent wrote:
Just to be clear, what exactly are you trying to do? Are you trying to
logout a user
No.
We write enterprise level software probably far surpassing what PHP was ever
intended for.
hmm.
However, our GUI is web based (LAMP).
so the GUI uses php but the rest
Hi Jochem,
Thanks for the reply.
What is wrong with my openbase_dir setting? (yes I've already read the
manual - http://www.php.net/manual/en/features.safe-mode.php - before
posting my first message).
Since safe mode will be deprecated what is (will be) the alternative?
On 7/12/06, Jochem
Oh yeah, you can maintain progressive status on multiple tasks in
all the cron jobs/dbs, and then make pretty graphs for the user to
look at as they check back in to see how far along things are.
I do that a lot -- A few minutes of coding for eye candy for the suits
does wonders sometimes...
On Tue, July 11, 2006 2:24 am, Roman Rumisek wrote:
I am using apache 2.0.50 and php 4.4.3RC2 as mod (on Mandrake 10.1).
When I run this script:
? echo $previous; ?
in cli php, i give 'Undefined variable' error message - OK.
But under apache, this variable has value 'N'. Is it error ?
I
On Wednesday 12 July 2006 14:31, Richard Lynch wrote:
On Tue, July 11, 2006 2:24 am, Roman Rumisek wrote:
I am using apache 2.0.50 and php 4.4.3RC2 as mod (on Mandrake 10.1).
When I run this script:
? echo $previous; ?
in cli php, i give 'Undefined variable' error message - OK.
But
[snip]
A bit off topic, but I hadn't heard about short tags being a bad idea.
What
reasons make short tags worse than the regular tags. Just curious.
[/snip]
Two words, XML.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael B Allen wrote:
Thanks for the tip dipshit.
Maybe I'm in a sensitive mood, but that was uncalled for. Michael, meet
/dev/null, I hope you live happily ever after.
- -Stut
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
On 12/07/06, Jay Blanchard [EMAIL PROTECTED] wrote:
[snip]
A bit off topic, but I hadn't heard about short tags being a bad idea.
What
reasons make short tags worse than the regular tags. Just curious.
[/snip]
Two words, XML.
Yep, they can interfere with xml processing, and they also make
[snippage]
[snip]
A bit off topic, but I hadn't heard about short tags being a bad idea.
What
reasons make short tags worse than the regular tags. Just curious.
[/snip]
Two words, XML.
Yep, they can interfere with xml processing, and they also make your code less
portable, as they may not be
On Wed, 2006-07-12 at 17:26, Richard Lynch wrote:
Oh yeah, you can maintain progressive status on multiple tasks in
all the cron jobs/dbs, and then make pretty graphs for the user to
look at as they check back in to see how far along things are.
I do that a lot -- A few minutes of coding for
[snip]
Yep, they can interfere with xml processing, and they also make your code
less portable, as they may not be enabled in another environment. If you
are sure your code is never going to move or be mixed with xml, by all
means use them, but why not get into good habits?
[/snip]
Good points.
mbneto wrote:
Hi Jochem,
Thanks for the reply.
What is wrong with my openbase_dir setting?
I have no idea if there is anything wrong with it -
I just missed that you had it at all!
(yes I've already read the
manual - http://www.php.net/manual/en/features.safe-mode.php
On Mon, July 10, 2006 8:17 am, Robert Hicks wrote:
include_path .;C:\php5\pear .;C:\php5\pear
I have PHP5 sure but it is in C:\PHP. I have looked in my ENV and I
have
scoured the registry and nothing comes up for php5. So where is it
getting this entry?
Either from php.ini, the location
At 2:40 PM -0700 7/12/06, Ray Hauge wrote:
On Wednesday 12 July 2006 14:31, Richard Lynch wrote:
Using short tags (? instead of ?php) is also a Bad Idea.
Finally, echo $previous; is silly, as the quote marks serve no
purpose at all. echo $previous; would be better.
--
Like Music?
On Mon, July 10, 2006 10:55 am, Schalk wrote:
Now that the parse error is fixed the login script works fine in FF
but
in IE it does not do the redirect. Is there a reason why this code may
not work in IE? Is there a better way to do this?
$_SESSION['email'] = $email;
On Wed, 12 Jul 2006 22:44:23 +0100
Stut [EMAIL PROTECTED] wrote:
Michael B Allen wrote:
Thanks for the tip dipshit.
Maybe I'm in a sensitive mood, but that was uncalled for. Michael, meet
/dev/null, I hope you live happily ever after.
Oh, no. What am I going to do now? You're like The Man
On Tue, July 11, 2006 1:48 am, Kevin Waterson wrote:
This one time, at band camp, Austin Denyer [EMAIL PROTECTED] wrote:
It is generally accepted that storing things like that in a database
is
a Bad Thing. Much better to store the images as files and store the
path in the database.
On Wed, July 12, 2006 5:18 pm, tedd wrote:
At 2:40 PM -0700 7/12/06, Ray Hauge wrote:
On Wednesday 12 July 2006 14:31, Richard Lynch wrote:
Using short tags (? instead of ?php) is also a Bad Idea.
Finally, echo $previous; is silly, as the quote marks serve no
purpose at all. echo $previous;
hi all,
After upgrading a CMS, im having a problem with global variables not
showing up anymore -- configs and things could have changed, but search
as i have, i cannot find anything to help me work out what the problem
is.
This should work of course:
$foo = 'bar';
function foobar()
We write enterprise level software probably far surpassing
what PHP was ever intended for.
However, our GUI is web based (LAMP).
so the GUI uses php but the rest doesn't?
kind of nullifies the statement aboveif thats the case.
Not really. We use DBUS calls to Ruby and C/C++ code.
We
Michael B Allen wrote:
On Wed, 12 Jul 2006 22:44:23 +0100
Stut [EMAIL PROTECTED] wrote:
Michael B Allen wrote:
Thanks for the tip dipshit.
Maybe I'm in a sensitive mood, but that was uncalled for. Michael, meet
/dev/null, I hope you live happily ever after.
Oh, no. What am I going to do
On Wed, 2006-07-12 at 18:52, Nick Wilson wrote:
hi all,
After upgrading a CMS, im having a problem with global variables not
showing up anymore -- configs and things could have changed, but search
as i have, i cannot find anything to help me work out what the problem
is.
This should
Sequence of events:
script starts
you rm -rf /tmp/sess_*
script writes out data
script ends
Exactly WHAT do you think should happen in this case?...
I expect this to work like it USED TO WORK! Bug or not.
I expect:
Script starts
Calls session_start(1234)
No existing sess_1234 file.
I want to filter IP addresses. I noticed that my script catches IP addresses
that looks like they came from the internal LAN, ie 192.x.x.x and 10.x.x.x
My script catched those IPs by $_SERVER['REMOTE_ADDR']. Am I not being able to
catch IPs from transparent proxies that a user's ISP might use?
62 matches
Mail list logo