RE: [PHP] % operator

2001-02-04 Thread Eelco de Vries
It doesn't have a use in only PHP but in all programming languages. It's a math thing .. u can get a remainder of a division. 10%8 = 2 12%8 = 4 10%5 = 0 12%5 = 2 Simple application: $ppl = 23; $grpsize = 7; echo ("when $ppl people are divided over groups of $grpsize, ". $ppl%$grpsize ." people

RE: [PHP] Session With Cookies

2001-02-04 Thread Eelco de Vries
This will store a cookie with a userid and an unique number ($token) as session-id (??). If I'm not mistaken, this session-id is not checked here. Thus serves no purose. Anybody who retrieve the cookie from the cookie file on the system can use it to resume the session (if done within the set

[PHP-CVS] cvs: php4 / TODO

2001-02-04 Thread Sterling Hughes
sterlingSun Feb 4 01:19:01 2001 EDT Modified files: /php4 TODO Log: Add a bunch of stuff.. Index: php4/TODO diff -u php4/TODO:1.109 php4/TODO:1.110 --- php4/TODO:1.109 Wed Jan 24 11:16:43 2001 +++ php4/TODO Sun Feb 4 01:19:01 2001

[PHP-CVS] cvs: php4 / TODO

2001-02-04 Thread Sterling Hughes
sterlingSun Feb 4 01:20:31 2001 EDT Modified files: /php4 TODO Log: # *Brain Fart* Index: php4/TODO diff -u php4/TODO:1.110 php4/TODO:1.111 --- php4/TODO:1.110 Sun Feb 4 01:19:01 2001 +++ php4/TODO Sun Feb 4 01:20:31 2001 @@ -71,7

Re: [PHP] Session With Cookies

2001-02-04 Thread Julie Meloni
Eelco de Vries wrote: This will store a cookie with a userid and an unique number ($token) as session-id (??). If I'm not mistaken, this session-id is not checked here. Thus serves no purose. Anybody who retrieve the cookie from the cookie file on the system can use it to resume the session

Re: [PHP] my bugaboo.

2001-02-04 Thread Matt
I had a problem similar to this myself a while ago... I don't believe the issue is with the differing versions of PHP, but rather with the improper escaping of the quote characters. There are two PHP functions: addslashes() and stripslashes() Call the former when you submit the information to

RE: [PHP] Session With Cookies

2001-02-04 Thread Eelco de Vries
In case of login/password required sites, I use the login and password as cookie values and have _no_ expiredate set. Every time a request is made _both_ cookie values (login and password) are checked with that on the server. I would hope that you are not storing and matching the

RE: [PHP] getimagesize question

2001-02-04 Thread PHPBeginner.com
$size = getimagesize($Frame."top.gif"); I think you should read this : http://www.zend.com/zend/tut/using-strings.php Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: [EMAIL

RE: [PHP] Undefined variable

2001-02-04 Thread PHPBeginner.com
try setting error_reporting(0) in PHP.ini Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Dundee (Roland) [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 04, 2001 5:35 AM To:

RE: [PHP] PHP hosting - the final frontier.

2001-02-04 Thread PHPBeginner.com
Well, I'll contribute to the discussion whether you like or not... For a year I was running a website on Canaca.com (former Nortel.no) ... They've been nice, I though ... Then I once tried one weird thing: ?='PRE'.show_code('/usr/local/apache/conf/httpd.conf').'/PRE'? from a simple PHP page ...

RE: [PHP] php-nuke?

2001-02-04 Thread PHPBeginner.com
Use cron ... Search archives for something like "running PHP with cron" Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: FredrikAT [mailto:[EMAIL PROTECTED]] Sent: Sunday,

[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4

2001-02-04 Thread Rasmus Lerdorf
rasmus Sun Feb 4 02:05:13 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: doc account for Andre Roque Index: CVSROOT/avail diff -u CVSROOT/avail:1.71 CVSROOT/avail:1.72 --- CVSROOT/avail:1.71 Fri Feb 2 08:31:32 2001 +++

[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4

2001-02-04 Thread Rasmus Lerdorf
rasmus Sun Feb 4 02:07:49 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: Karma for Vlad Index: CVSROOT/avail diff -u CVSROOT/avail:1.72 CVSROOT/avail:1.73 --- CVSROOT/avail:1.72 Sun Feb 4 02:05:12 2001 +++ CVSROOT/avail Sun Feb 4

[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4

2001-02-04 Thread Rasmus Lerdorf
rasmus Sun Feb 4 02:10:57 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: doc account for Eduard Hergenroeder Index: CVSROOT/avail diff -u CVSROOT/avail:1.73 CVSROOT/avail:1.74 --- CVSROOT/avail:1.73 Sun Feb 4 02:07:48 2001 +++

[PHP] Working with email piped to PHP

2001-02-04 Thread Roy Wilson, Jr.
Ok, I've got an email address setup to pipe to a PHP script setup to handle the request and do whatever I need to. (In my specific situation, it's a help email address, and will create a ticket in a database.) As a test, I'm opening the STDIN data stream and writing it to a file to make sure

RE: [PHP] Working with email piped to PHP

2001-02-04 Thread James Moore
# This is the standard input script. $fp = fopen("php://stdin","r"); $writer_file = fopen("test.txt","w"); fwrite($writer_file,"$fp"); fclose($writer_file); fclose($fp); ? As stated, it does create the test.txt in the specified location, however, upon inspection of the file, it only

[PHP] PHP code beautifier?

2001-02-04 Thread Maciek Uhlig
Yes, I know it should be written correctly from the beginning. But, in case it isn't: what do you use to format ugly looking scripts? Maciek -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Is this a missing feature?

2001-02-04 Thread Christian Reiniger
On Sunday 04 February 2001 07:31, John Luxford wrote: function foo ($hash) { while (list ($k, $v) = each ($hash)) { echo "$k :: $vbr /\n"; } } // but what I want to say is something like this foo (["one" = "value", "two" = "value"]); foo () is

Re: [PHP] Re:What version of Linux?

2001-02-04 Thread Christian Reiniger
On Sunday 04 February 2001 05:03, John Hinsley wrote: Well, my home server is a wimpy P90 with 48MB RAM. It serves as web server (all my technical docs, php website testing, more), web cache [...] else :) Ah, yes. MySQL for my php stuff also runs on it. That's pretty impressive! Well,

[PHP] HTTP compression

2001-02-04 Thread Alain Fontaine
Hi, I've just started experimenting with ob_start("ob_gzhandler") a bit, and I have found that if any output is generated before ob_start() is called, nothing at all gets compressed; if ob_start() is called before any output, everything is compressed. Is this the case, I mean, is this "by

Re: [PHP] HTTP compression

2001-02-04 Thread Rasmus Lerdorf
I've just started experimenting with ob_start("ob_gzhandler") a bit, and I have found that if any output is generated before ob_start() is called, nothing at all gets compressed; if ob_start() is called before any output, everything is compressed. Is this the case, I mean, is this "by

[PHP] Arrays from forms

2001-02-04 Thread Jamie
Can someone please help me with this code I'm having major problems with arrays. This code is part of a function I'm writing to deal with an array returned from a HTML form of check boxes so if anyone has an example of this sort of thing I'd appreciate a look at it. Anyway Code follows :

RE: [PHP] HTTP compression

2001-02-04 Thread Alain Fontaine
Rasmus, Thanks for the clarification; it seems obvious, too, that mixing compressed and non compressed content would be quite difficult to implement; at least it would partially compromise the speed/size gain because of added protocol overhead. Now, imagining that we have enabled compression by

Re: [PHP] Future plans (4.1) ?

2001-02-04 Thread Robert Mena
Hi Rasmus, thanks for you reply. As some of the phpers already stated I also disagree about the visibility issue. But it's IMHO anyway (besides I do not have technical skills enough to try to implement it). I'll check the template you mentioned but I was wondering if a

[PHP-CVS] cvs: php4 /win32 time.c

2001-02-04 Thread James Moore
jmoore Sun Feb 4 07:52:33 2001 EDT Modified files: /php4/win32 time.c Log: Fix for time.c under win32. Patch By: "Vanhanen, Reijo" [EMAIL PROTECTED] @- microtime under windows now returns accurate values (James) Index: php4/win32/time.c diff -u

RE: [PHP] HTTP compression

2001-02-04 Thread Sean Cazzell
Alain, When PHP parses a file, it treats the stuff that's not in ?php? blocks as though each line were a print or echo statement. So your whole file will be compressed and sent to the browser. Regards, Sean On Sun, 4 Feb 2001, Alain Fontaine wrote: Rasmus, Thanks for the clarification;

Re: [PHP] % operator

2001-02-04 Thread Steve Werby
"Dhaval Desai" [EMAIL PROTECTED] wrote: what is the use of % It returns a remainder. For example 7 % 2 = 1. Is it called modulo..what is it's use in PHP.? There are plenty of situations where it's useful. For example, if you're displaying data in rows and want to shade every other row: if

[PHP-CVS] cvs: php4 /ext/standard/tests/time .cvsignore 001.phpt

2001-02-04 Thread James Moore
jmoore Sun Feb 4 08:56:59 2001 EDT Added files: /php4/ext/standard/tests/time .cvsignore 001.phpt Log: Adding microtime() tests Index: php4/ext/standard/tests/time/.cvsignore +++ php4/ext/standard/tests/time/.cvsignore *.exp *.out *.php phpt.*

Re: [PHP] Arrays from forms

2001-02-04 Thread Steve Werby
"Jamie" [EMAIL PROTECTED] wrote: $results = mysql_query("SELECT option_type, code FROM options WHERE code='000' ORDER BY option_type",$db); mysql_fetch_array($results); // From what understand I should have an array some thig like this: // ("Size"="A4" , "Size" = "A3", "Size"="A5",

[PHP] Problem with Zend Encoder testdrive - Win2k

2001-02-04 Thread Carsten Gehling
Downloaded the Encoder testdrive and installed it with a license file (zend_encoder.dat). Did what the manual stated, except that I installed it on E:\program files\zend instead of C:\program files\zend (I did modify the install_license.reg before installing it into the registration database)

[PHP] PHP Authenticate

2001-02-04 Thread FredrikAT
Hi... I have a problem with PHP Authenticate ...if I enter user/pw wrong the first time it stops and I have to close/open browser.! I've tried to unset $PHP_AUTH_USER but then it just loops... if(!isset($PHP_AUTH_USER)) { Header("WWW-Authenticate: Basic realm=\".: Privat område :.\"");

[PHP] 2 questions

2001-02-04 Thread Adrian Teasdale
Hi I have a couple of questions. One about hosting and the other about IP addresses. The first on the IP's. I have been speaking to a company that I am looking at getting a dedicated server from. They ONLY do one IP address per server and use name-based hosting. I have asked for

Re: [PHP] HTTP compression

2001-02-04 Thread Teodor Cimpoesu
Alain Fontaine wrote: Sean, Thanks, I see. How about headers ? Do they need to be compressed, too; in other words, do headers "belong" to the output ? a HTTP response is made of response header(s) and the response body. Only the body is compressed, and this is signaled in the headers so

Re: [PHP] Newbie:Cannot send session cookie...

2001-02-04 Thread Teodor Cimpoesu
james wrote: 1. Cannot send session cookie - headers already sent by (output started at c:/program files/apache group/apache/htdocs/index.php4:10) in c:/program files/apache group/apache/htdocs/index.php4 on line 11 What does it mean? Any hints? the error message is quite explicit.

RE: [PHP] HTTP compression

2001-02-04 Thread Alain Fontaine
Teodor, Looked at it from that point of view, the question was pretty stupid ! ;) -Message d'origine- De : Teodor Cimpoesu [mailto:[EMAIL PROTECTED]] Envoye : dimanche 4 fevrier 2001 19:09 A : Alain Fontaine Cc : Sean Cazzell; [EMAIL PROTECTED] Objet : Re: [PHP] HTTP compression

Re: [PHP] db paging with MS Sql

2001-02-04 Thread Alain Fontaine
Scott, As far as I know, MS SQL supports a syntax like this: SELECT TOP 10 FROM table_name WHERE etc etc However, I don't know how to make it start from a certain offset; I guess MS SQL's documentation, especially the T-SQL doc, should help. ""Scott Parks"" [EMAIL PROTECTED] a écrit dans le

Re: [PHP] Is this a missing feature?

2001-02-04 Thread Teodor Cimpoesu
Lux wrote: Where do I make a formal request for a feature? In Perl or Ruby, I could have said: foo ({ 'var1' = 'value', 'var2' = 'value'}); and it is so much more elegant than having to say: $hash = array ( 'var1' = 'value', 'var2' = 'value' ); foo ($hash); elegance

[PHP] Connectivity to AS/400

2001-02-04 Thread Pete Lancashire
I'm going to be trying to connect to the native DB2 database in a AS/400 So far thats all I know about the IBM side. Can someone give me a short update on what options I have ? TIA !!! -pete -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] Replacing A Word in HTML page

2001-02-04 Thread Steve Werby
"phpLover" [EMAIL PROTECTED] wrote: Thanks for your answerm but what does eregi_replace() do? Short answer is to see http://www.php.net/manual/en/function.eregi-replace.php. Usage examples can be found right on php.net. See longer answer below. Previously "phpLover" [EMAIL PROTECTED] wrote:

Re: [PHP] Is this a missing feature?

2001-02-04 Thread Steve Edberg
At 8:40 PM +0200 2/4/01, Teodor Cimpoesu wrote: Lux wrote: Where do I make a formal request for a feature? In Perl or Ruby, I could have said: foo ({ 'var1' = 'value', 'var2' = 'value'}); and it is so much more elegant than having to say: $hash = array ( 'var1' = 'value',

Re: [PHP] Is this a missing feature?

2001-02-04 Thread Teodor Cimpoesu
foo ($hash = array('var1'='value', 'var2'='value')); should work. You don't need the $hash in that function call unless you need to use it later on in your main program, so you can just say: foo (array('var1'='value', 'var2'='value')); that won't work (Lux's complaint) when

[PHP] Re: [PHP-DB] Connectivity to AS/400

2001-02-04 Thread szii
There's been a lot of talk about this recently. Check the archives for the last 2 months, and PHPBuilder.com Last I heard, you needed DRDA(DB2 Connect) installed, as well as the runtime client. Also on the client - DB2 Application Development package. Use this to compile PHP

[PHP] XML Parsing with PHP

2001-02-04 Thread Steve Haemelinck
Where can I find some info on parsing XML with PHP? I am not looking for functions, but examples and explanations ! Thx -- 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

[PHP] Installing Verisign PFPro Support

2001-02-04 Thread Brady J. Horenstein
Hello! I'm trying to configure PHP with Verisign PayFlow PRO support on my server. I'm running FreeBSD 4, Apache 1.3.12, mod_ssl, openSSL, and mySQL 3.23.32. I downloaded the newest release of PHP (4.0.4pl2) and tried compiling it, using the ./configure --with-pfpro=[dir] thing and I get the

Re: [PHP] XML Parsing with PHP

2001-02-04 Thread Joe Stump
phpbuilder.com - there are a few articles on the site about XML --Joe On Sun, Feb 04, 2001 at 05:02:43PM +0100, Steve Haemelinck wrote: Where can I find some info on parsing XML with PHP? I am not looking for functions, but examples and explanations ! Thx -- PHP General Mailing List

Re: [PHP] Installing Verisign PFPro Support

2001-02-04 Thread John Donagher
Brady- Regardless of your compilation problems, Verisign has not yet released their fixed SDK for BSD. They've only released it for Linux (libc5 glibc2) and Solaris. You're kind of SOL until they do. See the user comments on www.php.net/pfpro for why you're SOL. John On Sun, 4 Feb 2001,

[PHP] Strange behavior with parser/methods?

2001-02-04 Thread T.S.Bhatnagar
[script at end] Does it seem strange that although object members can store functions, they can't be used as methods? That is, we can have $TestObject-mTestMember = create_function('','echo "TestMemberbr";'); but we can't do $TestObject-mTestMember(); Can I get around this using clever

Re: [PHP] PHP hosting - the final frontier.

2001-02-04 Thread Robert Covell
I understand your concerns, but with this type of logic this mailing list not not be around. Niether would Linux, Apache, MySql or anyother open source tool that so many people utilize today. We would all be on NT instead of Linux and using IIS with ASP instead of PHP. Do think Ramsus when he

Re: [PHP] 2 questions

2001-02-04 Thread WreckRman2
I use a RaQ3 and have no problems running PHP and MySQL. I started out using one IP but the biggest problem I found was that in order to view the site or make changes to it, the domain name must resolve to the server before it would work. I decided it would be best for me to assign each site

Re: [PHP] PHP hosting - the final frontier.

2001-02-04 Thread Christian Reiniger
On Sunday 04 February 2001 23:18, Robert Covell wrote: I understand your concerns, but with this type of logic this mailing list not not be around. Niether would Linux, Apache, MySql or anyother open source tool that so many people utilize today. We would all be on NT instead of Linux and

Re: [PHP] db paging with MS Sql

2001-02-04 Thread Michael Kimsal
I'm pretty sure there's no other way to do it but to read them all in and only display what you need. AFAIK, MSSQL doesn't support paging itself, but relies on the ADO driver to do this. If you make an reference to an ADO object in VBScript, you can set how many rows are in a 'page', then tell

[PHP] db forms creator?

2001-02-04 Thread Jaxon
Hi, can anyone point me towards an easy way to generate forms to update a mysql database? I've seen some sites where I can specify a list of table fields and the datatype for each, and get an output of: 1. the sql to create the table 2. a php form that can be used to update the table problem

Re: [PHP] Learning MySQL

2001-02-04 Thread eschmid+sic
On Sun, Feb 04, 2001 at 05:06:02PM -0600, Jeff Oien wrote: What would your advice be for learning MySQL with PHP on an Apache server? I know a little Perl and am beginning to learn PHP. I'm more of a designer than a programmer (not enough geek genes). I went through the tutorial at

[PHP] upload

2001-02-04 Thread DragoslaV \( Paul \)
Hello, How can i upload a file from a client to server ? I tryed copy() but it doesint works. Paul

Re: [PHP] Is this a missing feature?

2001-02-04 Thread Lux
But the feature is useless :) Here, I removed the reference, so we can stop fussing over it (it wasn't the question to begin with), and here's an example of a potential use for this (a stupid example, but still...). I'm not weighing out the benefits of references, I'm striving to achieve the

[PHP] I should apologize

2001-02-04 Thread Lux
I don't mean to bash php in any way (as in the Ruby plugs in my last post). I use it because it has so many advantages over other more system-oriented not web-oriented languages for this type of work. It's fantastic. I see so much enthusiasm on the web for this language, a significant

Re: [PHP] Is this a missing feature?

2001-02-04 Thread Josh G
What's this ruby? Care to send the list a URL so we can go have a look for ourselves? Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Message - From: "Lux"

Re: [PHP] Is this a missing feature?

2001-02-04 Thread Lux
sure here's the ruby page: http://www.ruby-lang.org/ here's another ruby site: http://www.rubycentral.com/ there's also a really good book you can find info about here: http://pragmaticprogrammer.com/ruby/index.html it's not really used much yet anywhere except japan, where it's actually

Re: [PHP] I should apologize

2001-02-04 Thread Michael Kimsal
Lux wrote: I don't mean to bash php in any way (as in the Ruby plugs in my last post). I use it because it has so many advantages over other more system-oriented not web-oriented languages for this type of work. It's fantastic. Yes it is. :) I see so much enthusiasm on the web for

Re: [PHP] PHP hosting - the final frontier.

2001-02-04 Thread Robert Covell
I agree, point taken... Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: [EMAIL PROTECTED] Phone: 816.210.7145 Fax: 816.753.1952 - Original Message - From: "Christian Reiniger" [EMAIL PROTECTED] To: "Php-General" [EMAIL PROTECTED]

Re: [PHP] Learning MySQL

2001-02-04 Thread Toby Butzon
I agree. It's a great reference learning guide, but you _have_ to be patient and not skip around too much with it or it'll be quite intimidating. --Toby [EMAIL PROTECTED] wrote: On Sun, Feb 04, 2001 at 05:06:02PM -0600, Jeff Oien wrote: What would your advice be for learning MySQL with

Re: [PHP] db paging with MS Sql

2001-02-04 Thread Manuel Lemos
Hello Michael, On 04-Feb-01 21:23:26, you wrote: AFAICT there is no 'LIMIT' feature in MS SQL products (TOP and supposedly BOTTOM, but BOTTOM has never worked for me and TOP doesn't seem to work on all versions). How is metabase handling this? Pulling everything, looping thru, and only

Re: [PHP] db paging with MS Sql

2001-02-04 Thread Joe Stump
I was just meaning plain SQL - can't microsoft say ANSI? All I ask for is a simple little standard and for people to follow it - I'm not asking for every feature of the standard - just a following. --Joe On Sun, Feb 04, 2001 at 10:43:37PM -0300, Manuel Lemos wrote: Hello Joe, On 04-Feb-01

Re: [PHP] Help with XSLT!

2001-02-04 Thread Theo Brinkman
Ok, well from the looks of it I've got it working, thanks to whoever pointed out the conf.php.net archive of the slideshow. The sample files from that slide work fine, but I can't get any of the other samples I've snagged to work. Maybe they're what's broken, but I don't see how. Now that

Re: [PHP] db paging with MS Sql

2001-02-04 Thread Andrew Hill
Joe, Does SQL92 count? Best regards, Andrew --- Andrew Hill - OpenLink Software Director Technology Evangelism eBusiness Infrastructure Technology http://www.openlinksw.com On 2/4/01 8:09 PM, "Joe Stump" [EMAIL PROTECTED] wrote: I was just meaning plain

Re: [PHP] db paging with MS Sql

2001-02-04 Thread Manuel Lemos
Hello Joe, On 04-Feb-01 22:01:37, you wrote: I was just meaning plain SQL - can't microsoft say ANSI? All I ask for is a I don't think there is a standard way of achieving what the LIMIT clause can that works for all or at least most databases. simple little standard and for people to follow

Re: [PHP] Email Selected Data

2001-02-04 Thread David Robley
On Mon, 5 Feb 2001 07:01, [EMAIL PROTECTED] wrote: Hi, I am selecting data using the below and trying to insert it into a mail, it does everything except send the data selected, anyone have an idea? $SQLStatement = "SELECT * FROM Orders Where Status='N' Order by OrderID"; $SQLConn =

[PHP] Apache and PHP

2001-02-04 Thread Patrick L. Olson
I must be missing something while I had no problem getting perl and SSI working getting PHP to work is eluding me for some reason. I have added this to httpd.conf can someone enlighten me on what may be missing # And for PHP 4.x, use: # AddType application/x-httpd-php .php AddType

Re: [PHP] Apache and PHP

2001-02-04 Thread Michael Kimsal
Do you normally have #!perl.exe as your shebang? Normally I'd see something like #!/usr/local/bin/perl or #!/usr/local/bin/php not sure of pathing issues on Windows for that. #!c:\program files\php4\php.exe ? "Patrick L. Olson" wrote: I must be missing something while I had no problem

Re: [PHP] Apache and PHP

2001-02-04 Thread Jason Brooke
I'm not even sure that the shell escape is even used in win32 perl - I think it's done via a regular file association. I clearly remember setting it to #!/some/fake/rubbish one time as a test and it still worked fine I imagine the same would go for php.exe jason Do you normally have

[PHP] Re: [PHP-DB] .htpasswd?

2001-02-04 Thread Victor Foitzik
James Smith wrote: Is there a way that when a user signs up for a user/pass on a site, to automatically update the .htpasswd on the site? Right now I'm running a Win2k Pro, with Apache installed and MySQL/PHP. Thanks, James The quite simpliest method is to put appropriate directives in a

Re: [PHP] I should apologize

2001-02-04 Thread Sean Cazzell
I don't mean to bash php in any way (as in the Ruby plugs in my last post). I use it because it has so many advantages over other more system-oriented not web-oriented languages for this type of work. It's fantastic. I don't think anyone will take offense to your mentioning the

php-general Digest 5 Feb 2001 03:36:42 -0000 Issue 493

2001-02-04 Thread php-general-digest-help
php-general Digest 5 Feb 2001 03:36:42 - Issue 493 Topics (messages 38109 through 38183): Newbie:Cannot send session cookie... 38109 by: james 38121 by: Teodor Cimpoesu Re: HTTP compression 38110 by: Sean Cazzell 38116 by: Alain Fontaine 38120 by:

Re: [PHP] Learning MySQL

2001-02-04 Thread Sean Cazzell
You need to go get yourself a copy of the MySQL book from New Riders. Stay away from the O'Reilly one, it sucks. Regards, Sean -- 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] Learning MySQL

2001-02-04 Thread Michael Kimsal
I'd second Sean's endorsement of the New Riders book. I generally am a fan of Oreilly books, but I can't figure out *what* was going on there with the Mysql book. It's actually mysql and msql covered in one book, with less docs than you can get online, from what I saw, and seemingly very little

[PHP] Re:Apache and PHP

2001-02-04 Thread John Hinsley
"Patrick L. Olson" [EMAIL PROTECTED] wrote: if I call it like http://127.0.0.1/cgi-bin/one.php with the shebang line #!php.exe I get the following error No input file specified if I call it without the shebang I get the Internal Server Error Error logs indicate the the #! is needed if I

Re: [PHP] Pricing for PHP programming???

2001-02-04 Thread Randy Katz
sounds like you cannot afford NOT to have a second wife! DANG! Some folk have all the luck :! On Sat, Feb 03, 2001 at 09:25:35AM +0530, [EMAIL PROTECTED] wrote: tOn Fri, 2 Feb 2001, johnny p. wrote: Hah! My wife has a formal education in graphics design. My web sites would look like

[PHP] RE: [PHP-DB] [PHP] .htpasswd?

2001-02-04 Thread Thor Arne Madland
Hi, you might want to take a look at this one: http://www.thewebmasters.net/php/Htpasswd.phtml Works in both php3 and php4. Give you functions for adding/deleting/listing/renaming users + much more, in standard .htpaccess password files. I use it myself on several sites, it works great. -

[PHP] attempt to use an empty IV with mcrypt

2001-02-04 Thread twm139
I get the following warning when I turn on logging... Warning: attempt to use an empty IV, which is NOT recommend in /home/local/apache/htdocs/encrypt.php on line 21 Here is the code $key = "testing"; $input = "Secret data"; $encrypted_data = mcrypt_ecb (MCRYPT_DES, $key, $input,

[PHP] mail

2001-02-04 Thread Deependra B. Tandukar
Greetings! I made one script with mail "email address". It works in my home computer (Linux and php 4) and not working in my web server (Linux and php 4). What can be the reason? Looking forward to hearing from you. DT -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] please help (network admin via web)

2001-02-04 Thread niraj shah
Dear sir, I am a 20 year old student doing a research project and I would like to have network administration via web. That is I want to change IP address os the system via web, want to do dns settings and also would like to do proxy setting via web using PHP scripts. I am working on RedHat

Re: [PHP] manage number of rows displayed

2001-02-04 Thread [EMAIL PROTECTED]
No sure if i get it, very inexperience user here I am. Baiscally if the number of records returns is 20 records, in stead of display all 20 recodrs in one column in a page, I would like to display that as 4 columns and each columns has 5 recodrs displayed, how can I use limit statement to do