Re: [PHP] Your opinion on security issue: file extension

2001-05-02 Thread Yasuo Ohgaki
I think expose_php = Off is first thing to do instead of changing association. (As well as disabling server signature) extension does not tell much, but expose_php tells PHP version also, if you care about crackers. Crackers will notice you care about security somewhat. It does not protect

Re: [PHP] hmm sockets (again)

2001-05-02 Thread Mukul Sabharwal
Hi, I might have missed a follow up or your original message, but have you tried socket_set_blocking() ? --- Joseph Blythe [EMAIL PROTECTED] wrote: Hey all, Just looked through the changelog for 4.0.5 and was suprised to see that the socket functions had not been fixed, (set_nonblock

[PHP] turning on error reporting

2001-05-02 Thread BigVeggie
Could any one tell me how I can turn on error reporting. The server i use has it turned off and when there is an error on one of my scripts the page goes blank, and i have know idea where or what type the error is. Can it be done using a .htaccess file? if it can how? clint -- PHP General

[PHP] Weird error...

2001-05-02 Thread elias
For some reason, whenever i run my script for the first time in the browser, the static source file get parsed and produces errors My script have JavaScript in it, and also my script calls the session_start(); Now first time the script is beeing run, i view source and see in my static part

Re: [PHP] hmm sockets (again)

2001-05-02 Thread Joseph Blythe
Mukul Sabharwal wrote: Hi, I might have missed a follow up or your original message, but have you tried socket_set_blocking() Mukul, Yes, socket_set_blocking does not work with the new socket functions, it is for the network functions, one must use set_nonblock() which to the best of

Re: [PHP] turning on error reporting

2001-05-02 Thread elias
in php.ini, this session ;; ; Error handling and logging ; ;; key name is error_reporting, set it to E_ALL while developing... -elias http://eassoft.cjb.net BigVeggie [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] Hosts.

2001-05-02 Thread elias
I'm not sure if www.f2s.com offer Perl5+ but it does offer MySql and Cgi and PHP i guess. -elias http://eassoft.cjb.net David Bruce [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... My host is Windows 98, Xitami and unstable MySQL and Perl/CGI. I'm looking for a

[PHP] Something like PHP-SHOP-NUKE?

2001-05-02 Thread Jos Len Serna
Hello: Somebody knows if there are something similar to PHP-Nuke but for a virtual shop? Best Regards. - VCLCrawler.com, your VCL search engine http://www.vclcrawler.com W2Kwm, Windows 2000 interface for XWindow

Re: [PHP] Reporting from Database

2001-05-02 Thread Richard Lynch
You should be able to test the ending time field in PHP and output different display based on that... Show a snippet of source code. PS You've tackled a really hard problem as a beginner -- Calenders *look* simple, are have all sorts of hidden complexities, as you've discovered. -- WARNING

Re: [PHP] mailing list

2001-05-02 Thread Richard Lynch
start sending email (this process would take many minutes). However before this script finished, another copy of the same script started, and this new copy was sending emails to the same users again. The original script continued. Result: duplicate emails Wild Guess: You are using cron and

Re: [PHP] how to measure databases

2001-05-02 Thread Richard Lynch
You could maybe write a shell script owned by mysql, but executable by world, that looks at the file sizes. -- WARNING [EMAIL PROTECTED] address is not working -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time:

Re: [PHP] Browser Detection

2001-05-02 Thread Richard Lynch
Is it possible with PHP (3.0.16) to detect which browser a user has and then load an image based on the browser type? I've found the get_browser() command in the manual, but it doesn't look like that does what I want, or I could just be looking at it wrong. Has anyone tried this before?

[PHP] session_register()

2001-05-02 Thread Jennifer
I have been racking my brain with this for hours and I am not getting anywhere. session_register doesn't seem to be registering my variables. Several questions to see if I am even on the right track. Do you need to register a variable with the session before you assign it a value?

[PHP] FTP

2001-05-02 Thread E K L
Hi all, I'm facing this serious problem where i can not ftp to my server. Any idea to help to solve the problem? It could be possibly caused by the ownership of the ftp folder. But, i don't know which folder is the right ftp folder for me to change mode. Please help. E K

Re: [PHP] session_register()

2001-05-02 Thread Richard Verstegen
Maybe this example will help you: Program 1: ?php session_start(); session_register('varA'); session_register('varA'); varA = varB = ... ? Program 2: ?php session_start(); print($varA $varB); ? Richard Jennifer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] Weird error...

2001-05-02 Thread Richard Verstegen
Check your php.ini [SESSION] url_rewriter.tags = . Richard elias [EMAIL PROTECTED] wrote in message 9coco0$uq8$[EMAIL PROTECTED]">news:9coco0$uq8$[EMAIL PROTECTED]... For some reason, whenever i run my script for the first time in the browser, the static source file get parsed and

[PHP] RE: session array :-/

2001-05-02 Thread Tim Ward
every time you run mainpage.php, the array is being reinitialised. Lose the line $myArray=array();. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html -Original

[PHP] RE: split and array logic

2001-05-02 Thread Tim Ward
depends how reliable the format of the string you're splitting is. If they are all like your examples then ... foreach ($stuff as $key=$element) { $dummy = explode( , $element); $stuff[$key] = array(); $stuff[$key][user] = $dummy[0]; $stuff[$key][browser] =

RE: [PHP] SQL Query time?

2001-05-02 Thread Anuradha Ratnaweera
I wonder if using microtime() gives _actual_ time spent for the query while explain gives _processor_ time. Anuradha On Thu, 26 Apr 2001, Maxim Maletsky wrote: what about microtime() ? you can do it your self: $start = microtime(); mysql_query()... $stop = microtime(); $token =

Re: [PHP] date list

2001-05-02 Thread James Holloway
Jon, Try this ... I know the code could be trimmed down, but I wrote it this way for ease of reading. select name=Date ? $startday = 01; $startmonth = 01; $staryear = 01; $endday = 01; $endmonth = 07; $endyear = 01; $startperiod = mktime(0,0,0,$startmonth,$startday,$startyear); $endperiod =

Re: [PHP] SQL Select Unique() ?

2001-05-02 Thread Anuradha Ratnaweera
On Thu, 19 Apr 2001, James, Yz wrote: Is there a method of extracting rows from a MySQL table Uniquely (as in only once) ?. For example, when a user performs a search, using two words, it may return the same row twice if the search is spread over two or more SQL selections. An example:

Re: [PHP] LDAP Authentication

2001-05-02 Thread Richard Lynch
I am trying ot understand how could a PHP script authenticate against a LDAP tree (NDS) that is not in the same host? Anyone has an example about that? No sample code, but I assume you just pass in the IP or hostname of the remote server for http://php.net/manual/en/function.ldap-connect.php

[PHP] Sending information between pages???

2001-05-02 Thread Vanden Eynde Pascal
Hello, I have a page A with a combobox. Next to the combobox I have a link to another page (B). The idea is that I select a value in my combobox, then click the link and the value of the selected value in the combobox should be send to the page B. Is this possible with php and html? I've tried

Re: [PHP] Problem with Sablot/PHP4

2001-05-02 Thread ReadOnly
On 30 kwietnia 2001 at 18:23:04 Yasuo Ohgaki [EMAIL PROTECTED] wrote: I don't use the extension, but XML assumes UTF-8 charcode. If you have problem with ISO-8859-2, how about convert it to UTF-8 using iconv module? XML assumes that parameter encoding=ISO-8859-2 should work correctly, but it

[PHP] utfdecode() and ISO-8859-2

2001-05-02 Thread ReadOnly
I found that utfdecode() can extract only ISO-8859-1. I need to convert from UTF-8 to ISO-8859-2? Will it be possible soon? -- Yarek -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

RE: [PHP] String Type Unknown

2001-05-02 Thread Rudolf Visagie
Hi Nathan, With compliments: ?php function HexToChar($Txt) { // Read Hex and convert to characters // Rudolf Visagie - 1 May 2001 $Txt = strtoupper($Txt); $NewTxt = ; for ($i = 0; $i strlen($Txt); $i=$i+2) { $LeftHexByte = substr($Txt, $i, 1);

Re: [PHP] Compressing an upload

2001-05-02 Thread Geir Eivind Mork
On Thursday 26 April 2001 00:37, Michael Conley wrote: I am going to have a page that will be used for visitors to upload a file to my web server. I already use gzcompress to compress some of the pages Just state that all files should be compressed cause you can't do anything with the files

Re: [PHP] Starting PHP script with crontab

2001-05-02 Thread Anuradha Ratnaweera
If you are not careful, anyone will be able to run the script! Anuradha On Thu, 19 Apr 2001, Bertjan Schrader wrote: I need tot start a PHP script at night with the crontab. I tried to do it with lynx (lynx http://www.domain.nl/test.php) as a commandline within the crontab. Lynx is

Re: [PHP] template solutions?

2001-05-02 Thread Anuradha Ratnaweera
WML is an easier solution (search freshmeat for wml - website meta language). Anuradha On Sun, 29 Apr 2001, Steven Haryanto wrote: Does anyone know a rather advanced template solution in PHP? At least one that supports loop and if (like HTML::Template), and directives/commands would be

Re: [PHP] String Type Unknown

2001-05-02 Thread Anuradha Ratnaweera
Since it contains only digits 0-9 and letters a-f, it looks like hexadecimal. Why don't you try to read two characters at a time and either convert them to binary or check their ascii values. There seem to be many ascii values however. Where did you get this from? Anuradha On Mon, 30 Apr

Re: [PHP] Please review our coding standards

2001-05-02 Thread Anuradha Ratnaweera
Most of your guidelines match with our practices. Here are some comments. On Sat, 28 Apr 2001, Steven Haryanto wrote: 0.1 We are writing PHP4 application here, not PHP3, nor Perl, Python, etc. So use PHP idioms. Same here. 0.3 Consistency matters. 0.4 Standards is important.

Re: [PHP] Emanuel virus

2001-05-02 Thread B. van Ouwerkerk
Once again, if it got passed to any of you, through me, my apologies. I wouldn't trust my anti-virus software on this, I could find any reference to it at Symantec. Maybe it has another name? Feeling like a leper - Miles Thompson Look for Navidad or W32/Navidad.e I think you should also

[PHP] open foxpro database

2001-05-02 Thread Benny K. Putera
I used function dbase_xxx to access foxpro database (.dbf) but it's not work. Here is my code : ? if (dbase_open(/home/benny/test/employee.dbf,0)) { for ($i=1; $i=dbase_numrecords($open); $i++) { $rec = dbase_get_record($db, $i); $nf = dbase_numfields($db); for ($j=0;

RE: [PHP] String Type Unknown

2001-05-02 Thread Rudolf Visagie
Nathan, Another way to do it (but much less fun): ?php function HexToChar($Txt) { // Read Hex and convert to characters // Rudolf Visagie - 1 May 2001 $Txt = strtoupper($Txt); $NewTxt = ; for ($i = 0; $i strlen($Txt); $i+=2) { $CharValue =

[PHP] ImageCopyResampled() - Php 4.0.6

2001-05-02 Thread JFL
If I want to use ImageCopyResampled(), do I then need Php 4.0.6 ? http://www.php.net/manual/en/function.imagecopyresampled.php -- [ www.eksperten.dk ] Scandinavias biggest IT forum. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] session array :-/

2001-05-02 Thread Richard Lynch
$myArray=array(); Is this line getting executed that second time?... Also, I think it's better to register a variable *before* assigning any value to it... Whether this is just coding style or it actually matters, I dunno. -- WARNING [EMAIL PROTECTED] address is not working -- Use [EMAIL

[PHP] Random number generation...

2001-05-02 Thread Tristan . Pretty
Hi there, A potentially dumb question here. Is there an easy way to display a random number between 1 and 20? I have looked on line, but either I am looking inall teh wrong places, or there isn't this script on-line. Can anyone point me in the right direction? Cheers, Tris...

Re: [PHP] zlib.output_compression - how to turn it on

2001-05-02 Thread Robert Mena
Yasuo, thanks for the reply. Yes I do have zlib support (shows me in phpinfo()). Sorry the stupid question but How do I check the size of the page ? If I access it and use save as I will have the uncompressed version right ? Which .ini directive did you use ? - thanks If you want to check

RE: [PHP] COM

2001-05-02 Thread Hassan Arteaga
Thanks !!! I will try... -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [EMAIL PROTECTED] -Original Message- From: Iriton Jonath P. Andrade [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 8:31 AM To: Hassan

RE: [PHP] COM

2001-05-02 Thread Hassan Arteaga
Hi Iriton !! I tested but with errors.. 9 ? php 10 $obj = new COM(Has.HasClass); 11 echo $obj-Hello(Hi Hassan); 12 ? This is only VB component Hello return the string entered as var...I receive this error.. Parse error: parse error in C:\Inetpub\wwwroot\myphp\com.php on line 10 Thanks

Re: [PHP] Random number generation...

2001-05-02 Thread elias
why not use the rand() ? manual says: rand -- Generate a random value Description int rand ([int min [, int max]]) If called without the optional min, max arguments rand() returns a pseudo-random value between 0 and RAND_MAX. If you want a random number between 5 and 15 (inclusive), for

RE: [PHP] Random number generation...

2001-05-02 Thread Jon Haworth
Wotcha Tris :-) Try this: mt_srand((double)microtime()*100); $my_random_number = mt_rand(1, 20); HTH Jon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 02 May 2001 12:07 To: [EMAIL PROTECTED] Subject: [PHP] Random number generation... Hi there, A

Re: [PHP] Random number generation...

2001-05-02 Thread Avetis Avagyan
?php srand((double)microtime()*100); $number = rand(1,20); echo $number; ? Regards, Avetis [EMAIL PROTECTED] wrote: Hi there, A potentially dumb question here. Is there an easy way to display a random number between 1 and 20? I have looked on line, but either I am looking inall teh

[PHP] Next SEMPUG meeting - this Thursday

2001-05-02 Thread Michael Kimsal
Hello all. Our next PHP user group meeting will be held this coming Thursday, May 3rd (the first Thursday of the month) at our office in downtown Ypsilanti, MI. (125 North Huron, #400, to be exact). We normally meet around 7ish for drinks/eats beforehand, and get started at 8. Keith Elder will

[PHP] $hello ?

2001-05-02 Thread elias
hello, i got myfile.txt saying: i say: $hello now i write a script like: $hello = hello world; $lines = join(\n, file(myfile.txt)); method 1: === echo(\$text = \\$lines\;); var_dump($text); method 2: $temp = $var; $text = $temp; none of the method assigns the value

Re: [PHP] $hello ?

2001-05-02 Thread elias
sorry, in method 1 i meant: eval() instead of echo() elias [EMAIL PROTECTED] wrote in message 9cp0io$uuf$[EMAIL PROTECTED]">news:9cp0io$uuf$[EMAIL PROTECTED]... hello, i got myfile.txt saying: i say: $hello now i write a script like: $hello = hello world; $lines = join(\n,

[PHP] About last release

2001-05-02 Thread Hassan Arteaga
Hi all !! I have PHP 4.0.4 on Win98, PWS PC and I would like to install 4.0.5 but is only for CGI ? I installed PHP 4.0.4 with an exe file...I didn't nothing..only double-click.. I need that file again but with PHP 4.0.5 version..Thanks !!! If not ..then I'll read install file. Thanks --

RE: [PHP] Random number generation...

2001-05-02 Thread Jon Haworth
The manual also says: mt_rand -- Generate a better random value I've been using mt_rand() over rand() every time - is there any reason not to? Cheers Jon -Original Message- From: elias [mailto:[EMAIL PROTECTED]] Sent: 03 May 2001 00:05 To: [EMAIL PROTECTED] Subject: Re: [PHP] Random

Re: [PHP] Help needed with multiple select form element and PHP !

2001-05-02 Thread elias
try this, form name=f1 select name=selectall[] optionline1/option option selectedline2/option optionline3/option /select input type=text name=txt1 /form script language=JavaScript !-- selectobjname = selectall[]; selectobj = null; for (i=0; i f1.elements.length; i++) {

Re: [PHP] How to catch the output of http:// - text file?

2001-05-02 Thread elias
Never tried what i'll write you, but it should work though! for ($i=0;$i2000;$i++) { $lines = join('', file(http://www.mysite.com/generator.php?id=$i)); // save $lines to a file. } -elias http://eassoft.cjb.net Kraa de Simon [EMAIL PROTECTED] wrote in message

Re: [PHP] Managing Multiple Conditions in a MySQL Query

2001-05-02 Thread Mike Gifford
Thanks Tomasz, I believe that this will work just fine! :) Mike Tomasz Abramowicz wrote: ? echo pRecent Signatures\nbremUL; $query = SELECT FirstName,LastName,CityState FROM phPetition WHERE Public='yes' AND Verified='yes' ORDER BY ID DESC LIMIT 0,5; $result = mysql_query( $query )

Re: [PHP] Please review our coding standards

2001-05-02 Thread Steven Haryanto
At 5/2/2001 12:46 PM, Anuradha Ratnaweera wrote: Most of your guidelines match with our practices. Here are some comments. Thanks for the comments. 1.4 Whitespaces - No whitespace after function or method name. Example: exit() We also use this. But I have seen others

Re: [PHP] PHP as MODULE CGI Version of PHP

2001-05-02 Thread Phil Driscoll
There is an ISAPI module version of PHP but it is very creaky on anything less than Windows 2K, however if you are prepared to change from PWS to Apache, the PHP module for that server API is much more robust. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112

[PHP] C modules vs PHP module for Apache

2001-05-02 Thread surinder singh
Hi, What are benefits and losses of having a PHP module for apache instead of of a C module if PHP modules are without xml and mysql support. Opinions! - Surinder Get 250 color business cards for FREE! http://businesscards.lycos.com/vp/fastpath/ -- PHP General Mailing List

Re: [PHP] COM

2001-05-02 Thread Iriton Jonath P. Andrade
Hi Arteaga, I have tested COM objects using PHP Version 4.0.4pl1 on Windows 2000 Server. The COM function mentioned here were implemented recently in PHP engine, so use this version of PHP or later. Of course, your VB COM component must be registered, so Has.HasClass must be a valid OLE

Re: [PHP] COM

2001-05-02 Thread Iriton Jonath P. Andrade
Hi Arteaga, Instead of using that functions, use the new one shown bellow: For instantiate an COM object in PHP: $obj = new COM(ApplicationName.ClassApplicationName); For properties and methods access: $obj-property_name; $obj-method_name; I have used and tested this function and I have

Re: [PHP] Checking query suceeded

2001-05-02 Thread Richard Lynch
If I'm doing more than one query on a page what is the best way to check if they all succeeded with out using transactions? You can check each query as it executes, and (perhaps) have your program logic do something intelligent in the case of individual failures. Another possbility is to do

Re: [PHP] Sort Question

2001-05-02 Thread Richard Lynch
I am doing a dir list of an ftp and using sort to sort the dir list alphabetically. What I am using now sorts it alphabetically but it sorts the capital letters then the lower case so a capital Z would come before a lower case a The Code I am using is: sort($complete_list); return

Re: [PHP] GD and arrays

2001-05-02 Thread Richard Lynch
I have the following case. I am working on a PHP script which contains an array. Now I want to include a PHP created picture, which is a .php file (gd, now further called as the picture.php file). Till so far, everything is ok. The picture is created following as wished. Now , I want to

Re: [PHP] Problems with sprintf and swapping variables

2001-05-02 Thread Richard Lynch
Happy %2/$d'th birthday %1/$s. like the docs says your supposed to do it doesn't work and all you see is: Happy $d'th birthday $s. What is up with this.. if you use %2/%d it sort of works, but it throws all my other variables out of whack.. any help with this would be appreciative.. I'm

Re: [PHP] compare PHP with C for apache modules

2001-05-02 Thread Richard Lynch
What are benefits and losses of having a PHP module for apache instead of of a C module if PHP modules are without xml and mysql support. For starters, it's way easier to develop a web application in PHP than in C. Not even sure I'm understanding the question properly... There are a *LOT*

Re: [PHP] PHP as MODULE CGI Version of PHP

2001-05-02 Thread Richard Lynch
I was going through this fantastic tutorial on HTTP Authentication at Zend.com! It mentioned that to have this working, PHP must be Installed as a Module and NOT as CGI Version. Because it will not work in CGI version. Tell me something, how and from where can i install PHP as a Module on

Re: [PHP] http_post_files not returning file type

2001-05-02 Thread Richard Lynch
this is taken straight from phpinfo(), as you can see its all there except for type. I was wondering why wouldnt my RH7.0, Apache 1.3.12 w/ PHP4.0.4pl1 know what the file type was... Because your browser didn't tell it? I'm pretty sure that info comes *from* the browser... PHP really has

Re: [PHP] Checking query suceeded

2001-05-02 Thread Jordan Elver
Hi Richard, Thanks for the advise. I was just wondering what other people do. I don't think I'll worry about it too much ;-) Cheers, Jord On Wednesday 02 May 2001 3:49 am, you wrote: If I'm doing more than one query on a page what is the best way to check if they all succeeded with out

Re: [PHP] restrict access of Copy command

2001-05-02 Thread Sebastien Roy
Hi I got the same setup as you with safe_mode = On and I try to use the copy function between 2 virtual host. When I copy from one virtual host to another, I got an error message telling me that the copy function is not allowed : Warning: SAFE MODE Restriction in effect. The script whose uid

[PHP] error reporting

2001-05-02 Thread BigVeggie
Is there any way to see my errors on he screen. The server has error reporting turned off. Ive tried setting error_reporting()function setting it to E_ALL etc. It still does not work. Does any one know what I can do? Clint -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] COM

2001-05-02 Thread Hassan Arteaga
Ohhh!!!I installed the last version..and now ..this simple code ?php $cad=Hassan; echo $cad; ? I can't see nothing... -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [EMAIL PROTECTED] -Original Message- From: Iriton

[PHP] Authorizer V1.0

2001-05-02 Thread Alain ROMERO
http://apollo.spaceports.com/~refcentr/index_auth.html This script work with Unix, not with WinNT. Is there something to do with cookie on WinNT ? Help Please -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [PHP] Forms with Field Arrays and JavaScript

2001-05-02 Thread Diego Fulgueira
After several tries, I am convinced there is no way to do it. I went around the problem by using dinamic field names (var1, var2, var3, etc) and then reading them using $HTTP_POST_VARS[var.$i], where $i would be your former index to the array. For example: The form coud have HTML code like this:

[PHP] Please !!!!

2001-05-02 Thread Hassan Arteaga
Hi all !!! I execute a page php with a simple code..the page appears in white..and when I oppress the right click to see the source I obtain this result. _ !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN html head titleUntitled/title /head body ?php $cad=Hassan;

RE: [PHP] session_register()

2001-05-02 Thread Johnson, Kirk
-Original Message- From: Jennifer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 2:51 AM To: [EMAIL PROTECTED] Subject: [PHP] session_register() Do you need to register a variable with the session before you assign it a value? Not in my experience. session_register

Re: [PHP] About last release

2001-05-02 Thread Phil Driscoll
I have PHP 4.0.4 on Win98, PWS PC and I would like to install 4.0.5 but is only for CGI ? I installed PHP 4.0.4 with an exe file...I didn't nothing..only double-click.. I need that file again but with PHP 4.0.5 version..Thanks !!! The installer version you used when you installed 4.0.4 installed

Re: [PHP] Random number generation...

2001-05-02 Thread Phillip Bow
Its supposedly faster and generates a more random number than rand() so I don't see why not to use it. -- phill Jon Haworth [EMAIL PROTECTED] wrote in message 67DF9B67CEFAD4119E4200D0B720FA3F13B733@BOOTROS">news:67DF9B67CEFAD4119E4200D0B720FA3F13B733@BOOTROS... The manual also says: mt_rand

[PHP] PHP 4.0.5 module causes Apache child processes to segfault...

2001-05-02 Thread Darron Froese
I compiled and installed PHP 4.0.5 onto our development server (Mandrake Linux 7.1 w/kernel 2.2.17) today and tried to access one of our php intensive sites on it - most of the pages wouldn't respond. This is how 4.0.5 was compiled: ./configure \ --with-apxs=/usr/local/apache_1.3.19/bin/apxs \

RE: [PHP] PHP 4.0.5 module causes Apache child processes to segfault...

2001-05-02 Thread John Huggins
If I were you I would let the PHP guys figure this out. I am sure they read messages here so stick with 4.04p11 and live on. I was just about to download 4.0.5, but I want your issue to be addressed before I waste my time with a recompile. John -Original Message- From: Darron Froese

Re: [PHP] PHP 4.0.5 module causes Apache child processes tosegfault...

2001-05-02 Thread Darron Froese
On 5/2/01 10:16 AM, John Huggins [EMAIL PROTECTED] wrote: If I were you I would let the PHP guys figure this out. I am sure they read messages here so stick with 4.04p11 and live on. I was just about to download 4.0.5, but I want your issue to be addressed before I waste my time with a

[PHP] Browsers anachy !!!!!!!!!!!!

2001-05-02 Thread Sebastien Roy
Hi all, I'm having a strange problem. I volontary create an infinite loop in one of my PHP script. I was just wondering how Apache and PHP will react and if the max_execution_time directive would trap the loop. I was agreably suprised to see that the opera browser give me an error message Fatal

[PHP] ¸Û¼°ÁܽÐ!

2001-05-02 Thread TopNews
¸Û¼°~ ÁܽжQ¤½¥q«e©¹§K¶O¥Zµn¤½¥q¦æ¸¹ Åwªï¼t°Ó«e©¹¬d¸ß¡B¥Zµn§Y®É¶R½æ ´x´¤§ó¦hªº°ê»Ú¶R½æ¥D! ¨È¬wºô http://Asianweb.com.tw ­B¦¹·q´_ ¨Ã¯¬¡G ¥Í·N¿³¶©! °]·½¼s¶i! ¨È¬wºô ·s»D¬¡°Ê²Õ ·q±Ò == ¨È¬wºô http://Asiaweb.com.tw ­^¤åª© ¨È¬wºô

php-general Digest 2 May 2001 16:43:59 -0000 Issue 662

2001-05-02 Thread php-general-digest-help
php-general Digest 2 May 2001 16:43:59 - Issue 662 Topics (messages 51077 through 51168): Re: a bit off the list but 51077 by: Donald Goodwill 51083 by: B. van Ouwerkerk PDF online 51078 by: Chris Schneck Managing Multiple Conditions in a MySQL Query

[PHP] Re: Managing Multiple Conditions in a MySQL Query

2001-05-02 Thread Sam Leibowitz
Well, first of all, you can start by getting friendly with print mysql_error();, which will tell you if you have any syntax errors in your SQL statement. =D And I think you do. That should be: ...WHERE Public='yes' AND Verified='yes'... As opposed to: ...WHERE

Re: [PHP] String Type Unknown

2001-05-02 Thread Nathan Cook
From a field in an instantdb database (http://instantdb.enhydra.org) Nathan Cook [EMAIL PROTECTED] - Original Message - From: Anuradha Ratnaweera [EMAIL PROTECTED] To: Nathan Cook [EMAIL PROTECTED] Cc: Php List [EMAIL PROTECTED] Sent: Tuesday, May 01, 2001 11:03 PM Subject: Re: [PHP]

[PHP] Website production tool in PHP

2001-05-02 Thread Michael O'Neal
Hi, I am wondering if a website planning/production tool exists already in PHP? This would be something that the agency and the client could use as a central meeting place about the project, with deadlines, comps, project brief, etc... Unix based, PHP/MySQL setup is preferred. I thought

RE: [PHP] PHP 4.0.5 module causes Apache child processes to segfault...

2001-05-02 Thread John Monfort
I too had to downgrade to PHP 4.0.4pl1. Version 4.0.5 would not let me load my extensions(dynamically). PHP+Apache Win 98 __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com The world is waiting,

RE: [PHP] add to .htpasswd via php

2001-05-02 Thread Jack Dempsey
what user are you running the command on the the command line, and what user is php running it as? if you're root for the first one, but nobody on the second, that would be your problem... -jack -Original Message- From: Joseph Koenig [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02,

[PHP] gd-2.0.1

2001-05-02 Thread Dave Mariner
Hi, Not sure if this is the right place to post this (only joined list today) so accept apologies if hugely-OT. I need to add true-colour support to some code I'm writing, so want to build gd-2.0.1as an extension to PHP4 (currently have 4.0.4pl1). I have the gdlib building as a .so but

Re: [PHP] add to .htpasswd via php

2001-05-02 Thread Tyrone Mills
I do this exact thing on my system, here is the code I use: $update = exec (/usr/local/apache/bin/htpasswd -b ./.htpasswd $username $password); My guess is you are dealing with a permissions issue. Like Jack says, try 'su nobody' (or whatever your webserver runs as) and then try the command...

[PHP] connexion to mysql db through php

2001-05-02 Thread Moise Bertrand Tachago
Hi to all, I am working on i60086 environment with php-4.0.4pl1, mysql-3.23.36, Linux 7 and apache_1.3.19 (on the same computer). I can't connect to mysql with user and password i use in command line. This is what i do: ?php $serveur=sdnpc2.sdnp.cm; $login=root; $pass=sdnp; $base=sdnpdb;

Re: [PHP] String Type Unknown

2001-05-02 Thread Nathan Cook
Thank you, for your help it works great! Nathan Cook [EMAIL PROTECTED] - Original Message - From: Rudolf Visagie [EMAIL PROTECTED] To: Nathan Cook [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, May 02, 2001 4:47 AM Subject: RE: [PHP] String Type Unknown Nathan, Another way

Re: [PHP] add to .htpasswd via php

2001-05-02 Thread Joseph Koenig
My code looks very similiar to Tyrone's...here's what I'm using. When I'm on command line I'm the same user as the web server is running as. $username = test2; $password = test; $passfile = /usr/home/myuser/etc/.htpasswd; $addpass = /usr/local/apache/1.3.12/bin/htpasswd -mb $passfile

[PHP] Decimal to Ascii

2001-05-02 Thread Wee Chua
Hi all, Can i convert decimal 23 to ascii in PHP? Thanks. Calvin Chua Systems Analyst InterClean Equipment, Inc. 734-975-2967 www.InterClean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] SQL Select Unique() ?

2001-05-02 Thread CC Zona
In article Pine.LNX.4.21.0105021106340.342-10@presario, [EMAIL PROTECTED] (Anuradha Ratnaweera) wrote: Is there a method of extracting rows from a MySQL table Uniquely (as in only once) ?. For example, when a user performs a search, using two words, it may return the same row

RE: [PHP] Forms with Field Arrays and JavaScript

2001-05-02 Thread Tim McGuire
For IE 5 and NN 4.7 at least, I made it work like this: for(var i = 0;inumrows;i++){ //alert(i); //alert(theform[changed[+i+]].value); if (theform[changed[+i+]].value == 'true') { //record is changed

RE: [PHP] add to .htpasswd via php

2001-05-02 Thread Matt Schroebel
You might want to forget the exec and write direct to the file as in this code gallery item: http://www.zend.com/codex.php?id=521single=1 From: Joseph Koenig [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 1:40 PM I'm attempting to streamline my work by writing a script that

Re: [PHP] Website production tool in PHP

2001-05-02 Thread andreas \(@work\)
Hi, search google or have a look at http://sourceforge.net/ http://www.phpgroupware.org/ maybe you find something and dont need to start from zero greetings andreas p.s: nice page ;-) - Original Message - From: Michael O'Neal [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent:

[PHP] Strange behaviour of mktime() in objects

2001-05-02 Thread heinisch
Hi folks, I have to make several conversions from / to timestamp (seconds in the UNIX-Epoche) here you see two snippets of my code File1 the testfile ? /* Testpage for Class timeStuff named test_sts_timestuff.html */ includests_timestuff.html; $STST = new timeStuff;

[PHP] Closing a FTP connection

2001-05-02 Thread Brandon Orther
Hello, I have recently been using the ftp functions in php to get a lot of stuff done. My question is when I exit; a php script does it close the ftp connection for me? I thought it would since the script is completely closing also. If anyone knows please let me know thanxZ Brandon -- PHP

[PHP] Template programming

2001-05-02 Thread Daniel Guerrier
Where can I find detailed info on creating websites using php templates. Hardcopy or online Thanks in advance __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ -- PHP General Mailing List

RE: [PHP] Closing a FTP connection

2001-05-02 Thread Brandon Orther
The reason I ask is not for a way to close an ftp connection but because I want to know if close closes it. thank you -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 12:53 PM To: PHP User Group Subject: [PHP] Closing a FTP connection

[PHP] Any plans on fixing performance of file Upload?

2001-05-02 Thread Jason Lam
I am wondering if there are any plans to fix the file upload performance problem. Try uploading a 200M file by post to a PHP script, you'll notice how slow it is. Even having enough RAM doesn't seems to help very much. Jason Lam

[PHP] cURL why don't work?

2001-05-02 Thread R²Ð²
I have an privat apache win32 1.3.14 server , an Win ME at time.. I like to use the cURL funktions , to use PHP to make an HTTP post background , an small form where you chose an search engine , post the search word and the engine you chose to target new , my find.php . there he chose

  1   2   >