On Wed, May 16, 2001 at 06:35:32PM -0700, Ryan Christensen wrote:
> Take a machine down, knowing it's uptime? (I.e., it's easier to hack a box
> that's been up for 5 months.. as opposed to one that hasn't been??)
By knowing the uptime and the version of the OS (e.g. kernel-version)
you know to
On Sun, May 06, 2001 at 08:38:23AM -0700, Nick Terzich wrote:
> Does anyone have any experience backing up mySQL from
> a "shared" web hosting account? I don't have root
> access to the database... will this keep me from
> running a shell script to do the back up?
If you have shell-access you c
On Tue, Apr 24, 2001 at 02:33:18PM -0700, Szii wrote:
> Checking to see if it's "syntactically correct" is trivial. Validating the
> domain is rather simple as well (check the retcode on a whois lookup.)
Which is not as trivial as it sounds, since whois does not really have "return-codes".
Yo
On Mon, Apr 23, 2001 at 03:00:07PM -0700, Dominique Paquin wrote:
> I asked when the new version of PHP was comming out at the beginning of the
> month and some one told me that it was comming out the week after. Haven't
> seen it yet, anyone knows the release date??
RC7 got out a few days ago (
Hi,
on one of our Ultra-sparc boxes I need to get php-3.0.18 and
gd 1.8.4 running together smoothly.
I compiled gd lib from scratch (Version: 1.8.4) to have jpeg-support.
Following lines come out of the Makefile for gd:
| CFLAGS=-O -DHAVE_LIBJPEG -DHAVE_LIBPNG
| LIBS=-lgd -ljpeg -lpng -lz -lm
On Sun, Apr 22, 2001 at 03:06:04PM -0700, Adam wrote:
> chmod the file to 777, this will allow anyone write permission to the file
> and thus you will be able to append to the file
file-mode 777 is ugo=rwx. You want 'chmod 666', which is ugo=rw.
read is 4
write is 2
execute is 1
If you want rw
On Fri, Apr 20, 2001 at 08:58:24AM -0600, Johnson, Kirk wrote:
> I have also seen this problem with one of my sites, but only *occasionally*.
> I have no clue as to what the problem is. Anyone else have any ideas?
Maybe someone remembers my post about my session-problem. Pretty much the same
typ
On Tue, Apr 17, 2001 at 11:51:52AM -0700, elias wrote:
> what is ZOPE?
Content Management System (CMS) written in python, I believe.
> can you give me a URL about it?
http://www.zope.org/
-fkr
--
gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0
|http://www.hazardous.org
On Tue, Apr 17, 2001 at 10:40:07AM +0200, Joachim Fuchs wrote:
> In typical lists, there is a small info how to unsubscribe. In the
> php-general list, this is not the case.
take a look at the signature:
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PRO
On Mon, Apr 16, 2001 at 03:28:11PM -0300, Nando2 wrote:
> I'm trying to remember what is the function to replace
> blank spaces with %20.
> Can anyone remind me of that?
urlencode()
urldecode()
-fkr
--
gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0
|http://www.hazardous
On Mon, Apr 16, 2001 at 07:17:24PM +0200, indrek siitan wrote:
> but is there an enable_functions keyword to explicitly enable
> those functions in httpd.conf (this should be possible with
> the php_value keyword, as far as I understood from the manual).
no. But you can put a .htaccess in the di
On Mon, Apr 16, 2001 at 07:16:06PM +0800, John Lim wrote:
> Rasmus Lerdorf (inventor of PHP) has said that PCRE is generally faster, but
> i haven't benchmarked myself. Of course strpos( ) is the fastest.
Joerg Krause has posted an URL for a webpage for benchmarking reg-expressions.
Sorry, I don
On Mon, Apr 16, 2001 at 12:42:50PM +0200, indrek siitan wrote:
> I've coded an additional PHP module, which I want to be a paid
> add-on feature to the clients. Is there a way to disable the
> module or functions (it contains 2 functions) globally and then
> specifically enable them to certain
On Sun, Apr 15, 2001 at 04:20:07PM -0500, Scott VanCaster wrote:
> Any idea what my problem is? I removed the WHERE id=$id and it works, but
> updates every record of course :(
Have you tried putting the $id in quotes too?
| WHERE = '$id'
if that doesn't help, print the sql-statement to STDO
On Tue, Apr 10, 2001 at 12:02:45PM +0200, Thomas Angst wrote:
> /etc/init.d/apache restart
> is the http server no more starteable.
> what's going wrong here, I didn't have any problems with the older version
> of the suse linux and PHP4, if anyone has an idea how to rerun the apache
> without a
On Sat, Apr 07, 2001 at 10:19:04PM -0500, Plutarck wrote:
> For instance, when they say not to use 4 spaces (or was it 3?) instead of
> tabs? I think that's stupid, and I don't do it. But they did it for a
> reason, even if I don't understand it.
tabs might break going from one platform to anot
On Fri, Apr 06, 2001 at 12:27:22PM -0400, Curtis wrote:
> Self Referenceing or have the data sent to another page for the
> processing.
I usually do self-referencing, since this way I have everything
in one place, don't rely on two scripts, don't need to open
two files in my editor etc. :)
-fk
On Thu, Apr 05, 2001 at 10:08:13AM -0600, Dan Wilson wrote:
> : Here's a quick patch.. =)
> : ([a-z0-9_\.\-]+)@([a-z0-9\.-]+).([a-z]{2}[a-z]?)
> Does anyone else (a regex guru) have any other suggestions?
I'm by no means an reg-exp-expert (hate these things)
/[a-z0-9_.-]+@+[a-z0-9._-]+\.[a-z]{2
On Thu, Apr 05, 2001 at 12:47:59PM +0200, Soeren Staun-Pedersen wrote:
> This is an English mailinglist.
forget it, was spam (hit me on quiet a few mailing-lists such as
[EMAIL PROTECTED] etc...).
-fkr
--
gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0
|http://www.hazard
On Thu, Apr 05, 2001 at 04:10:16PM -0500, Jacky@lilst wrote:
> how?
> Like this session_destroy("name");
> how about if I want to register that variable to be session again ( without
> closing browser and start everything all over again)? can I still do that?
session_destroy() *completly* kills
On Wed, Apr 04, 2001 at 08:59:00AM -0400, Scott Fletcher wrote:
> I have been wondering what is "SID"?
SID stands for Session ID. (which identifies/maps a running session
to user)
http://www.php.net/manual/en/ref.session.php will explain sessions in
general.
-fkr
--
gpg-fingerprint: 076E 1E
On Tue, Apr 03, 2001 at 05:34:05PM +0900, Yasuo Ohgaki wrote:
> Try register globals off, see if it helps.
> (You need to use $HTTP_SESSION_VARS)
ok. will do that. Does $HTTP_SESSION_VARS always work? (even with
register_globals being on?)
> FYI: It seems there is race condition problem in curr
On Mon, Apr 02, 2001 at 09:13:41PM +0900, Yasuo Ohgaki wrote:
> If you are enabled track vars and disabled register globals, all you have to do
> is assign values to $HTTP_SESSION_VARS and
both are on. Could there be a problem with session_register() ?
I do think it's odd, that the same code, on
On Mon, Apr 02, 2001 at 08:55:26AM -0300, Bruno Freire wrote:
> Anybody can tell me how can i do Include files?
has the thought of looking up the manual at php.net crossed your mind?
try searching php.net for include(), require()
-fkr
--
gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD
On Mon, Apr 02, 2001 at 06:14:07PM +0700, juang wrote:
> mmmh still confuse, i had try to find out "disable_functions " but i cant
> found it, and then i write the syntax with myself and i stop->restart my
> apache mmhhh?? still didn't work. and here its my configure:
put the following i
On Mon, Apr 02, 2001 at 12:01:08AM -0600, natter wrote:
> 3. Changed my httpd.conf file to allow .php:
> - AddType application/x-httpd-php .php
> - AddType application/x-httpd-php-source .phps
Do you have the directive to load the php-module in you
Hi,
are there any knows problems/bugs with session_register()?
With openbsd as a platform (not tested on others) I have the problem
that 20% of the times sessions don't get initialized correctly.
The session-file is created in /tmp (cookies for session-use are turned off),
just the variables
On Fri, Mar 30, 2001 at 06:45:21PM -0500, ..s.c.o.t.t.. [gts] wrote:
> i dont see how a surfer could get your PHP source code
> via the webserver.
what happens if the webserver once gets started without the php-interpreter
being there? You get to see the raw-files (if they are in the document-ro
On Fri, Mar 30, 2001 at 05:19:48PM +0700, juang wrote:
> i have been search the string of "phpinfo" in php.ini there was no phpinfo
> string found and "safe_mode-stuff" didn't found too.
I'll paste the part from my php.ini (it *should* be in the default php.ini
coming with php)
---
; Safe Mode
On Fri, Mar 30, 2001 at 11:49:45AM +0200, Christian Reiniger wrote:
> Well, people sometimes get upset when it takes five minutes to load a
> page with, say, only 30 tiny thumbnails...
Image-Resizing withing php is explained pretty well at the php.net-Site.
Yust take a look at the manual for th
On Fri, Mar 30, 2001 at 04:32:40PM +0700, juang wrote:
> how to compile php without function phpinfo enalbe. so
> if user call phpinfo() it would be false/error.
take a look at the safe_mode-stuff in php.ini.
-fkr
--
gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0
|http:
On Wed, Mar 28, 2001 at 12:03:55PM +0200, Andrius Lokotash wrote:
> It seems that PHP don't clean up it's temporary session files, is this a
> "feature" or bug?
it cleans them in certain intervals.
from php.ini:
|session.gc_maxlifetime= 1440; after this number of seconds, stored
|
On Sun, Mar 25, 2001 at 09:02:53PM -0500, JCampbell wrote:
> I know it is possible to redirect a user to their home page,
> but is it possible to determine what home page they are using?
you might be able to access this value from within javascript (not sure
on this).
Don't think it's possible
On Mon, Mar 26, 2001 at 02:11:46PM +1000, Matt Stone wrote:
> I dont like any of them, the UBB style is the best.
what's UBB-style like?
-fkr
--
gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0
|http://www.hazardous.org/ | whois -h whois.ripe.de FKR-RIPE |
|all your ba
On Sun, Mar 25, 2001 at 03:39:28AM -0800, adam wrote:
> how do i write to the beginning of a file instead of the end?
fseek will help. With it you con move the pointer to the file beginning.
http://www.php.net/manual/en/function.fseek.php will have details.
-fkr
--
gpg-fingerprint: 076E 1E87
On Sat, Mar 24, 2001 at 08:04:56PM +0100, Andre wrote:
> My intention is to read out the apache log files (like access.log etc) for
> making stats about pages hits/visits. Surely, there are some scripts
> (webalizer) to do this, but i canĀ“t find scripts which are written in php.
> Has someone a
On Sat, Mar 24, 2001 at 10:49:57AM -0500, Mauricio Alarcon wrote:
> Well it work partial, the .php now works but .php3 doesn't work Any
> other ideas?
make two lines out of it:
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
and so forth.
-fkr
--
gpg-fingerprint:
On Sat, Mar 24, 2001 at 08:50:16AM +0100, Rol wrote:
> I did notice that the session id is also written to the /tmp folder. Linux
> mandrake.
If php doesn't set a cookie to save the session-registered variables it stores
them in the locatin set in the php.ini (which is by default /tmp)
> Things
On Fri, Mar 23, 2001 at 06:16:10PM -0500, Mauricio Alarcon wrote:
> I want to connect to a Microsoft SQL Server, I try with mssql_connect
> but the script don't work, it always say Call to unsupported or undefined function
are you sure, that ms-sql support is compiled into your php?
what does p
39 matches
Mail list logo