RE: [PHP] Stopping stolen / spoofed / linked sessions

2001-06-29 Thread scott [gts]
keep the current user's IP address or timestamp in a database with the session ID. if the session is requested by someone with a different IP or too-late timestamp, give the requesting user a new session. -Original Message- From: adam (dahamsta) [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] --with-zlib/--with-zlib-dir and --enable-xslt

2001-06-29 Thread scott [gts]
haha... i had been trying to compile PHP 4.0.5 and previous with the GD library, and it was giving me all sorts of bizarre errors, but when i downloaded PHP 4.0.6 and tried to compile it against GD, it worked beautifully not a single error. :) -Original Message- From: [EMAIL

RE: [PHP] Pricing Advice Needed

2001-06-29 Thread Chadwick, Russell
I believe its how_many_times_client_changes_mind * (man_hours * 2) * rate = what_your_time_is_worth provided that (how_many_times_client_changes_mind * (man_hours * 2)) + other_projects_time 18hr/day of programming Think of the project overall and make sure to sit down with the client and

RE: [PHP] setting output_buffering for certain hosts or directories

2001-06-29 Thread scott [gts]
i've never done this myself, but a suggestion would be to check out: 'auto_append_file' and 'auto_prepend_file' they're php.ini directives. for example, try adding auto_prepend_file 'stuff.php' to your php.ini when PHP goes to load a page, it'll first check to see if 'stuff.php' can be found,

[PHP] What does this error mean?

2001-06-29 Thread Jimi Malcolm
I'm trying to from a file in a directory called 'logs'. I've never seen this error before. What does it mean? ERROR Warning: fopen(logs/993700800.log,w+) - Permission denied in /home/sites/site20/users/guide/web/counter.php on line 28 Warning: Supplied argument is not a valid File-Handle

[PHP] Week Number

2001-06-29 Thread Matt \TrollBoy\ Wiseman
Does know of anyway to get PHP to return the week number? As in there are 52 weeks in a year and this is week x? If there is no internal feature, perhaps something built into PHPLib? Lemme know, Matt TrollBoy Wiseman Webmaster: Shoggoth.net Site Designer: phpslash.org The oldest and strongest

RE: [PHP] Creating domain and default page

2001-06-29 Thread scott [gts]
1) read apache and named docs so you know what changes need to be made, and where to make them 2) update 'httpd.conf' and the domain's 'zone' file 3) restart both 'named' and 'apache' 4) copy an 'index.php' into the subdomain's newly created directory. there are probably better ways to

[PHP] system() call to payflow pro

2001-06-29 Thread Data Driven Design
I had a site that was working fine and now gives this error. Warning: Unable to fork [C://winnt//system32//pfpro connect.signio.com 443 TRXTYPE=STENDER=CUSER=usernamePWD=passwordACCT=56532325168784512EXPDAT E=0102AMT=11.95NAME=Jeff RossiSTREET=1506 Tuscaloosa AveCITY=Holly

Re: [PHP] search for a better php source code viewer

2001-06-29 Thread Michael O'Neal
on 6/27/01 1:49 AM, ReDucTor leaped tall buildings, and wrote: EditPlus is the best program EVER I use it for every thing... :) :) BB Edit is the PHP coder of choice on the Mac side. It does everything! It also has a great PHP library so you don't have to manually type redundant code,

RE: [PHP] About Integration PHP- VPOS

2001-06-29 Thread Ing. Marco Antonio López Meléndez
I've already compiled and tested the communication betwen PHP (cURL module included) and Vpos. The only problem I'm actually facing is how to process the curl's answer. -Mensaje original- De: Richard Lynch [mailto:[EMAIL PROTECTED]] Enviado el: Wednesday, June 27, 2001 2:16 AM Para:

Re: [PHP] Postcard/Tell a friend app

2001-06-29 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Michael O'Neal) wrote: So, on to the next question. Has anyone seen an app that can send digital cards, where a user can choose their picture, and add whatever text and font they want, then send to as many people as they want? Some

Re: [PHP] Interfacing with Excel

2001-06-29 Thread Markus Fischer
You can use PHP4 under win32 (CGI Binary) and use the DCOM Interface to access excel. Search with google and some appropriate keywords. - Markus On Thu, Jun 28, 2001 at 11:00:19AM +0530, Sharat Hegde wrote : Hello, I have a web site on a Unix environment running PHP 3.0 and MySQL. I

[PHP] PHP Not Working

2001-06-29 Thread Black S.
Very strange situation, PHP Version 4.0.3 on one of my production web servers has started to loose different functionality?? The OS is Apache/1.3.12 (Unix) (Red Hat/Linux 6.2) PHP/4.0.3 mod_perl/1.21, PHP was compiled as a module with apxs. The strange thing is, some virtual host directories have

Re: [PHP] Convert

2001-06-29 Thread Chris Hayes
implode see manual/function.implode.html Chris Date sent: Thu, 28 Jun 2001 17:34:41 +0530 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject:[PHP] Convert Hi How do I convert arrays to string ??. ~ Karthick --

[PHP] closing window after submit

2001-06-29 Thread Richard Kurth
I have a form that is in a pop up window it has an image for a submit button how can I close the pop up after submitting. I know I can do it with javascript with a standard submit button. but how can I do it when I use an image for a submit button form method=post action=?echo

[PHP] referencing arrays in arrays

2001-06-29 Thread Anette Löfquist
I have an array, $field, like following: Array ( [0] = Array ( [0] = Array ( [disp] = computer [index] = computer ) [1] = Array ( [disp] = or [index] = @or )

[PHP] referencing arrays in arrays

2001-06-29 Thread Anette Löfquist
I have an array, $field, like following: Array ( [0] = Array ( [0] = Array ( [disp] = computer [index] = computer ) [1] = Array ( [disp] = or [index] = @or )

[PHP] php varaible to perl

2001-06-29 Thread richard greene
Hello all, Can anyone see what's happening here? I'm trying to pass some variables (font stuff) to a cgi script so that it will appear the same as the current theme being used. Everything seems to be working except the replacements. here's the code. Any help much appreciated, thanks! Or would

[PHP] Announcement: DEF CON 9 PHP Talk

2001-06-29 Thread Adam
Hello, everyone. I've been reading the list for a few years now and wanted to let you know that I'll be giving a talk on Data Mining and Web Security With PHP this year. I'll be speaking on Friday afternoon so anyone in Las Vegas the weekend of July 13th who's interested please attend! For more

[PHP] ADD a user in linux using PHP

2001-06-29 Thread Bruno Freire
Title: ADD a user in linux using PHP Hi! I'm Bruno, from brazil Somebody knows how to create a new user in LINUX (not http server) using PHP? Something like useradd and passwd Thanks, Bruno.

Re: [PHP] PHP and Windows XP

2001-06-29 Thread Miles Thompson
Jochen Except when it is compiled in standalone mode, PHP works through a web server. Judging from posts on the list, Apache is the best bet, rather than MSFT's PWS or IIS. If you're running XP, do a test and share the info! Miles At 05:47 AM 6/28/01 +0200, Jochen Kaechelin wrote:

Re: [PHP] Interfacing with Excel

2001-06-29 Thread Miles Thompson
Are you getting an Excel2000 file and don't have Excel to open it? Just have it sent to you as CSV (Comma Separated Values) rather than XLS; that would be easy to parse. If you have direct access to the MySQL box, copy the file there and do the import directly. Check the MySQL docs. A more

RE: [PHP] Stopping stolen / spoofed / linked sessions

2001-06-29 Thread David Price
Adam, They way I got around this was to create a session key using a MD5 hash of the session id and the user's IP address. The username, session id and session key are then stored in a MySQL table. Every time the user loads a page I want secure, it re-creates the session key and checks to make

[PHP] INVITO AD UNA VISITA

2001-06-29 Thread PROSOFT
Title: GIUGNO NEWS1 GIUGNO: INVITO AD UNA VISITA Gentile Sig.re/ra buongiorno, vorrei invitarLa ad una visita del nostro sito www.prosoft.it e, per non farLe inutilmente perdere del

[PHP] PHP ImageMagick

2001-06-29 Thread Jeffrey Barendse
In PHP I try to run a shell command with the following source code: $fotonaam = 'convert -font arial -pointsize 20 -gravity center -fill white -draw text 5,5 VERKOCHT image.jpg image2.jpg'; exec($fotonaam); PHP runs the program but the -draw text 5,5 VERKOCHT is not executed (there is no

[PHP] making e-mail link

2001-06-29 Thread bill
I use this to replace URLs as links: $text = eregi_replace((http://[^ ]*),a href=\\\1\\\1/a,$text); What can I use to replace email addresses (like [EMAIL PROTECTED]) as e-mail links? kind regards, bill hollett -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] php4 phplib

2001-06-29 Thread news.php.net
I upgraded php3 to php 4.0.6 on Linux 2.2.19+apache 1.3.17+sybase 11.9.2 and my phplib stoped to work. I am using Cart class and Sessions etc. Page_close sends the message: Database error: Invalid SQL: insert into active_sessions ( sid, name, val, changed ) values

Re: [PHP] making e-mail link

2001-06-29 Thread richard greene
Bill I grabed this function from the www.php.net manual and it works great, it covers all your bases, except that it will show you http://www.something.com for http://www.something.com or www.something.com. If somone knows how to modify it so it would only show www.something.com when linked,

Re: [PHP] Pricing Advice Needed

2001-06-29 Thread Julia A. Case
This varies greatly depending on where you are... For example here on Long Island I can make $60-80 / man hour, but in New York City I can make as much as $150 / man hour... It also depends on what you are doing. Hope this helps, Julia Quoting Alva Chew ([EMAIL PROTECTED]): Hi everyone,

Re: [PHP] Pricing Advice Needed

2001-06-29 Thread Thomas Deliduka
On 6/28/2001 2:49 AM this was written: I am working as a freelance programmer. Problem is I don't really have a clue how the pricing mechanism in the industry works. I have heard calculations based on man hours and lines of code, so perhaps anyone one can tell me on the average, how much

[PHP] parse error in PHP Manual in php web site...

2001-06-29 Thread Romulo Roberto Pereira
Parse error: parse error in /local/Web/sites/phpweb/include/shared-manual.inc on line 265 Fatal error: Call to undefined function: sendmanualheaders() in /local/Web/sites/phpweb/manual/en/getting-started.php on line 3 HELPPP!! :) Rom -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] Stopping stolen / spoofed / linked sessions

2001-06-29 Thread adam (dahamsta)
David Price [EMAIL PROTECTED] said: They way I got around this was to create a session key using a MD5 hash of the session id and the user's IP address. SNIP I know that the IP address can be spoofed, but I'm not sending the session id in the url, so no one knows what it is and without the

RE: [PHP] Mail slow

2001-06-29 Thread Don Read
On 27-Jun-01 Tim Ward wrote: I've finally got a mail client running on our web server and it works fine, except in the time it takes to run the mail() function. I've put diagnostics round the call and it seems to be taking 22 seconds to return. All I'm doing is forwarding the results of an

[PHP] Passing parameters to another .PHP via a tag

2001-06-29 Thread Momchil Kinov
Hi there. I'm completely new in PHP so I apologize for this question. I've download and read PHP manual but I didn't found how to pass parameters from one .PHP to another .PHP file. I'm not trying to send variables from a form using $HTTP_POST_VARS[ ], but pass via A HREF=somescript.php?.

[PHP] ENC: ADD a user in linux using PHP

2001-06-29 Thread Bruno Freire
Title: ENC: ADD a user in linux using PHP -Mensagem original- De: Bruno Freire Enviada em: quinta-feira, 28 de junho de 2001 11:31 Para: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Assunto: ADD a user in linux using PHP Hi! I'm Bruno, from brazil Somebody knows how to

Re: RE: [PHP] mssql and uniqueidentifier's

2001-06-29 Thread Frank M. Kromann
Hi all, The dll is not broken. The type UNIQUEIDENTIFYER is a 16 byte binary value and is returned as such. With versions of the php_mssql.dll distributed with php4.0.5 or before did not include proper support for binary data. This has been changed in php4.0.6. I have hust added a small

Re: [PHP] Problem with Excel

2001-06-29 Thread Jean-Arthur Silve
Hi ! I think the simplest thing to do is to convert your excel file to a CSV file (it an ASCII format ). jean-arthur At 17:16 28/06/01 +0530, Sharat Hegde wrote: Hello, I have a web site on a Unix environment running PHP 3.0 and MySQL. I need to convert data in an Excel format to a MySQL

php-general Digest 29 Jun 2001 15:14:33 -0000 Issue 726

2001-06-29 Thread php-general-digest-help
php-general Digest 29 Jun 2001 15:14:33 - Issue 726 Topics (messages 55538 through 55544): PHP Not Working 55538 by: Black S. Re: Convert 55539 by: Chris Hayes closing window after submit 55540 by: Richard Kurth (slightly OT) the bad and the good (hosting

[PHP] passwd in php....

2001-06-29 Thread Bruno Freire
Title: passwd in php Hi... My name is Bruno. Somebody Knows how to use passwd in php? I mean, create linux users on my httpd server using a php page. I already try the EXEC(), but i had no sucess.. Any help will be needed Thanks everyone

Re: [PHP] PHP PGP

2001-06-29 Thread Maxim Derkachev
Hello Pepe, Thursday, June 28, 2001, 6:05:48 PM, you wrote: PL I want to encrypt mails coming from my webform with pgp. Is it possible? It is possible. Also, If you had been chosen GNUPG instead of PGP you could use the class located at

[PHP] how to determine size of gz-handler output

2001-06-29 Thread Sebastian Stadtlich
Hi all I'd like to know how small my content gets when i use ob_gzhandler. so far i tried $cont=ob_get_contents(); $length=strlen($cont); echo !-- $length --\n; but it outputs !-- 17280 -- while apache says in its logfile: 217.81.41.121 - - [29/Jun/2001:12:43:59 +0200] GET / HTTP/1.1 200

Re: [PHP] Stopping stolen / spoofed / linked sessions

2001-06-29 Thread Tom Rogers
Hi When you start a session for the first time store remote host info and validate it on subsequent accesses. Tom At 10:48 PM 28/06/01, [EMAIL PROTECTED] wrote: Hi adam! On Wed, 27 Jun 2001, adam (dahamsta) wrote: [Please copy replies off-list.] I want to use PHP4 sessions for

Re: [PHP] extract data from html

2001-06-29 Thread Adrian D'Costa
On Thu, 28 Jun 2001, CC Zona wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Adrian D'Costa) wrote: 1. Open the html file in read only mode 2. Start reading the html file till I encounter a td tag (I don't know how to do this) 3. Grab that data after the td tag (and then

[PHP] Please Help......

2001-06-29 Thread Man He
Hi all, Can anybody give me a guideline or idea on how to write a PHP scriot which is used to create a domain or sub-domain and a default page and a same time. My OS is Red Hat Linux 6.1. For example, in my program, when i press activate' button, the script will create me a sub-domain

[PHP] Temporary file during image create trouble

2001-06-29 Thread Alexander Rybin
Hello! Can anybody help me with some problem? Here it is. I need to create PNG image with PHP script. When I try to create the image with ImagePNG(), I get warning: PHP Warning: imagepng: unable to open temporary file in ../../include/Gr_sektor.php on line 413. Image is not created, as you are

[PHP] Function No Longer works

2001-06-29 Thread Black S.
I have found the problem with my previous post and PHP functions no longer working. It seems the code: include(http://www.domain.com/path/to/file.txt;); no longer works? If I type in a complete directory path then it works great, but no Internet include, any one know why? Thanks -- PHP

RE: [PHP] PHP PGP

2001-06-29 Thread David Price
It is possible, but I have not found any good tutorials on the subject. There is one on Web Monkey at this address: http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial1.html All the commands were wrong for the PGP version (6.5) that was loaded on my web server. I found that

Re: [PHP] Pricing Advice Needed

2001-06-29 Thread ~~~i LeoNid ~~
On 28 Jun 2001 02:08:20 -0700 impersonator of [EMAIL PROTECTED] (elias) planted I saw in php.general: It all depends on your experience and knowledge. You know that if you're too experienced you can save lots of research and learning time. therefore you have to estimate how much does your hour

[PHP] new break tags

2001-06-29 Thread bill
I'm trying to fix two regular expressions to work with the new break tags. This $breaks=preg_match_all(/br\s+br/i, $text, $parts) and this preg_replace(/br\s+br/i,/PP class=\doserif\,$text) Now that PHP 4.0.5 has changed the nl2br() function, it no longer replaces new lines with: br but

[PHP] simple message board (no login)

2001-06-29 Thread Adrian Murphy
anyone got a simple threaded message board where the poster doesn't have to login but can leave there name. OR anyone modified the nuke forum so anonymous users can leave their name? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] Line Breaks in textarea

2001-06-29 Thread David Robley
On Thu, 28 Jun 2001 04:44, Nathan Cook wrote: Hello- I am selecting a value from a blob field in a mysql db. The value looks like this: Test 12...3 \r \n br %0%D Test When I print that value in a TEXTAREA$value/TEXTAREA -- The textarea returns exactly what you see above. I am

Re: [PHP] Stopping stolen / spoofed / linked sessions

2001-06-29 Thread Rasmus Lerdorf
I want to use PHP4 sessions for authentication, Ok, stop right there. Sessions and authentication have nothing to do with each other. To create a secure authenticated site you should be using HTTP-based authentication over SSL. Sessions are simply for maintaining state across http requests

[PHP] Temporary file during image create trouble

2001-06-29 Thread Alexander Rybin
Hello!Can anybody help me with some problem?Here it is.I need to create PNG image with PHP script.When I try to create the image with ImagePNG(), I get warning: "PHP Warning:imagepng: unable to open temporary file in ../../include/Gr_sektor.php online 413". Image is not created, as you are

[PHP] Reducing Brackets is a Logical expression

2001-06-29 Thread rm
Somewhere, some time ago, i saw a rountine, C, C++, php, some language that provided a rountine to reduce brackets in a logical expression to the fewest number of brackets possible (much like mysql does), for ex: ((a and b) or (a and c)) would be reduced to: (a or c) and b not a very good

[PHP] Regular Expression help

2001-06-29 Thread Clayton Dukes
Hi everyone, I have a new user function that checks e-mail addresses. I wish to only allow people from two different domains to register. How can I filter out all other e-mail addresses and return an error if it's not from those domains. Here's what I have: if ((!$email) || ($email==) ||

[PHP] Re: Regular Expression help

2001-06-29 Thread Clayton Dukes
Okay, here's what I have so far: ---snip--- if ((!$email) || ($email==) || (!eregi(^[_\.0-9a-z-]+@domain.+[a-z],$email)) ) $stop = center._ERRORINVEMAIL./centerbr; ---snip--- This works, but how can I add a second domain? ie: ---snip--- if ((!$email) ||

[PHP] php / apache

2001-06-29 Thread Pétur Björn Thorsteinsson
can anyone tell me how to configure a php script so that it can only be accessed by other scripts and not directly by typing its url in the webrowser? -petur -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] wierd array problem using mysql_fetch_array and mssql_fetch_array

2001-06-29 Thread James Crowley
Hi, I've been having some very wierd problems using arrays and the database functions for mysql_fetch_array and mssql_fetch_array. (Running on Windows 2000). Please see the comments in the code below. #connect to the ms sql db #(the problem also occurs when using a mysql db) $connsrc =

RE: [PHP] PHP PGP

2001-06-29 Thread Chris Mason
Yes, here's some code, adapt to your needs. -Original Message- From: Pepe Lopez [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 10:06 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP PGP Hi there, I want to encrypt mails coming from my webform with pgp. Is it possible? regards,

RE: [PHP] calculate download time

2001-06-29 Thread Tyrone Mills
Scott, All your method does is come up with how many kb/s you would need to achieve to transfer the file in 1 minute. To estimate how long it would take with a 28.8 modem connection (many sites do this), I would do something like the following: -- 28.8Kbps Modem (that's kilobit, not

RE: [PHP] PHP PGP

2001-06-29 Thread Chris Mason
class eZGPG { /*! \static Encrypt function */ function eZGPG( $plaintxt, $keyname, $wwwuser) { $this-keyname=$keyname; if ( sizeof( $this-keyname ) == 0 ) $this-body = WARNING: No Keys Specified; $this-pcmd = echo '$plaintxt' | ;

RE: [PHP] PHP crashing IIS 5 on Wnidows 2K

2001-06-29 Thread Brave Cobra
Remember that the cgi version does not support PHP authentication. the DLL version does! Brave Cobra -Original Message- From: Bernie Kruger [mailto:[EMAIL PROTECTED]] Sent: donderdag 28 juni 2001 15:08 To: [EMAIL PROTECTED] Subject: Re: [PHP] PHP crashing IIS 5 on Wnidows 2K I had

Re: [PHP] Filtering out \ when a ' is user entered?

2001-06-29 Thread Richard Lynch
I had the same problem: So I tried stripslashes.. But Queries do break if unslashed ' or are present. and furthermore, there are many other problems .. So I created a function called entities.. Why don't you simply use addslashes () again when you put the stuff into the DB? Better yet,

Re: [PHP] Function

2001-06-29 Thread Delbono
you can use array_walk array_walk (PHP 3= 3.0.3, PHP 4 = 4.0b1) array_walk -- Apply a user function to every member of an array Description int array_walk (array arr, string func, mixed userdata) - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc:

RE: [PHP] PHP PGP

2001-06-29 Thread scott [gts]
possible? yes. feasable? yes and no... 1) encrypting traffic from the user's browser to your server is extremely impractical. 2) encrypting information on the server with PGP is a whole lot easier... there are a bunch of PHP - PGP interface packages i've seen around, so do some searching and

[PHP] how to flip an image using GD?

2001-06-29 Thread Noah Spitzer-Williams
how would i flip an image horizontally using the GD library in PHP? Noah -- 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]

Re: [PHP] extract data from html

2001-06-29 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Adrian D'Costa) wrote: 1. Open the html file in read only mode 2. Start reading the html file till I encounter a td tag (I don't know how to do this) 3. Grab that data after the td tag (and then what?) See

[PHP] Insight into Object Serialization and Loading

2001-06-29 Thread Brian Tanner
Quick question to the powers that be. With the current implementation of objects and such, how flexible is unserialize and serialize. I am currently building a large object oriented web application, and I have a pile of moduls and definition files stored to disk as serialized objects. Just

Re: [PHP] Pricing Advice Needed

2001-06-29 Thread Christian Reiniger
On Thursday 28 June 2001 12:44, Alva Chew wrote: Thanks for the advice, what about charging by line of code? how does that apply? Don't. Lines of code are a terrible measurement. Good programmers often write code that has more functionality, is more maintainable *and* is much smaller than

Re: [PHP] Filtering out \ when a ' is user entered?

2001-06-29 Thread Christian Reiniger
On Thursday 28 June 2001 10:44, Delbono wrote: I had the same problem: So I tried stripslashes.. But Queries do break if unslashed ' or are present. and furthermore, there are many other problems .. So I created a function called entities.. Why don't you simply use addslashes () again

RE: [PHP] Convert (join)

2001-06-29 Thread scott [gts]
there's also join() (which is the exact same as implode) but might help you remember that it's joining the elements of an array together into a single string. -Original Message- From: Alva Chew [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 9:00 AM To: [EMAIL PROTECTED]

[PHP] Cannot determine HOSTNAME in 4.0.6?

2001-06-29 Thread Lance Lovette
Something was changed between 4.0.5 and 4.0.6 and now there is no way to determine the host name of the local host from a PHP script when executed in Apache. The output of phpinfo shows that the HOSTNAME environment variable that existed in 4.0.5 is not available in 4.0.6. This affects the

Re: [PHP] PHP PGP

2001-06-29 Thread Henrik Hansen
Pepe Lopez [EMAIL PROTECTED] wrote: Hi there, I want to encrypt mails coming from my webform with pgp. Is it possible? this hack might help you http://alt-php-faq.org/#id65 -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: [PHP] Missing arguments for function in class? (object-orientedprogramming)

2001-06-29 Thread scott [gts]
rename either the function or the class. class Display_Records { function display_records($row, $record_count) { $current_date = (date(Y-m-d)); $age = ($current_date); return $age; } function disp_rec($row, $record_count) {

Re: Re: [PHP] PHP and Windows XP

2001-06-29 Thread Micha Ober
Yes, it will work. I know somebody, who has installed Apache 1.3.20 and PHP 4.0.5. --- elias [EMAIL PROTECTED] wrote: From pop_server.8745454@pop.gmx.net Thu Jun 28 17:53:33 2001 Return-Path: [EMAIL PROTECTED] X-Flags: Delivered-To: GMX delivery to [EMAIL PROTECTED] Received:

[PHP] Convert

2001-06-29 Thread Roman
Have you some program for convert Microsoft Access Database (*.mdb) to the MySQL database ? Thanks Roman -- 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

Re: [PHP] problems with round ..

2001-06-29 Thread Gyozo Papp
This code works fine with PHP 4.0.5 on Win. ?php srand (microtime()); for ( $i = 0; $i 1000 ; $i++) { $BLAH = rand() / 100; echo round($BLAH, 2), 'br'; } ? - Original Message - From: Chad Day [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 2001. június 27.