Re: [PHP] PHP 5

2003-02-17 Thread Stephan Seidt
Hi, Well, something very important in php5 is ZendEngine2: http://cvs.php.net/co.php/ZendEngine2/ZEND_CHANGES bye Adrian Portsmouth wrote: Hi, I have been checking out the books on Amazon.com and it seems there is a PHP5 book in the works due to be released on March the 4th. Does anyone know

Re: [PHP] pause_script($int)??

2003-02-01 Thread Stephan Seidt
what about sleep() ? OjMyStEr wrote: Hi, Does anyone know if there is a way for me to produce a function in PHP to pause the processing of the script for 3 seconds for example without eating up the CPU bandwidth. I could do with quite accurate control. Is there a better way that doing it like

Re: [PHP] Can't get HTTPS -- driving me mad -- please help

2003-01-21 Thread Stephan Seidt
Is fopen_wrapper in php.ini set to yes ? Jonathan Boles wrote: PHP 4.3.0, Apache, Win32. I'm driving myself mad trying to work out why I can't get HTTPS pages. I understand there are two options, using fopen() with openssl installed, and using curl. I've installed openssl extension, but using

Re: [PHP] security question regarding including files..

2003-01-21 Thread Stephan Seidt
I guess you use some webserver, let's take apache. Apache's mime.conf has set several extensions, also php extensions. So only .php, .php3, .php4 files will be parsed by php. Chad Day wrote: I want to give my users the ability to submit a URL to a database, then when they pull up their page,

Re: [PHP] Can't get HTTPS -- driving me mad -- please help

2003-01-21 Thread Stephan Seidt
ah sorry, mixed some configuration files ;) Jonathan Boles wrote: Do you mean allow_url_fopen? It is set to 'on'. There's no fopen_wrapper setting Reading from http:// using fopen works fine. It's the https:// that doesn't work. - Original Message - From: Stephan Seidt [EMAIL PROTECTED

Re: [PHP] Text editors

2003-01-07 Thread Stephan Seidt
You wanted advert ;p www.weaverslave.de , has also a good english translation and many other languages. Karl James wrote: Hello guys, Right now im using dreamweaver mx I was wondering if anyone knew of any good free text editors that has line counts And is good for php…. Thanks karl ---

Re: [PHP] problems adjusting size of permissable file upload

2003-01-06 Thread Stephan Seidt
http://www.php.net/phpversion Kenn Murrah wrote: Greetings. My code to upload file is working fine with very small files but not with larger ones Here's what I've tried so far: 1. I've edited my php.ini file to read: upload_max_filesize = 100M 2. I've the following line to my html

Re: [PHP] include directory?

2003-01-06 Thread Stephan Seidt
That depends on where you want to point it at :) In pear we always use something like : require_once 'Package/File.php' It's very usable to add the pear directory to php's include path, but only if you have it ;) Otherwhise, just don't think about that setting. Rad Craig wrote: Where should this

Re: [PHP] time stamp screwing up

2003-01-06 Thread Stephan Seidt
What sort of mysql field type did you use for dateAdded ? You need UNIX_TIMESTAMP (or sth like that) for unix timestamp format. - [ Paul Ferrie ] - wrote: hey guys could someone help me I have created a user login register system in flash with PHP and Mysql. Everthing Now works fine aprt from

Re: [PHP] time stamp screwing up

2003-01-06 Thread Stephan Seidt
yep i guess that, so NOW() is a mysql function. - [ Paul Ferrie ] - wrote: So Jason what your saying is this $query = INSERT INTO contacts (id, name, pass, email, dateAdded) VALUES (NULL, '$name', '$pass', '$email', '$time'); Should be $query = INSERT INTO contacts (id, name, pass, email,

Re: [PHP] Re: include/require vs performance

2003-01-03 Thread Stephan Seidt
I guess that PHP will close file 1 before it opens file 2 and so on.. For example : include 'foo'; include 'bar'; When bar is being opened foo is already closed. Leon Mergen wrote: Radek Zajkowski [EMAIL PROTECTED] schreef in bericht news:[EMAIL PROTECTED]... Is there, was there ever issue

Re: [PHP] Re: include/require vs performance

2003-01-03 Thread Stephan Seidt
well ok, if it's : main.php : include 'foo'; foo : include 'bar'; bar : include 'whatever'; ... there will be lots of used file descriptors at once Leon Mergen wrote: Stephan Seidt [EMAIL PROTECTED] schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I guess

[PHP] Connecting binary php together

2002-12-03 Thread Stephan Seidt
Hi I'm thinking about the best way to connect a c(++) binary with the php interpreter. I thought the best solution is to use a shared library which has been built by php. Is libphp4.so always the same or are the libraries for apache / apache2 / roxen / etc different ? I think the parameter

Re: [PHP] Re: Connecting binary php together

2002-12-03 Thread Stephan Seidt
direction. J Stephan Seidt wrote: Hi I'm thinking about the best way to connect a c(++) binary with the php interpreter. I thought the best solution is to use a shared library which has been built by php. Is libphp4.so always the same or are the libraries for apache / apache2

[PHP] Re: sockets (again)

2002-11-25 Thread Stephan Seidt
Hi, You have to choose a protocol for AF_INET sockets. Try getprotobyname() with tcp and udp to get one. bye On Mon, 25 Nov 2002 10:24:46 -0800 [EMAIL PROTECTED] (Gareth Thomas) wrote: Hi, I really need some help here because I am going to lose my mind otherwise!! A script that was

[PHP] Re: How do I Install PHP on Apache 2.0?

2002-11-24 Thread Stephan Seidt
Hi, You must build a shared library by configuring php with --with-apxs2. On Sun, 24 Nov 2002 09:42:40 -0500 [EMAIL PROTECTED] (Tweak2x) wrote: can somebody please help me? I cant figure it out. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: How do I Install PHP on Apache 2.0?

2002-11-24 Thread Stephan Seidt
windows, unix ? On Sun, 24 Nov 2002 10:26:21 -0500 [EMAIL PROTECTED] (Tweak2x) wrote: how do i do that? Stephan Seidt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, You must build a shared library by configuring php with --with-apxs2.

[PHP] Re: php and caching

2002-11-24 Thread Stephan Seidt
Maybe Pear's Cache class could help you.. But I'm not sure, never played around with it in detail. On Sun, 24 Nov 2002 12:47:08 -0500 [EMAIL PROTECTED] (Alex) wrote: Hi, I have a few pages on my site that contains dynamical content that must be processed each time the page is loaded. But

[PHP] Re: Passing Variables

2002-11-23 Thread Stephan Seidt
if you mean something like bla.php?foo=bar, etc and you have register_globas enabled it'll be stored as $_GET['foo'] ($_REQUEST['foo']) On Sat, 23 Nov 2002 11:42:49 -0800 [EMAIL PROTECTED] (Craig Edgmon) wrote: I am sure this question has been answered, but there is a ton of data to sift

[PHP] Re: Secureing PHP.

2002-11-23 Thread Stephan Seidt
hi, you should try to take the php.ini-recommended and edit it a little bit so that it fits your needs. the settings there are very secure but also increase php's performance and coding standard. if some settings won't fit to a single script, you can use ini_set(..., ...). so you'll have to

[PHP] Re: foreach, side effect or good behaviour?

2002-09-23 Thread Stephan Seidt
It's good behavoiur because everytime even a reference gets a value, also the target which it is pointing on should get the same value. On Mon, 23 Sep 2002 12:57:56 +0200 (CEST), [EMAIL PROTECTED] (Jean-Pierre arneodo) wrote: Hi, $a=1; $b=$a; foreach(array(2,3) as $b); echo a=$a; //

[PHP] Re: PHP source code

2002-09-19 Thread Stephan Seidt
On Thu, 19 Sep 2002 16:50:16 +0200 [EMAIL PROTECTED] (Oliver Witt) wrote: Hi, Is there any way to read php source code? I didn't think so until I heard about people you have done that... Kind regards, Oliver Do you mean the source of php.net ? Try

[PHP] Re: Cannot Redeclare Function

2002-09-19 Thread Stephan Seidt
Looks like you may not redeclare functions generally. Because the function tbl2array can't be any kind of scope, the functions declared inside it will be globally declared. I think the solution is to take the functions like compname() out of tbl2array and declare them really global. On Thu, 19

[PHP] Re: File Access...

2002-09-19 Thread Stephan Seidt
I guess it is sth. like : ?php header('Redirect: http://www.domain.com/index.php'); ? If it doesnt work try www.php.net/header, there is an example. On Thu, 19 Sep 2002 17:21:15 +0100 [EMAIL PROTECTED] (Brian McGarvie) wrote: How could you redirect somone from directly accessing a file...

[PHP] Re: PHP source code

2002-09-19 Thread Stephan Seidt
the secret-file stuff. bye, blizz On Thu, 19 Sep 2002 20:15:06 +0200, [EMAIL PROTECTED] (Oliver Witt) wrote: Stephan Seidt schrieb: On Thu, 19 Sep 2002 16:50:16 +0200 [EMAIL PROTECTED] (Oliver Witt) wrote: Hi, Is there any way to read php source code? I didn't think so until I heard