[PHP] Re: [PHP-DB] Re: XML to MySQL

2003-07-03 Thread justin gruenberg
I think starting with the XML parsing functions might be a logical step. For what you're doing, expat is going to be a more logical solution for parsing the xml. There is also DOMXML, which makes more sense to a lot of people, but will be slower at parsing your file.

[PHP] Re: [PHP-DB] How to get PHP to download web contents

2003-07-03 Thread justin gruenberg
Steve B. wrote: How would you get PHP to download a file such as a web page and put it in a string? What keywords would relate to this (besides php download) I need a user to be able to put in a name and pass and have PHP go to a cetain site. The site can take the user/pass in the url so I do no

[PHP] symlinks

2003-07-03 Thread Brian Rue
Hi, I need to link a url like this: www.mysite.com/?id=5 to a folder like this: www.mysite.com/5 (so that I can access it from the subdomain 5.mysite.com) I'm assuming that symlinks are the best way to do this, but I really don't know how to do it. Any help is greatly appreciated. Thanks

Re: [PHP] outputting xml declaration

2003-07-03 Thread Marek Kilimajer
This should not give you any error. Not even if short_open_tags are on as printed output is not parsed. What is the error message and what version of php are you running? It works for me (php 4.3.2). Steven Apostolou wrote: Hello, The folowing code gives an error: print ""; This is probably b

Re: [PHP] mail + regex + somethoughts

2003-07-03 Thread - Edwin -
Hi, "Shivanischal A" <[EMAIL PROTECTED]> wrote: > Hi friends, > > I was just wondering about this. Whenver we reply to the posts here, we just > click on the reply button and fire off our messages. This results in long > messages (fresh content + earlier content) within a single mail. Now, the >

Re: [PHP] mysql detect

2003-07-03 Thread - Edwin -
[EMAIL PROTECTED] wrote: > helo all , > > what command in linux , to see default direcktory instalation mysql > database dan mysql library RPMs? $ rpm -ql - E - __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ --

[PHP] Re: mail + regex + somethoughts

2003-07-03 Thread Shivanischal A
Hi Edwin, Let me restate my question... I'm now replying to ur mail. I've left ur message to me untouched. (whatever follows '- Original Message - '). What i want is that some SERVER-SIDE SCRIPT should be able to identify these original messages and remove them before storing the actual r

Re: [PHP] Using INCLUDES in SAFE MODE

2003-07-03 Thread Marek Kilimajer
Configuration directive: safe_mode_include_dir string UID/GID checks are bypassed when including files from this directory and its subdirectories (directory must also be in include_path or full path must including). As of PHP 4.2.0, this directive can take a semi-colon separated path i

Re: [PHP] Optional form variables (IDEA?)

2003-07-03 Thread - Edwin -
Hello, "Miranda, Joel Louie M" <[EMAIL PROTECTED]> wrote: > Hello, im doing a form that when you pass it will generate a preview report. > My problem is some fields are optional the optional fields are 5. And for > those fields I need to make it fit when it generate what idea or codes can > you s

Re: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-03 Thread Marek Kilimajer
Make it be: if () { include(); } else { if () { include(); } else if () { include(); } } reads much better. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Browscap

2003-07-03 Thread - Edwin -
"Milan Reznicek" <[EMAIL PROTECTED]> wrote: > Hi everybody, > I'm trying to get_browser() function, but everytime I get from my apache > could not open browscap.ini for reading. Does someone know how to correct > it, or is there any other way how to determine users browser type and OS > witho

[PHP] OT a lttle bit of Javascript needed

2003-07-03 Thread George Pitcher
Hi, I'm developing a mini-website for a customer and want to build a link so that there is the option to see what I have in a database on my site. It will feature in a form and when they fill in the ISBN field, their input is added to a URL link on that page. The user can click on the link and s

Re: [PHP] Session vs Cookie Issues

2003-07-03 Thread Mika Tuupola
On Wed, 2 Jul 2003, Matt MacLeod wrote: > I've had similar issues using cookies. The cookie was storing my details > but only for the duration of the session despite having set the expiry > date to a time well into the future. Any ideas for why this may have > happened? Someone rm'ing

RE: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-03 Thread Ford, Mike [LSS]
> -Original Message- > From: Jim Lucas [mailto:[EMAIL PROTECTED] > Sent: 02 July 2003 22:47 > > Technically you are not outside of a function. > > you need to use one of the include or require functions to > include the file > right? include and require are not functions -- they are lan

Re: [PHP] Re: mail + regex + somethoughts

2003-07-03 Thread - Edwin -
Hello, "Shivanischal A" <[EMAIL PROTECTED]> wrote: > Hi Edwin, > > Let me restate my question... > > I'm now replying to ur mail. I've left ur message to me untouched. (whatever > follows '- Original Message - '). What i want is that some > SERVER-SIDE SCRIPT should be able to identify

Re: [PHP] Browscap

2003-07-03 Thread Mika Tuupola
On Wed, 2 Jul 2003, Milan Reznicek wrote: > I'm trying to get_browser() function, but everytime I get from my apache > could not open browscap.ini for reading. Does someone know how to correct > it, or is there any other way how to determine users browser type and OS > without using browscap?

RE: [PHP] Calculating Largest Member of Array

2003-07-03 Thread Ford, Mike [LSS]
> -Original Message- > From: John Wulff [mailto:[EMAIL PROTECTED] > Sent: 02 July 2003 21:26 > > Sorry for the multiple post!! Apparently when pasting I hit > some magic send > key.I'd like to calculate the largest member of this array > without taking > into > account the first value wh

RE: [PHP] stupidity check: (to disable transparent session id)

2003-07-03 Thread Ford, Mike [LSS]
> -Original Message- > From: Jason k Larson [mailto:[EMAIL PROTECTED] > Sent: 03 July 2003 01:21 > > I'm almost perfectly certain this *should* work ... can > anybody shed some light on why it > doesn't? > > $retval1 = ini_set ('session.use_trans_sid',false); > or > $retval1 = ini_set (

RE: [PHP] Using PHP to read style sheet -- create drop-down?

2003-07-03 Thread Sævar Öfjörð
Sorry, my bad. Replace $hm with $file[$i]. $hm was for my testing purposes and I forgot to change it :) -Original Message- From: J J [mailto:[EMAIL PROTECTED] Sent: 3. júlí 2003 02:34 To: [EMAIL PROTECTED] Subject: RE: [PHP] Using PHP to read style sheet -- create drop-down? It's readin

[PHP] string modification

2003-07-03 Thread sven
hi, i didn't find a function for this in the manual, but maybe there is one (or a workaround): does anyone have a solution for replacing multiple whitespaces with a single whitespace whitin a string? similar to trim(). maybe a regular expression? eg: $string = 'word1 word2 word3'; $modifie

Re: [PHP] Re: mail + regex + somethoughts

2003-07-03 Thread Jason Wong
On Thursday 03 July 2003 16:37, Shivanischal A wrote: > Hi Edwin, > > Let me restate my question... > > I'm now replying to ur mail. I've left ur message to me untouched. > (whatever follows '- Original Message - '). What i want is that > some SERVER-SIDE SCRIPT should be able to identify t

Re: [PHP] string modification

2003-07-03 Thread Leif K-Brooks
hi, i didn't find a function for this in the manual, but maybe there is one (or a workaround): does anyone have a solution for replacing multiple whitespaces with a single whitespace whitin a string? similar to trim(). maybe a regular expression? eg: $string = 'word1 word2 word3'; $modified

Re: [PHP] string modification

2003-07-03 Thread sven
thanks, this works. ciao SVEN Leif K-Brooks wrote: >> hi, >> >> i didn't find a function for this in the manual, but maybe there is >> one (or a workaround): >> >> does anyone have a solution for replacing multiple whitespaces with >> a single whitespace whitin a string? similar to trim(). maybe a

Re: [PHP] Re: mail + regex + somethoughts

2003-07-03 Thread sven
maybe you dig a little bit deeper: take a look at rfc2045 and following. they describe the mime-type. there is also specified, how boundaries in multipart-messages are defined. ciao SVEN - Edwin - wrote: > Hello, > > "Shivanischal A" <[EMAIL PROTECTED]> wrote: > >> Hi Edwin, >> >> Let me restate

Re: [PHP] Re: mail + regex + somethoughts

2003-07-03 Thread Shivanischal A
Hi Jason, I believe very much in the spirit of mailing lists and will never commit any undesirable activity. I got the idea is when i browsed thru the Usenet Discussion Forums using Google's web-interface to the Usenet. If u go their site, u can see this. The UI look very cluttered with the prev

[PHP] PHP + Linux: Configuration?

2003-07-03 Thread Luiz Morte
Hello list, I have a problem using php in linux. I´m using the code bellow: html code: php code ",count($linhas)); ?> If I repeat the line bellow 100 times and put this in a textarea, the php code returns that there are 154 lines. teste.com.br::Teste variaveis::teste::teste::dfasfafasdf

Re: [PHP] Forms & PHP

2003-07-03 Thread Greg Wiley
On Wed, 02 Jul 2003 14:58:39 +0100, Greg Wiley <[EMAIL PROTECTED]> wrote: On Wed, 2 Jul 2003 14:45:27 +0100, Gary Ogilvie <[EMAIL PROTECTED]> wrote: [snip] By maintaining the POST (assuming you're using POST)variables and calling them into the form values when reloaded. If you go to the second

[PHP] Get Rid of this Crook

2003-07-03 Thread Daryl Meese
Could someone that this ass of the mailing list Daryl -Original Message- From: MARIAM ABACHA [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 12:02 AM To: [EMAIL PROTECTED] Subject: [PHP] ASSISTANCE NEEDED Hello, I am sorry for the embarrassment this letter might cause you as w

Re: [PHP] Get Rid of this Crook

2003-07-03 Thread Christian Wach
@ 3/7/03 12:33 pm Daryl Meese wrote: > Could someone that this ass of the mailing list Just to chime in on the "reply to" thread earlier, Daryl, by hitting "reply all" has now sent his email address to these 401 scamsters as well as the list. Hopefully he'll not suffer any consequences from doing

RE: [PHP] Get Rid of this Crook

2003-07-03 Thread Brian S. Drexler
You do have to admit though, it is a pretty good story. :-) Now let me ask you this. You reply to this e-mail and give your phone/fax numbers and then I'm assuming those get spammed all to hell too. Correct? -Original Message- From: Daryl Meese [mailto:[EMAIL PROTECTED] Sent: Thursday,

RE: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-03 Thread Jeff Moser
So...why not write the entire included file as a function and then call that function instead of using include? I'd be interested, though, to hear if the return broke out of the include. -- Jeff Moser Web Developer ihigh Inc. / Host Interactive 859.232.8282 ---

[PHP] web based mail client

2003-07-03 Thread greg brant
hi, im the lead developer for a small online magazine / community we want to set up an e-mail service where our users can create their own mail account similar to hotmail etc etc. i plan on using the imap_ functions and i was just wondering about the potential security issues related to theses fu

Re: [PHP] Get Rid of this Crook

2003-07-03 Thread Jason Wong
On Thursday 03 July 2003 19:48, Christian Wach wrote: > Just to chime in on the "reply to" thread earlier, Daryl, by hitting "reply > all" has now sent his email address to these 401 scamsters as well as the > list. Hopefully he'll not suffer any consequences from doing this, but the > risk is the

RE: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-03 Thread Ford, Mike [LSS]
> -Original Message- > From: Jeff Moser [mailto:[EMAIL PROTECTED] > Sent: 03 July 2003 13:07 > > So...why not write the entire included file as a function and > then call that > function instead of using include? I'd be interested, though, > to hear if the > return broke out of the inclu

Re: [PHP] Re: mail + regex + somethoughts

2003-07-03 Thread Jason Wong
On Thursday 03 July 2003 19:18, Shivanischal A wrote: > I believe very much in the spirit of mailing lists and will never commit > any undesirable activity. I'm not saying that you have been committing any undesirable acts -- and AFAIK you haven't -- yet ;-) > I got the idea is when i browsed t

[PHP] Re: PHP5 classes

2003-07-03 Thread Catalin Trifu
hi, Read the Changes in PHP 5/Zend Engine 2.0 http://www.php.net/zend-engine-2.php The sections about constructors and destructors are self explanatory: the engine does not call autmatically the destructors nor the constructors from the parent class. Cheers, Catalin --

[PHP] Re: php my sql question

2003-07-03 Thread Anthony
When you upload the page to the webserver and then access it, do you just see the source? If so then you probably don;t have PHP support as part of your hosting package. Call your web host and find out. Also, if you're really new to PHP, I'll through this out too, you did put arround your scrip

RE: [PHP] Get Rid of this Crook

2003-07-03 Thread Adam Voigt
Well spamming doesn't get them any money. I believe I read they use this info to transfer money from your bank account, after convincing you to scan your passport for them, or something like that. One guy decided to "strike back", check it out: http://www.haxial.com/spls-soapbox/nigerian-fraud/

RE: [PHP] Get Rid of this Crook

2003-07-03 Thread Dan Joseph
No, they actually contact you, and scam you for about 2 trips to Europe, and $50,000. That's how they make their money. There have been several documentaries on cable about this stuff. -Dan Joseph > -Original Message- > From: Brian S. Drexler [mailto:[EMAIL PROTECTED] > Sent: Thursday,

[PHP] Job Offer

2003-07-03 Thread Erich Kolb
The company that I work for is currently looking for an additional web developer. If you are interested, please send your resume and a link to at least 3 of your most recent projects. Qualified candidates should have at least 4 years of experience with HTML/Javascript Design, PHP, MySQL, Apache,

RE: [PHP] dynamic form display??

2003-07-03 Thread Jay Blanchard
[snip] On the form that I am creating I allow the user to browse for a file. I would like it that once the user selects the file, that it displays only the file information in a on the same page. The idea is that the user can keep browsing and selecting files and the file information (location a

[PHP] Re: web based mail client

2003-07-03 Thread Pete Morganic
There's loads of email clients here http://www.hotscripts.com/PHP/Scripts_and_Programs/Email_Systems/Web-based_Email/index.html Greg Brant wrote: hi, im the lead developer for a small online magazine / community we want to set up an e-mail service where our users can create their own mail accoun

[PHP] Re: Calculating Largest Member of Array

2003-07-03 Thread Anthony
why not just change your array structure a little so that the date is the key, and the elements are the values. so it would look like this. Array ( [Jan-99] => Array ( [0] => 6399.36 [1] => 6132.71 [2] => 2242.20 [3] => 53.27

[PHP] Re: PHP user group

2003-07-03 Thread Steve Magruder
Erich Kolb wrote: > Does anyone know of a PHP user group near Gurnee, IL. I found one in > Chicago, but its a little far to go and they meet in the middle of > the day on Sat. Take a look at http://php.meetup.com - perhaps there's a PHP meetup near you. Steve -- Steve Magruder Consulting - htt

[PHP] Re: dynamic form display??

2003-07-03 Thread Anthony
PHP is not what you're looking for here. You'll want to use something like JavaScript. I'm assuming that you want to do this on the browser side so that you'll upload all the files at once. If that is the case, PHP won't know anything about it since it's a server side language. I've seen things

Re: [PHP] print html code

2003-07-03 Thread Wendell Brown
On Wed, 2 Jul 2003 14:23:23 -0700, Jim Lucas wrote: >well, tell me. What browser follows the standards 100% ?? I would bet that it would be easier to come up with a browser that supports 100% of the HTML standard (which is IMHO the minimum the browser HAS to support) than it would be to come up

RE: [PHP] print html code

2003-07-03 Thread Dan Joseph
Hi, > I would bet that it would be easier to come up with a browser that > supports 100% of the HTML standard (which is IMHO the minimum the > browser HAS to support) than it would be to come up with a browser that > supports 100% of the nonstandard. :) > > As the old saying goes two wrongs d

[PHP] Setting Cookie Going Nuts

2003-07-03 Thread Mike Morton
I am trying to issue a cookie, using the set cookie directive, and it is not working for some reason. The code below I have used before with perfect success. The only difference between the other place that I am using it is that the other place has globals on, this server has globals off (tho I t

RE: [PHP] Get Rid of this Crook

2003-07-03 Thread Doug Essinger-Hileman
On 3 Jul 2003 at 9:06, Adam Voigt wrote: > Well spamming doesn't get them any money. I believe > I read they use this info to transfer money from your bank > account, after convincing you to scan your passport for > them, or something like that. Actually, the scam is fairly sophisticated. They as

[PHP] Multiple posts.

2003-07-03 Thread news.php.net
I was wondering if there is a way to solve my problem. I want to send certain information to certain webpage for about 25 times ( I wanna make a webpage to send a SMS to every player in our soccer team). I can send the needed information to one server and it sends an SMS but how to do it 25 times i

Re: [PHP] Multiple posts.

2003-07-03 Thread Jeff Harris
On Jun 30, 2003, "news.php.net" claimed that: |I was wondering if there is a way to solve my problem. I want to send |certain information to certain webpage for about 25 times ( I wanna make a |webpage to send a SMS to every player in our soccer team). I can send the |needed information to one ser

[PHP] PHP to Excel Export

2003-07-03 Thread Mark McCulligh
Hi Group, I am working on an app the creates an Excel file. Right now I am using the PEAR package Spreadsheet_Excel_Writer. It works great but I have one problem. I have a field greater then 255 to export and the PEAR package truncates anything over 255. Has anyone used or know of a Excel class

[PHP] PHP and graphics

2003-07-03 Thread César Aracena
Hi all, I'm developing a new site where the visitors, among other things, will be able to see a map of my country, choose a region then a city, in order to see a complete map of that place. Another good thing would be to let the user set the starting and destination points of a trip and show him o

[PHP] Re: PHP + Linux: Configuration?

2003-07-03 Thread Anthony
Not 100% sure, but isn't $HTTP_POST_VARS depricated?... to lazy to look in the manual right now. You should use $_POST instead. I have no idea if that's causing your problem though :-P - Anthony "Luiz Morte" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello list, I have a prob

[PHP] Redirect to a different frame...

2003-07-03 Thread Grant Rutherford
Hello there, I was wondering if there is a way to use the header function in php to redirect the browser's output to a different frame. Specifically, I have a form on frame A which has two submit buttons. I would like one to submit the data in the form to a page which will load in frame A, and t

RE: [PHP] Redirect to a different frame...

2003-07-03 Thread Dan Joseph
Hi, > I was wondering if there is a way to use the header function in php to > redirect the browser's output to a different frame. > > Specifically, I have a form on frame A which has two submit buttons. I > would like one to submit the data in the form to a page which will load > in frame A, and

Re: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-03 Thread Jim Lucas
i works for me in many different areas on my site Jim Lucas - Original Message - From: "Jeff Moser" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 03, 2003 5:07 AM Subject: RE: [PHP] Break, Exit, Die, Kill, Maime and Stab So...why not write the entire included file as

RE: [PHP] Redirect to a different frame...

2003-07-03 Thread Grant Rutherford
Hi there, Thanks for your response. I understand that I can specify a target in the form tag. However, if I were to do that both buttons would have to go to the same frame. (I think?) If I could specify the target for each submit button, that would work perfectly. Also, if I could have the sa

RE: [PHP] Redirect to a different frame...

2003-07-03 Thread Dan Joseph
Oh, yeah, that is correct. You'd need to use the tag and put some javascript in them to target the frames. I'm not up on the javascript enough though, check javascript.internet.com for more information. -Dan Joseph > -Original Message- > From: Grant Rutherford [mailto:[EMAIL PROTECTED]

Re: [PHP] Get Rid of this Crook

2003-07-03 Thread Anthony
pathetic isn't it :-/ - Anthony "Doug Essinger-Hileman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On 3 Jul 2003 at 9:06, Adam Voigt wrote: > > > Well spamming doesn't get them any money. I believe > > I read they use this info to transfer money from your bank > > account, af

RE: [PHP] Redirect to a different frame...

2003-07-03 Thread Adam Voigt
On Thu, 2003-07-03 at 12:02, Dan Joseph wrote: > Oh, yeah, that is correct. You'd need to use the tag and put some > javascript in them to target the frames. I'm not up on the javascript > enough though, check javascript.internet.com for more information. > > -Dan Joseph > > > -Origin

RE: [PHP] Redirect to a different frame...

2003-07-03 Thread Grant Rutherford
Hi there, Thank you! I had a feeling that javascript would be the answer, but as I have not yet learned javascript, I was hoping that php would work. Oh, well. No sense putting that off anymore. Time to delve into the javascript tutorials. Thanks for your time, everyone. Grant On Thu, 2003-

[PHP] imap_search question

2003-07-03 Thread greg brant
hi. in the php manual the entry for imap_search states it has 3 arguments "imap_search ( resource imap_stream, string criteria, int options)" i get the first 2, but whats the third. at the end of the page it says "Valid values for flags are SE_UID, which causes the returned array to contain UID

[PHP] PHP form builder?

2003-07-03 Thread J J
I've seen survey tools before to build surveys dynamically with PHP code, but I'm looking for something a bit more simple that just allows you to build HTML forms dynamically. Something where I say I need 10 fields, some checkboxes, a submit button and it then generates the form on the fly. Then

[PHP] Please Help.. cgi.force_redirect does not work

2003-07-03 Thread Scott Fletcher
Hi! To make the long story short, we use IIS 5.0 with PHP 4.0.6 for a while. Then we builted a new database server, SQL-2000 and point the website to the new server. Then we notice the problem with the CGI error. So, we last week downloaded the PHP 4.3.3 and update the IIS with the newer PHP

RE: [PHP] PHP and graphics

2003-07-03 Thread SED
Hello Aracena, To answer your question: Yes, this is doable in PHP/MySQL but you need to make the maps, database and functions by yourself. However, I have not yet found any "all-ready-made" solution (without paying huge $$$). If you will find solution, please inform us if possible - even if you

[PHP] Re: web based mail client

2003-07-03 Thread Anthony
In addition to using an elready developed web mail client. If you plan to have a large number of users, you might want to go with some type of completely managed packaged software. I was reading about Novell NetMail. Check it out, even runs on Linux now too --> http://www.novell.com/products/netm

Re: [PHP] Get Rid of this Crook

2003-07-03 Thread Jeff Harris
On Jul 3, 2003, "Jason Wong" claimed that: |On Thursday 03 July 2003 19:48, Christian Wach wrote: | |> Just to chime in on the "reply to" thread earlier, Daryl, by hitting "reply |> all" has now sent his email address to these 401 scamsters as well as the |> list. Hopefully he'll not suffer any co

[PHP] Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Jeff Schwartz
The PHP site (under Servers-Apache 2.0) says "Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows" but isn't clear whether Linux is included or whether it applies to all Apache 2 releases (such as 2.0.46) or just the original 2.0. And, Red Hat 9 comes with

RE: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-03 Thread Chris Hayes
At 14:35 3-7-2003, you wrote: > -Original Message- > From: Jeff Moser [mailto:[EMAIL PROTECTED] > Sent: 03 July 2003 13:07 > > So...why not write the entire included file as a function and > then call that > function instead of using include? I'd be interested, though, > to hear if the > re

Re: [PHP] Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Sancar Saran
On Thursday 03 July 2003 20:51, Jeff Schwartz wrote: > The PHP site (under Servers-Apache 2.0) says "Do not use Apache 2.0 and PHP > in a production environment neither on Unix nor on Windows" but isn't clear > whether Linux is included or whether it applies to all Apache 2 releases > (such as 2.0.

RE: [PHP] Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Ford, Mike [LSS]
> -Original Message- > From: Jeff Schwartz [mailto:[EMAIL PROTECTED] > Sent: 03 July 2003 18:52 > > The PHP site (under Servers-Apache 2.0) says "Do not use > Apache 2.0 and PHP in a production environment neither on > Unix nor on Windows" Well, that's a clumsily-worded sentence all aro

Re: [PHP] Red Hat 9, Apache 2, and PHP

2003-07-03 Thread justin gruenberg
Jeff Schwartz wrote: The PHP site (under Servers-Apache 2.0) says "Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows" but isn't clear whether Linux is included or whether it applies to all Apache 2 releases (such as 2.0.46) or just the original 2.0. And, Red

[PHP] Uploading files time out every so often

2003-07-03 Thread Ivo Pletikosic
Hello, I am currently involved in a site where users frequently need to upload text files of various sizes. Every so often users will experience problems where the uploads will start timing-out and need to be reinitiated. The timeout problem comes and goes, so far I've been unable to find the roo

[PHP] Re: web based mail client

2003-07-03 Thread greg brant
yeah. the thing is. its a bit of a fudge. we dont have our own news server. were just on a £150 pre year hosting service its somthing we want to do so the workaround is you have one catch-all e-mail address then your mail system lives within this. so a user logs in to your e-mail frontend. not the

[PHP] DOMXML usage

2003-07-03 Thread Matt Grimm
I'm attempting to create a generic XML writer with the DOMXML functions which takes as its input the array structure generated by gdemartiti on this function page: http://us3.php.net/manual/en/function.xml-parse-into-struct.php Actually, it's the updated version done by [EMAIL PROTECTED], here: ht

[PHP] Sending a PDF page

2003-07-03 Thread Todd Cary
[Sent this the first time to the wrong list] In this code:  if ($prtpdf) {     include "letter_new.php";     exit;   } I create a PDF page, however I would like to continue within the script (not have the exit).  If I do that, the PDF page is corrupted by the script code. What is the best

[PHP] how do i work with an "object"

2003-07-03 Thread greg brant
imap_headder info returns an "object". print_r works to see all the stuff containd within but when i try to acces it via print object[date]; i get naff all to save you looking, heres the entry in the manual cheers folks Description object imap_headerinfo ( resource imap_stream, int msg_number

Re: [PHP] how do i work with an "object"

2003-07-03 Thread Brad Pauly
greg brant wrote: imap_headder info returns an "object". print_r works to see all the stuff containd within but when i try to acces it via print object[date]; i get naff all You need to assign the object to a variable first. There are some examples in the user contributed notes in the manual, bu

[PHP] Re: Please Help.. cgi.force_redirect does not work

2003-07-03 Thread Scott Fletcher
Oddly, the CGI Error message is intermitted. It come on some of the time and some of the other time doesn't. What is the problem here.? "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi! > > To make the long story short, we use IIS 5.0 with PHP 4.0.6 for a

Re: [PHP] Sending a PDF page

2003-07-03 Thread Brad Pauly
Todd Cary wrote: In this code: if ($prtpdf) { include "letter_new.php"; exit; } I create a PDF page, however I would like to continue within the script (not have the exit). If I do that, the PDF page is corrupted by the script code. What is the best solution for this? I am assuming

Re: [PHP] Sending a PDF page

2003-07-03 Thread Ray Hunter
Try using the a shutdown function: http://us2.php.net/manual/en/function.register-shutdown-function.php and put all your logic that needs to run after the exit function. -- BigDog On Thu, 2003-07-03 at 13:18, Todd Cary wrote: > [Sent this the first time to the wrong list] > > In this code: >

[PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Joseph Szobody
Folks, I'm just getting ready to built a webserver this weekend and was planning on using RH9, so this thread especially caught my eye. The website that the server will be hosting is pretty simple, some basic DB queries, no special Apache modules. Is Apache 2.0 still not a good choice for somet

Re: [PHP] Sending a PDF page

2003-07-03 Thread Suhas Pharkute
try to send it as attachment Suhas _   Encrypt your PHP code for FREE at   http://encphp.sspsoft.com   _ - Original Message - From: Todd Cary To: [EMAIL PROTECTED] Sent: Thursday, July 03, 2003 1:18 PM

Re: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread ed
I'm current;y in the process of setting up a new web server myself. The obvious choice for me was to use Red Hat 7.3 for the install. On a clean install all the nice options are already present, (ssl, php, mysql, gd lib) which is much better thatn what we used to run, Red Hat 5.2! Been running th

Re: [PHP] Need a function to calculate time difference.

2003-07-03 Thread Jack Sasportas
datetime. Thanks Jim Lucas wrote: what type of format does your column take? date time datetime ?? Jim Lucas - Original Message - From: "Jack Sasportas" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Wednesday, July 02, 2003 2:11 PM Subject: [PHP] Need a function to calculate

[PHP] PDF on the fly ?

2003-07-03 Thread [-^-!-%-
Hello! I'm trying to create a PDF file for downloading, but Acrobat cannot read the generated file. I get a "file corrupted or cannot be found", whenever I try to open the file. My script is as follow: header("Cache-control: private"); header("Content-type: application/octet-stream"); header(

Re: [PHP] PDF on the fly:::Addition

2003-07-03 Thread [-^-!-%-
I just found out that the generated file, though with .pdf extension, is actually an HTML file. The file was never encoded to PDF. What am I missing? -john =P e p i e D e s i g n s www.pepiedesigns.com Providing Solutions That Increase Productivity Web Developement. Database. Hosting. Mul

Re: [PHP] PDF on the fly:::Addition

2003-07-03 Thread Shena Delian O'Brien
[-^-!-%- wrote: I just found out that the generated file, though with .pdf extension, is actually an HTML file. The file was never encoded to PDF. What am I missing? You need a PDF file library... http://www.php.net/manual/en/ref.cpdf.php http://www.php.net/manual/en/ref.pdf.php -- PHP General Mai

[PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Mark McCulligh
I am also building a new server. I am going with RedHat 8, but only installing the Classic server from the CDs. Then installing/configuring Apache/PHP/MySQL/SSL manually. I like the rpm install programs but I like to be able to add modules in the future and I find it easier the configure it all by

Re: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread ed
Does anyone remember the warning concerning MySQL and glibc. I distinctly remember some conflict between the two and up2date installing a bad mismatch lib making MySQL act funny. It's one of the reasons I'll stick with Red Hat 7.3 but I my conclusions about the situation may be clouded because of

Re: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Greg Donald
> I usually don't like to use the new of anything until it have been out for > sometime and I don't see any see bug reports. And just when would this rare event occur, if ever? Every version of Apache, PHP, or Linux distro ever released has had bugs or exploits of some form. If you're waiting

Re: [PHP] PHP to Excel Export

2003-07-03 Thread Chris Hayes
At 16:56 3-7-2003, you wrote: Hi Group, I am working on an app the creates an Excel file. Right now I am using the PEAR package Spreadsheet_Excel_Writer. It works great but I have one problem. I have a field greater then 255 to export and the PEAR package truncates anything over 255. Has anyone u

[PHP] CSR file

2003-07-03 Thread Siddharth Hegde
Hello, Does any one know how to decode a CSR ( Certificate Signing Request) file in PHP and get the ifo out from the server? - Sid

[PHP] Please Hit these links... (for testing purposes)

2003-07-03 Thread Michael Smith
Hey, would everyone take a wack at http://www.prattmuseum.org:8080/prattcms/ http://www.prattmuseum.org:8080/prattcms/?id=49 and click links a couple of times? I'm working on some stats, and I especially need some from foreign countries (not US). Thanks! -Michael -- PHP General Mailing List (h

[PHP] Please Hit these links... (for testing purposes)

2003-07-03 Thread Michael Smith
Hey, would everyone take a wack at http://www.prattmuseum.org:8080/prattcms/ http://www.prattmuseum.org:8080/prattcms/?id=49 and click links a couple of times? I'm working on some stats, and I especially need some from foreign countries (not US). Thanks! -Michael -- PHP General Mailing List (htt

Re: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Todd Cary
Mark McCulligh wrote: I am also building a new server. I am going with RedHat 8, but only installing the Classic server from the CDs. Then installing/configuring Apache/PHP/MySQL/SSL manually. I like the rpm install programs but I like to be able to add modules in the future and I find it e

[PHP] Database question

2003-07-03 Thread Hardik Doshi
Hi Group, Currently i am connecting the underlying database server from every php page. To reduce the connection overhead i am thinking to store the PEAR DB object into the registry (session) at the time of user login. Here i am connecting the Database only one time and rest of the time i am using

[PHP] Re: Database question

2003-07-03 Thread Pete Morganic
definately do NOT recommend this path- Just make an include file at the top of each page pete Hardik Doshi wrote: Hi Group, Currently i am connecting the underlying database server from every php page. To reduce the connection overhead i am thinking to store the PEAR DB object into the registry (

[PHP] Re: [PHP-DB] Database question

2003-07-03 Thread Paul Chvostek
On Thu, Jul 03, 2003 at 07:00:17AM -0700, Hardik Doshi wrote: > > Currently i am connecting the underlying database > server from every php page. To reduce the connection > overhead i am thinking to store the PEAR DB object > into the registry (session) at the time of user login. > Here i am connec

  1   2   >