[PHP] Importing a GIF image and making it transparent

2001-08-21 Thread Ben Quinn
Hi all I've been trying to make a script that imports a GIF image from an external server (i have permission to do this, see below) and designates a certain colour transparent for some time now and i'm not having much luck. Can anyone help or provide a script that does this? The images i'm

Re: [PHP] Importing a GIF image and making it transparent

2001-08-21 Thread Chris Lambert
It doesn't look like you'll be able to use GD, as GIF support was dropped in 1.6 and JPEG support was only added in 1.8. You'd have to experiment with ImageMagick, or another command-line tool independent of PHP. /* Chris Lambert, CTO - [EMAIL PROTECTED] WhiteCrown Networks - More Than White

RE: [PHP] charset

2001-08-21 Thread Lawrence . Sheed
Depends on what Chinese charset you want. Simplified Chinese or Traditional. GB or BIG5 Use a meta content type for the charset type for simplified meta http-equiv=content-type content=text/html; charset=gb2312 for traditional META http-equiv=Content-Type content=text/html; charset=big5

[PHP] Re: ImagePNG problem

2001-08-21 Thread Adrian Ciutureanu
Hi Andy, I don't need to use ImageCreateTrueColor() (or do I?). I just want to read a PNG24, write a text to it and save. I don't have GD 2.0.1. And again: I can read PNG24, but when I save it with ImagePNG($fileName), GD writes a PNG8 :-( adu Andrew Chase [EMAIL PROTECTED] wrote Make sure

[PHP] Re: ADODB Library

2001-08-21 Thread Jarosaw Jankowski
Jochen Kaechelin wrote: Anyone made good experiences with the ADODB Library for PHP4? Yes. I use it with Oracle8 with any bad experience. It's fast ( except select_limit ) and brings some cool functions like generating select menus. Jarry -- PHP General Mailing List

SV: [PHP] converting str with \n to one line str??

2001-08-21 Thread Jens Schodt
nl2br is not working in this case. It does put a br with every new line, but it does not remove the new line. The string will still have the line changes and it will not work in Javascript. Jens -Oprindelig meddelelse- Fra: Artwithin [mailto:[EMAIL PROTECTED]] Sendt: 20. august 2001

SV: [PHP] converting str with \n to one line str??

2001-08-21 Thread Jens Schodt
$temp = str_replace(\n,test,$temp) is doing the same thing. It is still a string in several lines if you look in the source :-( jens -Oprindelig meddelelse- Fra: Tyler Longren [mailto:[EMAIL PROTECTED]] Sendt: 20. august 2001 20:20 Til: Jens Cc: [EMAIL PROTECTED] Emne: Re: [PHP]

[PHP] Re: ADODB?

2001-08-21 Thread Jarosaw Jankowski
Jochen Kaechelin wrote: is there a source for further information connecting to databases with ADODB for PHP4? I only know http://php.weblogs.com/ADODB -- I thing this is the only one, but you can try asking on php.weblog.com Jarek -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Importing a GIF image and making it transparent

2001-08-21 Thread David Robley
On Tue, 21 Aug 2001 16:24, Ben Quinn wrote: Hi Chris, Thanks for the speedy reply. In the GD section here http://www.bsch.au.com/admin/phpinfo.php it says GIF support - enabled I'm starting to wonder though if PHP can do this? I looked up the imagecolourtransparent function on the PHP

Re: [PHP] multiple select question

2001-08-21 Thread David Robley
On Tue, 21 Aug 2001 15:38, Raphael Pirker wrote: Hi, I have a dynamic multiple select where data is added to using the JavaScript found here: http://javascript.internet.com/forms/menu-swapper.html I have a question: How do I read all the values into an array or something else? My select

Re: [PHP] converting str with \n to one line str??

2001-08-21 Thread David Robley
On Tue, 21 Aug 2001 16:49, Jens Schodt wrote: $temp = str_replace(\n,test,$temp) is doing the same thing. It is still a string in several lines if you look in the source :-( jens -Oprindelig meddelelse- Fra: Tyler Longren [mailto:[EMAIL PROTECTED]] Sendt: 20. august 2001 20:20

Re: [PHP] basename()

2001-08-21 Thread Renze Munnik
On Mon, Aug 20, 2001 at 03:42:34PM -0400, Gerard Samuel wrote: $file = basename ($path); $file = $file.php3; You might want to consider using, $file = basename ($path); $file = $file.php3; // -- ! instead, if you don't like warnings. $file = $file.php3 isn't the way to do it!

[PHP] mime types

2001-08-21 Thread Evan Nemerson
Well, I hope nobody will ever have to do what I just did, so here you go. I got them from the apache/conf/mime.types Have fun! $extensions = Array(ez = application/andrew-inset, hqx = application/mac-binhex40, cpt =

Re: [PHP] mime types

2001-08-21 Thread Brad Hubbard
On Tue, 21 Aug 2001 18:01, Evan Nemerson wrote: Well, I hope nobody will ever have to do what I just did, so here you go. I got them from the apache/conf/mime.types Have fun! $extensions = Array( ez = application/andrew-inset, snip What are you using them for Evan? Brad -- PHP

[PHP] Re:

2001-08-21 Thread PHP Accelerator
Yes, and it works fine. It basically replaces the parser/compiler with a cache lookup when it determines that it can, and so the real scope for error is if it doesn't correctly restore the original post compilation/pre execution state from when the compiler was run. But at the moment it seems

Re: [PHP] basename()

2001-08-21 Thread Gerard Samuel
Oh yes, I dont like warnings. Thanks for pointing that out Renze Munnik wrote: On Mon, Aug 20, 2001 at 03:42:34PM -0400, Gerard Samuel wrote: $file = basename ($path); $file = $file.php3; You might want to consider using, $file = basename ($path); $file = $file.php3; // -- !

[PHP] Re: flash and php

2001-08-21 Thread Tribun
I can't describe it very well in english, but I try it once again: 1. You cant combine Flash and MySQL. 2. Therefore you must add an interface. 3. You can fabricate this interface using a PHP-File, which reads out the Database and send this data to Flash. 3.1. Use a normal php-code to read

[PHP] begginer how to make integer ?

2001-08-21 Thread Andras Kende
Hello, I have a query but it not creating integer result: $saleprice=$amyrow[saleprice]+$saleprice; $squarefeet=$amyrow[squarefeet]+$squarefeet; $dom=$amyrow[dom]+$dom; result: Total listings: 18 -- Average Price: $339166.6667 Average Square Foot: 1596.61 Average DOM:

[PHP] RE: How to download an entire dynamic website?

2001-08-21 Thread Tim Ward
Do you mean make an html copy? If so this is a simplified copy of what I use as the start of building a search engine database for my web site, I think it'll only work on the local database and in this case needs to be in the document root directory to work... Tim function GetPage($file,

Re: [PHP] begginer how to make integer ?

2001-08-21 Thread * RzE:
On Tue, Aug 21, 2001 at 02:08:06AM -0700, Andras Kende wrote: Hello, I have a query but it not creating integer result: $saleprice=$amyrow[saleprice]+$saleprice; $squarefeet=$amyrow[squarefeet]+$squarefeet; $dom=$amyrow[dom]+$dom; result: Total listings: 18 -- Average Price:

SV: [PHP] converting str with \n to one line str??

2001-08-21 Thread Jens Schødt
Yes!! This was the solution... With str_replace you can use an array as the search argument. Like this $arrReplace = array (\n,\r); $temp = str_replace($arrReplace,,$temp); $temp = addcslashes($temp,'); // just to make sure that the string will work as my JS string thanks for the help :-) jens

SV: [PHP] converting str with \n to one line str??

2001-08-21 Thread Jens Schødt
Allmost, but you have to look for the \r ass well! With str_replace you can use an array as the search argument. Like this $arrReplace = array (\n,\r); $temp = str_replace($arrReplace,,$temp); $temp = addcslashes($temp,'); // just to make sure that the string will work as my JS string thanks

[PHP] RE: Multi-dimensional array issue

2001-08-21 Thread Tim Ward
The first thing is that 2-dimensional arrays don't really exist in php. Any element of any array can be another array. The second important point is that all php arrays are associative. If you don't declare the key of an element (e.g. $out[] = fred) when creating it you get the next integer

[PHP] Returning a string from a function

2001-08-21 Thread Richard Kurth
Could somebody tell me way this function will not work I know the script inside the function works because I have tested it but when I put it in a function all I get back when I call it is a 1 function getpath($search) { Global $search,$path; $a = `/bin/ls -al /home/sites/ | awk {'print $9 $10

Re: [PHP] RE: Multi-dimensional array issue

2001-08-21 Thread Nick Davies
-- From: Ken Hopkins [SMTP:[EMAIL PROTECTED]] Sent: 20 August 2001 21:02 To: [EMAIL PROTECTED] Subject: Multi-dimensional array issue Hi from a recent PHP convert, Having a heck of a time declaring and accessing 2 dimensional info

[PHP] Security implications - CGI vs module

2001-08-21 Thread Daniel Baldoni
G'day folks, It's been mentioned that the module approach to installing PHP4 has some security implications (as compared to the separate interpreter and using CGIs). My question is: For sites which do not have user-installed files (i.e. all web- content is provided by the

[PHP] pdflib+pdi

2001-08-21 Thread Jonathan S
Hi, we recently purchased the whole PDFlib+PDI package, however I've been having trouble installing it. Many of the different installation instructions i've found have told me contradictory things. I have tried using both the binary distribution aswell as the source. After many rounds of

Re: [PHP] Importing a GIF image and making it transparent

2001-08-21 Thread Ben Quinn
Thanks to those who replied, i finally worked it out - the script has been pasted below just incase anyone is sifting through the list archives looking for the same thing. One thing though, my server doesn't allow me to open a GIF file through HTTP - ie this doesn't work $image =

RE: [PHP] Function to Build Trees

2001-08-21 Thread Chris Hayes
Antwoord naar: [EMAIL PROTECTED] Van:Dan Harrington [EMAIL PROTECTED] Onderwerp: RE: [PHP] Function to Build Trees Or you could just buy from http://www.plumbdesign.com/ or write a PHP SDK for them. :-) sorry? what does that horrible coldfusion

[PHP] how to discover cause of php crash under win98?

2001-08-21 Thread Chris Hayes
hi, i am trying to install the thousands-of-lines big postnuke.com website thingie. Unfortunately it won't start and the community does not seem to recognize the problem. I get this message: PHP caused an invalid page fault in module PHP4TS.DLL at 015f:1008e884. (PHP4 on

Re: [PHP] Importing a GIF image and making it transparent

2001-08-21 Thread Chris Lambert
Did you use quotes around the URL when trying to access the image? /* Chris Lambert, CTO - [EMAIL PROTECTED] WhiteCrown Networks - More Than White Hats Web Application Security - www.whitecrown.net */ - Original Message - From: Ben Quinn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

[PHP] Re: Creating images on the fly

2001-08-21 Thread _lallous
Yes... get inspired from this simple HTML example even! html head titleInline Image generation (via JavaScript)/title meta name=Generator content=EditPlus meta name=Author content= meta name=Keywords content= meta name=Description content= /head script language=JavaScript !-- img =

[PHP] Re: how to discover cause of php crash under win98?

2001-08-21 Thread _lallous
Try installing PHP4 as CGI instead! It's much more stable! Chris Hayes [EMAIL PROTECTED] wrote in message 3B8254DA.32400.C3717@localhost">news:3B8254DA.32400.C3717@localhost... hi, i am trying to install the thousands-of-lines big postnuke.com website thingie. Unfortunately it won't start

Re: [PHP] Importing a GIF image and making it transparent

2001-08-21 Thread Ben Quinn
G'day Chris Yep i did, with this code $id = ImageCreateFromGif(http://mirror.bom.gov.au/radar/IDR503.gif;); I get this error : Warning: imagecreatefromgif: Sockets are not supported for image type 'GIF' in /home/httpd/html/bsch/temp/monkey.php on line 5 Brick wall #9080982093848934 - but i

[PHP] Use cron to execute a script

2001-08-21 Thread Augusto Cesar Castoldi
Hi. I added to crontab the command 0 * * * * lynx -dump -nolog http://localhost/backup.php; but this task are not running. In man cron I saw this: --- DESCRIPTION Cron should be started from /etc/rc or /etc/rc.local. It will return immediately, so you don't

Re: [PHP] Use cron to execute a script

2001-08-21 Thread Brad Hubbard
On Tue, 21 Aug 2001 21:05, Augusto Cesar Castoldi wrote: Hi. I added to crontab the command 0 * * * * lynx -dump -nolog http://localhost/backup.php; but this task are not running. On RedHat. chkconfig --level 2345 crond on Brad -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: Use cron to execute a script -- OTHER problem now

2001-08-21 Thread Augusto Cesar Castoldi
Hi. now my cron is working, but the command don't. If I do manualy lynx -dump -nolog http://localhost/backups/backup.php; it works, but with cron didn't worked. I receive this e-mail from Cron Daemon: --- Subject: Cron httpd@vendaval lynx -dump

[PHP] Resizing jpegs

2001-08-21 Thread Seb Frost
How can I do this? Say I have a 320x240 file but I only want to show a 160x120 thumbnail. I'm looking to decrease download speeds. cheers, - seb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

RE: [PHP] Re: HTTPS w/ header() ?

2001-08-21 Thread Dave
chicken or egg question here... assuming the directory requires authentication a la .htaccess or httpd.conf allow/deny does this methos encapsulate the authentication in the SSL or does this only eget applied after authenticating and reading the file to get the header portion. Example, current

[PHP] List of files?

2001-08-21 Thread Seb Frost
OK so I'vebeen reading about reading and writing to/from files, but what I want to do is (I think) simpler than this. Basically I want to look at a directory and be able to get a list of all subdirectories and then a list of the files in each directory. Can someone give me a hint? cheers

[PHP] Mutiline read as Sigle Line!

2001-08-21 Thread Jack
Dear all I had a page which let user to input a long description into it! and had wrote a script which will fputs the user input content to content.txt! When i open the content.txt, it is shown below: This is a test! and this is not a joke! which is fine , because it display as how the user

[PHP] RE: [PHP-WIN] Mutiline read as Sigle Line!

2001-08-21 Thread Michael Rudel
Hi Jack, ... look at the generated html-code, you will read: This is a test! and this is not a joke! But since html doesn't display \r\n you have to use the php-function nl2br. Greetinx, Mike Michael Rudel - Web-Development, Systemadministration - Besuchen Sie uns am 20. und 21. August

RE: [PHP] Free PHP runtime Accelerator for Linux available

2001-08-21 Thread PHP Accelerator
Thanks. If you're running Linux then have you tried it yet? I'm really keen for some folks to try and break it, and either find that they can't (which looks promising at the moment), and so start getting the benefit, or expose any remaining show-stoppers so that they can get resolved asap.

RE: [PHP] Free PHP runtime Accelerator for Linux available

2001-08-21 Thread PHP Accelerator
Actually it would be interesting to get a FreeBSD port. When I've made the immediate batch of changes that I have in mind, and if things are still looking good, then volunteers to contribute builds would be welcome. Right now, even though the accelerator provides a decent speed up, the Zend

[PHP] Re: [PHP-DEV] php and autoconf 2.50

2001-08-21 Thread jan
On Sat, Aug 11, 2001 at 09:36:09AM +0200, Sascha Schumann wrote: On Fri, 10 Aug 2001, Daniel Adams wrote: Has anyone got the cvs source to work with autoconf 2.50? Noone as far as I know has worked on that so far; anyone who is interested in this functionality is encouraged to

[PHP] Help me on server.

2001-08-21 Thread Hari Prakash
Hi, I'm a PHP Programmer. My collegue Java programmer need to connect a web page which is a php page programmed by me. While he is calling a php page thru apache he gets html o/p. But With IIS 5.0, he gets expection error. But the script is same. Can any one help me?. Hari. --- Outgoing

RE: [PHP] Picking random numbers

2001-08-21 Thread Dave
You've gotten a few responses already... but since you didn't describe the application, here is an alternative if you are using the random numbers to retrieve random records from a database (postgreqsl in this example); $query = SELECT * FROM table ORDER BY random() LIMIT 5; am usre the MySQL

[PHP] Linux

2001-08-21 Thread Roman
Off topic question: How I create install file in red hat linux from bin file. example: in /home/name i have file file.bin and I want create install from this file roman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP] converting str with \n to one line str??

2001-08-21 Thread Dave
try \r\n (return and new line) Have had to use this when parsing cisco output... uses both not just newlines. Dave -Original Message- From: Jens Schodt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 3:20 AM To: 'Tyler Longren' Cc: '[EMAIL PROTECTED]' Subject: SV: [PHP]

Re: [PHP] List of files?

2001-08-21 Thread * RzE:
On Tue, Aug 21, 2001 at 01:26:27PM +0100, Seb Frost wrote: OK so I'vebeen reading about reading and writing to/from files, but what I want to do is (I think) simpler than this. Basically I want to look at a directory and be able to get a list of all subdirectories and then a list of the

Re: [PHP] Linux

2001-08-21 Thread Nick Davies
./file.bin :) On Tue, 21 Aug 2001, Roman wrote: Off topic question: How I create install file in red hat linux from bin file. example: in /home/name i have file file.bin and I want create install from this file roman -- PHP General Mailing List (http://www.php.net/)

[PHP] PHP_Commander

2001-08-21 Thread Andrey Hristov
Hope this will help. Some code is grabbed from the PHP's quickref. ?php var_dump($HTTP_POST_VARS); if (@!$HTTP_POST_VARS['dir']) $HTTP_POST_VARS['dir']='./'; if (is_dir($HTTP_POST_VARS['dir'])){ echo 'form method=post action='.$PHP_SELF.' name=ok'; echo input type='hidden' name='dir'

Re: [PHP] List of files?

2001-08-21 Thread Brian C. Doyle
Here is some code that I use to do what you wanted and attach is the files for the folders. This uses javascript that works well with Internet Explorer and creates sublist that appear in the folder. ? error_reporting (E_ALL ^ E_NOTICE); ? !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0

[PHP] Why linx don't work with cron?

2001-08-21 Thread Augusto Cesar Castoldi
Hi, I'm trying the command lynx -dump -nolog http://localhost/script.php /dev/null on crontab but I (httpd) receive an e-mail from Cron Daemon saying that: Your terminal lacks the ability to clear the screen or position the cursor. what should I do run my script with cron? thanks, Augusto

[PHP] Why lynx don't work with cron?

2001-08-21 Thread Augusto Cesar Castoldi
Hi, I'm trying the command lynx -dump -nolog http://localhost/script.php /dev/null on crontab but I (httpd) receive an e-mail from Cron Daemon saying that: Your terminal lacks the ability to clear the screen or position the cursor. what should I do run my script with cron? thanks, Augusto

RE: [PHP] Re: Use cron to execute a script -- OTHER problem now

2001-08-21 Thread Dave
php files are text files you have to tell cron (or more directly the system) what to do with it. like a perl script, simply tell it where to find the PHP processor and it will then use it to run your script... otherwise it is just diaplaying a page of text every minute. you must have a cgi

RE: [PHP] new one is it ??

2001-08-21 Thread billfarr
DOH! Thanks for the heads-up, David. Here's the code I promised. My apologies! Bill ---8---8---8---8---8---8---8- ? /* Code red autoresponder does the following: - Checks the whois for the attacking host - Emails the offender's Internet

Re: [PHP] Why lynx don't work with cron?

2001-08-21 Thread Stig-Ørjan Smelror
Augusto Cesar Castoldi wrote: Hi, I'm trying the command lynx -dump -nolog http://localhost/script.php /dev/null on crontab but I (httpd) receive an e-mail from Cron Daemon saying that: Your terminal lacks the ability to clear the screen or position the cursor. what should I do run my

RE: [PHP] Why lynx don't work with cron?

2001-08-21 Thread Cristopher Daniluk
Augusto, If for whatever reason you can't (I don't even begin to want to know why), try wget :) Regards, Cristopher Daniluk President CEO email: [EMAIL PROTECTED] direct: 330/530-2373 Digital Services Network, Inc Unleashing Your Potential voice: 800/845-4822 web: http://www.dsnet.net/

[PHP] Re: Multi-dimensional array issue

2001-08-21 Thread Ken Hopkins
Ok, let me make sure I understand: I see that you included brackets after the $out ($out[] = array instead of $out = array). Does this denote that the $out is now a zero-based array? $out[0] is now an array that has $name, $srch, $sel and $case as single elements in that array. $out[1] is the

Re: [PHP] Free PHP runtime Accelerator for Linux available

2001-08-21 Thread Michael Kimsal
Hello Nick, First off, thanks for your contribution. We've not tested it as of yet, but it's always good to see more people getting involved at some level. :) Second, have you compared the mechanism(s) you use against APC or bware? Have you considered perhaps helping with one of those

[PHP] our country

2001-08-21 Thread nafiseh saberi
hi. I want to know how many of people in php group are IRANIAN?? I am IRANIAN too. how about yours?? 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,

Re: [PHP] Re: PHP based auth -----------------

2001-08-21 Thread Sheridan Saint-Michel
What you are trying to do is covered in the manual here: http://www.php.net/manual/en/features.http-auth.php I think you specifically was the section: Both Netscape Navigator and Internet Explorer will clear the local browser window's authentication cache for the realm upon receiving a server

[PHP] Detecting empty query result?

2001-08-21 Thread Seb Frost
Basically I want to check to see if $fileDir is already in my database. I do this as: $result = mysql_query(SELECT fileDir FROM shoots WHERE (fileDir='$fileDir')); How do I check the result? I normally use mysql_result($result, $row, $field) to read my

[PHP] 404 header

2001-08-21 Thread Boaz Yahav
Hi I'm using IIS and I changed the 404 page to something else. Now the server returns an 200 OK message for a mistaken page :) Does anyone know the exact headers I need to send b4 the page so that the server will send back to the client the 404 NOT FOUND header along with the new page? thanks

Re: [PHP] Detecting empty query result?

2001-08-21 Thread * RzE:
On Tue, Aug 21, 2001 at 02:54:33PM +0100, Seb Frost wrote: Basically I want to check to see if $fileDir is already in my database. I do this as: $result = mysql_query(SELECT fileDir FROM shoots WHERE (fileDir='$fileDir')); How do I check the result? I normally use

Re: [PHP] Detecting empty query result?

2001-08-21 Thread DevilKin
A good way to check if the result set is empty is to do put all statements that work on the result set in an if-statement with the following condition: if (mysql_numrows($result) != 0) { ... code here ... } Hope this helps DevilKin At 14:54 21/08/2001 +0100, Seb Frost wrote:

RE: [PHP] Detecting empty query result?

2001-08-21 Thread Seb Frost
just use mysql_num_rows($result) dummy :-) doh. sorry to bother y'all. -Original Message- From: Seb Frost [mailto:[EMAIL PROTECTED]] Sent: 21 August 2001 14:55 To: [EMAIL PROTECTED] Subject: [PHP] Detecting empty query result? Basically I want to check to see if $fileDir is already

[PHP ] ISAPI under Win98

2001-08-21 Thread Tribun
May be it's a dummy question, but I can't find how I can install this ISAPI module under win98. (I had only an winNT guide) Can someone please explain it to me thank you. ;) MöfG; Tribun (Patrick Lehnen) --- mp3o.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] mcrypt trouble

2001-08-21 Thread Dominic Schanen
Hello, I'm trying to do mcrypt encryption but I continue to get the following error: Warning: mcrypt module initialization failed and this is the line of code that I get the error from: $string = mcrypt_cbc(MCRYPT_DES, $key, $test, encrypt); I've also tried several different version of using

RE: [PHP] Re: flash and php

2001-08-21 Thread Dan Harrington
Isn't it true that Flash can work directly with a JDBC driver? or am I smoking crack? -Original Message- From: Tribun [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 2:55 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: flash and php I can't describe it very well in english,

[PHP] IIS

2001-08-21 Thread nafiseh saberi
hi. what is IIS? 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]

Re: [PHP] IIS

2001-08-21 Thread Tyler Longren
IIS is the web server software that comes with WindowsNT/2000. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Wed, 22 Aug 2001 19:22:16 +0430 nafiseh saberi [EMAIL PROTECTED] wrote: hi. what is IIS? thanks. -- PHP General Mailing List

[PHP] header function

2001-08-21 Thread Jay Paulson
Hello everyone- I have a slight problem.. I'm running php 4.0.6 on RedHat 7.1 and I run my script and it hit's: header(Location:index.php); well the thing is once it hits that line in my script and just fails, however i don't get any type of parse error the browser just says 404 error page not

Re: [PHP] header function

2001-08-21 Thread Tyler Longren
Well, it's not a good idea to put something (like an echo) before a header()...even for testing because that will prevent the header() from working at all. You should have gotten an All headers have been sent or some similar error. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED]

RE: [PHP] Free PHP runtime Accelerator for Linux available

2001-08-21 Thread Maxim Maletsky
Thanks, Nick. Well, I am running FreeBSD machine, but can start up my old Linux box to play with your accelerator. I'll let you know when I do that, I am kind of curious to compare it with Zend's Cache. Cheers, Maxim Maletsky -Original Message- From: PHP Accelerator [mailto:[EMAIL

Re: [PHP] IIS

2001-08-21 Thread B. van Ouwerkerk
hi. what is IIS? Micro$oft Internet Information Server. It's a webserver. IMHO a poor alternative for Apache. If you want to know more about IIS take a look at the M$ website (www.microsoft.com/iis) should tell you everything you ever want to know. Bye, B. WOW.. this sure looks like

Re: [PHP] mcrypt trouble

2001-08-21 Thread Andrew Libby
Dominic, I'd start by checking the libmcrypt installation. If you're building from source, prior to your installation check that [mcrypt-src-dir]/src/cipher_test runs without error. If that succedes, install libmcrypt (and mcrypt) and then attempt to test with the command line. Start by

Re: [PHP] header function

2001-08-21 Thread Jay Paulson
You're right when you say that you shouldn't put an echo before the header.. however I did that just so I could see if I would get the error All headers have been sent and well I didn't get that error... I didn't get any error message.. so I thought that was strange and that's why I'm here asking

[PHP] Page detect

2001-08-21 Thread Kevin P
Hi all I am just five days new to PHP. When sending an HTML form to a PHP page for handling, can you cause the PHP to detect the page name (like form.htm or form2.htm)? thanks Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] Page detect

2001-08-21 Thread Jay Paulson
if you want the name of the page you are on (i.e. index.php) you can use the $PHP_SELF variable.. if you want to know what page you came from you can use the $HTTP_REFERER variable.. just remember to get those variables you have to have php parse the page (so it can't just be a plain html page)

Re: [PHP] Need Working... pop up dialog (repost)

2001-08-21 Thread Ray Clouse
It's due to space restrictions on the server. We have 300GB available on the server, but the compressed data takes up 200GB, and we're adding new data (several GB) every month or so. So we need to keep as much compressed as possible, but we have to uncompress the data for the webpages to use

RE: [PHP] register_globals odd behaviour?

2001-08-21 Thread Johnson, Kirk
I just come across and odd behaviour with the register_globals and session handling. The problem is that when I set the register globals to on I cannot access the session_variables through the associative array HTTP_SESSION_VARS. The manual says explicitly that with track_vars and

[PHP] Re: sendmail

2001-08-21 Thread BRACK
Thank you for advise, I think I'll use .htaccess and that would be fine. But why do I need to include ? I'm using in on my local Apache win32 without even though I understand what is string Youri On 19 Aug 2001, at 16:01, Richard Lynch wrote: I'm on virtual hosting that lets me configure

Re: [PHP] Errors

2001-08-21 Thread BRACK
Thank you for advise, everything is working fine now. Youri On 19 Aug 2001, at 15:55, Oliver Emberton wrote: It looks like PHP has been configured to report ALL errors and warnings - in your case it is warning you that you haven't declared the variable $page before you used it. Two ways

RE: [PHP] Listing files from a directory

2001-08-21 Thread Seb Frost
store all the names in an array and then sort that using an inbuilt php function, maybe. - seb -Original Message- From: Martin E. Koss [mailto:[EMAIL PROTECTED]] Sent: 21 August 2001 16:43 To: [EMAIL PROTECTED] Subject: [PHP] Listing files from a directory I am trying to find a way

Re: [PHP] Listing files from a directory

2001-08-21 Thread Thomas Deliduka
On 8/21/2001 11:42 AM this was written: I am trying to find a way to list files alphabetically. Try putting the filenames into an array and sort the array. -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/

[PHP] Re: PHP indexOf()?

2001-08-21 Thread Kevin P
For someone used to Java JavaScript.. what function would replace myString.indexOf(myStringPiece) ??

RE: [PHP] Re: PHP indexOf()?

2001-08-21 Thread Taylor, Stewart
http://www.php.net/manual/en/function.strpos.php -Stewart -Original Message- From: Kevin P [mailto:[EMAIL PROTECTED]] Sent: 21 August 2001 20:44 To: [EMAIL PROTECTED] Subject: [PHP] Re: PHP indexOf()? For someone used to Java JavaScript.. what function would replace

Re: [PHP] Re: PHP indexOf()?

2001-08-21 Thread Thomas Deliduka
On 8/21/2001 3:43 PM this was written: For someone used to Java JavaScript.. what function would replace myString.indexOf(myStringPiece) ?? Strstr() Or stristr() for case insensative search http://www.php.net/manual/en/function.strstr.php -- Thomas Deliduka IT Manager

RE: [PHP] php and flash

2001-08-21 Thread Jeff Pearson
Best places I learned from are www.flashkit.com as well as the books Dynamic Flash which includes a chapter on php. Other than that, I pulled apart projects downloaded from flashkit. Jeff Pearson -Original Message- From: Jack [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001

[PHP] PHP/Apache configuration for Win NT

2001-08-21 Thread paul . eaton
Hi, Here's the scenario, I've installed and am running mySQL on my machine I've installed Apache and have ran it and seen the page in IE confirming correct setup. I've installed PHP4 from a CGI binary distribution at the following location c:\Php\ and have been following a tutorial on

Re: [PHP] PHP/Apache configuration for Win NT

2001-08-21 Thread Julie Meloni
pegc ScriptAlias /php/ C:/Php/ pegc AddType application/x-httpd-php .php .phtml .html pegc AddType application/x-httpd-php-source .phps pegc Action application/x-httpd-php /Php/php.exe Check for mismatched cases in httpd.conf. Julie Meloni [EMAIL

[PHP] Re: IIS

2001-08-21 Thread Gabe da Silveira
Microsoft Internet Information Server. From: [EMAIL PROTECTED] (Nafiseh Saberi) Newsgroups: php.general Date: Wed, 22 Aug 2001 19:22:16 +0430 To: [EMAIL PROTECTED] Subject: IIS hi. what is IIS? thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] PHP/Apache configuration for Win NT

2001-08-21 Thread Neil Freeman
You appear to have a typo in your httpd.conf: Action application/x-httpd-php /Php/php.exe should be as follows: (note the ) Action application/x-httpd-php /Php/php.exe Hope that helps, Neil [EMAIL PROTECTED] wrote: *** This

Re[2]: [PHP] PHP/Apache configuration for Win NT

2001-08-21 Thread Julie Meloni
NF You appear to have a typo in your httpd.conf: NF Action application/x-httpd-php /Php/php.exe NF should be as follows: (note the ) NF Action application/x-httpd-php /Php/php.exe This is not accurate. Julie Meloni [EMAIL PROTECTED] PHP Essentials PHP Fast Easy

[PHP] generate documenation?

2001-08-21 Thread Daniel Adams
Anyone know what they use on php.net to generate the documentation? Can you do stuff that big with doxygen? - Dan -- -- 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] Page detect

2001-08-21 Thread rm
try using $PHP_SELF, this might be what you're looking for rm --- Kevin P [EMAIL PROTECTED] wrote: Hi all I am just five days new to PHP. When sending an HTML form to a PHP page for handling, can you cause the PHP to detect the page name (like form.htm or form2.htm)? thanks

[PHP] chicken and egg problem with SID

2001-08-21 Thread Egan
I have a multi page sequence of input forms tied to a session. It works perfectly with cookies. But I also want to make it work without cookies, using: php_value session.use_cookies 0 php_value session.use_trans_sid 1 in my .htaccess file, to use the SID support provided by PHP. When

Re: [PHP] Free PHP runtime Accelerator for Linux available

2001-08-21 Thread PHP Accelerator
Hi Michael, Thanks a lot for your email! I must confess to, for once, not checking the web first and looking other products. I hadn't come across any others and was just aware of the Zend offering, hence putting together the accelerator. Now things are suddenly more interesting :-) I would

  1   2   3   >