[PHP] Problem with special characters

2002-03-24 Thread N. Pari Purna Chand
When a form is submitting data to another php page it is sending specialcharacters with escape sequences added. Ex : Input type=text value=c:\programfiles\ name=var1 when i do an echo $var1; in the submitted php page it is showing c:\\programfiles\\ instead of c:\programfiles\ Howto overcome

[PHP] test...

2002-03-24 Thread Liam
24/03/2002 8:34:40 PM Umm, is it just me or has there been no traffic on this list for the last 2 hours Weird -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Adding Text Input in a SELECT drop-down list

2002-03-24 Thread Mika Tuupola
On Sat, 23 Mar 2002, Andre Dubuc wrote: OPTION SELECTEDState OPTIONAL OPTIONAZ OPTION// and so on I would like a text input as the last option so that a user can type in a state (non-USA) and have this variable passed

[PHP] urldecode adds slashes 3 times on a single quote. Why?

2002-03-24 Thread Andy
Hi there, I want to transfer a message back to the form if an error occures. Therefore I am encoding the message and afterwards decoding. Works fo far with one exeption. The single quote is slashed 3 times. Example: $message = That's great! Code: example.php?message=.urlencode($message).

[PHP] How to reduce an array to n values?

2002-03-24 Thread Andy
Hi there, I am trying to reduce an array to n values if it is more than n values. eg. $level_depth = 3; $test = array('banana', 'super', 'php', 'car'); # some array function which is deleting the last item ( car) if existant Thanx for any help, Andy -- PHP General Mailing List

php-general Digest 24 Mar 2002 12:30:38 -0000 Issue 1245

2002-03-24 Thread php-general-digest-help
php-general Digest 24 Mar 2002 12:30:38 - Issue 1245 Topics (messages 89866 through 89906): PHP Developer's Cookbook, Second Edition 89866 by: Craig Westerman 89874 by: Thalis A. Kalfigopoulos 89882 by: Egon Schmid Still REG EX 89867 by: John Fishworld

RE: [PHP] How to reduce an array to n values?

2002-03-24 Thread Jacob Wyke
Use array_slice(). $output = array_slice ($input, 0, 3); will return the first three values of the array. Check out http://www.php.net/manual/en/function.array-slice.php for more details. -Original Message- From: Andy [mailto:[EMAIL PROTECTED]] Sent: 24 March 2002 12:31 To: [EMAIL

[PHP] storing PDF in a database

2002-03-24 Thread Alain DESEINE
Hello, For many different reasons, like security ans soùme other one, i need to store PDF files in a database. - Does anybody have already do this ? - What kind of field type should i use (image filed type ???) ? I'm currently using an ASE 12 (64 bits) SYBASE server on a HP-UX 11.00 (64

Re: [PHP] How to reduce an array to n values?

2002-03-24 Thread Andy
^thanx. Jacob Wyke [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Use array_slice(). $output = array_slice ($input, 0, 3); will return the first three values of the array. Check out http://www.php.net/manual/en/function.array-slice.php for more

[PHP] DOMXML and encodings (php4.1.2, libxml2.4.16)

2002-03-24 Thread Lucky
Hello all, I have a little problem with encodings with libxml2 resp. domxml in php. In our site we're storing articles as XML, ISO-8859-1 encoded (indicated in xml-header). Libxml2 is doing all the internal processing in UTF-8, so the article gets translated to UTF-8. But when I do an xmltree()

[PHP] HELP! Open HTTPS://, and follow rediect header

2002-03-24 Thread Zlutarch G.
Hi All, I need help on two problems: 1) Is there a PHP function similar to fopen() that would open URL begins with https://;, i.e., SSL address? 2) Does anyone know if it is possible in PHP to read redirect instructions in HTTP header, and then follow the links? Thanks in advance, Zlu

RE: [PHP] Retreiving website contents

2002-03-24 Thread Craig Westerman
http://curl.haxx.se/libcurl/php/examples/ -Original Message- From: Liam [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 23, 2002 9:57 AM To: [EMAIL PROTECTED] Subject: [PHP] Retreiving website contents Hi, I've asked this before but I'm still ost. How can I receive the contents of 

[PHP] Re: DOMXML and encodings (php4.1.2, libxml2.4.16)

2002-03-24 Thread Stefan Livieratos
Hi Lucky wrote: Hello all, I have a little problem with encodings with libxml2 resp. domxml in php. In our site we're storing articles as XML, ISO-8859-1 encoded (indicated in xml-header). Libxml2 is doing all the internal processing in UTF-8, so the article gets translated to UTF-8. But

[PHP] Re: HELP! Open HTTPS://, and follow rediect header

2002-03-24 Thread Stefan Livieratos
Hi, Zlutarch G. wrote: Hi All, I need help on two problems: 1) Is there a PHP function similar to fopen() that would open URL begins with https://;, i.e., SSL address? fopen(https://...;) is working with current CVS but is not going to be in a release before version 4.3. For now you can

Re: [PHP] Problem with special characters

2002-03-24 Thread Jason Wong
On Sunday 24 March 2002 17:51, N. Pari Purna Chand wrote: When a form is submitting data to another php page it is sending specialcharacters with escape sequences added. Ex : Input type=text value=c:\programfiles\ name=var1 when i do an echo $var1; in the submitted php page it is showing

[PHP] Re: PHPTriad Error in Windows XP.

2002-03-24 Thread Avdija A . Ahmedhodzic
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Hi, I installed PHPTriad under Windows XP and I keep gettting the following error: Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in C:\apache\htdocs\phpmyadmin\lib.inc.php on line 255

RE: [PHP] Stripslashes addslashes question ...

2002-03-24 Thread Johnson, Kirk
Have you echo'd the variables before the addslashes() call, to be sure that the stripslashes() call is being executed? Kirk -Original Message- From: John Kelly [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 23, 2002 12:59 AM To: [EMAIL PROTECTED] Subject: [PHP] Stripslashes

[PHP] Re: test...

2002-03-24 Thread Avdija A . Ahmedhodzic
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... 24/03/2002 8:34:40 PM Umm, is it just me or has there been no traffic on this list for the last 2 hours Weird people write less on weekdays. Poz! -- Prevencija putem edukacije http://www.narkomanija.com/ -- PHP

[PHP] forms and inputs

2002-03-24 Thread Vlad Kulchitski
Hi, Can anyone suggest anything regarding the following problem. Basically, I ask the user to type a few sentences, in input type=text name=name and on the next page I show everything s/he typed asking Are you sure you want to submit this... Once clicked YES all data is being taken to the

[PHP] Rebuilding PHP4 with IBM DB2 Support Causes Apache to Die Upon Restart

2002-03-24 Thread Derek Battams
Currently I have Apache and PHP4 (using the Apache module for PHP4) working just fine on my server. However, the RPMs I installed for mod_php4 didn't include IBM DB2 support. So I took the source RPM and modified it by simply adding the following line to the spec file: --with-ibm-db2 I

[PHP] socket functions and singnals

2002-03-24 Thread Michael Govorun
Socket functions, such as socket_read(), socket_accept() blocking signal handling in php-processes. Is it bug? Is there any way to use signals and socket_accept() together? Please, help! -- Michael Govorun -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] forms and inputs

2002-03-24 Thread S
Your input tag should look like this: input type=text name=myvariable value=Hello my name is Vlad -Original Message- From: Vlad Kulchitski [mailto:[EMAIL PROTECTED]] Sent: March 24, 2002 1:39 PM To: [EMAIL PROTECTED] Subject: [PHP] forms and inputs Hi, Can anyone suggest anything

Re: [PHP] How to reduce an array to n values?

2002-03-24 Thread [-^-!-%-
Use array_pop. See the manual. -j __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com -+___+- On Sun, 24 Mar 2002, Andy wrote: Hi there, I am trying to reduce an array

[PHP] rpm -ba php.spec fails

2002-03-24 Thread David McInnis
I am using RPM 4.0.2 on the YellowDog 2.1 Distro. rpm -b php.spec yields the following: [root@cpdev1 SPECS]# rpm -b php.spec -b: unknown option Is there something wrong with my version of RPM? When I type, rpm -ba php.spec, I get nothing but the following: output

[PHP] Creating table in mySQL db

2002-03-24 Thread Piotr Skorupski
Hello Is there a way to create a teble in mySQL database by PHP?

Re: [PHP] How to reduce an array to n values?

2002-03-24 Thread Thalis A. Kalfigopoulos
Use array_splice or better array_slice. array_slice($orig_array,0,n); cheers, --t. On Sun, 24 Mar 2002, [-^-!-%- wrote: Use array_pop. See the manual. -j __John Monfort_ _+---+_ P E P I E D E S I G N S

RE: [PHP] forms and inputs

2002-03-24 Thread Vlad Kulchitski
Hi continuing with the same issue I just found another bug in my code. Basically I have a script myfile.php, based on codition it goes through submit process STEP 1 through 4. It takes along the values it has collected via: form input type=hidden name=name /form And so on, on the final

Re: [PHP] forms and inputs

2002-03-24 Thread [-^-!-%-
You need to add quotes ( ) arround the PHP variable that displays your text. In your case, it should be something like: ?php echo $text; ? -john On Sun, 24 Mar 2002, Vlad Kulchitski wrote: Hi, Can anyone suggest anything regarding the following problem. Basically, I

[PHP] Displaying a 2 column html table with N elements

2002-03-24 Thread Marc Andre Paquin
Hello, I am trying to display a HTML table of 2 cells with n elements... This means an unknown number of lines. I need to use 2 FOR loops (one to determine the number of TR and one to create the 2 cells needed). This is a bit to overwellming for me... I have: $result = connect_db(select

Re: [PHP] Creating table in mySQL db

2002-03-24 Thread TV Karthick Kumar
Hi, That's very simple. All you have to do it, connect to the mysql on the host and then execute the 'create table..' querty, that's all... You can find good tutorials at webmonkey.com and devshed.com.. and lot more Hope this helps. Hth, Karthick - Original Message -

[PHP] Re: PHP and xEmacs

2002-03-24 Thread Gunter Ohrner
Gunter Ohrner wrote: I use psgml-html and Turadg Aleahmad's php-mode 1.0.2 (I just tried it with Fred Yankowski, too, getting excactly the same results) and tried to combine both using mmm-mode 0.4.7. So far it does work, however I cannot indent the embedded php-code at all... :-( Pressing

[PHP] Problem ?

2002-03-24 Thread ren
if I through the proxy server view our Php website ,sometime I got proxy error page. The message is 64 The specified network name is no longer available ,when I refresh it will be ok. if I do not through the proxy,I never got error. Anyidea ? Thanks Jim

Re: [PHP] forms and inputs

2002-03-24 Thread Jason Sheets
As the previous poster said you need to have around your value in your input tag Instead of input type=text name=fname_eng size='20' maxlength='18' value=Jason J you need to be using input type=text name=fname_eng size='20' maxlength='18' value=Jason J Otherwise the browser is only displaying

RE: [PHP] Creating table in mySQL db

2002-03-24 Thread Demitrious S. Kelly
http://www.apokalyptik.com/ftp/src/bin/ftp_indexer.phps look at the Create table sql queries I used... -Original Message- From: Piotr Skorupski [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 24, 2002 11:59 AM To: [EMAIL PROTECTED] Subject: [PHP] Creating table in mySQL db Hello Is

RE: [PHP] forms and inputs

2002-03-24 Thread S
You have to put quotes around the value or else you won't get anything pass the space. WRONG: input type=hidden name=fname_eng value=Bob J. RIGHT: input type=hidden name=fname_eng value=Bob J. -Original Message- From: Vlad Kulchitski [mailto:[EMAIL PROTECTED]] Sent: March 24, 2002

Re: [PHP] Image Manipulation/GD support

2002-03-24 Thread Richard Archer
At 8:17 PM -0800 23/3/02, Rasmus Lerdorf wrote: failing. I use gd2 these days because the 8-bit limitation of gd1 just sucks. You can find my simple gd2 instructions here http://www.php.net/~rasmus/gd.html I found that enabling GD and freetype support in php-4.1.2 was not this simple.

[PHP] upload forms, how much was uploaded before upload fails..

2002-03-24 Thread Gerhard Hoogterp
Hello all, I'm still having problems uploading BIG files (15MB and more) Is there a way to find howmuch data was uploaded before the connection was broken? For some weird reason no browser has a half decent user feedback if it come to upload forms. Gerhard -- ICQ: 4502226 -- PHP

Re: [PHP] upload forms, how much was uploaded before upload fails..

2002-03-24 Thread Rasmus Lerdorf
You'll probably need PHP 4.2 for uploads that big to work well. Before 4.2 uploads were buffered in ram, so no, you have no way to recover a broken upload. On Sun, 24 Mar 2002, Gerhard Hoogterp wrote: Hello all, I'm still having problems uploading BIG files (15MB and more) Is there a way

RE: [PHP] Using EditPlus with PHP

2002-03-24 Thread Martin Towell
Doesn't look like anyone's replied to this... I just have a button with the following parameters Menu Text: Parse w/ PHP4- I have a Parse w/ PHP3 and Parse w/ PHP-GTK :) Command: C:\Program Files\httpd\php\php.exe Argument: $(FilePath) Initial directory: $(FileDir) and I have the

[PHP] The CGI open source foundry needs members - Reedited

2002-03-24 Thread David Duong
Is their anyone who would like to join the CGI Open Source Foundry (COSF)? COSF will be a CGI foundry that produces scripts from: - The existing projects of its members (which means if you have a project in the works which was supposed to be finished a year ago right before you started on the

Re[2]: [PHP] Using EditPlus with PHP

2002-03-24 Thread Mantas Kriauciunas
Hey PHP General List, I have problem also with editplus. Well i have same as Martin has but i get warning = Unable to load dynamic library 'c:\web\php\extensions/php_java.dll' - The specified modyle could not be found. But what is interesting that php_java.dll is in the place in that directory

[PHP] header and session?

2002-03-24 Thread bob
1.php?2.php session_start(); session_start(); .. .. $_SESSION['a'] =$a; echo $_SESSION['a']; $_SESSION['b'] =$b; echo

[PHP] Retrieving POP mail

2002-03-24 Thread Kearns, Terry
The documentation for the IMAP functions is, er, virtually non-existent. I'm not looking to read several sets of RFCs - all I want to do it check a POP account on Exchange for messages and retrieve them. Does anyone know if there is a tutorial on this somewhere? [TK] -- PHP General Mailing

[PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-24 Thread Dale Lora Marshall
Hello all. I have a PHP script which retrieves records from a database, and one field in the record is the path to an image. I want to do things with this image: See what it's size (pixes) is Resize it if necessary Move it to a different location Can someone give me an idea on how to do

RE: Re[2]: [PHP] Using EditPlus with PHP

2002-03-24 Thread Martin Towell
try mucking around with the include path in php.ini I've managed to get it to work, but then I've got to change it for other reasons, then I can't remember how I had it before - next time I'll have to remember to just comment out the line and create a new one... -Original Message- From:

[PHP] Non-Cache in forms?

2002-03-24 Thread eric.coleman
Alright, When I submit a form, and shoot out an error, such as Please fill in email address and then send them back to the form, the form seems to be blank... Why? What is happening that the form isn't keeping the previously posted data? My error function looks like so function

Re: [PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-24 Thread Dale Lora Marshall
I guess I should clarify. If the image that's referenced in the database is, for example, 700x300, I want to reduce it to 600 pixels wide, keeping the height proportional. Then, save that image to a new name somewhere else in the filesytem. Then I want to reduce the image further to 300

Re: [PHP] Retrieving POP mail

2002-03-24 Thread Rasmus Lerdorf
Did you read php.net/imap_open ? On Mon, 25 Mar 2002, Kearns, Terry wrote: The documentation for the IMAP functions is, er, virtually non-existent. I'm not looking to read several sets of RFCs - all I want to do it check a POP account on Exchange for messages and retrieve them. Does

[PHP] PHP - hosting tips

2002-03-24 Thread Rudi Starcevic
Hi friends, Here at work we are gearing up to host PHP applications. Could anyone point me towards some tips on PHP hositng ? I'm interested in preparing my PHP server so that it is as secure as possible. Thanks Kind regards Rudi Starcevic. -- PHP General Mailing List

[PHP] what's undefined index ?

2002-03-24 Thread Kai Schaetzl
When I enable display of warnings I get an undefined index warning instead of an undefined variable for some variables. Why and what's the difference? Warning: Undefined index: KundeRemark in C:\Server\www\conadmin\admin-beta\lib\kunden_functions.inc on line 138 Warning: Undefined variable:

php-general Digest 25 Mar 2002 00:32:21 -0000 Issue 1246

2002-03-24 Thread php-general-digest-help
php-general Digest 25 Mar 2002 00:32:21 - Issue 1246 Topics (messages 89907 through 89951): Re: How to reduce an array to n values? 89907 by: Jacob Wyke 89909 by: Andy 89923 by: [-^-!-%- 89926 by: Thalis A. Kalfigopoulos storing PDF in a database

RE: [PHP] what's undefined index ?

2002-03-24 Thread Martin Towell
undefined variable is when you try to use a variable before you set it, eg $foobar undefined index is when you try to reference an array index before you set it, eg $foobar[10] -Original Message- From: Kai Schaetzl [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 11:31 AM To:

[PHP] Re: [PHP-DEV] Resume of my problem

2002-03-24 Thread Zak Greant
On March 25, 2002 01:50, you wrote: HI, I have a functino write in c, like as: void addvalue ( int a, int b, int *c ) { *c = a + b; } in php ? phpinclude (alexlib); addvalue ( 1, 2, c ); print ( Value c = $c ); ? what the procedure to make this ?

[PHP] mcrypt kills Apache children

2002-03-24 Thread Thalis A. Kalfigopoulos
I have PHP4.1.2 with libmcrypt4.2.22. I had a script that worked just fine yesterday testing an mcrypt scenario, and (of course) today it just kills the httpd serving the page and I get this in error_log: [Sun Mar 24 08:31:36 2002] [notice] child pid 1049 exit signal Segmentation fault (11)

[PHP] Why?

2002-03-24 Thread Alberto Wagner
Why everyone uses $foo or $foobar as examples? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why?

2002-03-24 Thread Zak Greant
On March 31, 2002 04:39, Alberto Wagner wrote: Why everyone uses $foo or $foobar as examples? http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?query=foo --zak -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Retrieving POP mail

2002-03-24 Thread Kearns, Terry
Did you read php.net/imap_open ? I only just found this. I've been going through the functions and there a so many of them (a good thing) that I couldn't find the information I needed. Now that I have read the imap_open() function, I feel a bit silly about saying the doco is sparse. Now I'm

[PHP] Text Editor

2002-03-24 Thread Hiroshi Ayukawa
Hello, What text editor do you use to write PHP? I use Maruo editor http://www.ac.wakwak.com/~tetsuyat/maruo/ more than 1 year. Is there any better text editor for PHP? Thanks, Hiroshi Ayukawa http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php?type=top -- PHP General Mailing List

RE: [PHP] Why?

2002-03-24 Thread Martin Towell
could also use $blah, $test, $temp, $xxx, etc, but it's what a lot of are used to, I guess -Original Message- From: Zak Greant [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 12:16 PM To: Alberto Wagner; Php General Mailling List Subject: Re: [PHP] Why? On March 31, 2002

Re: [PHP] [NEWMAN] Why?

2002-03-24 Thread Philip J. Newman
Good good question? - Original Message - From: Alberto Wagner [EMAIL PROTECTED] To: Php General Mailling List [EMAIL PROTECTED] Sent: Sunday, March 31, 2002 2:39 PM Subject: [PHP] Why? Why everyone uses $foo or $foobar as examples? -- PHP General Mailing List

[PHP] problem with multiple cookies, PHP, and proxypass under apache

2002-03-24 Thread Vincent Cunniffe
Hi, I have an apache server which is configured to pass some requests through to a secondary, chrooted apache server. For each virtual domain that passes through, I have an entry in httpd.conf which looks like : ProxyPass / http://domain.hosted.mydomain.com/ ProxyPassReverse /

Re: [PHP] Why?

2002-03-24 Thread maxwello
See also: http://www.tuxedo.org/~esr/jargon/html/entry/metasyntactic-variable.html Maxwell Why everyone uses $foo or $foobar as examples? http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?query=foo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Text Editor

2002-03-24 Thread Yasuo Ohgaki
Hiroshi Ayukawa wrote: Hello, What text editor do you use to write PHP? I use Maruo editor http://www.ac.wakwak.com/~tetsuyat/maruo/ more than 1 year. Is there any better text editor for PHP? Emacs is _much_ better than HideMaru. I use emacs for most text editing. If you need multi byte

Re: [PHP] problem with multiple cookies, PHP, and proxypass under apache

2002-03-24 Thread Tom Rogers
Hi This may solve your problem http://archive.covalent.net/apache-bugdb/2000/05/0082.xml Tom At 12:09 PM 25/03/2002, Vincent Cunniffe wrote: Hi, I have an apache server which is configured to pass some requests through to a secondary, chrooted apache server. For each virtual domain that

Re: [PHP] problem with multiple cookies, PHP, and proxypass under apache

2002-03-24 Thread Tom Rogers
Hi Found this follow up too http://archive.covalent.net/apache-bugdb/2000/05/0084.xml Tom At 12:09 PM 25/03/2002, Vincent Cunniffe wrote: Hi, I have an apache server which is configured to pass some requests through to a secondary, chrooted apache server. For each virtual domain that passes

[PHP] Creating an SQL database and finding the path to SQL

2002-03-24 Thread Ivan Olson
Forgive me for being so new, But i dont know where to start or where to start to look for this... _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] what's undefined index ?

2002-03-24 Thread Jason Wong
On Monday 25 March 2002 08:35, Martin Towell wrote: undefined variable is when you try to use a variable before you set it, eg $foobar undefined index is when you try to reference an array index before you set it, eg $foobar[10] Just to extend the explanation further. The most common cause

Re: [PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-24 Thread Jason Wong
On Monday 25 March 2002 08:06, Dale Lora Marshall wrote: I guess I should clarify. If the image that's referenced in the database is, for example, 700x300, I want to reduce it to 600 pixels wide, keeping the height proportional. Then, save that image to a new name somewhere else in the

Re: [PHP] Trouble with mysql_pconnect unable to connect to database?

2002-03-24 Thread Jim Hankins
No, the @ was in the right place (if memory serves me the book said this suppresses the error output.) The problem was my sock file was not in the default location so I had to specify it. If you check the thread the answer is there on how to find where your sock is located. Best Regards, Jim

[PHP] Re: Non-Cache in forms?

2002-03-24 Thread David Robley
In article 001801c1d38d$6b016eb0$0201a8c0@zaireweb, [EMAIL PROTECTED] says... Alright, When I submit a form, and shoot out an error, such as Please fill in email address and then send them back to the form, the form seems to be blank... Why? What is happening that the form isn't keeping

[PHP] Re: Displaying a 2 column html table with N elements

2002-03-24 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Hello, I am trying to display a HTML table of 2 cells with n elements... This means an unknown number of lines. I need to use 2 FOR loops (one to determine the number of TR and one to create the 2 cells needed). This is a bit to

Re: [PHP] Image Displayed From Database

2002-03-24 Thread Miguel Cruz
On Sun, 24 Mar 2002, Shaun Martinec wrote: I'm using mysql to store images that I load through a script called photo.php. I pass it the ID and it displays the image. No problem. However, when I right-click on the image in my browser (IE6) and choose properties, it doesn't seem to recognize

[PHP] Form POST

2002-03-24 Thread Kevin Maynard
Maybe someone can shed some light on this. I have a form to handle a file upload, but through the same form I would like to gather data as well. For example, ID, Price Picture. Now I set up my form to handle the file upload, and that all works great, but I can't seem to access the other

[PHP] Re:[PHP] Why?

2002-03-24 Thread Liam
25/03/2002 3:01:36 PM FBAR was a term used in the second world war. It turned into FUBAR for better pronounciation. FUBAR turned into FOO BAR FBAR stands for: Fucked Beyond All Recognition I hope you find this completely unrelated snippet of trivial knowledge amusing, as I certainly do :-)

[PHP] Re:[2] [PHP] Text Editor

2002-03-24 Thread Liam
25/03/2002 3:05:00 PM Editplus is the best www.editplus.com Tyler Longren [EMAIL PROTECTED] wrote on 25/03/2002 3:34:22 AM: If you want a regular text editor, I suggest Textpad or Context. If you want an IDE, I suggest Maguma. Tyler - Original Message - From: Hiroshi Ayukawa

Re: [PHP] Form POST

2002-03-24 Thread Jason Wong
On Monday 25 March 2002 12:47, Kevin Maynard wrote: Maybe someone can shed some light on this. I have a form to handle a file upload, but through the same form I would like to gather data as well. For example, ID, Price Picture. Now I set up my form to handle the file upload, and that all

[PHP] How to use bind arguments

2002-03-24 Thread Vincent Bergeron
Hi! A function like this one: function SendQuery($li_connect, $ls_query, $args) { return ibase_query($li_connect, $ls_query, $args); } ibase_query is an Interbase function which declaration is: int ibase_query ( [int link_identifier, string query [, int bind_args]]) Why can't something

[PHP] When Click a HyperLink, Promp password before Showing the Page

2002-03-24 Thread Jack
Dear all Can someone pls tell me how i can make a behavior in php which when a user click on a hyperlink, then a page for login will appear first and then once the username and password is right, the page of which user aiming to browse will show, otherwise a error message will tell the user that

Re: [PHP] When Click a HyperLink, Promp password before Showingthe Page

2002-03-24 Thread Justin French
The action you want shouldn't really take effect on the client side (hyperlink) itself, because this would no doubt rely on JavaScript and would be pathetically insecure. Instead, what you need to think about is protecting certain pages with a username password, and *possibly* maintaining this

RE: [PHP] How to use bind arguments

2002-03-24 Thread Martin Towell
I don't know if this is the thing you're after, but... http://www.php.net/manual/en/function.func-get-args.php HTH Martin -Original Message- From: Vincent Bergeron [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 4:34 PM To: [EMAIL PROTECTED] Subject: [PHP] How to use bind

[PHP] Is there anyway to save a file into Mysql database

2002-03-24 Thread Jack
Dear all Can someone pls tell me is php will be able to grep text from MS Word and then save that word file into MYSQL database? Which means is MYSQL will be able to store files into it's table? Thx a lot jack [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

[PHP] Regular Expression Challenge

2002-03-24 Thread Cameron Just
Hi, I am trying to pull out the following information via a regular expression. The string I am searching on is 'wed-thurs 9:35, 14:56, 18:35' and I want it to retreive wed thurs 9:35 14:56 18:35 The regular expression I am using is ([a-z]+)-([a-z]+) +([0-9]{1,2}:?[0-9]{0,2})[, ]* It seems

[PHP] mail...

2002-03-24 Thread Mantas Kriauciunas
Hey PHP General List, Why do i get 5 copies of each email? not always but sometime 3 sometimes 2 sometimes 5. Is this the only me (coz something is messed up with mail server or mail client) or some ppl also gets more than one :--: Have A Nice Day!

Re: [PHP] Regular Expression Challenge

2002-03-24 Thread Thalis A. Kalfigopoulos
Why a regexpr? Do one explode() on the Clean up the commas from the elements [1],[2] [3] of the returned array and on element[0] do an additional explode on - cheers, --t. On Mon, 25 Mar 2002, Cameron Just wrote: Hi, I am trying to pull out the following information via a regular

[PHP] How to Pass the Username which from Windows Login

2002-03-24 Thread Jack
Dear all I want to prevent user to make another login before they can browse the Intranet, so is there anyway that php can grep the username from the windows Login or Domain Login? Which means if a user can login to the Windows NT, then he/she will have the right to browse the Intranet! Thx a

[PHP] Regular Expression Challenge

2002-03-24 Thread Matt Moreton
Perl Compatible Regular Expression: /'([a-z]+)-([a-z]+)\s([0-9]+:[0-9]+),\s([0-9]+:[0-9]+),\s([0-9]+:[0-9]+)'/ Assuming the days of the week are always lower case? if not then use [a-zA-Z] for the day matching. Hope this helps. -- Matt. - Original Message - From: Cameron Just [EMAIL

Re: [PHP] Regular Expression Challenge

2002-03-24 Thread Matt Moreton
Oh, I didnt read the bit at the bottom about the times appearing any number of times. Off the top of my head I think this should work... PREG: /'([a-z]+)-([a-z]+)\s(?:([0-9]+(?::[0-9]+|))(?:,\s)?)*'/ -- Matt - Original Message - From: Cameron Just [EMAIL PROTECTED] To: [EMAIL

[PHP] Re: Why?

2002-03-24 Thread Matt Parlane
There's even an RFC published on this: http://www.faqs.org/rfcs/rfc3092.html Matt Alberto Wagner [EMAIL PROTECTED] wrote in message 878USUPYSS0CQKNLWUHCFBEBFCJD.3ca676e7@alberto">news:878USUPYSS0CQKNLWUHCFBEBFCJD.3ca676e7@alberto... Why everyone uses $foo or $foobar as examples? -- PHP

[PHP] Re: Does anybody use UltraDev?

2002-03-24 Thread Philippe Saladin
People in my company use Dreamweaver for static pages, so it was evident for us to use Dreamweaver UltraDev (with PHAkt app server extension) to help building php pages. Nevertheless, in fact, we use UltraDev to design the pages (great tool for the layout), but often something like Html-Kit or

[PHP] From To to BCC in a Mail script

2002-03-24 Thread anti-blank
I've got this script here to send out a mail whenever I enter an update to my site to my mailing list. The problem is it wants to dump everyone's email into the To field, and since I don't want to give my users email addresses away I need to convert this to the bcc field. Below is the

[PHP] Re: Why?

2002-03-24 Thread Gunter Ohrner
Matt Parlane wrote: There's even an RFC published on this: http://www.faqs.org/rfcs/rfc3092.html 1 April 2001? ;) The HTTP-based network protocol for controlling coffee machines was not bad, either. I'm already really curious for the RFC published this April, the 1th. :-) Greetinx,

Re: [PHP] From To to BCC in a Mail script

2002-03-24 Thread Jason Wong
On Monday 25 March 2002 15:31, anti-blank wrote: I've got this script here to send out a mail whenever I enter an update to my site to my mailing list. The problem is it wants to dump everyone's email into the To field, and since I don't want to give my users email addresses away I need to

Re: [PHP] Rebuilding PHP4 with IBM DB2 Support Causes Apache to Die Upon Restart

2002-03-24 Thread Josep Raurell
I think --with--ibm-db2 only works as statically linked with apache, no as module. And do you have the db2 connect librarys instaled in the system ? I copy here an article that works for my, I dont remenber where I see, maybe in faqs.com: - Sep 21st, 2000