[PHP] Re: Back Button Dilemma's

2001-04-10 Thread Daniel B I
You may use a hidden field wich tells you what current step is. If it is lower that your current page expects to be, you may take the proper action (here the most simple, die() ) Look at this simple script: ==SCRIPT BEGINS HERE ? if ( isset( $step ) ) if ( $step == 2 )// =here

[PHP] PHP Apache through proxy

2001-04-09 Thread Daniel B I
Hi! Any idea how to send a www header through a proxy? Is there a proxy www header? thanx, Daniel BI -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

[PHP] RE: Apache latest + PHP latest + GD latest + Freetype latest + Jpeg latest

2001-04-06 Thread Daniel B I
I've posted this email one week ago. I think it may help you a little with some new ideas. Don't forget the other good advices like 'make clean' in gd, php and apache and.. so on..directories and removing config.cache from php directory before making a new recompilation. Hope it helps!

Re: [PHP] Can php read and than print file like it is

2001-04-03 Thread Daniel B I
try readfile() Daniel BI -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: Compiling PHP4, Re: Image resizing

2001-04-01 Thread Daniel B I
Hey, man, you dont look at this list too often, isnt it? Some days ago I wrote about this. Here is the message one more time: You need the jpeg support. Shortly, do this: (I will use my version names, so you can easyly find something, if you find newer ones, it's your bussiness) 1. search the

[PHP] Re: $myfile[$count]_type?!

2001-03-28 Thread Daniel B I
There is an easy way :) Here you have it, man! use instead: $myfile_type[$count] !!! (would you have hought about that?!) Daniel BI Why can't I do $myfile[$count]_type?! What schould I do instead? - Fredrik A. Takle [EMAIL PROTECTED] -- PHP General

[PHP] Sendmail

2001-03-27 Thread Daniel B I
Yep, I had the same problem yesterday with the mail. Try to just put a semicolon ";" in front of the sendmail path directive :). It worked with mine! It seems that it wants to find the path itself. Daniel BI Hi , I'm at a lossI've searched throught the knowledgebase, archives, docs, etc but

[PHP] GD problem

2001-03-27 Thread Daniel B I
You need the jpeg support. Shortly, do this: (I will use my version names, so you can easyly find something, if you find newer ones, it's your bussiness) 1. search the internet for: jpegsrc.v6b.tar.gz gd-1.8.3.tar.gz apache_1.3.14.tar.gz php-4.0.4.tar.gz 2. unzip all files in a tmp directory

[PHP] GD problem

2001-03-27 Thread Daniel B I
It.s me, again :) There is trick to find out if php will be compiled well (I mean with jpeg support): when issuing the ./configure command in php, after putting all the options, put something like this: ./configure ... cf.log (this is a redirection comand to write all output info to the file

[PHP] PHP Apache with SSL

2001-03-11 Thread Daniel B I
Hello, any idea how to limit file access (php files) by protocol type call? I mean how could I serve a php file only if it is called with SSL (https://... not http://...) I saw this on a site when I was refused because I didn't use secure protocol, and I wonder, how could I do that? Is there a

[PHP] Concurent requests

2001-03-09 Thread Daniel B I
Please, any idea how to manage concurent requests, for example like in a shopping cart? Scenario: 1. I have a counter A (a field in a database row), set to 1, so A=1 2. A client wants 1 unit from A , it checks and it's OK, there is available. 3. Another client wants 1 unit from A, it