php-general Digest 6 Jun 2005 15:48:41 -0000 Issue 3497

2005-06-06 Thread php-general-digest-help
php-general Digest 6 Jun 2005 15:48:41 - Issue 3497 Topics (messages 216462 through 216493): Displaying an Outlook Calendar on a webpage using PHP 216462 by: Justin.Baiocchi.csiro.au 216490 by: tg-php.gryffyndevelopment.com categories and sub categories 216463 by:

[PHP] categories and sub categories

2005-06-06 Thread Merlin
Hi there, I am trying to retrieve cat and subcategories out of 2 db tables and output them via php. That seems not to be that trivial. My goal is to have output like this: - Languages : php : asp - Fruites : apples : peaches Therefore I do have a table cat

Re: [PHP] Re: stripping html tags

2005-06-06 Thread Dotan Cohen
On 6/6/05, Chris Shiflett [EMAIL PROTECTED] wrote: Dotan Cohen wrote: IF you know every single tag that exists! And being how I only wanted to remove four of them, the list of 'what to remove' is so much more compact than the 'leave those' list! For what purpose are you wanting to remove

[PHP] about the absolutely path

2005-06-06 Thread yangshiqi
I have a php application (let's call it app A) which is developed separated in a test domain name, like http://testa.xxx.com http://testa.xxx.com/ /. But now I have to move it to another app (called B) using http://testb.xxx.com http://testb.xxx.com/ /, and the app A becomes just a subsystem of

[PHP] Compiling PDO statically into PHP 5.0.4

2005-06-06 Thread Andreas Korthaus
Hi! I would like to compile PDO + PDO_sqlite statically into PHP 5.0.4. First I downloaded PDO-0.3.tgz and PDO_SQLITE-0.3.tgz and extracted them to /my/phpsrcdir/ext. I renamed the directories from PDO-0.3 to pdo and from PDO_SQLITE-0.3 to pdo_sqlite. I tried to follow these instructions:

[PHP] linux php editor

2005-06-06 Thread Clive Zagno
what php GUI editors do you recommend. Ive used bluefish before, any other recommendations, thanks clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] replace striing éèêà

2005-06-06 Thread Jochem Maas
John Taylor-Johnston wrote: Can someone show me how to get rid of international characters in $string? Is there a function already made? the acute/grave accents on the chars are called 'diacritics' You cannot use accented characters in a name reference : a name=montréal. I guess this below

Re: [PHP] looping through an array problem

2005-06-06 Thread Jochem Maas
Jack Jackson wrote: Forgive me if this comes twice: my ISP had a service blackout for three hours and I don't know what went: If my last post read (and I see that it did) that I was defending myself as opposed to falling ALL OVER my sword, I apologize: allow me to be clear: No, you're all

Re: [PHP] linux php editor

2005-06-06 Thread Jack Jackson
Clive Zagno wrote: what php GUI editors do you recommend. Ive used bluefish before, any other recommendations, thanks clive I love Jedit http://www.jedit.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP5 with Apache 1.3.29

2005-06-06 Thread XMG
I am trying to build Apache 1.3.29 on Fedora to use with mod_ssl and PHP5. After having built this all with no apparent problems I see this error message in the Apache error_log on startup: [Mon Jun 6 06:32:21 2005] [warn] Loaded DSO libexec/libphp5.so uses plain Apache 1.3 API, this

[PHP] How to submit a form that has a file included ?

2005-06-06 Thread Mário Gamito
Hi, I want to have a form with text fields and a browse field for uploading a file. Let's say i have a form with just two fields: form name=form1 method=post action=action.php tr td Employee:br / Name: input name=name type=text id=name size=50 /td /tr Employee File (a .doc):

RE: [PHP] How to submit a form that has a file included ?

2005-06-06 Thread Jay Blanchard
[snip] I want to have a form with text fields and a browse field for uploading a file. ... Now, i want here a browse button, so users when clicking on it trigers the os File Open box to choose the file to upload. ... My question is: what is the code i need in the form ? And the form tag, is it

[PHP] Implode? Explode?

2005-06-06 Thread Jack Jackson
Hi all, I'm trying to fetch similar things - in this case, rows which share a series ID no - and bring them into an array and display them grouped by what makes them similar (in this case, series id). I looked at implode and explode which seem wrong for this - the only separator I can see is

Re: [PHP] How to submit a form that has a file included ?

2005-06-06 Thread Mathieu Dumoulin
Jay Blanchard wrote: [snip] I want to have a form with text fields and a browse field for uploading a file. ... Now, i want here a browse button, so users when clicking on it trigers the os File Open box to choose the file to upload. ... My question is: what is the code i need in the form ?

Re: [PHP] What is faster?

2005-06-06 Thread Mark Cain
I see your point about including the timing code in the calculation itself and while it does add time to the process, he is not just timing this code -- he is timing this code against another. Meaning we don't want to know How fast is this code? per se -- we want to know Which is faster? So,

Re: [PHP] What is faster?

2005-06-06 Thread Jochem Maas
Mark Cain wrote: I see your point about including the timing code in the calculation itself and while it does add time to the process, he is not just timing this code -- he is timing this code against another. Meaning we don't want to know How fast is this code? per se -- we want to know Which

Re: [PHP] What is faster?

2005-06-06 Thread Marek Kilimajer
Mark Cain wrote: I see your point about including the timing code in the calculation itself and while it does add time to the process, he is not just timing this code -- he is timing this code against another. Meaning we don't want to know How fast is this code? per se -- we want to know Which

[PHP] Regex help

2005-06-06 Thread RaTT
Hi Guys, I am currently creating a once off text parser for a rather large document that i need to strip out bits of information on certain lines. The line looks something like : Adress line here, postcode, country Tel: +27 112233665 Fax: 221145221 Website: http://www.urlhere.com E-Mail:

[PHP] PHP bug within multi. dimensional arrays?

2005-06-06 Thread Merlin
Hi there, I am outputting an multidim. array. That works fine, except one thing. The first letter of the value inside dimension 1 always gets printed. For example: I fill the arrays: while ($row = mysql_fetch_object($result)){ $cat[$row-main_id][name]=

[PHP] Re: PHP bug within multi. dimensional arrays?

2005-06-06 Thread Matthew Weier O'Phinney
* Merlin [EMAIL PROTECTED]: Hi there, I am outputting an multidim. array. That works fine, except one thing. The first letter of the value inside dimension 1 always gets printed. For example: I fill the arrays: while ($row = mysql_fetch_object($result)){

Re: [PHP] Implode? Explode?

2005-06-06 Thread Brent Baisley
You're close, but you need to group your data on the series_id first. You can do that by looping through your array and creating another array using series_id as the array key. You'll end up with a list of arrays named after the series_id. foreach( $result_set as $result_item ) {

Re: [PHP] PHP bug within multi. dimensional arrays?

2005-06-06 Thread Richard Davey
Hello Merlin, Monday, June 6, 2005, 2:51:39 PM, you wrote: M while ($row = mysql_fetch_object($result)){ M $cat[$row-main_id][name] = $row-main_name; M $cat[$row-main_id][$row-sub_id][name] = M $row-sub_name; M } Quote array keys.. ALWAYS

Re: [PHP] PHP bug within multi. dimensional arrays?

2005-06-06 Thread Merlin
Richard Davey wrote: Hello Merlin, Monday, June 6, 2005, 2:51:39 PM, you wrote: M while ($row = mysql_fetch_object($result)){ M $cat[$row-main_id][name] = $row-main_name; M $cat[$row-main_id][$row-sub_id][name] = M $row-sub_name; M } Quote

Re: [PHP] linux php editor

2005-06-06 Thread Greg Donald
On 6/6/05, Clive Zagno [EMAIL PROTECTED] wrote: what php GUI editors do you recommend. any other recommendations, thanks vim -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] linux php editor

2005-06-06 Thread John Nichel
Greg Donald wrote: On 6/6/05, Clive Zagno [EMAIL PROTECTED] wrote: what php GUI editors do you recommend. any other recommendations, thanks vim You newbies and your fancy editors. Back in my day, you got vi, and you were happy with it. ;) -- John C. Nichel ÜberGeek KegWorks.com

Re: [PHP] Regex help

2005-06-06 Thread Philip Hallstrom
I am currently creating a once off text parser for a rather large document that i need to strip out bits of information on certain lines. The line looks something like : Adress line here, postcode, country Tel: +27 112233665 Fax: 221145221 Website: http://www.urlhere.com E-Mail: [EMAIL

[PHP] headers and session

2005-06-06 Thread Alessandro Rosa
Hi to all, I got a problem while storing session variables. ?php session_start(); header( Cache-control: private ); require_once(config.inc.php); $_SESSION['session_psw'] = $_POST['txtPassword']; $_SESSION['session_user'] =

Re: [PHP] linux php editor

2005-06-06 Thread Greg Donald
On 6/6/05, John Nichel [EMAIL PROTECTED] wrote: You newbies and your fancy editors. Back in my day, you got vi, and you were happy with it. ;) # dd if=/dev/tty of=/dev/hda1 -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Displaying an Outlook Calendar on a webpage using PHP

2005-06-06 Thread tg-php
That looks like some of my code.. or a derivative of my code. For some reason, my PC at work here is having issues with PHP instantiating with COM so I can't test this, but the code you posted is conspicuously missing all the braces { }. I'm guessing that's not your issue though... or else

[PHP] Re: PHP bug within multi. dimensional arrays?

2005-06-06 Thread Merlin
Matthew Weier O'Phinney wrote: * Merlin [EMAIL PROTECTED]: Hi there, I am outputting an multidim. array. That works fine, except one thing. The first letter of the value inside dimension 1 always gets printed. For example: I fill the arrays: while ($row = mysql_fetch_object($result)){

Re: [PHP] linux php editor

2005-06-06 Thread John Nichel
Greg Donald wrote: On 6/6/05, John Nichel [EMAIL PROTECTED] wrote: You newbies and your fancy editors. Back in my day, you got vi, and you were happy with it. ;) # dd if=/dev/tty of=/dev/hda1 Now we just need the punch card people to speak up. -- John C. Nichel ÜberGeek KegWorks.com

Re: [PHP] linux php editor

2005-06-06 Thread Rory Browne
Cut the red, connect the blue, and green.. In seriousness though I like vim, and Kate. On 6/6/05, John Nichel [EMAIL PROTECTED] wrote: Greg Donald wrote: On 6/6/05, John Nichel [EMAIL PROTECTED] wrote: You newbies and your fancy editors. Back in my day, you got vi, and you

[PHP] Re: headers and session

2005-06-06 Thread Matthew Weier O'Phinney
* Alessandro Rosa [EMAIL PROTECTED]: Hi to all, I got a problem while storing session variables. ?php session_start(); header( Cache-control: private ); require_once(config.inc.php); $_SESSION['session_psw'] =

[PHP] Re: headers and session

2005-06-06 Thread JB05UK
You have two calls to header? The first should be changed to:- session_cache_limiter('private'); http://php.net/manual/en/function.session-cache-limiter.php Alessandro Rosa wrote: Hi to all, I got a problem while storing session variables. ?php session_start(); header( Cache-control:

[PHP] headers and session

2005-06-06 Thread Alessandro Rosa
Does config.inc.php have any whitespace following the closing ? tag, or does it output any HTML? That could be your culprit. What happens if you do your $_SESSION setting *before* the require, but directly after the initial header() call? He knew that header may give problems with

Re: [PHP] linux php editor

2005-06-06 Thread Clive Zagno
the truth is Ive been developing on windows, because of some .net developments. Ive been starting most new projects as web applications and using php/mysql. On windows I used ultredit, then I found a product called phpedit, which I liked, now Im trying to move to linux. what I really want

Re: [PHP] linux php editor

2005-06-06 Thread John Nichel
Clive Zagno wrote: the truth is Ive been developing on windows, because of some .net developments. Ive been starting most new projects as web applications and using php/mysql. On windows I used ultredit, then I found a product called phpedit, which I liked, now Im trying to move to linux.

Re: [PHP] PHP and Zend

2005-06-06 Thread JB05UK
Ok thanks Richard Lynch wrote: On Sun, June 5, 2005 12:08 am, JamesBenson said: This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.7, Copyright (c) 2003-2005, by Zend Technologies with

[PHP] headers and session (2)

2005-06-06 Thread Alessandro Rosa
I want to thank you all for previous helpings. Really the first code was easy to be solved, but this is how it shall work out. This is a program running locally and the trouble is that session vars are stored in local files. I must avoid to store a plain text password therein, thus I need to

[PHP] Re: linux php editor

2005-06-06 Thread Manuel Lemos
Hello, on 06/06/2005 04:41 PM Clive Zagno said the following: what php GUI editors do you recommend. Ive used bluefish before, any other recommendations, thanks Personally I just use Kate that comes with KDE, but it is just an editor with PHP syntax highlighting support. Now, if you are

[PHP] Re: headers and session (2)

2005-06-06 Thread JB05UK
Ahhh, for storing session passwords...if you really need to store a password in the session then try using md5, like so... $psw = md5($_POST['txtPassword']); Then to verify a users password just do the same and compare to the stored md5 value in your database. But, its a very bad idea

[PHP] protect file access outside webroot

2005-06-06 Thread Bosky, Dave
If I want to protect document from being directly accessed from the web and only allow them to be served by a file, what's the best location to upload them? Currently I upload them the htsdata directory, is this the best location? Thanks. Dave HTC Disclaimer: The information contained

Re: [PHP] linux php editor

2005-06-06 Thread JB05UK
Clive Zagno wrote: what I really want is a app that can do that predictive text thing, you know when it start showing me the possible php syntax as Im typing it in. Two reasons for this is it help with debugging as I get the syntax correct the first time and secondly I think its cool.

[PHP] Re: protect file access outside webroot

2005-06-06 Thread JB05UK
Bosky, Dave wrote: Currently I upload them the htsdata directory, is this the best location? Any location outside your webroot is fine. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] This is happening why?

2005-06-06 Thread Chris Boget
Run this code: ? if( 0 == 'NULL' ) { echo 'NULL' == 0br; } else { echo 'NULL' != 0br; } ? Is this just a case of PHP converting variable types for comparison? thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Displaying an Outlook Calendar on a webpage using PHP

2005-06-06 Thread M Saleh EG
But why would you do that when you can share the Calendar over outlook? On 6/6/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: That looks like some of my code.. or a derivative of my code. For some reason, my PC at work here is having issues with PHP instantiating with COM so I can't test

Re: [PHP] Displaying an Outlook Calendar on a webpage using PHP

2005-06-06 Thread tg-php
Reasons: 1. Because you can. 2. Because I believe you need Exchange Server and IIS running to share outlook calendars out via the web(?) 3. Because the project has a requirement to do it this way 4. Because he likes a challenge The question Is this the best way to accomplish your goal is a

Re: [PHP] This is happening why?

2005-06-06 Thread tg-php
Yeah.. you're comparing a string, 'NULL' with an integer 0. You're not comparing NULL with anything, you're comparing a string that contains the word 'NULL'. You can use === to do an exact comparison without conversion. echo intval('NULL'); intval('NULL') === 0 = = = Original message = =

Re: [PHP] Implode? Explode?

2005-06-06 Thread Jack Jackson
Brent Baisley wrote: You're close, but you need to group your data on the series_id first. You can do that by looping through your array and creating another array using series_id as the array key. You'll end up with a list of arrays named after the series_id. foreach( $result_set as

RE: [PHP] This is happening why?

2005-06-06 Thread Jay Blanchard
[snip] ? if( 0 == 'NULL' ) { echo 'NULL' == 0br; } else { echo 'NULL' != 0br; } ? [/snip] Interesting, to be sure. I even flipped the test if('NULL' == 0) Of course, once I made 0 a string '0' the test evaluated FALSE. So 0 (integer) is TRUE and 'NULL' is TRUE, which means that you asked

Re: [PHP] linux php editor

2005-06-06 Thread Marek Kilimajer
Clive Zagno wrote: the truth is Ive been developing on windows, because of some .net developments. Ive been starting most new projects as web applications and using php/mysql. On windows I used ultredit, then I found a product called phpedit, which I liked, now Im trying to move to linux.

Re: [PHP] linux php editor

2005-06-06 Thread Danny Brow
On Mon, 2005-06-06 at 18:09 -0800, Clive Zagno wrote: the truth is Ive been developing on windows, because of some .net developments. Ive been starting most new projects as web applications and using php/mysql. On windows I used ultredit, then I found a product called phpedit, which I

[PHP] headers and session (question)

2005-06-06 Thread Alessandro Rosa
Here's below the solution (the encryption will be shortly performed into login.php). 1 ?php 2 session_start(); 3 $_SESSION['session_user'] = $_POST['txtIdUtente']; 4 $_SESSION['session_password'] = $_POST['txtPassword']; 5 $PHPcmd = login.php ; 6 header( Location: .$PHPcmd ); 7 ? But a

[PHP] Re: headers and session (question)

2005-06-06 Thread JamesBenson
I use sessions, I also dont store the users password into the session, if you use flat file sessions on a shared server then storing the password should be avoided, What I do is take a username and password, verify their details against database, if their details match one in database I

Re: [PHP] linux php editor... Quanta +... The best!

2005-06-06 Thread Andy Pieters
On Monday 06 June 2005 21:41, Clive Zagno wrote: what php GUI editors do you recommend. Ive used bluefish before, any other recommendations, thanks Hi I have been using Quanta + ever since I discovered it. Try it you'll like it too. Features include (but not limited to) code completion,

Re: [PHP] linux php editor... Quanta +... The best!

2005-06-06 Thread Rory Browne
Is there a particular reason why you changed the subject? It screws up threads on some clients - including mine. On 6/6/05, Andy Pieters [EMAIL PROTECTED] wrote: On Monday 06 June 2005 21:41, Clive Zagno wrote: what php GUI editors do you recommend. Ive used bluefish before, any other

[PHP] Re: PHP bug within multi. dimensional arrays?

2005-06-06 Thread Matthew Weier O'Phinney
* Merlin [EMAIL PROTECTED] : Matthew Weier O'Phinney wrote: * Merlin [EMAIL PROTECTED] : I am outputting an multidim. array. That works fine, except one thing. The first letter of the value inside dimension 1 always gets printed. For example: I fill the arrays: while

[PHP] Re: headers and session (question)

2005-06-06 Thread Matthew Weier O'Phinney
* Alessandro Rosa [EMAIL PROTECTED]: Here's below the solution (the encryption will be shortly performed into login.php). 1 ?php 2 session_start(); 3 $_SESSION['session_user'] = $_POST['txtIdUtente']; 4 $_SESSION['session_password'] = $_POST['txtPassword']; 5 $PHPcmd = login.php ; 6

RE: [PHP] dynamic drop down

2005-06-06 Thread Chris W. Parker
Danny Brow mailto:[EMAIL PROTECTED] on Saturday, June 04, 2005 2:45 PM said: So how do you refresh the page when the drop down is selected? With javascript or force the user to click a submit button. Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP bug within multi. dimensional arrays?

2005-06-06 Thread Richard Lynch
On Mon, June 6, 2005 6:51 am, Merlin said: I am outputting an multidim. array. That works fine, except one thing. The first letter of the value inside dimension 1 always gets printed. For example: I fill the arrays: while ($row = mysql_fetch_object($result)){

Re: [PHP] dynamic drop down

2005-06-06 Thread Denyl Meneses Guillén
in the drop down look up : onChange=your java script - Original Message - From: Chris W. Parker [EMAIL PROTECTED] To: Danny Brow [EMAIL PROTECTED]; PHP-Users php-general@lists.php.net Sent: Monday, June 06, 2005 2:34 PM Subject: RE: [PHP] dynamic drop down Danny Brow mailto:[EMAIL

Re: [PHP] Implode? Explode?

2005-06-06 Thread Richard Lynch
On Mon, June 6, 2005 5:32 am, Jack Jackson said: I'm trying to fetch similar things - in this case, rows which share a series ID no - and bring them into an array and display them grouped by what makes them similar (in this case, series id). I looked at implode and explode which seem wrong

Re: [PHP] about the absolutely path

2005-06-06 Thread Richard Lynch
On Mon, June 6, 2005 1:54 am, yangshiqi said: I have a php application (let's call it app A) which is developed separated in a test domain name, like http://testa.xxx.com http://testa.xxx.com/ /. But now I have to move it to another app (called B) using http://testb.xxx.com

Re: [PHP] Re: stripping html tags

2005-06-06 Thread Richard Lynch
On Mon, June 6, 2005 1:05 am, Dotan Cohen said: I am trying to access my local pop3 mail via wap. When I get home I download the messages, but while away I need access to them. I am trying to strip those tags from html mails so that they will display in my wap browser. So, on your current

Re: [PHP] linux php editor... Quanta +... The best!

2005-06-06 Thread Andy Pieters
On Monday 06 June 2005 23:05, Rory Browne wrote: Is there a particular reason why you changed the subject? It screws up threads on some clients - including mine. Well I wanted it to stand out. Didn't realize it would break the threads though. I thought K-Mail put in additional headers to

Re: [PHP] stripping html tags

2005-06-06 Thread Richard Lynch
Your RegEx is probably fine... But you are probably missing a closing quote in lines BEFORE line 39, and PHP thinks everything up the the =^ is still part of some giant monster long string that spans multiple lines, and then it gets to the /head bit (because your opening quote is really a

RE: [PHP] dynamic drop down

2005-06-06 Thread Richard Lynch
On Mon, June 6, 2005 2:34 pm, Chris W. Parker said: Danny Brow mailto:[EMAIL PROTECTED] on Saturday, June 04, 2005 2:45 PM said: So how do you refresh the page when the drop down is selected? With javascript or force the user to click a submit button. To be clear, and forestall the But

Re: [PHP] linux php editor... Quanta +... The best!

2005-06-06 Thread Robert Cummings
On Mon, 2005-06-06 at 18:14, Andy Pieters wrote: On Monday 06 June 2005 23:05, Rory Browne wrote: Is there a particular reason why you changed the subject? It screws up threads on some clients - including mine. Well I wanted it to stand out. I didn't know the mailing list was a

Re: [PHP] linux php editor... Quanta +... The best!

2005-06-06 Thread Greg Donald
On 6/6/05, Robert Cummings [EMAIL PROTECTED] wrote: I didn't know the mailing list was a popularity contest :/ It's not? Man.. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Craig's List Clone part deux

2005-06-06 Thread Michael O'Neal
Bumpanyone? On May 31, 2005, at 10:11 AM, Michael O'Neal wrote: Hi...I posted a while back looking for an open-source or affordable Craig's List clone built in PHP, and the advice was to search...there are a ton out there. So far, the only one I've been able to come up with is AJ

[PHP] Re: headers and session (question)

2005-06-06 Thread JamesBenson
It wont get passed because your not passing it along to the script in anyway, at line 3/4 you set the details into the session, then you redirect them to the login page so in your login.php just call the session variables which you just stored at line 3/4. login.php example: ?php echo

Re: [PHP] about the absolutely path

2005-06-06 Thread Jochem Maas
Richard Lynch wrote: On Mon, June 6, 2005 1:54 am, yangshiqi said: I have a php application (let's call it app A) which is developed separated in a test domain name, like http://testa.xxx.com http://testa.xxx.com/ /. But now I have to move it to another app (called B) using

[PHP] The goto discussion on the Internals List

2005-06-06 Thread Chris Drozdowski
I perused the discussion about the inclusion of goto into the PHP language on the php.internals list. From a PHP end-user's perspective, I would suggest that rather than focusing on adding new language constructs such as goto, that the development team put 100% focus on making what it already

[PHP] Re: Regex help

2005-06-06 Thread Al
RaTT wrote: Hi Guys, I am currently creating a once off text parser for a rather large document that i need to strip out bits of information on certain lines. The line looks something like : Adress line here, postcode, country Tel: +27 112233665 Fax: 221145221 Website:

RE: [PHP] How to submit a form that has a file included ?

2005-06-06 Thread Rob Agar
hi Mario And the form tag, is it allright like it is ? you'll need to add this: enctype=multipart/form-data Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] The goto discussion on the Internals List

2005-06-06 Thread Greg Donald
On 6/6/05, Chris Drozdowski [EMAIL PROTECTED] wrote: I perused the discussion about the inclusion of goto into the PHP language on the php.internals list. Yeah, I've been following it as well.. seems there would be bigger fish to fry, I dunno. I benched Ruby and PHP doing some simple random

RE: [PHP] Displaying an Outlook Calendar on a webpage using PHP

2005-06-06 Thread Justin.Baiocchi
Still no luck I am afraid. Same thing happens - it kicks off an instance of Outlook.exe on the server, but the page never loads, it just stays blank with a never-ending progress bar. I thought it could be security related but have shared out my Calendar with default having reviewer access. I am

[PHP] Re: about the absolutely path

2005-06-06 Thread JamesBenson
If you have .htaccess and mod_rewrite with apache server you can use something like the following in a .htaccess file. RewriteEngine on RewriteBase / RewriteRule ^(.*)/$ /e/$1 Thats just an example to get you started. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] stripping html tags

2005-06-06 Thread Dotan Cohen
On 6/7/05, Richard Lynch [EMAIL PROTECTED] wrote: Your RegEx is probably fine... But you are probably missing a closing quote in lines BEFORE line 39, and PHP thinks everything up the the =^ is still part of some giant monster long string that spans multiple lines, and then it gets to

Re: [PHP] Japanese with UTF-8 and mysql

2005-06-06 Thread Mark Sargent
Peter Brodersen wrote: On Thu, 2 Jun 2005 11:58:26 +0100, in php.general [EMAIL PROTECTED] (Richard Davey) wrote: I would recommend setting UTF-8 as the Content-type via PHP itself: header('Content-type: UTF-8') - do it as one of the first things when you're ready to output the HTML.