Re: [PHP] UK Bank Holidays 2

2004-03-06 Thread Shaun
Ryan A [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ryan: Well, that's not a very nice way to treat someone on the list, even if it was the second time you'd seen the question in the same day or even if it was a question that is obviously in the manual. Some people are

RE: [PHP] Let's start a php-advanced list!

2004-03-06 Thread electroteque
This has come up many times before and I really don't think it will work. Splitting advanced users from beginners means that there will be nobody to answer the beginner questions which means they will get posted to the advanced list where the people with the answers are. It is a self-defeating

Re: [PHP] UK Bank Holidays 2

2004-03-06 Thread Jason Wong
On Saturday 06 March 2004 16:17, Shaun wrote: [snip] Ryan, I may be getting out of my league here, but if the makers of PHP didn't care about us here in the UK then why was this function created: gmmktime(); What has *that* got to do with UK users? The fact is that for historical reasons

Re: [PHP] UK Bank Holidays 2

2004-03-06 Thread Shaun
Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Saturday 06 March 2004 16:17, Shaun wrote: [snip] Ryan, I may be getting out of my league here, but if the makers of PHP didn't care about us here in the UK then why was this function created: gmmktime(); What has

RE: [PHP] UK Bank Holidays 2

2004-03-06 Thread electroteque
I know reposting like this is wrong but I was just trying to make a point. Which is? In most cases reposting at such a short time interval will only annoy a lot people. I think it was 4 hours apart, one at 7am another at 11am but still .. google first, ask list after. -- PHP General

Re: [PHP] UK Bank Holidays 2

2004-03-06 Thread Jason Wong
On Saturday 06 March 2004 17:10, electroteque wrote: NB Your mail client is severely broken in the quoting department. Which is? In most cases reposting at such a short time interval will only annoy a lot people. I think it was 4 hours apart, one at 7am another at 11am but still .. google

[PHP] Am i dreaming or is the php frontpage broken ?

2004-03-06 Thread electroteque
8:45 pm EST, no content is showing in the middle ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Newbie

2004-03-06 Thread Amimu Austin
Hi I am a newbie in PHP and MySQL. I have developed a web databse using PHP and MySQL. However , I need more info on these product. Any sites you can recommend. Amimu CAFCA Limited Zimbabwe -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to

Re: [PHP] undefined index -------- please help !!!!!!!!

2004-03-06 Thread Dominique ANOKRE
on line 66 there is : $date=$_POST[date]; Thanks - Original Message - From: Chris W. Parker [EMAIL PROTECTED] To: Dominique ANOKRE [EMAIL PROTECTED]; Php List [EMAIL PROTECTED] Sent: Friday, March 05, 2004 8:20 PM Subject: RE: [PHP] undefined index please help

[PHP] when is a PDF not a PDF?

2004-03-06 Thread Rick Fleischer
The simple example from http://www.php.net/pdf (hard-wired to paper.pdf) just displayed the pdf data as a dump. I can ftp the file and it's OK. My hard-wired version is shown below. ?php $len = filesize(paper.pdf); header(Content-type: application/pdf); header(Content-Length: $len);

Re: [PHP] undefined index -------- please help !!!!!!!!

2004-03-06 Thread John Nichel
Dominique ANOKRE wrote: on line 66 there is : $date=$_POST[date]; Thanks $_POST['date'] isn't set. if ( isset ( $_POST['date'] ) ) { $date = $_POST['date']; } -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] odd, sporatic upload problem ...

2004-03-06 Thread Raditha Dissanayake
Hi, The most likely reason that one guy can't upload when everyone else can is because he is behind a proxy that limits the size of post data. Kenn Murrah wrote: Greetings. I have an odd (to me) problem ... from most computers, the upload code (shown, in part, below) works just fine

Re: [PHP] Let's start a php-advanced list!

2004-03-06 Thread Brian V Bonini
On Sat, 2004-03-06 at 01:57, Galen wrote: Who runs the php official mailing lists? Can we ask them to start a php-advanced list? Give it a description like Ready to take you coding to the next level? Got questions about high-level PHP code? This is the list for you. Redirect people asking

php-general Digest 6 Mar 2004 14:08:01 -0000 Issue 2630

2004-03-06 Thread php-general-digest-help
php-general Digest 6 Mar 2004 14:08:01 - Issue 2630 Topics (messages 179621 through 179646): Re: UK Bank Holidays 2 179621 by: Tom Rogers 179625 by: Ben Ramsey 179627 by: Ryan A 179631 by: Shaun 179633 by: Jason Wong 179634 by: Shaun

Re: [PHP] Newbie

2004-03-06 Thread Brian V Bonini
On Fri, 2004-03-05 at 06:55, Amimu Austin wrote: Hi I am a newbie in PHP and MySQL. I have developed a web databse using PHP and MySQL. However , I need more info on these product. Any sites you can recommend. php.net mysql.com -- Brian V Bonini [EMAIL PROTECTED] -- PHP General Mailing

Re: [PHP] Re: FIle Upload problems

2004-03-06 Thread Brian V Bonini
Do yourself a favour, study the example in the manual, get it working, understand how it works, Lighten up Francis, it was 10pm at night after a 14 hour day and 62 hour week. I appreciate the help but can do without the cynicism. -- Brian V Bonini [EMAIL PROTECTED] -- PHP General

[PHP] How to write this correctly?

2004-03-06 Thread Labunski
// or example I have some link: a href='index.php?action=people'About people/a // so this function will output the content of people.txt file: if ($action==people){ function output() { $file = file(data/people.txt); foreach($file as $value ) { $output .= $valuebr; }

Re: [PHP] How to write this correctly?

2004-03-06 Thread Brian V Bonini
On Sat, 2004-03-06 at 08:50, Labunski wrote: // or example I have some link: a href='index.php?action=people'About people/a // so this function will output the content of people.txt file: if ($action==people){ function output() { $file = file(data/people.txt); foreach($file as

Re: [PHP] UK Bank Holidays 2

2004-03-06 Thread Ryan A
Wowee..Now isnt this a nice response with people taking sides and everything. :-) Shaun, Ryan, I may be getting out of my league here, but if the makers of PHP didn't care about us here in the UK then why was this function created: gmmktime(); I didnt say they didnt care about you in the UK,

Re: [PHP] Let's start a php-advanced list!

2004-03-06 Thread Ryan A
This has come up many times before and I really don't think it will work. Splitting advanced users from beginners means that there will be nobody to answer the beginner questions which means they will get posted to the advanced list where the people with the answers are. It is a

Re: [PHP] UK Bank Holidays 2

2004-03-06 Thread Raditha Dissanayake
And for the record, I didnt single you out the post was just irritating...the rest of you who dont agree..thats your opinion..and the rest of you who got pissed at me...bite me. Cheers, -Ryan What come all the way from Sri Lanka to Sweden just to bite you? Good thing the authors of PHP didn't

[PHP] Scripts for customer - service provider web available?

2004-03-06 Thread Denis L. Menezes
Hello friends. I am in a hurry to make a website where suppliers can advertise their products and services and customers can place their requirements so the requirements can be matched with the service providers. Also vistors should be able to seek suppliers and customers. Can anyone tell me

[PHP] PHP and Apache Using up all memory

2004-03-06 Thread Juan E Suris
Hi! I have a problem with PHP and Apache, where Apache uses up a huge amount of memory. What happens is that I have a PHP script that creates a file on the fly and sends it directly to the broswer (as an attachment, so that the user can save it). The problem is that when the file is big and

[PHP] Question of Charset

2004-03-06 Thread edwardspl
Dear All, How to control php ( programms on Linux System ) convert the charset of unicode from MS-SQL 2000 ? Very thank for your help ! Edward. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Changing Default Charset

2004-03-06 Thread Junaid Saeed Uppal
Hello There, I am on a shared account server ( virtual hosting ) given by my provider. I want to change my charset that php uses to utf-8 but the default setting is some other charset. Can I put some local directives in the directory of my proggie to force php to use charset( UTF-8 ) instead of

Re: [PHP] UK Bank Holidays 2

2004-03-06 Thread Ryan A
On 3/6/2004 5:36:01 PM, Raditha Dissanayake ([EMAIL PROTECTED]) wrote: And for the record, I didnt single you out the post was just irritating...the rest of you who dont agree..thats your opinion..and the rest of you who got pissed at me...bite me. Cheers, -Ryan What come all the

Re: [PHP] Scripts for customer - service provider web available?

2004-03-06 Thread Ryan A
Hey, I have seen quite a few of these on Hotscripts and other script archive sites.. they are mostly listed under auctions and classifieds. Check out hotscripts and after that google if you dont find what you are looking for. Cheers, -Ryan On 3/6/2004 6:03:20 PM, Denis L. Menezes ([EMAIL

Re: [PHP] Let's start a php-advanced list!

2004-03-06 Thread Jason Davidson
I definately agree with Rasmus, seperation will only cuase migration to the advanced list anyways, you need 'advanced' users helping the 'less-advanced' users. This is the purpose of the list. Jason Rasmus Lerdorf [EMAIL PROTECTED] wrote: On Fri, 5 Mar 2004, Galen wrote: From my

Re: [PHP] How to write this correctly?

2004-03-06 Thread joel boonstra
On Sat, Mar 06, 2004 at 09:34:26AM -0500, Brian V Bonini wrote: What to do? function output($data_file) { $file = file(data/$data_file.txt); foreach($file as $value ) { $output .= $valuebr; } return $output; } switch($action) { case

Re: [PHP] when is a PDF not a PDF?

2004-03-06 Thread Jeff Harris
On Mar 6, 2004, Rick Fleischer claimed that: |The simple example from http://www.php.net/pdf (hard-wired to paper.pdf) |just displayed the pdf data as a dump. I can ftp the file and it's OK. My |hard-wired version is shown below. | |?php |$len = filesize(paper.pdf); |header(Content-type:

[PHP] extra breaks in sent out emails

2004-03-06 Thread Scott Taylor
I am entering some text into a webpage, then using $_POST on the next page to recieve it. It then should email the $_POST to an email address. The problem that I am encountering is that I am getting an extra line break on every line. If I enter a b into the textarea (which is the variable

[PHP] Re: extra breaks in sent out emails

2004-03-06 Thread Ben Ramsey
Could you post the code you're using to write your $_POST variable to the e-mail message? I seem to remember coming across a problem like this in the past, and I'd like to see your code to see if it jogs my memory. Thanks. BTW, it shouldn't have anything to do with the fact that you're

Re: [PHP] UK Bank Holidays 2

2004-03-06 Thread Ben Ramsey
Ryan A wrote: Wowee..Now isnt this a nice response with people taking sides and everything. :-) Ryan, I want to officially apologize since it appears that I started this mess. To me, it just appeared that you were flaming someone, and while perhaps for good cause (since he posted two threads to

Re: [PHP] UK Bank Holidays 2

2004-03-06 Thread Ryan A
Ryan, I want to officially apologize since it appears that I started this mess. To me, it just appeared that you were flaming someone, and while perhaps for good cause (since he posted two threads to the list about the same topic only a matter of a few hours apart), I just felt it was

[PHP] domain.org/?page=pageName method

2004-03-06 Thread Barýþ
A general thing to do while coding a site is to include header.php at the top of the file (and footer.php at the end of file). Another method is to put these header and footer files together in index.php and including the desired page between them. We get the desired page from the query string:

Re: [PHP] How to write this correctly?

2004-03-06 Thread Brian V Bonini
On Sat, 2004-03-06 at 16:17, joel boonstra wrote: Hrm... why the switch() statement? Ir seemed close to what he already had going. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Changing Default Charset

2004-03-06 Thread Brian V Bonini
On Sat, 2004-03-06 at 12:19, Junaid Saeed Uppal wrote: Hello There, I am on a shared account server ( virtual hosting ) given by my provider. I want to change my charset that php uses to utf-8 but the default setting is some other charset. Can I put some local directives in the directory of

[PHP] Mail fifth parameter

2004-03-06 Thread Enrico Comini
I have to send a email to a server where is very important the Return-Path to match the identity. If I use mail([EMAIL PROTECTED], object, $message,From: [EMAIL PROTECTED]. Reply-To:[EMAIL PROTECTED] .Return-Path: [EMAIL PROTECTED]); I see in the received message that return-path Is not that

Re: [PHP] Mail fifth parameter

2004-03-06 Thread Marek Kilimajer
Enrico Comini wrote: I have to send a email to a server where is very important the Return-Path to match the identity. If I use mail([EMAIL PROTECTED], object, $message,From: [EMAIL PROTECTED]. Reply-To:[EMAIL PROTECTED] .Return-Path: [EMAIL PROTECTED]); I see in the received message that

Re: [PHP] Let's start a php-advanced list!

2004-03-06 Thread Galen
Hello All, You do make some excellent points. Maybe an advanced list isn't the greatest idea. But at least listen to what I had envisioned: My goal was to provide an area that fosters stretching PHP. Big projects, unusual projects, weird hacks... all kinds of advanced stuff. I have thought

Re: [PHP] Let's start a php-advanced list!

2004-03-06 Thread Jason Davidson
Sounds like you want to have more of a discussion list rather than help list.. which is not a bad idea, regardless of expertise. Jason Galen [EMAIL PROTECTED] wrote: Hello All, You do make some excellent points. Maybe an advanced list isn't the greatest idea. But at least listen to what

Re: [PHP] Let's start a php-advanced list!

2004-03-06 Thread Marc Greenstock
Interesting topic, However I don't necessarily agree that newbie's wont get their question answered. There are a lot of helpfully people out there, a lot of them are advanced in their programing but find the satisfaction of helping, or mentoring someone into advanced programming who is less

[PHP] imagecreatejpeg locks php

2004-03-06 Thread kringla
First, some ranting about safe_mode. Results from ini_get with safe_mode=On [memory_limit] = Array ( [global_value] = 8M [local_value] = 8M [access] = 7 ) And the manual says: PHP_INI_ALL - 7 - Entry can be set anywhere So I figure I have access to change memory_limit? But when I

Re: [PHP] How to write this correctly?

2004-03-06 Thread Tom Rogers
Hi, Saturday, March 6, 2004, 11:50:04 PM, you wrote: L // or example I have some link: L a href='index.php?action=people'About people/a L // so this function will output the content of people.txt file: L if ($action==people){ L function output() { L $file = file(data/people.txt); L

php-general Digest 7 Mar 2004 02:14:35 -0000 Issue 2631

2004-03-06 Thread php-general-digest-help
php-general Digest 7 Mar 2004 02:14:35 - Issue 2631 Topics (messages 179647 through 179675): Re: How to write this correctly? 179647 by: Brian V Bonini 179658 by: joel boonstra 179665 by: Brian V Bonini 179675 by: Tom Rogers Re: UK Bank Holidays 2

[PHP] Need Help in shoppin cart

2004-03-06 Thread New Session
Sir, I am a web developer, I had made many sites like shooping cart, mangement leads etc. Iam comfortable in PHP as well as in ASP iam ready to make sites in just $500.Sites made by me are running successfully and doing great job .I can make site having following facilities. Admin Panel:

Re: [PHP] Need Help in shoppin cart

2004-03-06 Thread Ryan A
This is sooo low down I think he has to look up to see the snakes belly. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] UK Bank Holidays 2

2004-03-06 Thread Raditha Dissanayake
Hi my mail was intended as a joke :-) to defuse the tension that was building up. Ryan A wrote: On 3/6/2004 5:36:01 PM, Raditha Dissanayake ([EMAIL PROTECTED]) wrote: And for the record, I didnt single you out the post was just irritating...the rest of you who dont agree..thats your

Re: [PHP] PHP and Apache Using up all memory

2004-03-06 Thread Raditha Dissanayake
Hi Juan, What you can do is to switch off output buffering. If it is a really large file you might want to generate the file offline and deliver it using the more conventional hyperlink. all the best Juan E Suris wrote: Hi! I have a problem with PHP and Apache, where Apache uses up a huge

Re: [PHP] domain.org/?page=pageName method

2004-03-06 Thread Raditha Dissanayake
Hi, I think this is largely a matter of personal opinion. However even though you have taken every precaution against illegal content there is always a chance of someone getting throughwtih the domain.org/?page=pageName approach. So perhaps it's a little bit more risky. Bar Mert wrote: A

Re: [PHP] Need Help in shoppin cart

2004-03-06 Thread John Nichel
New Session wrote: Sir, I am a web developer, I had made many sites like shooping cart, mangement leads etc. major snip Perhaps you can design me an application that will eliminate stupid email? -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List

Re: [PHP] Mail fifth parameter

2004-03-06 Thread Raditha Dissanayake
It's an often overlooked fact that you can pass additional headers in the fourth parameter. I do belive you should use \n and not \r\n then your code will look like mail([EMAIL PROTECTED], object, $message, From: [EMAIL PROTECTED] . Reply-To:[EMAIL PROTECTED].

Re: [PHP] Mail fifth parameter

2004-03-06 Thread Jason Davidson
\r\n is good :) J Raditha Dissanayake [EMAIL PROTECTED] wrote: It's an often overlooked fact that you can pass additional headers in the fourth parameter. I do belive you should use \n and not \r\n then your code will look like mail([EMAIL PROTECTED], object, $message, From:

Re: [PHP] PHP and Apache Using up all memory

2004-03-06 Thread Juan E Suris
Right now I am genereating the file offline and using a hyperlink, but that creates double the disk I/O. It reads some files (which the big file is based on), writes the big file, and reads the big file (to deliver it when the user clicks the hyperlink). If I could just create the file and deliver

Re: [PHP] preg_split - spliting string

2004-03-06 Thread Burhan Khalid
Bambero wrote: Hi I need to split a string by the: , (comma) separator, but when the comma is beetwen it should be skipped. Ex: test ts sasa, assas sasa,asaas dasdas, da = test ts sasa = assas sasa,asaas dasdas = da If this is a CSV file, you can try fgetcsv. From http://www.php.net/fgetcsv

[PHP] Re: extra breaks in sent out emails

2004-03-06 Thread Scott Taylor
on Page One form action=pagetwo.php method=post textarea cols=100 rows=40 name=email_body a b /textareabrbr /form On Page Two: $to = $row['email_address']; $body = stripslashes(trim($_POST['email_body'])); mail($to, $subject, $body, $headers);