I would say that is the best way, or if you have other information
there, write to abother directory that is owned by "apache"
-Brad
Donahue Ben wrote:
> I have a php script that tries to write files in a
> particular directory. When the script writes files
> the ownership is "apache". The pr
I'd like to play with using java classes from within php, as is
described in http://www.php.net/manual/en/ref.java.php ... I'm using the
apache and php4 packages from the debian testing distribution.
All of the documentation I've found on the web about installing the java
extension seems to be or
If you are a MySQL newbie you need to read this!
I just screwed up big time and lost about 1 hour of data in a time sensitive
application by using TINYINT as my ID field.
TINYINT will only allow up to 255 records in a MySQL DB. Please, if you don't know the
EXACT differences between all the di
Hi all,
I used a script posted in here awhile ago from
http://www.devshed.com/Server_Side/PHP/UserAuth/page1.html
basic tutorial on how to make php session logins.
How can I customize this script so that it is specific to each user.
can I add $f_user.php from the header, or will that output t
Dear Marek,
Where do find that? I am no C programmer.
--
tim
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> It's a shell script, and your shell drops root privileges. Use a shell
> that doesn't or use a C-wraper.
>
> tim tom wrote:
>
> >Dear Pete,
> >Yes, apache runs as nobody. But I have s
On Thu, 19 Sep 2002 00:50:56 -0400, you wrote:
>By doing so I want more and more of my PHP to be purely OO. I'm fairly
>aware of how to write my own classes for data but are their any frameworks
>out there to do the foundation stuff already?
Have you looked at PEAR? It comes with the PHP distr
Yup!
On Thu, 19 Sep 2002 16:43:48 -0700, Donahue Ben wrote:
> I have a php script that tries to write files in a
> particular directory. When the script writes files
> the ownership is "apache". The problem I have is the
> particular directory that the script is trying to
> create files in, it
Since updating to 4.2.3, we have been getting intermittent errors of
"Commands out of sync". Anyone else see this?
Sincerely,
Steven Roussey
http://Network54.com/?pp=e
php,sql,query
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Jeff Bluemel wrote:
>
> >I want to force it to use a cookie that points to a transparent SID on
> >my system.
> >
>
> Can you elaborate on this? I have no idea what you mean.
for some reason when I was reading the documentation on sessions on php.net
I thought it stated that it was possible to
Yeah, I know this doesn't have much to do with PHP...
does anyone know of a tool that automatically converts an access database to
MySQL readable data?
Thanks a heap!
Liam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yeah there is tis called
Access-to-MySQL (http://www.convert-in.com/acc2sql.htm ) ...here's some
specs on it
Features
All MS Access data types and attributes are supported
Works with all versions of Unix and Windows MySQL servers
Stores MS Access database into a dump file (see C
I'm having difficulty understanding what the array does or refers to in the
eregi() function using php.
Listing below are returned strings with
[0]
[1]
[2]
..
(.*)
...
quick brown fox jumped over the lazy dog // output with $ma
> That's what I thought the answer would be. I guess I will have to see
if I
> can create a function to add to the next release of PHP to do this, as
> there
> certainly seems to be quite a demand for it, according to the archives
> anyway.
I hope not. That would be a worthless function to have.
on 20/09/02 1:14 PM, John Holmes ([EMAIL PROTECTED]) wrote:
> I hope not. That would be a worthless function to have. Did you read my
> post? The basic idea is validation is to allow what you _know_ is good,
> and kill the rest. You don't kill a couple things you know are bad, then
> assume the r
If memory serves, $match will contain an array whose 0th element is the
entire string and whose 1st element contains whatever is matched in the
first (), 2nd element matches the second () and so on.
Check the manpage for more...
and when testing things like this out try adding the following for
I have a chat script that I downloaded and according to the license I
can modify it as much as I want, and I'm a little stuck on a simple
modification I want to make. When you type in a message it stores in in
a file called text.php and then the chat page does an include call for
the text.php
> I have a chat script that I downloaded and according to the license I
> can modify it as much as I want, and I'm a little stuck on a simple
> modification I want to make. When you type in a message it stores in
in
> a file called text.php and then the chat page does an include call for
> the tex
Ahah! That's what I was thinking, thatnks for helping me clear that up!
John Holmes wrote:
>>I have a chat script that I downloaded and according to the license I
>>can modify it as much as I want, and I'm a little stuck on a simple
>>modification I want to make. When you type in a message it st
With my limited knowledge (i.e none, lol) i was wondering if you are able to
give me the code you use to do it. i will then play around with it t get
Canberra, is that ok? doesn't matter if not.
--
Cheers
-
Simon Angell
Canberra ACT
www.canb
You could use $_SESSION['myvar'] to register your session instead of
session_register()/session_unregister()/session_is_registered() functions.
Then you could use it as a normal variable.
Do not use glodal $_SESSION declaration in your code.
You could find more info at
http://www.php.net/manual/
It seems to me that the answer is in your own posting
> AddType application/x-httpd-php .php
.php the only type that will be served by php
if you add
AddType application/x-httpd-php .txt
then txt will be also served
regards
Ivo
"Stefan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">n
Hello Jocelyn and Steven,
Could either or both of you submit a bug report at http://bugs.php.net/? If
you follow the instructions there, it will greatly help us in tracking down
the issue!
Cheers!
Zak Greant
PHP QA Team
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visi
Hi Steven,
Some precisions : after taking a look at my mail, I noticed the very first
time I saw this error was with PHP 4.2.1 and MySQL 4.0.2 (reported on this
list on 27 june 2002).
Regards,
Jocelyn
- Original Message -
From: "Steven Roussey" <[EMAIL PROTECTED]>
To: "'Jocelyn Fournie
Hmm, do you use pconnect or connect?
I noticed someone changed our PHP script to use persistent connections
(likely why the server is running slower). I am wondering if a cancelled
connection is being reused or if it just is a more general bug in the
mysql client code in PHP
Sincerely,
Stev
I've always used pconnect.
- Original Message -
From: "Steven Roussey" <[EMAIL PROTECTED]>
To: "'Jocelyn Fournier'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: "'Mysql'" <[EMAIL PROTECTED]>
Sent: Friday, September 20, 2002 2:38 AM
Subject: RE: MySQL errors in newer PHP 4.2.3
> Hmm, do y
101 - 125 of 125 matches
Mail list logo