Re: [PHP] Safety with PHP.

2001-04-03 Thread Les Neste
Marthe, if you post the script we can all get to the bottom of this pretty quickly. You have a lot of expertise here ready to help. Just copy and paste it into your email. BTW, you should remove it from your site before you post it, if at all possible. Good luck.

[PHP] ctype_alpha etc

2001-04-03 Thread Les Neste
Hi, I'm using PHP4.04pl1 as an Apache module. I just wrote some code which calls ctype_alpha() and got the message Fatal error: Call to undefined function: ctype_alpha() in /usr/local/lesneste/requestpwd.php on line 80 Is this function truly non-existent or is there some

Re: [PHP] ctype_alpha etc

2001-04-03 Thread Brian Clark
Hi Les, @ 2:38:17 AM on 4/3/2001, Les Neste wrote: LN Hi, I'm using PHP4.04pl1 as an Apache module. I just wrote some LN code which calls ctype_alpha() and got the message LN Fatal error: LN Call to undefined function: ctype_alpha() in LN /usr/local/lesneste/requestpwd.php on

[PHP] Informix

2001-04-03 Thread Roman
I have this problem ? I want to connect to the Informix database on Unix server and my apache server running on Windows 2000 but I haven't php_ifx.dll. Please if you want send me. Thanx. Roman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] foreach in Apache

2001-04-03 Thread the clansman
foreach doesn't work in Linux-Apache and OK in Win with IIS: Fatal error: Call to unsupported or undefined function foreach() in ... My code: foreach ($lineas as $key = $value) { if (strpos($value,";".$idf.";")0) { print "tr bgcolor=$colorfila";

Re: [PHP] hosting - key issues

2001-04-03 Thread B. van Ouwerkerk
p.s. if there is a faq/tutorial/set of guidelines out there on the web feel free to just send me a link and say RTFM. I've not found anything yet. Try www.devshed.com Has some nice stuff.. Read the HOWTO's.. Install SSH and a secure FTP server with the ability to chroot people.. like ProFTPD

Re: [PHP] form-based search

2001-04-03 Thread B. van Ouwerkerk
can anyone help me in making a webpage (php) that shows the results of a MySQL database search? the search must be made using a form... Take a look at webmonkey www.devshed.com www.phpbuilder.com www.phpbeginner.com www.phpworld.com But also on www.php.net many scripts can be found to do

RE: [PHP] foreach in Apache

2001-04-03 Thread Jason Murray
Fatal error: Call to unsupported or undefined function foreach() in ... You're probably using PHP3 on that Apache server. Jason -- Jason Murray [EMAIL PROTECTED] Web Design Team, Melbourne IT Fetch the comfy chair! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] redirecting without headers or meta tags or javascript

2001-04-03 Thread Jack Dempsey
if you're trying to redirect with something like header, then you need to do that redirection before any output is sent to the browser...(note, ANY output, likes SPACES) look at www.php.net/header if you're interested... jack Justin French wrote: hi, i'm in the body of a html page, and I'd

Re: [PHP] File upload via HTML forms

2001-04-03 Thread \[Intent A/S\] Tais M. Hansen
Hi! system(), exec(), popen() and similar has been disabled in the system I'm working on, if that's what you're talking about. :( I can't read the temp file because it's created in PHP's UID which is not the same as the script's. I also tried the FTP approach, but apparently the files written

Re: [PHP] Safety with PHP.

2001-04-03 Thread nicuc.ac.jp
This is not PHP problems but it's a programming problems. Just paste your code here and remove the original one on you site. Many people here will help. -- -Tuna- ""Marthe Kristiansen"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hey you guys! I'm a new

Re: [PHP] File upload via HTML forms

2001-04-03 Thread \[Intent A/S\] Tais M. Hansen
SOLVED! Setting TMPDIR="site-specific-upload-directory" at execution time of the PHP parser, made it work. The directory must have a+rwx though! -- -- Intent A/S Tais M. Hansen Web Developer ""[Intent A/S] Tais M. Hansen"" [EMAIL PROTECTED] wrote in message 9abu1j$99q$[EMAIL

[PHP] Validation Email in PHP programs

2001-04-03 Thread Sharat Hegde
Hello, I am trying to validate the email address in my PHP program using the ereg function. I have different combinations of regular expressions to get the chunks of the email substring before and after the @ symbol and the dot (.) character. However, this does not seem to work. Can anyone

[PHP] working with jpegs

2001-04-03 Thread J.R. Lillard
i've only been using the php image functions for about a week now. i understand that jpegs have their own custom color pallette. so whenever i want to add something to an existing jpeg, the only colors i have to work with are the ones that are already defined. hence the purpose of

Re: [PHP] known problems with session_register()?

2001-04-03 Thread Yasuo Ohgaki
Try register globals off, see if it helps. (You need to use $HTTP_SESSION_VARS) I always set track vars to on (It's always on from 4.0.3(?), if I remember correctly), register globals OFF. It works fine. (I use custom session handling functions, though) FYI: It seems there is race condition

[PHP] Cobalt RaQ XTR(slightly OT)

2001-04-03 Thread Phil Driscoll
I have a number of php4/mysql sites running from various NT boxes. I have the opportunity to move a lot of stuff across from one of the NT boxes onto a new Cobalt RaQ XTR. This job will have to be done in a hurry. If anyone can prewarn me of any problems, or better still, tell me it will all run

Re: [PHP] PHP3 - Instalation

2001-04-03 Thread David Robley
On Tue, 3 Apr 2001 02:05, Marcelo Pereira wrote: Hi all [again], I'm becoming crazy installing PHP3 on my system I had already been using PHP but with no postgresql support, now I need it and I done: get php3-3.0.18.tar.gz untared it ./configure --with-pgsql ./make ./make install

Re: [PHP] known problems with session_register()?

2001-04-03 Thread Felix Kronlage
On Tue, Apr 03, 2001 at 05:34:05PM +0900, Yasuo Ohgaki wrote: Try register globals off, see if it helps. (You need to use $HTTP_SESSION_VARS) ok. will do that. Does $HTTP_SESSION_VARS always work? (even with register_globals being on?) FYI: It seems there is race condition problem in

Re: [PHP] known problems with session_register()?

2001-04-03 Thread Yasuo Ohgaki
I forgot to mention that I haven't tested session module behavior when script execution is timed out. So it may/ may not be the cause. I set max_execution_time = 300 for file uploading, so I never worried about time out. Does anyone know what happens to session vars in this case? Regards, --

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

2001-04-03 Thread Christian Reiniger
On Monday 02 April 2001 18:37, you wrote: Thank You Steve! Here is my php ? $fillista = "fillista.xml"; $fp = @fopen($fillista,r); $count = fgets($fp,filesize($fillista)); use fread () -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) "Never doubt that a small

Re: [PHP] nl2br

2001-04-03 Thread Christian Reiniger
On Tuesday 03 April 2001 01:42, you wrote: Hello In PHP there is an instruction : nl2br . Does anybody know if there is something similar in Perl??? Well, you'd think Perl experts would know this a bit better that PHP experts, hm? -- Christian Reiniger LGDC Webmaster

[PHP] Global Variables

2001-04-03 Thread Jon
Hi, I need to retrieve some information from a database, asociated with the user session so I could query this information whenever I want through the user session. I am searching for something similar to ASPs global variables if there is anything equivalent with PHP. Thanks -- PHP General

Re: [PHP] redirecting without headers or meta tags or javascript

2001-04-03 Thread Christian Reiniger
On Tuesday 03 April 2001 08:22, you wrote: hi, i'm in the body of a html page, and I'd like to redirect to a new URL in an if() statement. I *could* re-write the whole page so that the test is in the head, and use meta tags to refresh, but i'd rather not... the code will be heaps cleaner

[PHP] cant get php_imap4r2.dll :(

2001-04-03 Thread Nilesh Parmar
Hello Everyone I have a php 4.0.4 installed on my windows-98 machine and apache with the server. I had a problem with the imap_open() function . Later I discovered that I have to have the php_imap4r2.dll . But i dont have this file there.Can anyone tell me where can i get this file

Re: [PHP] Global Variables

2001-04-03 Thread Renze Munnik
Jon wrote: Hi, I need to retrieve some information from a database, asociated with the user session so I could query this information whenever I want through the user session. I am searching for something similar to ASPs global variables if there is anything equivalent with PHP.

[PHP] PHP sending email contents as an attachment, not in the body

2001-04-03 Thread Tom Pinder
I'm using PHP to send emails. The problem I have is that when the emails reach a certain length, the emails are sent with the email contents as an attachment, not as part of the body. I've looked thru all the mailing lists, but I can't find a reference to a similar problem. Has anyone come

[PHP-CVS] cvs: php4 /ext/standard filestat.c

2001-04-03 Thread Jani Taskinen
sniper Tue Apr 3 03:51:16 2001 EDT Modified files: /php4/ext/standard filestat.c Log: SCO (and maybe others) do not have this defined. Index: php4/ext/standard/filestat.c diff -u php4/ext/standard/filestat.c:1.56 php4/ext/standard/filestat.c:1.57 ---

RE: [PHP] nl2br

2001-04-03 Thread James Moore
On Tuesday 03 April 2001 01:42, you wrote: Hello In PHP there is an instruction : nl2br . Does anybody know if there is something similar in Perl??? Well, you'd think Perl experts would know this a bit better that PHP experts, hm? $string =~ s/\n/br\n/g -James -- James Moore

php-general Digest 3 Apr 2001 10:12:44 -0000 Issue 605

2001-04-03 Thread php-general-digest-help
php-general Digest 3 Apr 2001 10:12:44 - Issue 605 Topics (messages 46688 through 46793): Re: HTTP Upload Problem 46688 by: Phillip Bow 46689 by: Yev 46691 by: Yev Re: Porting ASP code to PHP 46690 by: Lindsay Adams 46712 by: Michael Stearne

[PHP] RE: Page Counter

2001-04-03 Thread Tim Ward
i have a file with something like this which I include at the top of every page ... ?php // php function to increment the counter for the current page ... if ($hchandle = mysql_connect("server_name","username")) { $result = mysql_db_query("dbname","INSERT INTO hits

RE: [PHP] freetype info required

2001-04-03 Thread Grimes, Dean
http://freetype.sourceforge.net/old_index.html Freetype is a freeware font engine. It works great for adding ttf to graphic images generated on the fly and such. Do you absolutely have to have ttf to create graphic images? No...but it sure makes things a lot prettier to look at. I think you will

[PHP] Informix a PHP

2001-04-03 Thread Roman
What's the problem with connect to the informix database ? When I write this line for connect do the informix $connect = ifx_connect("inv","roman","romanpwd"); i don't connect and i have these result : Warning: ifx_connect : E [SQLSTATE=IX 001 SQLCODE=-1829] in

RE: [PHP] Safety with PHP.

2001-04-03 Thread Grimes, Dean
Marthe, How was the script executed and under what user privileges? Was it executed by a client from a browser or was it executed directly from the command line? PHP is a server-side scripting language (that can also be configured to execute as a standalone language). Your clients should not be

Re: [PHP] Validation Email in PHP programs

2001-04-03 Thread Johannes Janson
Hi, this is the regular expression from a PHP book. ereg("^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@([a-zA-Z0-9-]+\.)+([a-zA-z]{2,3})$, $formfield"); looks horrible but works. "Sharat Hegde" [EMAIL PROTECTED] schrieb im Newsbeitrag

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]

Re: [PHP] redirecting without headers or meta tags or javascript

2001-04-03 Thread Justin French
Christian Reiniger wrote: (1) Open a telepatic connection to the users browser and appeal to its sense of duty to go to the new page that sounds about as reliable as javascript :P (2) Rewrite the thing looks like that'll be the case (3) Use output buffering huh? appreciate mroe on

Re: [PHP] using system() on NT/2K

2001-04-03 Thread Michael Kimsal
I thought there was something in the manual that it didn't work on IIS. I had the same problem, and had to give up. There was definitely someone else on the mailing list who mentioned this months ago. Christian Dechery wrote: Why does system() - or any of its cousins, I've tried them all:

[PHP] upgrade question

2001-04-03 Thread Walgamotte, David
I want to upgrade to 4.04pl1 PHP, I just downloaded the source from their website. One problem I have had in the past, is when I recompile PHP with different support options the phpinfo() still displays the old information. Could anyone help me to find out where phpinfo() is pulling it's

Re: [PHP] Validation Email in PHP programs

2001-04-03 Thread Renze Munnik
Johannes Janson wrote: Hi, this is the regular expression from a PHP book. ereg("^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@([a-zA-Z0-9-]+\.)+([a-zA-z]{2,3})$, $formfield"); looks horrible but works. Besides the RE you might wanna take a look at these functions:

RE: [PHP] Why does it work this way?

2001-04-03 Thread Mark Roedel
-Original Message- From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 2001 8:00 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Why does it work this way? I guess PHP is doing this $str = "a"; $str++; as $str = "a"; $str = $str + $str; // $str now

[PHP] Linux: 1 machine, 2 installs?

2001-04-03 Thread Matthias Krehl
Hi there, any hints on how to install two versions of PHP on one linux machine? Is it possible? I want to have a 'normal' installation working together with apache and a 'command-line' version for running cron jobs (#!/usr/local/bin/php ...). bye Matthias Matthias Krehl [EMAIL PROTECTED]

[PHP] QSI Payments

2001-04-03 Thread Mark Robinson
Hi all, Has anyone had any experience in using the QSI payments software with PHP4? Mark -- 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

Re: [PHP] QSI Payments

2001-04-03 Thread Jason Brooke
Yes Hi all, Has anyone had any experience in using the QSI payments software with PHP4? Mark -- 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] Problem with unset($PHP_AUTH_USER );

2001-04-03 Thread Adrian Murphy
I use a login script with the header() function and $PHP_AUTH_USER etc. the problem is once i've logged in once ,i refresh the page i stay logged in. i want to do testing with different privileges so i want to be asked for a username and password each time i've refreshed the page.I thought

[PHP] Security Issue

2001-04-03 Thread Scott Novinger
Hello, Would someone please offer some specific suggestions for the following?: 1. I have several static web pages ready to be published on the internet. 2. We have chosed PHP, MySQL and Apache as part of our development system. 3. I would like to incorporate a PHP script into each static

[PHP] mysql_insert_id() CGI

2001-04-03 Thread bill
When I go from using mysql_insert_id() with the module to using it with PHP as CGI it fails because I always provide a link identifier as the argument. When I remove the link identifier it works again. But that seems risky to me. If I have concurrent users couldn't one user finish a query,

[PHP] register_globals on or off?

2001-04-03 Thread hi
Hi, Could someone explain what the following passage in php.ini means: You should do your best to write your scripts so that they do not require ; register_globals to be on; Using form variables as globals can easily lead ; to possible security problems, if the code is not very well thought

[PHP] sql looping problem??

2001-04-03 Thread Wade Halsey
Hi I have the following code /*number of times to run*/ $NumCases = $HTTP_POST_VARS['txtNumCases']; /*execute the sql*/ $sqlLargeRequest = sqlexecute($LargeRequest); for ($val = 0; $val $NumCases; ++$val){ if ($val $NumCases) { $details = sqlFetchObject( $sqlLargeRequest ); $AccNo =

Re: [PHP] Linux: 1 machine, 2 installs?

2001-04-03 Thread Rasmus Lerdorf
Just compile it twice. Once using --with-apxs and once without. -Rasmus On Tue, 3 Apr 2001, Matthias Krehl wrote: Hi there, any hints on how to install two versions of PHP on one linux machine? Is it possible? I want to have a 'normal' installation working together with apache and a

Re: [PHP] Problem with unset($PHP_AUTH_USER );

2001-04-03 Thread Rasmus Lerdorf
You can't unset $PHP_AUTH_USER. Well, you can, but your browser sends it on each connection and it gets re-established. There is no way to effectively log out using http authentication unless you change the realm or otherwise force a 403 again. -Rasmus On Tue, 3 Apr 2001, Adrian Murphy wrote:

Re: [PHP] register_globals on or off?

2001-04-03 Thread Rasmus Lerdorf
Could someone explain what the following passage in php.ini means: You should do your best to write your scripts so that they do not require ; register_globals to be on; Using form variables as globals can easily lead ; to possible security problems, if the code is not very well thought

Re: [PHP] Cobalt RaQ XTR(slightly OT)

2001-04-03 Thread Steve Werby
"Phil Driscoll" [EMAIL PROTECTED] wrote: I have a number of php4/mysql sites running from various NT boxes. I have the opportunity to move a lot of stuff across from one of the NT boxes onto a new Cobalt RaQ XTR. This job will have to be done in a hurry. If anyone can prewarn me of any

Re: [PHP] register_globals on or off?

2001-04-03 Thread Hardy Merrill
hi [[EMAIL PROTECTED]] wrote: Hi, Could someone explain what the following passage in php.ini means: You should do your best to write your scripts so that they do not require ; register_globals to be on; Using form variables as globals can easily lead ; to possible security problems,

Re: [PHP] upgrade question

2001-04-03 Thread Steve Werby
"Walgamotte, David" [EMAIL PROTECTED] wrote: I want to upgrade to 4.04pl1 PHP, I just downloaded the source from their website. One problem I have had in the past, is when I recompile PHP with different support options the phpinfo() still displays the old information. Could anyone help me to

Re: [PHP] working with jpegs

2001-04-03 Thread Rasmus Lerdorf
Have a look at the imlib2 extension. It doesn't have the 8-bit colour limit GD does. See http://mmcc.cx/php_imlib/ -Rasmus On Tue, 3 Apr 2001, J.R. Lillard wrote: i've only been using the php image functions for about a week now. i understand that jpegs have their own custom color

Re: [PHP] Validation Email in PHP programs

2001-04-03 Thread Steve Werby
"Renze Munnik" [EMAIL PROTECTED] wrote: Besides the RE you might wanna take a look at these functions: http://www.php.net/manual/en/function.getmxrr.php and http://www.php.net/manual/en/function.checkdnsrr.php Using (one of) those you can check the email-address better. I.e. the domain.

Re: [PHP] Validation Email in PHP programs

2001-04-03 Thread Renze Munnik
Yep Steve is a smart man. The solutions I gave are good but can ruin your own performance totaly without it being your mistake. The bad performance of a different server (which you probably don't even know!) can ruin the speed of your site. Depending on the importance of the check you'll have

[PHP] Shell Programming with PHP, but where is the PHP?

2001-04-03 Thread Brandon Orther
Hello, I am looking for the path to my php so I can put it on the top of my php script. Like this: #!/path/to/php All I can find that looks like this is libphp4.so Does anyone know where to look for the binary? Thanks Brandon -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Security Issue

2001-04-03 Thread Michael Kimsal
Not really sure what you need suggestions on. There are tons of examples for querying MySQL databases from PHP out there around the net, not to mention the php.net mysql area itself. Scott Novinger wrote: Hello, Would someone please offer some specific suggestions for the following?: 1.

Re: [PHP] Shell Programming with PHP, but where is the PHP?

2001-04-03 Thread Renze Munnik
Brandon Orther wrote: Hello, I am looking for the path to my php so I can put it on the top of my php script. Like this: #!/path/to/php All I can find that looks like this is libphp4.so Does anyone know where to look for the binary? Thanks Brandon -- PHP General

[PHP] array in Session-Vars?

2001-04-03 Thread Thomas Häger
Hi all, i need to use an array in a session variable. On a page i fill the Sessionvar : $HTTP_SESSION_VARS["xy"] []=$whatever (The var is registered with session_register("xy")) I mean that the entry would made at the end of the array, is it not so? But evrey time i proove the entries

RE: [PHP] FLASH AND PHP

2001-04-03 Thread Richard Kirk
Or alternatively use the xml object to send an xml (flash 5) document to php which then waits for an xml response. Cheers -Original Message- From: Lindsay Adams [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 2001 10:00 PM To: PHP Subject: Re: [PHP] FLASH AND PHP If you are

RE: [PHP] Shell Programming with PHP, but where is the PHP?

2001-04-03 Thread Brandon Orther
Hello, It is installed as a module, Is there a way I can keep it installed as a module but install it so I can use it to shell script also? Thanks Ahead Of Time Brandon -Original Message- From: Renze Munnik [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 03, 2001 8:32 AM To: [EMAIL

Re: [PHP] redirecting without headers or meta tags or javascript

2001-04-03 Thread Chris Adams
On 3 Apr 2001 06:26:47 -0700, Justin French [EMAIL PROTECTED] wrote: (3) Use output buffering huh? appreciate mroe on this... put ob_start() at the top of your page and ob_end_flush() at the bottom. PHP will store all of the output instead of sending it to the browser. If you put a

[PHP] mysql

2001-04-03 Thread Glenda Robalino
Hi I have created my database in mysql in linux, but i nedd my aplication, including the database in windows, I tryied to copy, but i had problems with the database... all the tables are copie.. i could see the tables, but i cant make selects, inserts what could i do to copy well the

RE: [PHP] Shell Programming with PHP, but where is the PHP?

2001-04-03 Thread Stewart Taylor
Under linux you can use lynx to run php scripts under the shell. e.g. Assuming lynx is setup correctly lynx -source your.server.com/devel/newtrlkit/test.php?param=whatevertest.txt -Stewart -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: 03 April 2001 17:02 To:

Re: [PHP] Shell Programming with PHP, but where is the PHP?

2001-04-03 Thread Lindsay Adams
Yes, download the source and compile it. Do not turn on the module options in ./configure. I was able to compile my own standalone cgi version of PHP on my ISP without issue. If you download it, unpack it Do ./configure Make And look in the bin directory of the source directory for your cgi

Re: [PHP] Why does it work this way?

2001-04-03 Thread Yasuo Ohgaki
I didn't read carefully yours and original post. Sorry. Anyway, warn_plus_overloading=On ; warn if the + operator is used with strings does not raise warnings on my PHP4.0.4pl1 for some reason. I think incrementing strings should results in 1 if type juggling works as documented. --

Re: [PHP] Shell Programming with PHP, but where is the PHP?

2001-04-03 Thread Nuno Silva
:) yes, just ./configure (don't use --with-apache or --with-apxs) [other options] make cp php /usr/local/bin (or whatever) regards, Nuno Silva Brandon Orther wrote: Hello, It is installed as a module, Is there a way I can keep it installed as a module but install it so I can use it to

[PHP] UltraEdit regexes - the right version!!

2001-04-03 Thread Geoff Caplan
Sorry folks - I included the wrong version of the regexes in my last post! (Well - it's been a long day... Here is the debugged version - should work better I hope... /Function String = "%[ ^t;]++CREATE[ ]+[a-zA-Z0-9_]+[ ]+^([0-9a-z_]+^)*" /Function String = "%[ ^t;]++function[ ]+^(*^)(*"

RE: [PHP] New buzz SOAP?

2001-04-03 Thread Neil Kimber
SOAP stands for Simple Object Access Protocol. It's the XML version of RPC/RMI. It's actually a specification that describes how interfaces from different systems can communicate with each other. It's called an IDL (Interface Definition Language). This is going to be big because it is a very

RE: [PHP] Warning: 1 is not a valid File-Handle resource

2001-04-03 Thread Jerry Lake
I had that same warning the other day and the problem was a slight syntax error in my query statement. Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: WK

RE: [PHP] Shell Programming with PHP, but where is the PHP?

2001-04-03 Thread Brandon Orther
When I type: make it does nothing??? What am I supposed to be typing? -Original Message- From: Nuno Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 03, 2001 9:19 AM To: Brandon Orther Cc: PHP User Group Subject: Re: [PHP] Shell Programming with PHP, but where is the PHP? :) yes,

RE: [PHP] New buzz SOAP?

2001-04-03 Thread David VanHorn
This is going to be big because it is a very large part of the new Microsoft .NET strategy. In essence it will enable everyone and everything to talk together without worrying about hardware, software or OS's incompatibilities (well, that's the theory, anyway). Of course, I'm sure that MS will

[PHP] file upload

2001-04-03 Thread Augusto Cesar Castoldi
I'm having a problem with file upload. I have "INPUT NAME="arqcliente" TYPE="file"" in the HTML file. The action of the form is "upload.php", and in the upload.php3 I have this line "INPUT NAME="arqcliente" TYPE="file" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] Re: UltraEdit - some useful function regexes

2001-04-03 Thread Sebastian Bergmann
Geoff Caplan wrote: Sebastian - if you like them, you might want to add them to your "Open Source" wordfile... I'll have a look at your stuff tomorrow. The current wordfile.txt in the CVS is buggy somehow and I'm going to sort out some of those bugs tomorrow. -- sebastian bergmann

RE: [PHP] New buzz SOAP?

2001-04-03 Thread Neil Kimber
Java rocks. Personally I'm not a fan of MS. However, I saw a sneak preview of .NET in action last July and was astonished by the possible potential for this. There are many aspects of .NET, SOAP being just one of them. I saw code being written in a single GUI development environment where VB

[PHP] Automatic Output Buffering Compression level with ob_gzhandler

2001-04-03 Thread Steven Roussey
Hi, Is there a way to set the compression level for the automatic compression output buffering with ob_gzhandler? Both gzcompress() and gzdeflate() have an optional compression level. We would like to use the highest setting by default. Sincerely, Steven Roussey Network54.com

Re: [PHP] mysql

2001-04-03 Thread Lindsay Adams
This is a question that is better directed to the mysql mailing list, not php. It is also self evident in the manual. But, here is the short answer. Standard mysql tables are in ISAM format (pre 3.23 versions of mysql) which is not directly portable between machines. MyISAM tables are. On linux,

Re: [PHP] Shell Programming with PHP, but where is the PHP?

2001-04-03 Thread Lindsay Adams
What happens when you type ./configure? If the answer is nothing, or it ends with an error, then your ISP does not provide you with dev tools. And you are sort of out of luck. If you can find out for certain, what platform your isp is running, you may be able to install a binary. But a wouldn't

[PHP] Can I use a function within an ereg_replace?

2001-04-03 Thread Dan Wilson
Hey all, I'm trying to mangle email addresses to pass to an email sending form and want to use a custom hashing function within an eregi_replace. Example: $text = eregi_replace("[my big email regex]", "send.php?addr=" . hash_func("\\1@\\2.\\3"), $text); I can't seem to get this to work... it

Re: [PHP] Can I use a function within an ereg_replace?

2001-04-03 Thread Lindsay Adams
On 4/3/01 11:06 AM, "Dan Wilson" [EMAIL PROTECTED] wrote: Hey all, I'm trying to mangle email addresses to pass to an email sending form and want to use a custom hashing function within an eregi_replace. Example: $text = eregi_replace("[my big email regex]", "send.php?addr=" .

Re: [PHP] stripping tags with regex ?

2001-04-03 Thread Christian Reiniger
On Tuesday 03 April 2001 17:57, you wrote: I have this image.../image or image left.../image or image right.../image or image top.../image I want to strip the all that out of my text. I havent a clue about regex, I wish I did. could I get some insight, even a site to learn a little

Re: [PHP] Automatic Output Buffering Compression level with ob_gzhandler

2001-04-03 Thread Christian Reiniger
On Tuesday 03 April 2001 19:34, you wrote: Hi, Is there a way to set the compression level for the automatic compression output buffering with ob_gzhandler? Both gzcompress() and gzdeflate() have an optional compression level. We would like to use the highest setting by default. Don't

Re: [PHP] Can I use a function within an ereg_replace?

2001-04-03 Thread Christian Reiniger
On Tuesday 03 April 2001 20:06, you wrote: Hey all, I'm trying to mangle email addresses to pass to an email sending form and want to use a custom hashing function within an eregi_replace. Example: $text = eregi_replace("[my big email regex]", "send.php?addr=" . hash_func("\\1@\\2.\\3"),

Re: [PHP] Can I use a function within an ereg_replace?

2001-04-03 Thread Lindsay Adams
On 4/3/01 11:06 AM, "Dan Wilson" [EMAIL PROTECTED] wrote: Hey all, I'm trying to mangle email addresses to pass to an email sending form and want to use a custom hashing function within an eregi_replace. Example: $text = eregi_replace("[my big email regex]", "send.php?addr=" .

Re: [PHP] Metabase Opinions

2001-04-03 Thread John Lim
Hi Jason, Metabase is a library that tries to hide 99% of the differences between all databases. In that sense it is a thick abstraction layer. The other school of thought is to provide a thin layer that doesn't do very much so that it runs fast. I am the author of another database abstraction

[PHP] Change in date() in php4.0.4...

2001-04-03 Thread Boget, Chris
In the previous version we had (4.0.3), the following worked: echo date( "m/d/Y br h:ia" ); to display the date on the first line and the hours:minutes am/pm on the second line. Now, looking at the date function, it looks like the "r" character has been added as a formatting specifier. Is

[PHP] How can i sent an html e-mail using mail()?

2001-04-03 Thread jorge
The subject explains all. I need to send html emails unsing php Thanks -- 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] Bug in date() in version 4.0.4?

2001-04-03 Thread Boget, Chris
echo date( "r h:ia" ); returns: Tue, 3 Apr 2001 13:45:46 +0500 12:875903540pm What's up with the minutes? Does anyone else get this problem? It seems the minutes are only screwed up with the "r" format specifier is used... Chris

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c

2001-04-03 Thread Frank M. Kromann
fmk Tue Apr 3 11:09:02 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: Fixing crash when listing databsaes Fixing rowcount to woirk when the result contains an array og data. Index: php4/ext/fbsql/php_fbsql.c diff -u

Re: [PHP] Change in date() in php4.0.4...

2001-04-03 Thread John Lim
I haven't checked date( ) in the manual, but could bR work? "Boget, Chris" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... In the previous version we had (4.0.3), the following worked: echo date( "m/d/Y br h:ia" ); to display the date on the first line and

RE: [PHP] Change in date() in php4.0.4...

2001-04-03 Thread Boget, Chris
I haven't checked date( ) in the manual, but could bR work? Sometimes, I am *such* a retard... My humble apologies for my previous post. Chris

Re: [PHP] Validation Email in PHP programs

2001-04-03 Thread Steve Werby
"Steve Werby" [EMAIL PROTECTED] wrote Renze is correct. Unless you're checking local email addresses which you control, there's no way to check down to that level. And be happy there isn't. Otherwise the amount of spam you get right now will increase ten fold. I should have said there's

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

2001-04-03 Thread Rasmus Lerdorf
rasmus Tue Apr 3 12:07:23 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: Karma for Fred Index: CVSROOT/avail diff -u CVSROOT/avail:1.129 CVSROOT/avail:1.130 --- CVSROOT/avail:1.129 Mon Apr 2 07:57:11 2001 +++ CVSROOT/avail Tue Apr

[PHP] Change the filename sent via html header

2001-04-03 Thread Spunk S. Spunk III
I've got a script that returns a smil file in a header but I'd like to change the name of the file. The file is sent as blah.php (even though it is a smil file) but I'd like to be able to name it something like blah.sml. Is there a way to do this? Spunk -- PHP General Mailing List

Re: [PHP] FLASH AND PHP

2001-04-03 Thread Godd
EXPLAIN !! I am not an XML expert Please explain. I have only now begun to read up on XML ""Richard Kirk"" [EMAIL PROTECTED] wrote in message 000d01c0bc55$6db38ee0$720a@proj00014">news:000d01c0bc55$6db38ee0$720a@proj00014... Or alternatively use the xml object to send an xml

[PHP] Quick one...

2001-04-03 Thread Brandon Orther
Hello, How do I alphabetize the out put of my data base? The field would be LastName Brandon -- 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

RE: [PHP] Quick one...

2001-04-03 Thread Boget, Chris
How do I alphabetize the out put of my data base? The field would be LastName "SELECT * FROM MyTable ORDER BY LastName" Then loop through the result set. Chris

Re: [PHP] Change the filename sent via html header

2001-04-03 Thread Lindsay Adams
On 4/3/01 12:34 PM, "Spunk S. Spunk III" [EMAIL PROTECTED] wrote: I've got a script that returns a smil file in a header but I'd like to change the name of the file. The file is sent as blah.php (even though it is a smil file) but I'd like to be able to name it something like blah.sml. Is

  1   2   3   >