Re: [PHP] Cleaning pasted Word text

2002-10-29 Thread a . h . s . boy
Errr...I'm not sure how this is applicable to my situation. I'm concerned, above all, with converting curly double quotes curly single quotes em and en dashes inverted exclamation points inverted question marks ellipses non-breaking spaces registered trademark symbols bullets left and right

[PHP] Sessions Sessions. Lovely Sessions.

2002-10-26 Thread Mohamed S.
Ok. I've had to wrestle with some peculiar issues with my sessions... 1) If at any point, I give my session a name different than the default using session_name('XYZ'), my session won't be created. Is there a limit to the number of characters a session name can have? Capitalization? ANYTHING?

Re: [PHP] php and databases

2002-10-25 Thread John S. Huggins
On Fri, 25 Oct 2002, Tyler Durdin wrote: -Is there anyway to have php convert a database from mySQL to Access via a -webpage? I have a couple of people here who use Access to do mail merging -things with word and it would make my life a ton easier if I did not have to -convert the db's

Re: [PHP] mysql stored procedures

2002-10-11 Thread John S. Huggins
On Fri, 11 Oct 2002, electroteque wrote: -when is this being implemented ? Perhaps in version 4.1 of the MySQL server. Have a look near the bottom of this page... MySQL 4.1, the following development release http://www.mysql.com/products/mysql-4.0/index.html - - - --- -PHP General

Re: [PHP] PHP in crontab job

2002-10-11 Thread John S. Huggins
php. Make sure you really do have a php executable. This is what will compile if you do not specify any configuration directives during the ./configure process. Tell us how you do. - -Regards, -Sharat - - -_ -Join the world’s

[PHP] odbc_fetch_array function

2002-10-03 Thread Pascal S.
I have version 4.2.3 of PHP installed on a Windows server. I am new to PHP. I did find the function array odbc_fetch_array ( resource result [, int rownumber]) in the documentation, but it doesn't seem implemented in the version that I use. Do you know what I did wrong? Thanks, Pascal --

[PHP] LocalHost won't show PHP files

2002-09-26 Thread Serbinski, Theodore S
Hi. I've scoured the net, posted tons of forum threads, tried everything. I simply cannot get this to work, yet it should be so simple. I recently had our Admin guy install PHP as a CGI-binary on a Unix system. Apache 1.3.2 is also installed. He didn't install PHP as a Apache module because the

Re: [PHP] Adding to a MySql Database

2002-09-24 Thread John S. Huggins
On Tue, 24 Sep 2002, The New Source wrote: -I have a field on a MySql database that is started with a 0, and I want -to add 1 to this field every time a button is pressed on a form. So it -should add one every time, like if there is 5 and you press it one time -it would have 6. - UPDATE table

Re: [PHP] MySQL vs. basic text file

2002-09-23 Thread John S. Huggins
I was doing this too with good old AWK CGI scripts and text data files. Once I imported the data into MySQL I said, Well this is not much benefit. Then I started sorting. Then I accessed the information from a different application. Then I wrote a maintenance application so my customer could

[PHP] MD5 and Password Security?

2002-08-13 Thread John S. Huggins
On Wed, 14 Aug 2002, Robert Parker wrote: -On Tuesday 13 August 2002 10:57 am, you wrote: - MD5 encryption of passwords is secure since you do not need to decrypt the - password ever (in fact you can't). You just encrypt the password that the - user entered and check if the MD5 of each password

Re: Re[2]: [PHP] Credit Card suggestions

2002-08-13 Thread John S. Huggins
On Wed, 14 Aug 2002, Robert Parker wrote: -On Tuesday 13 August 2002 12:20 pm, you wrote: - Makes sense, except if you use upper and lowercase characters, - numbers, and symbols (as you should for secure passwords). I - would think that with these kind of passwords, storing the sheer - number of

Re: Re[2]: [PHP] Credit Card suggestions

2002-08-13 Thread John S. Huggins
On Wed, 14 Aug 2002, Robert Parker wrote: -On Tuesday 13 August 2002 12:20 pm, you wrote: - Makes sense, except if you use upper and lowercase characters, - numbers, and symbols (as you should for secure passwords). I - would think that with these kind of passwords, storing the sheer - number of

[PHP] Oracle 8i SQL Problem..

2002-07-28 Thread Frank S. Kicenko
Hi, This really isn't a PHP issue..sorry. I'm having a nightmare with Oracle 8i (pos!). I'm writing common SQL which works for MSSQL 2K and seems correct for Oracle... but keeps giving me a Error.. ORA-00933 SQL command not properly ended on the following query... SELECT grp.grpdescrip,

RE: [PHP] PHP / Apache 2.0.39 issues

2002-07-26 Thread Frank S. Kicenko
Yes I found it... thank you! -Original Message- From: Aaron Gould [mailto:[EMAIL PROTECTED]] Sent: Friday, July 26, 2002 9:56 AM To: Frank S. Kicenko; [EMAIL PROTECTED] Subject: Re: [PHP] PHP / Apache 2.0.39 issues Searching the list archives will reveal the answer. I've answered

[PHP] PHP / Apache 2.0.39 issues

2002-07-26 Thread Frank S. Kicenko
Hello again.. I have another compile problem, I'm wondering if someone can help me. I've built and installed Apache 2.0.39 and am recompiling PHP4.2.2. Below are the details.. ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib=/usr --with-oci8=`dbhome` Compiling... Entering

[PHP] Re: pg_pconnect() question

2002-07-26 Thread Sukumar .S
, you can just give trust for localhost and try whether you are able to connect to postgresql or not. -S. Sukumar I am trying to connect to postgre_sql database using pg_pconnect(). When I try to run it i get the following error Warning: Unable to connect to PostgreSQL server: FATAL 1: IDENT

Re: [PHP] Facing some problem with mySQL Installation

2002-07-25 Thread S.
Maybe it's a permission problem: if you read the installation procedure of MySQL, you can find that some file system permission modifies are required (you must modify the permissions of 2 or 3 file (or directories)); Have you chenged theese permission? S. Il 08:52, giovedì 25 luglio 2002

[PHP] Cookies

2002-07-24 Thread John S. Huggins
Say it is not so. I hear the PHP 4.2.2 will only set the last cookie delivered by a browser to a variable in the PHP environment. Is this true? ** John Huggins VANet [EMAIL PROTECTED] http://www.va.net/ ** -- PHP

Re: [PHP] Help with msql_fetch_array()

2002-07-24 Thread Phillip S. Baker
At 11:26 AM 7/24/2002 Wednesday, Martin Clifford wrote: Shouldn't it be: $result = mysql_query($sql, $link_id); Actually mysql_query should default to the last database connection opened if no link identifier has been specified. So the link identifier to not absolutely required. Phillip --

[PHP] Re: $HTTP_SERVER_VARS not accessible in Functions (fwd)

2002-07-22 Thread Sukumar .S
What is your PHP Version ? Try putting the global $HTTP_SERVER_VARS; print_r($HTTP_SERVER_VARS); in your custom function and check out what is it printing... -S. Sukumar I'm trying to access some settings in the $HTTP_SERVER_VARS[] array, but, within a custom function

Re: [PHP] is php.net down ?

2002-07-22 Thread John S. Huggins
They seem to be working on it. It comes up every few minutes so keep trying. I managed to sneak it just long enough to snag 4.2.2. On Mon, 22 Jul 2002, R'twick Niceorgaw wrote: -Hi guys, -any one else able to get into www.php.net ? - -I'm getting this - -Warning: main(geoip.inc) - No such

RE: [PHP] Windows NT Server, FORK, SOCKETS, and seperate processes

2002-07-22 Thread Demitrious S. Kelly
Yes. Write a daemon which listens on a socket and manages the communications it gets from the satellite scripts and works the database for them... The scripts send off data, and process replies. They don't do the heavy work... -Original Message- From: David Buerer [mailto:[EMAIL

RE: [PHP] Comma question

2002-07-22 Thread Demitrious S. Kelly
I think someone working on learning php after learning C was a little too printf() happy :) -Original Message- From: B i g D o g [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 3:34 PM To: PHP GEN Subject: [PHP] Comma question Tried to check the archive, but it is offline...

RE: [PHP] Formating datevariables...

2002-07-22 Thread Demitrious S. Kelly
Why not let mysql do it? It has a function do to exactly that, I think... But php's date() is the function you're looking for... -Original Message- From: Ragnar [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 4:42 PM To: [EMAIL PROTECTED] Subject: [PHP] Formating

Re: [PHP] rebooting linux using php

2002-07-18 Thread John S. Huggins
On Thu, 18 Jul 2002, Harpreet Kaur wrote: - -Can we reboot a linux server using a php page? Yes. -And is it recommended? No. - -Regards, -Harpreet Kaur - - -_ -Join the world’s largest e-mail service with MSN Hotmail. -http

[PHP] Segmentation fault with Sablotron xslt_process()

2002-07-17 Thread William S.
) ) { printf( Sablotron Error (%s): br /strong%s/strong, xslt_errno($_parser), xslt_error($_parser) ); } ob_end_clean(); xslt_free($_parser); echo $result; ? Starting program: /usr/sbin/httpd -X Program received signal SIGSEGV, Segmentation fault. __libc_free (mem=0x2) at malloc.c

[PHP] select multiple within for-each

2002-07-15 Thread William S.
This works OK with creating buttons but is not what I want. POST/INPUT xsl:for-each select=. . . xsl:sort/ form xsl:attribute name=namemyform/xsl:attribute xsl:attribute name=actionlist.php/xsl:attribute

Re: [PHP] select multiple within for-each (SOLVED)

2002-07-15 Thread William S.
Please disregard the previous posting I made. I figured it out. On Mon, Jul 15, 2002 at 10:52:23AM +0200, William S. wrote: This works OK with creating buttons but is not what I want. POST/INPUT xsl:for-each select=. . . xsl:sort/ form

[PHP] html entry within XML database

2002-07-13 Thread William S.
I am experimenting with using an XML file as a database. One of the things I do is provide a way of adding records to the database by an html form. This seems to work out well so far unless one of the fields in a record contains an html reference. The result is a Sablotron parse error. What is

[PHP] how to know upload progress status

2002-07-11 Thread S.
. For example I want the users can see 30% of upload completed, or the MByte just uploaded. I had some difficulties to write to the list, so I send the mail (with some modifies in the address) several times; I apologyze if many mails are sended to the list. Thanks for help...! S. In th file

Re: [PHP] Re: how to know upload progress status

2002-07-11 Thread S.
Thanks for informations, I'll try to work on a different approach, maybe analyzing the dimension of the temporary file during upload (if it is possible identify the temporary file and monitoring it with another script). Thanks for your help, S. Il 11:55, giovedì 11 luglio 2002, val petruchek

[PHP] Generate a file

2002-07-10 Thread Phillip S. Baker
Okay here is what I want to do. Select the field of a database that I want. Hit submit. Execute a query of a database based on the said form. Gather all the data and rows and plug them into an excel generated file. Display a dialogue box asking the user the save the file. The saved file being an

Re: [PHP] Development Tools

2002-07-10 Thread John S. Huggins
Dreamweaver has come along nicely. I have only dabbled at the MX version. Ultraedit, http://www.ultraedit.com/, has proven to be very nice at handling editing tasks of PHP, HTML, SQL, and hundreds of other languages. It can edit files via FTP which was useful to me years ago and continues to

[PHP] Scheduling tasks

2002-07-05 Thread Frank S. Kicenko
Hi, I couldn't find anything in the help files or the faq... but. Are there any scheduling fuctions with PHP? What I'm looking for is something functionally close to a crontab. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] svg graphics and php : is it possible

2002-07-03 Thread William S.
Perhaps this relates to the original question as an additional feature. What would be the best way to offer SVG content from the main opening page? Since SVG requires a browser that has the approprite plugin or a dedicated browser, is it better to create a hyperlink or maybe have the SVG

[PHP] using xsl:value-of select within form

2002-07-03 Thread William S.
I am able to do this: xsl:for-each select=alot of stuff form name=myform action = http:path to somewhere.php method=post input type=submit name=insert value=Boston//form /xsl:for-each But would like to do something like this: xsl:for-each

[PHP] imageellipse not working with gdlib2.0

2002-06-30 Thread William S.
Maybe I am just doing it incorrectly but I am unable to get anything displayed with imageellipse in gdlib2.0. Can anyone give me a simple php script to test it with? I am using php with Sablotron. Thank you. -- Bill Amsterdam, NL -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Incrementing a table cell

2002-06-28 Thread John S. Huggins
Table fubar ID, SomeNumber 1 456 2 123 3 3 4 4589 $query = UPDATE fubar SET SomeNumber = SomeNumber+1 WHERE ID = 2; Result Table fubar ID, SomeNumber 1 456 2 124 3 3 4 4589 On Fri, 28 Jun 2002, JJ Harrison wrote: -what is the best way to increment a mySQL

[PHP] gdlib list or galleries?

2002-06-27 Thread William S.
Is there a mailing list just dedicated to gdlib or any places that show a gallery with examples? I would be interested in seeing examples of images that are complex/artistic and beyond simple rectangles and boxes. -- Bill Amsterdam, NL -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Re: PHP and OOP

2002-06-27 Thread Demitrious S. Kelly
Comparison (do not compare the speeds between the versions of php as they are on different servers under different loads.) The only conclusion that I can draw from this so far is that different versions of php handle these situations differently, newer versions may handle OOP code better that

RE: [PHP] grabbing content of a web page...

2002-06-27 Thread Demitrious S. Kelly
File() or fgets() -Original Message- From: Kelly Meeks [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 12:54 PM To: [EMAIL PROTECTED] Subject: [PHP] grabbing content of a web page... Howdy, I know there has to be a way to grab output of an url on another site? Let's say you

RE: [PHP] PHP Session Idle Time

2002-06-27 Thread Demitrious S. Kelly
Save time as a session variable... and if current time minute time is greater than x seconds, then destroy the session and start over. -Original Message- From: Jefferson Cowart [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 2:13 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP

RE: [PHP] ok what kind of crack is my computer smoking?

2002-06-27 Thread Demitrious S. Kelly
You check and make sure the date was set right on the box? You could try make clean for everything before configuring... -Original Message- From: Rick Kukiela [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 2:10 PM To: [EMAIL PROTECTED] Subject: [PHP] ok what kind of crack is

RE: [PHP] ok what kind of crack is my computer smoking?

2002-06-27 Thread Demitrious S. Kelly
Whoa! Good idea! -Original Message- From: Kurth Bemis (List Monkey) [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 2:35 PM To: Demitrious S. Kelly Cc: 'Rick Kukiela'; [EMAIL PROTECTED] Subject: RE: [PHP] ok what kind of crack is my computer smoking? At 02:19 PM 6/27/2002

RE: [PHP] Re: PHP and OOP

2002-06-27 Thread Demitrious S. Kelly
greatly... its all situational. -Original Message- From: Demitrious S. Kelly [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 1:04 PM To: 'SP'; 'Remy Dufour'; 'Kondwani Spike Mkandawire'; [EMAIL PROTECTED] Subject: RE: [PHP] Re: PHP and OOP Comparison (do not compare the speeds

RE: [PHP] Re: PHP and OOP

2002-06-27 Thread Demitrious S. Kelly
I agree... its trivial when presented as is. But what would be the difference when you're doing quite a lot more with only 10 iterations? 100? That's something to think about... -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 5:21 PM To:

[PHP] appending to XML file before closing tag

2002-06-25 Thread William S.
This works pretty well to append content to an XML file. However, I need to keep the closing tag where it belongs: at the end of the file. This only appends to the end and doesn't work. I use ... $myecho = Hello World; $file_name = file.xml; $file_pointer = fopen($file_name, a);

Re: [PHP] appending to XML file before closing tag

2002-06-25 Thread William S.
Yes, that worked. Nice and effective solution. Thank you. On Tue, Jun 25, 2002 at 09:51:21AM -0400, Erik Price wrote: snip If you know for a fact that the ending tag for each file is consistent and always that same tag, here's an idea. Determine or specify the length of the ending tag

[PHP] Menu Selections Dynamic from a Database

2002-06-25 Thread Phillip S. Baker
Greetings All, Here is the problem I am trying to solve, I know it can be done but I am not clear on how to do it. I am generating an appointment application. And I want to dynamically populate pulldown menus from values in a DB. So if a person picks a day for an appointment in a pulldown

RE: [PHP] Menu Selections Dynamic from a Database

2002-06-25 Thread Phillip S. Baker
is client-side. If you need any code let me know. Good luck! -Natalie Yes I knew it was Javascript code, but I also thought PHP was needed to get the values from the DB. Either case I do need help with what the code might look like. Phillip -Original Message- From: Phillip S. Baker

Re: [PHP] Upgraded and now apache just dies

2002-06-21 Thread Billy S Halsey
Patrick, Try running it thus: truss -f apachectl start That should tell you where it's dying. [billy] -- /-=[ BILLY S HALSEY ]=--\ | Member of Technical Staff, Sun Microsystems, Inc. ESP Solaris SW | | All opinions and technical advice offered

Re: [PHP] Upgraded and now apache just dies

2002-06-21 Thread Billy S Halsey
that it is able to open the file, but not close it. Without seeing more, that's all I can really say. [billy] -- /-=[ BILLY S HALSEY ]=--\ | Member of Technical Staff, Sun Microsystems, Inc. ESP Solaris SW | | All opinions and technical advice offered

Re: [PHP] Upgraded and now apache just dies

2002-06-21 Thread Billy S Halsey
Oops, I spoke too quickly. The problem isn't with the close, it's with the door_info() syscall. Perhaps file descriptor 8 isn't a door ... [billy] -- /-=[ BILLY S HALSEY ]=--\ | Member of Technical Staff, Sun Microsystems, Inc. ESP Solaris SW

[PHP] Hex operations

2002-06-20 Thread Frank S. Kicenko
U... Does anybody know why this doesn't work... Example: $cap = 16383; $cap1 = dechex($cap); // cap1 is now equal to 3FFF; $bit = ($cap1 | 0x01); //bit should equal 3FFF, but it doesn't.. it is always = 3 !! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Hex operations

2002-06-20 Thread Frank S. Kicenko
I think the goofy variable is getting truncated (3FFF | 4) is returning 7 (4FFF | 4) is returning 8 -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 6:37 PM To: Frank S. Kicenko; [EMAIL PROTECTED] Subject: RE: [PHP] Hex operations

RE: [PHP] Hex operations

2002-06-20 Thread Frank S. Kicenko
sorry... (4FFF | 4) is returning 4 -Original Message- From: Frank S. Kicenko Sent: Thursday, June 20, 2002 7:34 PM To: Martin Towell; [EMAIL PROTECTED] Subject: RE: [PHP] Hex operations I think the goofy variable is getting truncated (3FFF | 4) is returning 7 (4FFF | 4

Re: [PHP] md5 php vs. md5 perl

2002-06-16 Thread John S. Huggins
On Sun, 16 Jun 2002, Danny Kruitbosch wrote: -Hi, - -I'm trying to rewrite a perl finction to php. The function uses Digest::MD5. - -PHP md5() returns a 32 char hex number. The perl Digest::MD5 function -returns a 16 char (ascii??) string. Can I also get this from PHP? If so -how do I do that?

[PHP] Beginning / and end of word / in eregi_replace

2002-06-14 Thread John S. Huggins
Can it be true that PHP does not implement the beginning and end of word syntax of regular expressions? In builing a bad word filter, I find this... $outstring = eregi_replace(badword$,goodword,$stringtocheck); will find an occurance of the 'badword' at the end of the string and replace it.

Re: [PHP] Beginning / and end of word / in eregi_replace

2002-06-14 Thread John S. Huggins
... - John Holmes... - -- Original Message - -From: John S. Huggins [EMAIL PROTECTED] -To: [EMAIL PROTECTED] -Sent: Friday, June 14, 2002 11:37 AM -Subject: [PHP] Beginning / and end of word / in eregi_replace - - - - Can it be true that PHP does not implement the beginning and end of word - syntax

[PHP] internationalization and gettext

2002-06-13 Thread a . h . s . boy
I developed a rather large and extensive PHP application for maintaining a news publishing site. All static text was, when I created it, written in English. Form field labels, long explanatory texts, navigational links, everything. The popularity of the application, however, has drifted

[PHP] Stylesheet to query an xml file

2002-06-12 Thread William S.
I am looking for an example or an explanation of how to set up a stylesheet so it will enable a user to query content in an XML file. For instance. Have an XML file with names and addresses and the user would be able to search for a name and get back a list of matches. This would need to work

[PHP] Running PHP script within stylesheet?

2002-06-10 Thread William S.
() // array parameters ) ) { printf( Sablotron Error (%s): br /strong%s/strong, xslt_errno($_parser), xslt_error($_parser) ); } xslt_free($_parser); echo $result; ? On Mon, Jun 10, 2002 at 02:23:21PM +0800, James wrote: It's quite easy to display

[PHP] Can a php script be placed within a stylesheet?

2002-06-10 Thread William S.
Can a php script be put within a stylesheet and work properly? If so, how? For instance, this script put inside an XSL stylesheet file: ?php $myvar = Hello World; echo $myvar; ? Then it is transformed into html via Sablotron. -- Bill

[PHP] ForceType hack with Apache 2?

2002-06-10 Thread a . h . s . boy
I've built an application framework in PHP that makes heavy use of the smart URL technique for passing variables, which works great with Apache 1.3.22. I have reports, however, that it breaks under Apache 2.x, and would like to verify whether or not anyone can confirm this. I'm using URLs to

[PHP] Running PHP script within stylesheet?

2002-06-09 Thread William S.
I am very new to PHP, Sablotron, XSLT, and MySql. Right now I have created a web page that is the result of a transformation (through php) of an xsl and xml file. What I would like to do is run a PHP script so that the result is displayed within a table on my web page. How do I do this? Here is

Re: [PHP] Sablotron broken in 4.2.1 ?

2002-06-08 Thread William S.
Thank you for the feedback. Sablotron is running fine now. Just had to do some modifications with my *.xsl file. Here is what I have going now with the implementation: http://213.84.71.105/ On Tue, Jun 04, 2002 at 10:57:45AM +1000, Tom Rogers wrote: hi I am using 4.2.1 and it works fine, I

[PHP] Sablotron broken in 4.2.1 ?

2002-06-03 Thread William S.
Is Sablotron broken in 4.2.1 because none of the transformations have worked that I have tried. I am using: php 4.2.1 apache_1.3.24 expat-1.95.2 my files are: 'wget http://213.84.71.105/news.xml' 'wget http://213.84.71.105/news.xsl' 'wget http://213.84.71.105/news.php'

Re: [PHP] .php3 extension?

2002-05-30 Thread John S. Huggins
Somewhere in the apache configuration file you will find something like this... IfModule mod_php4.c AddType application/x-httpd-php .php AddType application/x-httpd-php .php4 AddType application/x-httpd-php-source .phps /IfModule To include the old .php3 extension make it

RE: [PHP] POST Format

2002-05-29 Thread Demitrious S. Kelly
No you can do Index.php?name=apokalyptik[EMAIL PROTECTED]subscribe=n o ?php echo 'pre'; echo 'NAME: '.$name.chr(10); echo 'EMAIL:'.$email.chr(10); echo 'SUBSCRIBE:'.$subscribe; echo '/pre'; ? -Original Message- From: Jonathan Rosenberg [mailto:[EMAIL

RE: [PHP] Mail Archives

2002-05-29 Thread Demitrious S. Kelly
Archives of the mailing list are available here: http://news.php.net/ Tutorials (good as books) check www.zend.com, www.hotscripts.com and www.phpbuilder.net (com?org?) -Original Message- From: Natarajan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 6:40 PM To: PHP Subject:

Re: [PHP] simple array question

2002-05-27 Thread Billy S Halsey
Jose, Try this: for ($i = 0; $i $whatever; $i++) { $myArray[] = // ... } /bsh/ Jose Jeria wrote: in javascript i can build an array doing like this: for(i=0; i whatEver.length; i++){ myArray[myArray.length] = // } What is the equivalent to this in PHP? Is this the only

Re: [PHP] PhP, mysql and pictures

2002-05-27 Thread John S. Huggins
On Mon, 27 May 2002, Ragnar wrote: -Is it possible to display images in a browser that are stored as a blob -column in a mysql table? Or is it better to store images in a direcotory and -display them from there? IMHO it is better to let a file system store the image files and let MySQL

Re: [PHP] How to simultaneously send HTML *and* start download?

2002-05-21 Thread Billy S Halsey
/ -- /-=[ BILLY S HALSEY ]=--\ | Member of Technical Staff, Sun Microsystems, Inc. ESP Solaris SW | | All opinions and technical advice offered in this message are my | | own and not necessarily endorsed by my employer. | \--=[ [EMAIL PROTECTED

[PHP] dtcm interface?

2002-05-20 Thread Billy S Halsey
that to interface with it. (If I'm wrong, please let me know!) Thanks in advance for your help. /bsh/ -- /-=[ BILLY S HALSEY ]=--\ | Member of Technical Staff, Sun Microsystems, Inc. ESP Solaris SW | | All opinions and technical advice offered in this message

Re: [PHP] Compiling PHP on Solaris 7

2002-05-15 Thread Billy S Halsey
] -- /-=[ BILLY S HALSEY ]=--\ | Member of Technical Staff, Sun Microsystems, Inc. ESP Solaris SW | | All opinions and technical advice offered in this message are my | | own and not necessarily endorsed by my employer. | \--=[ [EMAIL

Re: [PHP] How to stop site flipping?

2002-05-13 Thread John S. Huggins
If they reveal themselves in the AGENT info of each web request, you could act on that accordingly in your PHP code by looking at the REQUEST_AGENT variable. I use this tactic to prevent web sucking programs from access my site all at once. On Mon, 13 May 2002, David McInnis wrote: -I have

[PHP] fsockopen, and remaining data in buffer

2002-05-09 Thread Demitrious S. Kelly
for the help! - -- Demitrious S. Kelly -- Eagle Networks

Re: [PHP] adding 60 to a date

2002-05-07 Thread John S. Huggins
On Tue, 7 May 2002, Scott St. John wrote: -Morning - -I am working on a password aging system that will force a user to change -their password every 60 days. Can anyone recommend the best method for -taking the current date and adding 60 days to that number? Should I do a -unix

Re: [PHP] date wierdness

2002-05-03 Thread John S. Huggins
Long ago I saw this same thing and never did resolve it since the easier solution is to let MySQL format the date for you using DATE_FORMAT. Formatting the date using PHP tools from data derived from a query will just drive you nuts. There is some kind of thing that MySQL and PHP don't agree on

Re: [PHP] Create Picture Thumbnails On the gly with PHP

2002-05-03 Thread John S. Huggins
ImageMagic works pretty well. You invoke their command line programs using the shell capabilities of PHP. convert is the particular command you want. On Fri, 3 May 2002, simos wrote: -Hi - -My Hosting Provider has'nt the GD lib in PHP enabled. Are threre any alternative to create jpg

Re: [PHP] Another doubt in Solaris-PHP install

2002-05-03 Thread Billy S Halsey
Emiliano, Make sure that /usr/ccs/bin is in your path. That's where ar(1) lives. /bsh/ Emiliano Marmonti wrote: Hi people, I've downloaded gcc package, make package and libtool package for proper compiling. I have finished the config process. When I try to make appears: libtool: ar not found

Re: [PHP] newbie problem under Solaris

2002-04-30 Thread Billy S Halsey
- Emiliano H.Marmonti Informático Módulo de Bibliotecas Programa SIU Ministerio de Educación de la Nación -- /-=[ BILLY S HALSEY ]=--\ | Member of Technical Staff, Sun Microsystems

Re: [PHP] Include Files self aware?

2002-04-30 Thread Billy S Halsey
-- /-=[ BILLY S HALSEY ]=--\ | Member of Technical Staff, Sun Microsystems, Inc. ESP Solaris SW | | All opinions and technical advice offered in this message are my | | own and not necessarily endorsed by my employer. | \--=[ [EMAIL PROTECTED

[PHP] searching terms non adjacent

2002-04-24 Thread Jenice S. Tate
What's the best programming method to use to search terms that are non adjacent? -- Jenice S. Tate, Systems Administrator MS Dept. of Archives History Archives Library Division - Computer Support Phone: (601) 359-6900 Fax: (601) 359-6964 -- PHP General Mailing List (http://www.php.net

Re: [PHP] bulletin board algorithm in php - how to write one?

2002-04-24 Thread John S. Huggins
Recursion is the way I manage this in my forum script. The database table for a particular forum topic does not have any concept of threads in the field data. Each message only knows who its parent is. If the parent ID = 0, then I know this is the first message of a virtual thread. Have a

[PHP] List, Key, Value oh my.

2002-04-23 Thread John S. Huggins
I have a problem. I am fetching rows from a MySQL table called temp. Each row has four fields: Name, 1, 2 and 3 Then I do this function which will eventually generate records for a lookup table for any skills in the 1, 2 or 3 fields that equal the string YES associated with the Name (right

Re: [PHP] List, Key, Value oh my.

2002-04-23 Thread John S. Huggins
not Name. On Tue, 23 Apr 2002, John S. Huggins wrote: - -I have a problem. - -I am fetching rows from a MySQL table called temp. Each row has four -fields: Name, 1, 2 and 3 - -Then I do this function which will eventually generate records for a -lookup table for any skills in the 1, 2 or 3 fields

Re: [PHP] List, Key, Value oh my.

2002-04-23 Thread John S. Huggins
value of Name is zero. Try using === to compare type as well -as value. - -miguel - -On Tue, 23 Apr 2002, John S. Huggins wrote: - I forgot to show you some output from this thing... - - ---{0,BLOW, JOE}---Name is BLOW, JOE, Key = 0 | - ---{Name,BLOW, JOE}---Name is BLOW, JOE, Key = Name | - ---{1

RE: [PHP] Within the date format

2002-04-19 Thread Demitrious S. Kelly
Wouldn't it be easier to convert each date into a unix timestamp, then subtract... the resulting number is the difference in seconds. Then devide by 60 for minutes, again for hours 24 for days, etc, etc -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Friday,

RE: [PHP] Within the date format

2002-04-19 Thread Demitrious S. Kelly
++; $refy++; $refy++; $refy++; } return($leap); } -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 8:52 AM To: Demitrious S. Kelly Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Within the date format

RE: [PHP] Within the date format

2002-04-19 Thread Demitrious S. Kelly
Whatever works And the function works fine for any year after 2000 Besides... it was just a quick and dirty example -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 9:14 AM To: Demitrious S. Kelly Cc: [EMAIL PROTECTED] Subject: RE: [PHP

Re: [PHP] Nasty DoS in PHP | Windows only?

2002-04-18 Thread Billy S Halsey
the mailing list archive to find it) and at the time got more of a congratulatory salute from the list members than any real responses :) Maybe this is more of a PHP-on-IIS issue than an actual security issue in PHP. Jason -- /-=[ BILLY S

RE: [PHP] Forms in PHP

2002-04-18 Thread Demitrious S. Kelly
Use an array input type=hidden name=itemid[] value=11/input input type=hidden name=itemid[] value=22/input input type=hidden name=itemid[] value=33/input $numberofitemids=count($itemid); echo $itemid[0]; // == 1 echo $itemid[1]; // == 2 echo $itemid[2]; // == 3 cheers -Original

RE: [PHP] Directory

2002-04-18 Thread Demitrious S. Kelly
Use the dir class -Original Message- From: Jeroen Timmers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 4:57 AM To: [General] Subject: [PHP] Directory Hello, can i read a directory for files and other directory's with a php function for exameple d:\localhost\ had the

[PHP] accessing raw post data

2002-04-15 Thread Stuart S
I'm trying to access data sent to PHP script via POST. But I can't seem to find any documentation on how to do this. Only $HTTP_POST_VARS, but that's not what I want. Anyone know how? Thanks Stuart Schoneveld www.xs4all.nl/~stuartmx -- PHP General Mailing List (http://www.php.net/) To

[PHP] WDDX

2002-04-13 Thread Stuart S
Hello List, I want to use WDDX in PHP but I don't have access to the WDDX module. Does anyone know if there is WDDX serializer/deserializer written in PHP? I've been working on one for about a day now, and it works pretty sweet. I'm relatively new to PHP and don't trust using it in commercial

[PHP] Output to system printer

2002-04-12 Thread Bruce S. Garlock
I have a script which, when modified or added, automatically prints out to a system printer that I define. Here is some sample code: $job_desc=urldecode($job_desc); define(PRINT_CMD, lpr -Pis ); $prt = -\n; $prt .= | $type DRAWDOWN REQUEST |\n; $prt .=

Re: [PHP] the document contained no data

2002-04-11 Thread Phillip S. Baker
At 10:33 PM 4/11/2002 Thursday, Phieu Huynh wrote: I also try the following code and still have the same problem. I am runing php4.0.?, solaris(linux) $dir_name = /export/home/phuynh/php/main/student/upload/; $dir = opendir($dir_name); while (false !== ($file_names = readdir($dir))) {

Re: [PHP] Adding a in try.jpg!

2002-04-08 Thread Billy S Halsey
. Thanks, T. Edison Jr. __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- /-=[ BILLY S HALSEY ]=--\ | Member of Technical Staff, Sun Microsystems, Inc. ESP

[PHP] Multiple Selection Menu Dilemma

2002-04-06 Thread Phillip S. Baker
\toption value=\%s_%s\%s%s/option\n, $pos_id, $rec[0], $selected, $rec[1]); } echo TTT . '/select' . B; echo TTT . '/td' . B; trc(); Now my problem is with the multiple feature of the drop down menu. The first query to the db resulting in the $query variable may

<    2   3   4   5   6   7   8   9   10   >