[PHP] English ISP

2001-05-08 Thread tcuhost
A good friend of mine just moved to England. Devon to be exact. He's having quite a time finding a reliable internet provider. Anybody know of any reliable providers in that area? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] how to get RAW POST DATA!

2001-05-08 Thread ondi
What You mean? I cant read STDIN in cgi-bin module by my self? its worse that I thought : Yasuo Ohgaki wrote in message 9d0gam$rdu$[EMAIL PROTECTED]... This is not possible with current PHP. If you search recent php-dev list archive, you will find some more info. ondi [EMAIL PROTECTED]

[PHP] Converting mySQL to PostgreSQL

2001-05-08 Thread Jason
Hi, I am in need a transfering an existing mySQL database to PostgreSQL. I have seen info on the converter. Before I get started I wanted to see info anyone has any insight or tips on converting these DBs (ie- is it problematic, inconsistent, etc). Thanks! John -- PHP General Mailing List

Re: [PHP] session_start ()

2001-05-08 Thread elias
You register it just when you want to assign to it a value, ie: page1.php session_start(); session_register(username); $username = shawn; page2.php session_start(); echo Welcome $username; page3.php session_start(); echo Welcome again $username so basically, register once and use

php-general Digest 8 May 2001 07:22:01 -0000 Issue 673

2001-05-08 Thread php-general-digest-help
php-general Digest 8 May 2001 07:22:01 - Issue 673 Topics (messages 51803 through 51866): Converting a binary integer to a number 51803 by: Siegfried Kettlitz 51805 by: Zak Greant 51813 by: Siegfried Kettlitz OpenSSL compile option 51804 by: phpman Re:

Re: [PHP] Need help with Database and variables

2001-05-08 Thread elias
Be more specific please, as you typed SELECT count(*) FROM ... as ... this should return one row and only one! that means you need to fetch that row and use it as a variable and not within a row... can you plz clarify your question? -elias http://www.eassoft.cjb.net Ryan W. Zajicek [EMAIL

[PHP] RE: Need help with Database and variables

2001-05-08 Thread Tim Ward
$result = mysql_query($db, SELECT count(*) AS song_count FROM table_name); if ($array = mysql_fetch_array($result)) $song_count = $array(song_count); Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message:

[PHP] Pattern matching and replacement!

2001-05-08 Thread Charles Williams \(CEO\)
Hello all, I have a slight problem. I am storing an email template in a MySQL DB. Portions of the email have text that need to be replaced with variable values when run through the script. ex: snip Sehr geehrte(r) Frau/Herr {%Last_Name%} , Dies ist eine automatische Zusendung von ACNS Billing

RE: [PHP] Pattern matching and replacement!

2001-05-08 Thread Jason Murray
As you can see. I am using the {% and %} to delimit the parts that need to be replaced. I can't get the replacements to work right though. Can someone help? $text = ereg_replace(\{\%Last_Name\%\}, $lastname, $text); Should be something like that :) Jason -- PHP General Mailing List

Re: [PHP] Call to a member function on a non-object

2001-05-08 Thread Wieger Uffink
Hi, $db is not an object, but a link identifier returned by mysql_connect(). Wieger Ender wrote: Okay I get the: Call to a member function on a non-object error when trying to execute this script: It happens in this area: $db=mysql_connect(localhost,'***','***') or die(Unable to

Re: [PHP] Pattern matching and replacement!

2001-05-08 Thread heinisch
At 08.05.01 10:03, you wrote: Hello all, I have a slight problem. I am storing an email template in a MySQL DB. Portions of the email have text that need to be replaced with variable values when run through the script ex: snip Sehr geehrte(r) Frau/Herr {%Last_Name%} , Dies ist eine

[PHP] Re: [PEAR] PEAR Versions

2001-05-08 Thread Stig Sæther Bakken
[Michael Stearne [EMAIL PROTECTED]] I have a version of PEAR installed now with 4.0.3pl1. I need some of the newer versions of the functions that have been added since then. I need mysql's afftedRows for instance. I see in the 4.0.5 of PEAR that was given with 4.0.5 that some function

[PHP] Webdeveloper aangeboden in Nederland

2001-05-08 Thread Wico de Leeuw
Hiya Fist of all sorry for the off-topic and dutch topic / email, I'm trying to find a nice job in Holland and where can you better ask then at the big official php source :) Als iemand een bedrijf heeft/weet die opzoek is naar een goeie php programmeur hou ik me aanbevolen :) Op verzoek kan

[PHP] removing backslashes using regular expressions

2001-05-08 Thread Trond Straume
Hi! I'm having problems using preg_replace to search and remove backslash character. print preg_replace(/\\/,,testing \\ testing); This regexp produces this warning: No ending delimiter '/' found in c:\internweb\html\preg.php on line 27 It seems like I'm escaping the ending delimineter '/',

Re: [PHP] removing backslashes using regular expressions

2001-05-08 Thread Wico de Leeuw
At 11:27 8-5-2001 +0200, Trond Straume wrote: Hi! I'm having problems using preg_replace to search and remove backslash character. print preg_replace(/\\/,,testing \\ testing); try print preg_replace('\',,testing \\ testing); double-quote single-quote back-slash single-qoute double-qoute,

Re: [PHP] removing backslashes using regular expressions

2001-05-08 Thread Wico de Leeuw
At 11:45 8-5-2001 +0200, Wico de Leeuw wrote: At 11:27 8-5-2001 +0200, Trond Straume wrote: Hi! I'm having problems using preg_replace to search and remove backslash character. print preg_replace(/\\/,,testing \\ testing); try print preg_replace('\',,testing \\ testing); double-quote

Re: [PHP] php4apachi.dll

2001-05-08 Thread Darren
Chris Adams [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On 6 May 2001 05:53:54 -0700, Darren [EMAIL PROTECTED] wrote: Hi. I just installed a fresh copy a windows 95. I installed winsock 2, apache 1.3.19 and php4. I followed the instructions with the php

[PHP] custom libraries for php

2001-05-08 Thread Darren
hello All. I run php 4 for windows on top of apache. how would I write by own bolt on modules for php? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

[PHP] Solution for PHP - IMAP - WAP ?

2001-05-08 Thread Nikolajus Krauklis
Hi, Maybe somebody knows solution for PHP IMAP and WAP? How hard will be complete this products? - Nikolajus Krauklis :: [metasite] E-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Contents Management Solution for Web

2001-05-08 Thread Sakimura, Nat
Hi. A while ago, I encountered a contents management solution for web that allows the web contents to be edited WYSWYG manner on the web browser. I think it was PHP related, but now I cannot seem to find the link. Does anyone know of such system? Regards, Nat Sakimura -- PHP General

RE: [PHP] Contents Management Solution for Web

2001-05-08 Thread Chris Mason
Try ezpublish, available from publish.ez.no. THe package is very complate, but not easy to install. If you have problems, I offer hosting with publish installed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sakimura, Nat Sent: Tuesday, May 08, 2001

[PHP] no html tags in php via form get

2001-05-08 Thread Alexander Bierbrauer
Hi people, is there a way to check a string, which is passed by a form via GET,for html tags?? Does anyone know some code or anything else?? Alexander Bierbrauer Coordinator Chief-Programmer of Not'A'Tric Web: http://www.notatric.de ICQ: 38412604 -- PHP General Mailing List

[PHP] PHP Books

2001-05-08 Thread Daniel
Hi, I'm just starting PHP and am looking for some books that you'd all recommend. I've used quite a few of the SAMS books before and have found them to be really good, i also have access to The PHP Dictionary which i've also found to be really good. But are there any books which you would

RE: [PHP] PHP Books

2001-05-08 Thread Stampe, Lars
http://www.wrox.com/ I really found Beginning PHP from Wrox very helpful, had a hard time stopping reading it! Great useful real life examples! Lars -Original Message- From: Daniel [mailto:[EMAIL PROTECTED]] Sent: 08 May 2001 00:59 To: [EMAIL PROTECTED] Subject: [PHP] PHP Books Hi,

[PHP] Safe mode upload

2001-05-08 Thread php
Hi everyone. I have trouble uploading files while in safe mode .Warning: SAFE MODE Restriction in effect. The script whose uid is 206 is not allowed to access /tmp/php6wtDUc owned by uid 0 Can someone help me pass around this problem? -- PHP General Mailing List (http://www.php.net/) To

[PHP] PHP + LIBPNG how?

2001-05-08 Thread Kasper Kristiansson
I have compiled PHP with this options, ./configure --with-zlib=/usr/local/src/zlib --with-png=/usr/local/src/libpng --with-gd=/usr/local/src/gd --with-pgsql=/usr/local/pgsql --with-apache=../ apache --enable-track-vars But i cant do this ?php $im = ImageCreateFromPng(test.png); ImagePng($im);

Re: [PHP] PHP Books

2001-05-08 Thread eschmid+sic
On Tue, May 08, 2001 at 07:58:55AM +0800, Daniel wrote: I'm just starting PHP and am looking for some books that you'd all recommend. I've used quite a few of the SAMS books before and have found them to be really good, i also have access to The PHP Dictionary which i've also found to be

[PHP] remotly include file

2001-05-08 Thread Dominic Brander
Hi I'm trying to include some php3 files via http. one part of the php files is on a regular server and the other part is on an secure server. Instead of duplicating all the files for both servers I would like to include them via http. How does it work? thanx domnic -- PHP General Mailing

Re: [PHP] no html tags in php via form get

2001-05-08 Thread Christian Reiniger
On Tuesday 08 May 2001 13:55, Alexander Bierbrauer wrote: Hi people, is there a way to check a string, which is passed by a form via GET,for html tags?? Does anyone know some code or anything else?? strip_tags() -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) What luck for

Re: [PHP] Multiple Result sets

2001-05-08 Thread John Lim
I don't think you can unless you use PHP's COM support and then use ADO's next recordset feature. Regards, John James Crowley [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I've written a recursive stored procedure in MS SQL, which returns a number of

Re: [PHP] remotly include file

2001-05-08 Thread Wico de Leeuw
At 15:40 8-5-2001 +0200, Dominic Brander wrote: Hi I'm trying to include some php3 files via http. one part of the php files is on a regular server and the other part is on an secure server. Instead of duplicating all the files for both servers I would like to include them via http. How does it

RE: [PHP] remotely include file

2001-05-08 Thread Robert Covell
I tried the exact same thing. I have a whole slew of the classes that have been developed and wanted to centrally locate them on one server. But every time I included the class, it said cannot instantiate non-existent class Blah Blah Blah. But when I copied over the file, it worked like a

Re: [PHP] Whether through PHP/MySQL can I talk to Flash Generator'sFlash ?

2001-05-08 Thread David Pieper
Manisha wrote: Hi all, I am trying using PHP with Flash Generator. The designer has given me a Flash file created using Macromedia's Flash Generator 2. Do you have a template (.swt) or a generated file (.swf) ? The platform is BSDi / Lang - PHP / Database - MySQL. I want to

AW: [PHP] remotly include file

2001-05-08 Thread Sebastian Stadtlich
include(http://www.somehost.ext/path/to/include/include.php;); i don't think that is a goob idea... if it works ( what i'm not sure ) you would get the complete output of the file, BUT in that remote file you would miss the parameters,etc from the calling script. is it is on the same server (

[PHP] money print out with two digits after , e.g. 49,00

2001-05-08 Thread Ramiro Radjiman
I want to changes 49.4 --- 49,4 49,4 49,40 the first rule is done with the code $totaal=49.4; $totaal=str_replace(.,,,$totaal); how can i do the second row?? please help. greets Ramiro -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] remotely include file

2001-05-08 Thread Wieger Uffink
Hi, I think the webserver on the remote machine parses the PHP-file. You can see this happen if you type in the url youre trying to include in your browser. No php code there, just html I dont think what youre trying to do is possible. If it were youd have one hell of a security hole on your

[PHP] posting XML to the cgi-bin php scripts!

2001-05-08 Thread ondi
bug reports number 10726 and 10729! Hi there! Im trying to post XML data to the chi-bin php script, that shold parse that data and deal with it tags! So php catch all my stdin before! and I cant reach my XML! if I do fopen(php://stdin, r) I'll read nothing!!! because of php did it before! what

[PHP] OT question..

2001-05-08 Thread Kelly Meeks
Hey folks, What language is associated with a web page with a .epl extension? Thanks Kelly -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] Zip support

2001-05-08 Thread E. Stuart Hicks
I see that there is support for bzip2 and gzip in PHP, so I was wondering if there was any standard zip support that I'm not seeing. Stuart Hicks Senior Programmer / Systems Administrator The Affinity Group -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Zip support

2001-05-08 Thread Tom Carter
On Tue, 8 May 2001, E. Stuart Hicks wrote: I see that there is support for bzip2 and gzip in PHP, so I was wondering if there was any standard zip support that I'm not seeing. I looked and couldn't find any. The best I could find to be able to zip unzip files was to save them on the server

[PHP] problems creating a good auth/session control in my scripts

2001-05-08 Thread Romulo Roberto Pereira
Hello, I create an auth system using NDS as a LDAP server. Works fine. The problem is with the session handling (from my part probabilly)... I am using the PHP session functions. Again, works fine. register the sessions, the variables. But I am beeing unable to destroy the session. To destroy

Re: [PHP] money print out with two digits after , e.g. 49,00

2001-05-08 Thread Neill Robins
Tuesday, May 08, 2001, 10:34:51 AM, Ramiro Radjiman wrote: RR I want to changes 49.4 --- 49,4 RR 49,4 49,40 RR the first rule is done with the code RR $totaal=49.4; RR $totaal=str_replace(.,,,$totaal); RR how can i do the second row?? RR please

RE: [PHP] money print out with two digits after , e.g. 49,00

2001-05-08 Thread Johnson, Kirk
Try number_format() http://www.php.net/manual/en/function.number-format.php Kirk -Original Message- From: Ramiro Radjiman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 8:35 AM To: [EMAIL PROTECTED] Subject: [PHP] money print out with two digits after , e.g. 49,00 I

Re: [PHP] money print out with two digits after , e.g. 49,00

2001-05-08 Thread heinisch
At 08.05.01 16:34, you wrote: I want to changes 49.4 --- 49,4 49,4 49,40 Try this ? $totaal=49.4; $totaal=str_replace(.,,,sprintf(%2.2f,$totaal)); echo TOTAL after =$totaalbr; ? Oliver -- PHP General Mailing List (http://www.php.net/) To

[PHP] function not working after header call

2001-05-08 Thread Johannes Janson
Hi, I just don't get it...I have a form where the user enters name, surname and a personal code. The action page checks for correct input which is only letters for the two names and only numbers for the code. If there is a wrong input in one of the fields a variable is set which is then (amongst

Re: [PHP] Zip support

2001-05-08 Thread E. Stuart Hicks
Yeah, that's what I wanted to avoid, though. These scripts have to be able to run on both NT and Unix boxes. I guess I'll just have to change the other code to use gzip instead of regular zip. Tom Carter [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tue, 8

Re: AW: [PHP] remotly include file

2001-05-08 Thread Dominic Brander
exactly! this way (http...) it does not work! I tried it a few times! it is on the same server. so i did it with the /home/.. -path. but this also does not work properly. i think the proplem is, that within the included file there are other files included (and so on...). Error Message: Warning:

AW: AW: [PHP] remotly include file

2001-05-08 Thread Sebastian Stadtlich
i think the proplem is, that within the included file there are other files included (and so on...). Error Message: Warning: Failed opening 'inc/var_general.inc.php3' for inclusion (include_path='') in /opt/... i think you gave the answer yourself. you need to use the full path to the

[PHP] print url of refering domain

2001-05-08 Thread Mark Williams
Hi all, Reading the title of this message you might think this is an easy one to answer, but it isnt as straight forward as it might first seem. I have a number of domain names that are set up on my dns server but they have no site associated with them so any visitors to these domains just end

[PHP] forcing upload instead of showing doc

2001-05-08 Thread Christian Dechery
How do I force an output to be recognized by the browser by a downloadable text file as soon as I press the submit button? what header(*) stuff should I add before echo-ing stuff? thanks . [ Christian Dechery ] . Webdeveloper @ Tá Na Mesa! . Listmaster @ Gaita-L .

Re: [PHP] function not working after header call

2001-05-08 Thread Johannes Janson
Well, what can I say??? Magic windows Reboot the system or post a message and it works! johannes Johannes Janson [EMAIL PROTECTED] schrieb im Newsbeitrag 9d93c3$7d8$[EMAIL PROTECTED]">news:9d93c3$7d8$[EMAIL PROTECTED]... Hi, I just don't get it...I have a form where the user enters

Re: [PHP] forcing upload instead of showing doc

2001-05-08 Thread Wieger Uffink
Hi, ? // file to post to header(Content-Type: application/octet-stream); header(Content-Disposition: attachment; filename=name.doc); include(file.doc); ? Wieger Christian Dechery wrote: How do I force an output to be recognized by the browser by a downloadable text file as soon as I press

Re: [PHP] print url of refering domain

2001-05-08 Thread infoz
I would like to be able to display the refering domain name on the page along with a small text message (under construction) etc, to save me having to create sites for each domain. Under Apache and with an HTTP/1.1 client, $HTTP_SERVER_VARS[HTTP_HOST] contains the value you're looking for, I

Re: [PHP] OT question..

2001-05-08 Thread Christian Reiniger
On Tuesday 08 May 2001 16:40, Kelly Meeks wrote: Hey folks, What language is associated with a web page with a .epl extension? Could be embedded perl (Perl embedded in HTML woughly the way PHP is) -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) What luck for the rulers that

Re: [PHP] OT question..

2001-05-08 Thread eschmid+sic
On Tue, May 08, 2001 at 06:10:18PM +0200, Christian Reiniger wrote: On Tuesday 08 May 2001 16:40, Kelly Meeks wrote: Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) What luck for the rulers that men do not think. - Adolf Hitler Could you please remove that signature.

[PHP] IP address management tool

2001-05-08 Thread Richard Ellerbrock
I am looking for a tool (preferably database driven, written in php) that will allow me to do IP address management of IP subnets on our network. The best I could find was a project called IPfree on Sourceforge, but nothing is happening over there. I am considering writing my own, but do not

RE: [PHP] OT question..

2001-05-08 Thread Jon Haworth
But he IS the webmaster Cheers Jon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 08 May 2001 17:14 To: [EMAIL PROTECTED]; Kelly Meeks; '[EMAIL PROTECTED]' Subject: Re: [PHP] OT question.. On Tue, May 08, 2001 at 06:10:18PM +0200, Christian Reiniger

RE: [PHP] OT question..

2001-05-08 Thread Ryan Christensen
I think he's referring to the comment below.. ;) Ryan Christensen OlyPen Technical Support [EMAIL PROTECTED] 360.457.3000 800.303.8696 -Original Message- From: Jon Haworth [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 9:17 AM To: '[EMAIL

RE: [PHP] Multi Dimensional Arrays?

2001-05-08 Thread Tim Ward
actually a nested foreach() is probably better. Use it in a function that calls itself recursively for all elements that are arrays and adds to the count for all that aren't. I posted a function that does this a little while ago, don't think I've got it anymore but the idea is fairly

RE: [PHP] OT question..

2001-05-08 Thread Matthew Luchak
Happiness is a warm gun. - John Lennon What luck for the rulers that men do not think. - Adolf Hitler Could you please remove that signature. Thanks. -Egon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Date Time Formatting ??

2001-05-08 Thread Jack Sasportas
OK I have read many examples, old posts etc, but I am looking for a detailed explanation as to how to do this. First is when I write to a mysql database using the now() function, the time stamp looks like so when I display the time back to the browser. 204:24:06 ( This should have been 12:24pm

Re: [PHP] OT question..

2001-05-08 Thread Christian Reiniger
On Tuesday 08 May 2001 18:13, [EMAIL PROTECTED] wrote: Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) What luck for the rulers that men do not think. - Adolf Hitler Could you please remove that signature. Thanks. Here's another quote (paraphrased): Those who do not

Re: [PHP] OT question..

2001-05-08 Thread eschmid+sic
On Tue, May 08, 2001 at 09:26:22AM -0700, Ryan Christensen wrote: I think he's referring to the comment below.. ;) -Original Message- From: Jon Haworth [mailto:[EMAIL PROTECTED]] But he IS the webmaster Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/)

RE: [PHP] Date Time Formatting ??

2001-05-08 Thread Jon Haworth
I think the best way to handle this is not to care what it looks like in the database. Store your dates as UNIX timestamps, and then they are easy to do calculations on and/or convert to any date format you like for displaying in your pages. Read up on date() and mktime() for more info (there

Re: [PHP] forcing upload instead of showing doc

2001-05-08 Thread Christian Dechery
It didn't work at all. It started a download, but with a filename called myscriptfilename.html and with the contents of the html (in this case the form) being shown and not the output. I want to set these headers, and then do regular echo statements to this newly created downloading file. Hi,

Re: [PHP] Date Time Formatting ??

2001-05-08 Thread Jack Sasportas
Here is what I am trying to do, but I get the wrong date: $t_data_array[1]=date(m/d/y,mysql_result($db_result,$db_record,'date')); Then I simply print the value in the arraythis date instead of 05/08/01 comes out 12/31/69 Thanks! Jon Haworth wrote: I think the best way to handle

[PHP] Getting to many returns when creating a text file

2001-05-08 Thread Sam
Hi all, I have a website which allows users to send comments, these are saved into a mySQL DB. I then use php to create a text file with all these on, that can then be easily imported into MS Access. But, it appears that the users type in a lot of character returns as well as such symbols as

RE: [PHP] Date Time Formatting ??

2001-05-08 Thread Jon Haworth
Are you *absolutely sure* that mysql_result($db_result, $dbrecord, 'date') contains a UNIX timestamp? IOW, if I inserted the lines: $unixdate = mysql_result($db_result,$db_record,'date'); echo $unixdate; I would see something like 989393400 on the screen? (Speaking from experience, I got this

Re: [PHP] Getting to many returns when creating a text file

2001-05-08 Thread CC Zona
In article 478EB6C82CC2D4119AF300B0D07963F4087721@NTSERVER01, [EMAIL PROTECTED] (Sam) wrote: But, it appears that the users type in a lot of character returns as well as such symbols as and commas. Is there a way, when creating the text file, to get rid of all these? Many ways. Some of

Re: [PHP] SETUP PHP , MYSQL, APACHE

2001-05-08 Thread Chuck Boyce
I have been using Abriasoft's products. You just plop in the CD and it installs PHP, MySQL, Apache, Perl6, Perl DBI, and some other stuff on your linux (or other os) box. All software also available for free by download. http://www.abriasoft.com At 05:12 AM 5/19/02 -0700, you wrote: Hello

[PHP] Wrapping text to store in the database

2001-05-08 Thread Romulo Roberto Pereira
Hello! If a user drop a text like this in a textarea: --- the U.S. Army's 3rd Infantry Division, 15th Regiment, A Company, seized a 44-car train in a tunnel 60 miles south of Salzburg, Austria. It contained an incalculable fortune in fine art, bullion, jewelry, furs, coins, stamp collections,

[PHP] forcing download of new file

2001-05-08 Thread Christian Dechery
I want the script I'm doing to redirect all the output to a filename and that it gets downloaded. In other words... When someone presses the submit button I want the download screen to show with the filename I declared so the user can save the output from the script. something like this: -

RE: [PHP] Wrapping text to store in the database

2001-05-08 Thread Jack Dempsey
check http://www.php.net/manual/en/function.nl2br.php you could also do a regex, searching for \n, and adding a P to it...adding the /P would make it a little more difficult... -jack -Original Message- From: Romulo Roberto Pereira [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001

[PHP] MySql vs PostgreSQL

2001-05-08 Thread Brent Langston
So, I've noticed that most of you talk about PHP/MySQL almost exclusively. Does anyone use PHP and PostgreSQL? What are the advantages of MySQL over PostgreSQL, other than it's easier to pronounce... Thanks, Brent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

RE: [PHP] Recursive SQL Queries: Web Directory Categories

2001-05-08 Thread Krznaric Michael
James, Take a look at hierarchical queries in MS SQl. If I'm not mistaken, this is part of the SQL 99 standard and is implemented by many SQL 92 compliant database vendors. I know ORACLE and DB2 support it. I'm not sure if you already have but I would investigate this topic with MS

RE: [PHP] Problem with PHP 4.0.5

2001-05-08 Thread biscut
I have exactly the same problem, if you try viewing the page with IE then you will probably find that it works fine...if you get any answers then could you let me know what you did ?? I found that even with using ? PHP then you still get the same problem... Regards biscut -Original

[PHP] Problem executing files without line feeds

2001-05-08 Thread jon mclaughlin
Help! We're currently in the process of moving from one server (with PHP v4.0.3pl1) to a new box (with PHP v4.0.5) Both have RedHat Linux. It seems that file that worked fine on the old setup are no longer executing properly. Im having the problem specifically with included files. If the file

[PHP] class inheritance question

2001-05-08 Thread py
Hello, Class A{ function aa(){} } Class B extends A{ function bb(){ $this-aa();// I know this is ok } } Class C extends B{ function cc(){ $this-bb();// Will this work ? } } py

[PHP] conversion script

2001-05-08 Thread Ryan Christensen
Would anyone be able to help me out with this: I have quite a few (almost 2000) .html files that I would like to change over to the .php extension. Past that, I would also like to add text to the top bottom of each page (for template purposes.) Does anyone know of a script that would automate

RE: [PHP] class inheritance question

2001-05-08 Thread Neil Kimber
yes, as will: Class C extends B{ function cc(){ $this-bb();// Will this work ? -- YES $this-aa(); } } -Original Message- From: py [mailto:[EMAIL PROTECTED]] Sent: 08 May 2001 14:02 To: [EMAIL PROTECTED] Subject: [PHP] class inheritance question Hello,

RE: [PHP] Problem with PHP 4.0.5

2001-05-08 Thread Jack Dempsey
are you sure your html is properly formatted? if you like, send me the small script you're using, and i'll run it on a pre 4.0.5 release... if something shows up in ie but not ns that's a browser, not php problem... -jack -Original Message- From: biscut [mailto:[EMAIL PROTECTED]] Sent:

[PHP] RE: Undelivered Mail Returned to Sender

2001-05-08 Thread Jack Dempsey
every reply i send to the list gives this back...could someone take that address off the list? thanks jack -Original Message- From: Mail Delivery System [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 2:16 PM To: [EMAIL PROTECTED] Subject: Undelivered Mail Returned to Sender

RE: [PHP] conversion script

2001-05-08 Thread Jack Dempsey
a simple perl script would suffice...don't have time to write one now (paper to write...joy) but if you can't find one, i can help later... -jack -Original Message- From: Ryan Christensen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 2:09 PM To: PHP Mailing List Subject: [PHP]

[PHP] Variable question, yet another

2001-05-08 Thread King, Justin
Alright... here's my situation for those that didn't read my string of messages yesterday.. (plus a bit more background information as to why I'm doing this) I'm writing an engine for a content managing system. Part of the system is a menu builder. I use 2 tables, (this is a mysql database)

Re: [PHP] conversion script

2001-05-08 Thread Mark Maggelet
On Tue, 8 May 2001 11:09:18 -0700, Ryan Christensen ([EMAIL PROTECTED]) wrote: Would anyone be able to help me out with this: I have quite a few (almost 2000) .html files that I would like to change over to the .php extension. Past that, I would also like to add text to the top bottom of each

Re: [PHP] Safe mode upload

2001-05-08 Thread Philip Olson
Awhile ago there was some discussion on irc #php , this use was proposed (by onki) : $tmp_name = $HTTP_POST_FILES['userfile']['tmp_name']; move_uploaded_file ($tmp_name, '/home/httpd/html/upload/example.zip'); chmod('/home/httpd/html/upload/example.zip', 0644); And it works.

[PHP] session question

2001-05-08 Thread Rodrigo Reis da Rocha
I have a question about session variables. In my page the session variables are not seen by the pages where tem are not declared. I´ve used session_register($variable) and so after at another page I´ve called echo $variable; and it generate a message that the variable does not exists. The

[PHP] mySQL access denied with correct account/pw?

2001-05-08 Thread John Vanderbeck
Working on getting mySQL setup on a new server. I mainly do the PHP work while another guy does the server work. He has given me the account and password for the mySQL server, and I have quadruple checked it with him. We both swear it is correct in the script. However, mySQL reports an access

RE: [PHP] session question

2001-05-08 Thread John Vanderbeck
Are you opening a session on each of the pages you want to use the variables? Calling session_register() I believe causes an implicit opening of the session, but on the other pages you have to explicity open the session, or you won't have access to those vars. - John Vanderbeck - Admin,

[PHP] session question

2001-05-08 Thread Rodrigo Reis da Rocha
I have a question about session variables. In my page the session variables are not seen by the pages where tem are not declared. I´ve used session_register(variable) and so after at another page I´ve called echo $variable; and it generate a message that the variable does not exists. The session

RE: [PHP] RE: Undelivered Mail Returned to Sender

2001-05-08 Thread John Vanderbeck
I have been getting this as well, and it is _really_ starting to annoy me. Why is this not filtered out anyways? I am the owner and admin of the GameDesign mailing list, and our software automaticly filters these things from the general list. Please fix this :( - John Vanderbeck - Admin,

[PHP] php, snmp, and mibs

2001-05-08 Thread Mike Backes
Hi, Sorry if this is a repeat question, I just can't seem to find an answer to this question. I am running php4 on NT. I've been able to connect to some network equipment with the snmp commands, and retrieve the results. But it's the list of values, which can be tough to correspond to the MIB.

Re: [PHP] Variable question, yet another

2001-05-08 Thread Jason Stechschulte
On Tue, May 08, 2001 at 01:20:49PM -0500, King, Justin wrote: So when the line hits type 1, it evals like this echo [a href=myscript.php?username={$userdata[username]}]Goto MyScript.php[/a]; Of course this yields an error because of the 's in the anchor tag. But if I add slashes the

[PHP] How to read a web page and analyze but not display it

2001-05-08 Thread Dexter
hi PHP 'sters, How to read a web page and analyze but not display it using PHP. Thanks Dexter.

RE: [PHP] php, snmp, and mibs

2001-05-08 Thread Jack Dempsey
Mike, I haven't worked with MIB files myself, but what you're describing sounds like it could be solved with regex's...can you post a snippet of what file looks like that you're trying to extract from? -jack -Original Message- From: Mike Backes [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

Re: [PHP] How to read a web page and analyze but not display it

2001-05-08 Thread Zak Greant
Use fopen() or file() --zak - Original Message - From: Dexter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 08, 2001 4:27 PM Subject: [PHP] How to read a web page and analyze but not display it hi PHP 'sters, How to read a web page and analyze but not display it using

[PHP] Classes and arrays

2001-05-08 Thread Stefan Kostopoulos
Hi! Can anybody explain to me why this script outputs: oneone instead of: zeroone ??? Thanks, stefan ? class Cart { var $items; // Items in our shopping cart function add_item ($id,$text) { $this-$items[$id] = $text; } function output($id){

Re: [PHP] Recursive SQL Queries: Web Directory Categories

2001-05-08 Thread Philip Hallstrom
Also take a look at Joe Celko's 'SQL for Smarties'. There's a whole chapter on this. It gets kind if burly, but it's pretty cool. It's all done by converting your schema below into a tree structure... (no, i don't have any code since I've just read about it never done it :) -philip In

Re: [PHP] HTTP authentication : logout!!!

2001-05-08 Thread Don Read
On 07-May-01 Mauricio Souza Lima wrote: snip And you have to inform the user to clean the password field, click ok, then the pop-up will open again, then user click in cancel. I just know that way to do. If anyone know another way, Postit! create a tmp directory logoff.php3:

Odp: [PHP] MySql vs PostgreSQL

2001-05-08 Thread Tomasz Wasiluk
So, I've noticed that most of you talk about PHP/MySQL almost exclusively. Does anyone use PHP and PostgreSQL? What are the advantages of MySQL over PostgreSQL, other than it's easier to pronounce... I'v been using Postgres for some time now and I think I'm going to swicth to MySQL because

  1   2   >