[PHP] imap_fetch_overview to get unseen mail

2002-02-26 Thread gaukia 345
Hi ppl, I'm trying to mark unseen email messages. 1) Do I use imap_fetch_overview or other functions? 2) Here's the rough structure: if (this_is_an_unseen_mail) { ...codes... } What do I put in the argument for if? Thanx a lot. Enjoy your day! Oh a the latest PHP manual in CHM file is

Re: [PHP] word wrapping again

2002-02-26 Thread Lars Torben Wilson
On Mon, 2002-02-25 at 20:36, Michael P. Carel wrote: Hi there, Is there any function that can i used in wrapping a continuous line of words that will be displayed in the HTML table to avoid destroying its table format. I've tried wordwrapping function but it only wraps word with spaces

[PHP] How to get information about the php installation

2002-02-26 Thread Andy
Hi there, I saw on the website of my provider that he is displaying environment variables about his php installation. Not only the version with phpversion() but also about installed libraries etc.. Is there a function for that? Thanx Andy -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] How many files can be in one directory?

2002-02-26 Thread Andy
So this means, that I can not increas the amount by splitting the files into more than 1 directory? In fact it would make it even less, because dirs also need those i-nods, right? Thanx Andy Thalis A. Kalfigopoulos [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL

[PHP] array_search

2002-02-26 Thread Roger Keays
Hi, Can anybody explain why the output of this script is not found Found! Here is the script... $legalfields = array(reasonForRepair); if (array_search(reasonForRepair, $legalfields) == TRUE) { echo Found!br; } else { echo not foundbr; } $legalfields = array(foo, reasonForRepair);

[PHP] PHP features

2002-02-26 Thread Daniel Alsén
Hi! Which function should i turn on in the PHP installation to get rid of variables being sent in the url (if i don´t explicitly want them there of course)? - D -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] eregi, ereg or smth. else???

2002-02-26 Thread Kristjan Kanarik
I've never had time to get into those ereg, eregi etc. functions, and now I am affraid I probably need to use them. Here is the problem I need to solve: I have a string (lead of an article), about 200-250 characters long. And then I do have a search query - variable $q Now, what I'd like to do

Re: [PHP] array_search

2002-02-26 Thread Lars Torben Wilson
On Tue, 2002-02-26 at 01:29, Roger Keays wrote: Hi, Can anybody explain why the output of this script is not found Found! Yup. array_search() returns the key of the found object, as noted in the docs (http://www.php.net/array_search). Since the first test has the searched-for field at

Re: [PHP] array_search

2002-02-26 Thread Edward van Bilderbeek - Bean IT
array_search returns the key-value of the searched value that is found... in the first case... the returned key is 0 because it's the first element... however... 0 is also the same as FALSE... you should use === (three ='s) ... it's used to compare both value and type... (and 0 is not the

RE: [PHP] How to get information about the php installation

2002-02-26 Thread Jon Haworth
I saw on the website of my provider that he is displaying environment variables about his php installation. Not only the version with phpversion() but also about installed libraries etc.. phpinfo(); HTH Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] RE: str_replace and associative arrays

2002-02-26 Thread Tim Ward
From the manual (http://www.php.net/manual/en/function.str-replace.php http://www.php.net/manual/en/function.str-replace.php ) In PHP 4.0.5 and later, every parameter to str_replace() can be an array. I tried a test case (php 4.0.0) and found that if I passed an array in as the subject the

Re: [PHP] eregi, ereg or smth. else???

2002-02-26 Thread bvr
You don't need regular expressions for this. To match case insensitive, just upper or lower case both strings and use strpos() to find an occurence. Now you allready have the position of the match it'll be easy to get that part of the string. I suggest you substr() it into 3 parts and put the

Re: [PHP] Converting arrays

2002-02-26 Thread Stewart G.
Why dont you just use timezones? =S. On Mon, 25 Feb 2002, Gary wrote: Simon Willison wrote: Gary wrote: Hi All, I am not too bad at building arrays in php but I need to convert a javascript form into php. How wuld I conver the small snippit here? var d = new Array(), l =

RE: [PHP] Re: php - assigning date variables

2002-02-26 Thread Tim Ward
How about SELECT * FROM table WHERE date = '$startdate' AND date = '$enddate'; You can then define startdate and enddate depending on whether you want a date earlier later or the same i.e. if the same then make startdate and enddate the date you want, if earlier then make the startdate blank,

[PHP] format text

2002-02-26 Thread eoghan
hello i am looking for a way of formatting my text when i select it from mysql, looking for a function like cold fusion paragraphformat() that will preserve line breaks etc when i select my data from the database. thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] RE: word wrapping again

2002-02-26 Thread Tim Ward
This is really an html issue. HTML will only text wrap (in a compliant browser) on white space. If you want a server side solution to solve this you'll need to break up long words with a space or line-break. Tim Ward Internet chess www.chessish.com http://www.chessish.com --

RE: [PHP] PHP Forms

2002-02-26 Thread John Day
Hi I think your mysql_query is wrong. You need to include the $db variable in the query otherwise it doesn't know where to put the stuff. $result = mysql_query($sql, $db); Cheers JD -Original Message- From: Chiew, Richard [mailto:[EMAIL PROTECTED]] Sent: Monday, February

Re: [PHP] SOAP status

2002-02-26 Thread Mika Tuupola
On Mon, 25 Feb 2002, Robert Mena wrote: I was wondering if anyone has developed web services using SOAP with php. I'd like to use it in a future project but was wondering which tools (classes, exemples) do we have and how stable are they. PEAR has an ongoin work going on with

Re: [PHP] Apache is not parsing my php...sometimes...

2002-02-26 Thread Chris Hewitt
Kevin, I'm posting this to the list as a private email to you was returned with a 550 Access denied error. Without a filename extension, apache assumes it is whatever DefaultType (in httpd.conf) is set to. Usually this is text/plain. In one (Oracle) application I've had to set this to

Re: [PHP] Is there a way to put a scroll in a table ???

2002-02-26 Thread J.F.Kishor
Hello Sir, Thanks for your response, but my problem is I have a main form, from which I get the user's input(i.e user can select the start date and end date), using these date I have to fetch records from the tables. If I use frames, then how to send the prameters from main form to other

[PHP] extending a class?

2002-02-26 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all Is it possible to extend a class based on a value passed to the constructor? Here's the scenario: I'm going to build a class to help me knock out contanct forms for clients and I want to be able to run certain routines with either Danish or

Re: [PHP] Is there a way to put a scroll in a table ???

2002-02-26 Thread Simon Willison
J.F.Kishor wrote: 1. Is there any other solution to solve it out ? 2. Is there a way to put a scroll in a table ? I tried using layers and its working fine in Internet explorer, and in Netscape the scroll does'nt work. Try using iframes - they are supported in IE, Netscape 6 / Mozilla and

RE: [PHP] Fetching the values from previous page

2002-02-26 Thread Ford, Mike [LSS]
-Original Message- From: Steven Walker [mailto:[EMAIL PROTECTED]] Sent: 25 February 2002 18:04 There are global variables that serve this purpose. You must have register_globals turned on: Actually, no -- that's the wrong way round. The associative arrays are always there --

[PHP] RE: str_replace and associative arrays

2002-02-26 Thread Michael Crowl
Actually, that may be part of the problem, I'm using the more recent PHP Manual on my local machine, while deving on a remote machine running 4.0.3. I had assumed the subject had always accepted and returned mixed variables in previous versions, but apparently that isn't the case. Ah well,

Re: [PHP] extending a class?

2002-02-26 Thread Simon Willison
Nick Wilson wrote: So I was thinking: $form=new form('dk') Would extend the class to include all the dk language routines and $form=new form('en') Would do likewise for english. You can do this with encapsulation. Your form object would actually be a wrapper around an encapsulated object

Re: [PHP] extending a class?

2002-02-26 Thread S.Murali Krishna
Hi Instead of extending the class you can create a language object inside 'form' class and refer it for all your stuffs regardless of language. class form { function form($lang) { if($lang == dk) { $this-lang = new dk(); } else if ($lang == en) { $this-lang = new

[PHP] Re: php, win32, xml bug?

2002-02-26 Thread Alexander Gräf
J Wynia [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... The first thing I'd do is run your transformation through one of (or all of) the rest of the XSL engines out there. There's a lot more variability out there in XSL engines. Unfortunately, Sablotron

Re: [PHP] PHP features

2002-02-26 Thread Stewart G.
If you are talking about the session variables use --enable-trans-sid, if you are talking about variables passed from your form fields to another script use form method=post ... on in your html. =S. On Tue, 26 Feb 2002, Daniel Alsén wrote: Hi! Which function should i turn on in the PHP

Re: [PHP] extending a class?

2002-02-26 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Simon Willison declared Another different of doing the same kind of thing would be to use an object factory as seen in the PEAR DB abstraction layer. This works by having a static class method (i.e a method that can be called

Re: [PHP] extending a class?

2002-02-26 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then S.Murali Krishna declared Hi Instead of extending the class you can create a language object inside 'form' class and refer it for all your stuffs regardless of language. class form { function form($lang) {

Re: [PHP] Re: GD - dynamic PNG generation

2002-02-26 Thread Conor McTernan
I managed to fix my problem, it seems that it was taking so long because of the consturction of a for loop of mine. I was calling the ImagePNG function too early, menaing it seemed to take forever to execute. it's now running at a fraction of it's original time. Conor On Mon, Feb 25, 2002 at

[PHP] Compiled php again but running still old php version

2002-02-26 Thread Andy
Hi there, I did build php4.1.1 on RH7.2 with a different configuration command. After restarting the server, the phpinfo shows still the same version and the old configure command. Do I have to point to the new installation? This suprises me, because everything went ok during compile. Thanx

[PHP] dynamic pulldown list generation help

2002-02-26 Thread Andrew Slezak
Basically I am setting ls array(). I want each item to be an option in the array. I have have scoured for some time now and this is what I have come up with, but it is not populating each file as an option? The select box is just empty. I know this is an array because I have tested with

Re: [PHP] Compiled php again but running still old php version

2002-02-26 Thread Martín Marqués
On Mar 26 Feb 2002 09:46, you wrote: Hi there, I did build php4.1.1 on RH7.2 with a different configuration command. After restarting the server, the phpinfo shows still the same version and the old configure command. Do I have to point to the new installation? This suprises me, because

Re: [PHP] Apache is not parsing my php...sometimes...

2002-02-26 Thread DL Neil
I'm posting this to the list as a private email to you was returned with a 550 Access denied error. Surely open systems means 'open' - in the support community as well as other aspects!? Echoing/amplifying Torben's comment earlier: Private replies do not benefit others on the list

Re: [PHP] RE: php email question

2002-02-26 Thread DL Neil
Terry, I am trying to set up a MIME email that would include an HTML and Plain Text version of content, such that if the recipient's email client did not understand html or have html disabled, that the content would come through as plain text, but if html were accepted, the plain text would

[PHP] Changing arguments in the php.ini file

2002-02-26 Thread Kostas Karadamoglou
Hi my system is: Windows Me Apache Server for Windows 1.3... PHP 4.1.1 I have the following problem. I change the variables in the C:\WINDOWS\php.ini file but there is no affect. Also after the change I always restart the Apache server and icall the php.info() function. The function's results

Re: [PHP] dynamic pulldown list generation help

2002-02-26 Thread Jason Wong
On Tuesday 26 February 2002 20:50, Andrew Slezak wrote: Basically I am setting ls array(). I want each item to be an option in the array. I have have scoured for some time now and this is what I have come up with, but it is not populating each file as an option? The select box is just

Re: [PHP] Apache is not parsing my php...sometimes...

2002-02-26 Thread Chris Hewitt
DL Neil wrote: Echoing/amplifying Torben's comment earlier: Private replies do not benefit others on the list (presumably with similar questions/learning need), nor do they end up in any archive. I did not feel the particular question added to the sum total of information so replied

[PHP] CGI

2002-02-26 Thread Sven Jacobs
Hey I have some cgi files who are in the /usr/lib/xxx/cgi-bin/ directory How can i make them a part of my php meaning that in the current situation the url is something like this http://x.x.xxx/cgi-bin/cgiscripts/.cgi and i want it to be something like this

Re: [PHP] Changing arguments in the php.ini file

2002-02-26 Thread Dimitris Kossikidis
Try to STOP and then START apache, not restart. If it doesn't work make sure that there is no php.ini file in the c:\phpinstalldir\.but only in your WINDIR. - Original Message - From: Kostas Karadamoglou [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 26, 2002 4:06 PM

Re: [PHP] CGI

2002-02-26 Thread Bas Jobsen
in index.php, you can do: ? if (action==cgi) header(Location: cgi-bin/cgiscripts/.$scripts); ? or ? if (action==cgi) echo `./cgi-bin/cgiscripts/${scripts} 21`; ? Op dinsdag 26 februari 2002 15:30, schreef u: Hey I have some cgi files who are in the /usr/lib/xxx/cgi-bin/ directory How can i

[PHP] Damned HTTP_HOST

2002-02-26 Thread Dominique van der Wal
Hi, I'm trying to find the HTTP_HOST adress of my website. I've try the followings : $HTTP_HOST : nothing $ALL_HTTP[HTTP_HOST ] : nothing $_SERVER[HTTP_HOST ] : nothing But when I print $ALL_HTTP or $_SERVER, I obtain the followings lines : HTTP_ACCEPT_CHARSET iso-8859-1,*,utf-8

[PHP] PHP + ODBC on IIS (Win2k)

2002-02-26 Thread Sebastian Timocea
Hello! I am having a really ugly problem here and I hope somebody can help me with this. I work on - Windows 2000 Advanced Server - PHP for Windows and IIS (it works ok) I have a DBTest.mdb database (Access 2000) and an ODBC connection to this database: System DSN=DBTest, no user and password

RE: [PHP] CGI

2002-02-26 Thread Brian Drexler
Maybe I'm misunderstanding the question, but you should be able to make an alias in your httpd.conf file that points /cgi-bin/cgiscripts to /usr/lib/xxx/cgi-bin/ . Then in your scripts variable you would need something like this: scripts=/cgi-bin/cgiscripts/xxx.cgi Someone please correct me

Re: [PHP] CGI

2002-02-26 Thread bvr
Please note that plain this: or ? if (action==cgi) echo `./cgi-bin/cgiscripts/${scripts} 21`; ? is not a good idea, because it allows a visitor to run arbitrary commands on your server. bvr. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Changing arguments in the php.ini file

2002-02-26 Thread Kostas Karadamoglou
Hi my system is: Windows Me Apache Server for Windows 1.3... PHP 4.1.1 I have the following problem. I change the variables in the C:\WINDOWS\php.ini file but there is no affect. Also after the change I always restart the Apache server and icall the php.info() function. The function's results

RE: [PHP] PHP + ODBC on IIS (Win2k)

2002-02-26 Thread Andrew Hill
Sebastian, Check your System DSN - Options button, and verify that you don't have Exclusive checked off. Hope this helps. Best regards, Andrew Hill Director of Technology Evangelism http://www.openlinksw.com/virtuoso/whatis.htm OpenLink Virtuoso Internet Data Integration Server -Original

[PHP] extension crashing php 4.11/Apache 1.3

2002-02-26 Thread kkdesign
Hi! If this is not the group to discuss the issues of writing extensions please let me know, but for now I have a question: What causes php to crash after 256 executions of my extension? / How can this be avoided? The extension opens a file (on the server), writes some values into it and

Re: [PHP] CGI

2002-02-26 Thread Simon Willison
bvr wrote: Please note that plain this: or ? if (action==cgi) echo `./cgi-bin/cgiscripts/${scripts} 21`; ? is not a good idea, because it allows a visitor to run arbitrary commands on your server. bvr. If you still want to use that method have a look at these two functions which can be

RE: [PHP] CGI

2002-02-26 Thread Demitrious S. Kelly
Also, make sure that if you run the script with user input that you validate the input... Input like 'username; cat /etc/passwd' would be no fun at all -Original Message- From: Simon Willison [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 7:14 AM To: bvr Cc: php-general

RE: [PHP] Help needed with Sessions

2002-02-26 Thread Johnson, Kirk
Start here: http://www.php.net/manual/en/ref.session.php You will need to call session_start() to initiate the session. You will also need to register the variables you want in the session with session_register(). Good luck! Kirk -Original Message- From: WG4- Cook, Janet

Re: [PHP] Compiled php again but running still old php version

2002-02-26 Thread Joffrey van Wageningen
I did build php4.1.1 on RH7.2 with a different configuration command. After restarting the server, the phpinfo shows still the same version and the old configure command. Do I have to point to the new installation? This suprises me, because everything went ok during compile.

RE: [PHP] PHP + ODBC on IIS (Win2k)

2002-02-26 Thread ignacio . estrada
PHP will not work on that way in order to retrieve data from Access using ODBC. Check the URL: http://www.phpbuilder.com/columns/timuckun20001207.php3 See you !!! Atte. Ignacio Estrada F. Centro Nacional de Control de Energia Area de Control Occidental 025+6463, 025+6464, 025+6469 -

Re: [PHP] CGI

2002-02-26 Thread Bas Jobsen
Well, okay. It was an example. Then do: if (action==cgi file_exists($script)) Op dinsdag 26 februari 2002 16:00, schreef bvr: Please note that plain this: or ? if (action==cgi) echo `./cgi-bin/cgiscripts/${scripts} 21`; ? is not a good idea, because it allows a visitor to run arbitrary

RE: [PHP] How many files can be in one directory?

2002-02-26 Thread SHEETS,JASON (Non-HP-Boise,ex1)
On a Unix or Unix-like operating systems you should be able to do a df -i to get a report on how many inodes are being used and the number remaining. The output differs slightly from os to os but the base information should be there. Example output from FreeBSD 4.5 follows Filesystem 1K-blocks

RE: [PHP] PHP + ODBC on IIS (Win2k)

2002-02-26 Thread Andrew Hill
Ignacio, He can use Access and local ODBC just fine, as he is on a Windows box. Actually, the ODBC Socket server isn't needed from Linux either, as OpenLink provides Single-Tier and Multi-Tier ODBC drivers from *nix platforms to many databases. Best regards, Andrew Hill Director of Technology

RE: [PHP] Help needed with Sessions

2002-02-26 Thread William Lovaton
You can look at this articles too: http://www.phpbuilder.com/columns/mattias2312.php3 http://www.phpbuilder.com/columns/mattias2105.php3 William. El mar, 26-02-2002 a las 10:27, Johnson, Kirk escribió: Start here: http://www.php.net/manual/en/ref.session.php You will need to call

RE: [PHP] php - assigning date variables

2002-02-26 Thread joakim . andersson
I think you can't achieve this with the example you've provided. Perhaps something like this will work: query = ; mysql_query(SELECT * FROM table . $query ); query = WHERE date = '2001-01-01'; // This should return all rows with 2001-01-01 as date. query = WHERE date '1995-01-01'; // All items

Re: [PHP] Damned HTTP_HOST

2002-02-26 Thread Chris Hewitt
Dominique, You have a space after HTTP_HOST. I think HTTP_HOST should be HTTP_HOST Regards Chris Dominique van der Wal wrote: Hi, I'm trying to find the HTTP_HOST adress of my website. I've try the followings : $HTTP_HOST : nothing $ALL_HTTP[HTTP_HOST ] : nothing $_SERVER[HTTP_HOST ]

Re: [PHP] Apache is not parsing my php...sometimes...

2002-02-26 Thread DL Neil
Echoing/amplifying Torben's comment earlier: Private replies do not benefit others on the list (presumably with similar questions/learning need), nor do they end up in any archive. I did not feel the particular question added to the sum total of information so replied privately. I take the

Re: [PHP] CGI

2002-02-26 Thread Simon Willison
bvr wrote: Still this wouldn't prevent a visitor from passing something like : ../../../../bin/cat /etc/passwd bvr. Erk good point - I should have mentioned that it's a very good idea to run basename() on user input as well as this will knock off any directory paths they may have attempted

[PHP] is there an in qualifier in PHP?

2002-02-26 Thread Erik Price
I have a problem with some code (posted below), which I think I can solve using a method similar to that found in Python: if ($item in $potential_items) { // do one thing } else { // do another } Is there something like this available in PHP? Thank you, Erik If you wish to

Re: [PHP] header problem

2002-02-26 Thread Jim Lucas [php]
question, is this on a process page or on a page that renders text? Jim Lucas - Original Message - From: Michael P. Carel [EMAIL PROTECTED] To: george Pitcher [EMAIL PROTECTED] Cc: php [EMAIL PROTECTED] Sent: Monday, February 25, 2002 5:44 PM Subject: Re: [PHP] header problem Thank

RE: [PHP] is there an in qualifier in PHP?

2002-02-26 Thread Johnson, Kirk
http://www.php.net/manual/en/function.in-array.php Kirk -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 9:34 AM To: PHP Subject: [PHP] is there an in qualifier in PHP? I have a problem with some code (posted below), which I think

Re: [PHP] format text

2002-02-26 Thread Jim Lucas [php]
try nl2br() it converts \n into br Jim - Original Message - From: eoghan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 26, 2002 2:23 AM Subject: [PHP] format text hello i am looking for a way of formatting my text when i select it from mysql, looking for a

[PHP] Re: php, win32, xml bug?

2002-02-26 Thread J Wynia
If you happen to be running PHP on Windows, you can use the MSXML engine through it's COM interface. Unfortunately, I haven't seen any documentation on plugging any of the other engines into the new (for PHP4.1) XSLT API. So, I don't know of a solution on UNIX (most of my XSLT work is in a

[PHP] changing the http status from file not found to....

2002-02-26 Thread Ben Turner
I have a php site that I am working on and I am using a 404 page to display db contents. It works great in a web browser but it is still returning HTTP_STATUS_NOT_FOUND to a crawler when it crawls the site. Does anyone know if this can be changed from within the php to trick the crawler into

Re: [PHP] Damned HTTP_HOST

2002-02-26 Thread Jim Lucas [php]
there is always a way. $IP = $GLOBALS['SERVER_ADDR']; $IP = $GLOBLAS['HTTP_HOST']; $IP = $GLOBALS[HTTP_SERVER_VARS][HTTP_HOST]; do a print_r() on $HTTP_SERVER_VARS and see what you get or use this function ? function list_array ($array) { foreach($array AS $key = $value) { echo

Re: [PHP] Damned HTTP_HOST

2002-02-26 Thread Jim Lucas [php]
I should mention that if you HTTP_HOST resolves to a DNS entry, that is what gets displayed in the HTTP_HOST Jim - Original Message - From: Dominique van der Wal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 26, 2002 6:38 AM Subject: [PHP] Damned HTTP_HOST Hi, I'm

Re: [PHP] dynamic pulldown list generation help

2002-02-26 Thread Stewart G.
I got this to work, it list all file (type f) in the current directory, you can extend it further. $ls = split(\n, rtrim (`ls`)); print select name=\test\; while (list ($key, $value) = each ($ls)) { if (is_file ($value)) print option value=\$key\$value/option\n; } print /select; =S. On

[PHP] Valid characters for filenames. List available?

2002-02-26 Thread Andy
Hi guys, I am wondering if there is anywhere a list of characters which are not allowed in a unix file name. I gues somethin like ' or \ is not allowed, but what else? cheers Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] changing the http status from file not found to....

2002-02-26 Thread Ben Turner
I guess if anyone knows of a place, is there a source on the web that details the headers sent to the page for valid pages??? I checked php.net and nothing was there on the subject - Original Message - From: Ben Turner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 26,

[PHP] Re: How many files can be in one directory?

2002-02-26 Thread Philip Hallstrom
True, but by putting them in multiple directories if you ran out of room you could move one of those directories to a new disk/filesystem thereby making more room... On Tue, 26 Feb 2002, Andy wrote: So this means, that I can not increas the amount by splitting the files into more than 1

[PHP] RE: Option for Serial or Comm port communication with PHP?

2002-02-26 Thread Andrew Chase
I don't about accessing a serial port directly from PHP, but you can control an X10 Firecracker on a Linix/BSD system by using the exec() command to run BottleRocket: http://mlug.missouri.edu/~tymm/ I threw together a script that would turn a lamp on and off from a web page without to much

Re: [PHP] is there an in qualifier in PHP?

2002-02-26 Thread Stewart G.
if ($row['id'] in_array ($selected_users)) { // execute } =S. On Tue, 26 Feb 2002, Erik Price wrote: I have a problem with some code (posted below), which I think I can solve using a method similar to that found in Python: if ($item in $potential_items) { // do one thing } else {

RE: [PHP] magic_quotes_gpc

2002-02-26 Thread Gonzalez, Zara E
I don't know if anyone has answered your question yet, but you should be able to use the ini_alter command. http://www.php.net/manual/en/function.ini-alter.php Zara -Original Message- From: Tim Thorburn [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 12:40 PM To: [EMAIL

[PHP] socket_create()

2002-02-26 Thread Nathan Littlepage
Anyone having an issue with socket_create(AF_INET, SOCK_DGRAM, SOL_UDP) not working on a FreeBSD box? socket_create(AF_INET, SOCK_STREAM, SOL_TCP) work fine, just not udp.

[PHP] Curl: Reuse cookie vars

2002-02-26 Thread Tobias Talltorp
( Code at the bottom of the message) I logged in to a page, using the Curl-extension. I want to use the vars set in the cookie to continue being logged in and download another page. In regular Curl, I need to save the headers, containing the cookie information, to a file. In the next step I need

[PHP] HELP: PHP COM with Distiller

2002-02-26 Thread Kumar
Hi All, Installed Apache, PHP, Office and Adobe Distiller on Win2000 Professional. By using $pdf = new COM(pdfdistiller.pdfdistiller.1); $pdf-FileToPdf($psfile, , ); I am able to convert PS to PDF. In the same fashion I want to convert DOC, XLS and PPT to PDF format. Is that

Re: [PHP] Valid characters for filenames. List available?

2002-02-26 Thread Chris Hewitt
Andy wrote: Hi guys, I am wondering if there is anywhere a list of characters which are not allowed in a unix file name. I gues somethin like ' or \ is not allowed, but what else? cheers Andy My old Teach Yourself Unix book makes it: !@#$%^()[]'?\|;`+- space tab backspace though it says

[PHP] is PHP4.0.3 on a commercial webserver Justifiable ?

2002-02-26 Thread John Cuthbert
My Webhost, www.easily.co.uk wou.ld appear to be running PHP 4.0.3 even although PHP 4.1.1 is out. (www.jsa3d.co.uk/test.php) as you can see. I will be writing to them about this as I belive it is a factor leading to why i need to recode when going from my local server (php4.1.1 apache) to there

Re: [PHP] magic_quotes_gpc

2002-02-26 Thread Pete Lacey
Is your ISP running Apache? If so, they should allow you to create a .htaccess file. You can set all of PHP's ini parameters from there with the php_value/php_flag directives in PHP 4 or (in)directly using PHP 3. Like this: # PHP 4 php_flag magic_quotes_gpc on # PHP 3 php3_magic_quotes_gpc

Re: [PHP] is PHP4.0.3 on a commercial webserver Justifiable ?

2002-02-26 Thread Andrew Brampton
You have made a jusification why they should stick with PHP 4.0.3, because they might have to re-code alot, and their clients might have to recode alot!. Also their admins may work on the principle that if it works why change. Andrew - Original Message - From: John Cuthbert [EMAIL

Re: [PHP] Converting arrays

2002-02-26 Thread Gary
I am using date(B); http://www.php.net/manual/en/function.date.php that break 24 hours into 1000 beats I will still have to use timezone but break them into beats. Gary Stewart G. wrote: Why dont you just use timezones? =S. On Mon, 25 Feb 2002, Gary wrote: Simon Willison wrote: Gary

[PHP] cool PHP sites

2002-02-26 Thread Chris Lott
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It strikes me that my students really don't have a good grasp of what PHP is capable of doing, since they are getting bogged down in learning the minutiae of the language itself. So (quickly if possible-- I'd like to demo some sites tonight) what are

[PHP] Login to account

2002-02-26 Thread Ben Clumeck
I am trying to create website similar to ones that credit card companies use to provide their clients with transaction history of their credit cards. What I have seen is that they uses template pages and call the results from a database. When going to the different template pages would the

[PHP] Re: How to get information about the php installation

2002-02-26 Thread Ernie Dipko
phpinfo(); Andy [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi there, I saw on the website of my provider that he is displaying environment variables about his php installation. Not only the version with phpversion() but also about installed libraries

Re: [PHP] is PHP4.0.3 on a commercial webserver Justifiable ?

2002-02-26 Thread William Lovaton
Even... there are a lot of people still working with PHP 3 El mar, 26-02-2002 a las 13:44, John Cuthbert escribió: My Webhost, www.easily.co.uk wou.ld appear to be running PHP 4.0.3 even although PHP 4.1.1 is out. (www.jsa3d.co.uk/test.php) as you can see. I will be writing to them about this

Re: [PHP] is PHP4.0.3 on a commercial webserver Justifiable ?

2002-02-26 Thread John Cuthbert
Yes, clients _do_ have to recode to get compatible with there systems. Ah well, I'll see what they say :) Andrew Brampton [EMAIL PROTECTED] wrote in message 008901c1bef8$4cf55d40$2528260a@STUDENT5830">news:008901c1bef8$4cf55d40$2528260a@STUDENT5830... You have made a jusification why they

Re: [PHP] Valid characters for filenames. List available?

2002-02-26 Thread Erik Price
On Tuesday, February 26, 2002, at 01:34 PM, Chris Hewitt wrote: I am wondering if there is anywhere a list of characters which are not allowed in a unix file name. I gues somethin like ' or \ is not allowed, but what else? My old Teach Yourself Unix book makes it: !@#$%^()[]'?\|;`+-

[PHP] Re: is PHP4.0.3 on a commercial webserver Justifiable ?

2002-02-26 Thread Gary
John Cuthbert wrote: My Webhost, www.easily.co.uk wou.ld appear to be running PHP 4.0.3 even although PHP 4.1.1 is out. (www.jsa3d.co.uk/test.php) as you can see. I will be writing to them about this as I belive it is a factor leading to why i need to recode when going from my local server

RE: [PHP] cool PHP sites

2002-02-26 Thread Demitrious S. Kelly
well my site isn't 'big name' but it's got a very cool catch to it... it's got an ftp indexer that I'm developing. You submit an ftp site, and it logs onto the ftp, grabs all of the filenames and sizes, pops everything into a mysql database, which is searchable from a web page (located on the

[PHP] Re: PHP COM with Distiller

2002-02-26 Thread J Wynia
Don't have sample code handy, but you'd create a new Word, Excel or Powerpoint object (depending), and use the print methods of those objects to send it to Distiller. Kumar [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi All, Installed Apache, PHP,

[PHP] another GD question

2002-02-26 Thread Conor McTernan
two in two days, i must look like a real retard. anyway, i'm having another problem with GD now, it seems that when i create my image, if i specify too many pixels i.e. imagecreate(600, 2290) it will not create the image, just a blank file it's sort of hard to explain, but i'll try. i am

Re: [PHP] is PHP4.0.3 on a commercial webserver Justifiable ?

2002-02-26 Thread Tim Thorburn
Hi, Consider yourself lucky - my hosting company is still using 3.0.16. Even though at least once a month I complain about this bitterly (the client has already paid several years in advance so moving is not in the cards). They tell me that there are major security issues with PHP version 4

Re: [PHP] is PHP4.0.3 on a commercial webserver Justifiable ?

2002-02-26 Thread William Lovaton
Well, every version of every program have security issues, PHP 3 have security issues as well as PHP 4. Ask them for what specifics security problems are they talking about. William. El mar, 26-02-2002 a las 14:29, Tim Thorburn escribió: Hi, Consider yourself lucky - my hosting company

[PHP] Re: Login to account

2002-02-26 Thread Michael Kimsal
Ben Clumeck wrote: I am trying to create website similar to ones that credit card companies use to provide their clients with transaction history of their credit cards. What I have seen is that they uses template pages and call the results from a database. When going to the different

[PHP] php on PWS win Me

2002-02-26 Thread Sanj
Hi, Currently running Win Me with pws, want to run php purely for testing. Have just installed apace http://127.0.0.1 but need to turn off pws to make this work, I have downloaded the following binaries from php.net: PHP 4.1.1 zip package [4,953Kb] - 03 January 2002 and PHP 4.1.1 installer

[PHP] Dedicated hosting

2002-02-26 Thread PHP NY
Hi PHPers, If anyone is interested in a dedicated Linux/Apache/MySQL/PHP server for a not-so-expensive price, please contact me. __ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com -- PHP

  1   2   >