RE: [PHP] Forum coded in PHP with mail and news gateway

2008-06-12 Thread Arno Kuhl
Not sure about the gateways but you can look at www.phpbb.com -Original Message- From: Michelle Konzack [mailto:[EMAIL PROTECTED] Sent: 11 June 2008 04:52 To: PHP - General Subject: [PHP] Forum coded in PHP with mail and news gateway Hello, because it is actual for me while having

Re: [PHP] class? package?

2008-06-12 Thread Iv Ray
Shelley wrote: Probably you have noticed this: The classes in a package are reused together. If you reuse one of the classes in a package, you reuse them all. If that's the case, then why not just use one class as one package? What's the point of splitting a package into several classes? :-(

Re: [PHP] regular expression to find body text in mobile

2008-06-12 Thread Yui Hiroaki
The server recieve email from mobile phone. I would like to retrieve the text of body of mobile phone, which recieve email from mobile phone email. Of cource, server run php and is able to use regular expression. But the email, which is recieved by mobile phone, retrieve text body on server.

[PHP] Re: Forum coded in PHP with mail and news gateway

2008-06-12 Thread Colin Guthrie
Michelle Konzack wrote: It should support: 1) PostgreSQL (my own database) 2) MySQL (my current hosting provider offer it only) 3) Threating ^ I don't think you'll have to search too far to find some old code with a very high level of threat.. :p

[PHP] Redirect after pdf / file download

2008-06-12 Thread Yashesh Bhatia
Hello: I'm trying to emulate a problem i'm trying to solve as follows. 1 - user enters information into a html form and submits 2 - a php script is invoked on the submit and a pdf file is stamped and made available for download 3 - the script finally redirects the user to a thank you html

Re: [PHP] Redirect after pdf / file download

2008-06-12 Thread Aschwin Wesselius
Yashesh Bhatia wrote: Hello: I'm trying to emulate a problem i'm trying to solve as follows. 1 - user enters information into a html form and submits 2 - a php script is invoked on the submit and a pdf file is stamped and made available for download 3 - the script finally redirects the

[PHP] HTML 5

2008-06-12 Thread Richard Heyes
This may be of interest (HTML 5 diffences to HTML 4 overview): http://www.w3.org/TR/2008/WD-html5-diff-20080610/ -- Richard Heyes Employ me: http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |

Re: [PHP] Redirect after pdf / file download

2008-06-12 Thread Yashesh Bhatia
Aschwin: Hi i tried -- //echo 'script type=text/javascript'; //echo 'window.location.href=3.html;'; //echo '/script'; header(Location: 3.html); exit; -- but that did not work :(.

RE: [PHP] PHP Runs But Does Not Display on Linux

2008-06-12 Thread Wei, Alice J.
Hi, I am assuming that once I install apache, (since now I am assuming that with a Linux box, I don't need to install PHP), then this would be a web server with a IP address. I could use something like ipconfig or ifconfig in my case to find the ip address, which I tried to use yum before to

[PHP] PHP connection to external application

2008-06-12 Thread hce
Hi, What is the best way for a PHP web application to connect to an external application written by C in Linux OS? (1) Can PHP directly call external C functions, or similar solution? (2) Can PHP pass messages to message queue which external C program can access? (3) Socket connection between

Re: [PHP] Redirect after pdf / file download

2008-06-12 Thread Steven Macintyre
On Thu, 2008-06-12 at 16:27 +0530, Yashesh Bhatia wrote: Aschwin: Hi i tried -- //echo 'script type=text/javascript'; //echo 'window.location.href=3.html;'; //echo '/script'; header(Location:

Re: [PHP] PHP connection to external application

2008-06-12 Thread Steven Macintyre
On Thu, 2008-06-12 at 21:20 +1000, hce wrote: Hi, What is the best way for a PHP web application to connect to an external application written by C in Linux OS? (1) Can PHP directly call external C functions, or similar solution? (2) Can PHP pass messages to message queue which

Re: [PHP] PHP connection to external application

2008-06-12 Thread Stut
On 12 Jun 2008, at 12:20, hce wrote: What is the best way for a PHP web application to connect to an external application written by C in Linux OS? (1) Can PHP directly call external C functions, or similar solution? No, but you can wrap the C functions in a PHP extension. (2) Can PHP pass

Re: [PHP] Redirect after pdf / file download

2008-06-12 Thread Yashesh Bhatia
What about doing it the other way ... submitting the page to a script that calls on the pdf creation, yet doesnt leave this script - then proceed to redirect when that script (pdf) has been completed? S steven: the steps u'r suggesting are 1 - submit form (1.html) to script (2.php) 2

Re: [PHP] PHP connection to external application

2008-06-12 Thread Per Jessen
hce wrote: What is the best way for a PHP web application to connect to an external application written by C in Linux OS? (1) Can PHP directly call external C functions, or similar solution? PHP can call external executables via e.g. exec(). (2) Can PHP pass messages to message queue

Re: [PHP] HTML 5

2008-06-12 Thread Pavel
В сообщении от Thursday 12 June 2008 16:43:59 Richard Heyes написал(а): This may be of interest (HTML 5 diffences to HTML 4 overview): what about xHTML? html died few years ago and i thought is was official.. //sorry for my english -- === С уважением, Манылов Павел aka [R-k] icq:

[PHP] UK PHP Host/Developer Required

2008-06-12 Thread Colin Sidwell
Hi, We are looking for someone to develop host a PHP site in the UK. The site is a corporate rewards site that enables users to buy gifts with with points they have been given by their employer. URL is here- http://www.waystoamaze.co.uk/ There are databases of users, companies, products and

Re: [PHP] UK PHP Host/Developer Required OT

2008-06-12 Thread tedd
Off-Topic At 1:46 PM +0100 6/12/08, Colin Sidwell wrote: Hi, We are looking for someone to develop host a PHP site in the UK. For sake of discussion -- why would one want to be specific about hosting in the UK? Why not just hosting, regardless of where the host is located? After all,

Re: [PHP] UK PHP Host/Developer Required OT

2008-06-12 Thread Richard Heyes
We are looking for someone to develop host a PHP site in the UK. For sake of discussion -- why would one want to be specific about hosting in the UK? Why not just hosting, regardless of where the host is located? Speed (eg. response time). Technical support hours etc. After all,

Re: [PHP] Redirect after pdf / file download

2008-06-12 Thread Bastien Koert
On Thu, Jun 12, 2008 at 7:46 AM, Yashesh Bhatia [EMAIL PROTECTED] wrote: What about doing it the other way ... submitting the page to a script that calls on the pdf creation, yet doesnt leave this script - then proceed to redirect when that script (pdf) has been completed? S

Re: [PHP] Re: Forum coded in PHP with mail and news gateway

2008-06-12 Thread Bastien Koert
On Thu, Jun 12, 2008 at 5:05 AM, Colin Guthrie [EMAIL PROTECTED] wrote: Michelle Konzack wrote: It should support: 1) PostgreSQL (my own database) 2) MySQL (my current hosting provider offer it only) 3) Threating ^ I don't think you'll have to

[PHP] Re: HTML 5

2008-06-12 Thread Colin Guthrie
Pavel wrote: В сообщении от Thursday 12 June 2008 16:43:59 Richard Heyes написал(а): This may be of interest (HTML 5 diffences to HTML 4 overview): what about xHTML? html died few years ago and i thought is was official.. Oh there are *lots* of discussions about that. Personally I'm

Re: [PHP] UK PHP Host/Developer Required

2008-06-12 Thread Colin Sidwell
2 reasons- 1. Google and other search engines return local results and the clients will all be in the UK 2. It's useful if the host company and the client keep the same office hours. Regards, Colin Colin Sidwell wrote: Hi, We are looking for someone to develop host a PHP site in the

Re: [PHP] UK PHP Host/Developer Required OT

2008-06-12 Thread Per Jessen
tedd wrote: For sake of discussion -- why would one want to be specific about hosting in the UK? Why not just hosting, regardless of where the host is located? After all, hopefully the site will be accessible globally, right? So, why the need for a specific geographical location for a

Re: [PHP] error Failed opening for inclusion

2008-06-12 Thread Lou Baccari
Hello, Sorry to brother you but I'm really in a pinch with this problem and I need to resolve it. The older Fedora Apache server runs just fine with DocumentRoot pointing to the NFS share. The NFS share is on our OS X file server. The new CentOS runs fine when DocumentRoot is pointing to

RE: [PHP] PHP Runs But Does Not Display on Linux

2008-06-12 Thread Wei, Alice J.
Hello, I have reinstalled Apache back into my Linux machine, and placed the code html headtitleTest/title body pThis is test/p ?php echo Hello!; ? /body /html into the apache/htdocs folder titled hello.php When I execute it from the browser using an http:// address

Re: [PHP] PHP Runs But Does Not Display on Linux

2008-06-12 Thread DeadTOm
Did you install the apache php module? In Ubuntu the package is called libapache2-mod-php5. Wei, Alice J. wrote: Hello, I have reinstalled Apache back into my Linux machine, and placed the code html headtitleTest/title body pThis is test/p ?php echo Hello!; ? /body /html

Re: [PHP] Redirect after pdf / file download

2008-06-12 Thread Nitsan Bin-Nun
You are totally in the wrong way. I would use an a tag and onclick property for opening the PDF in popup relocating the current page HTH Nitsan On 12/06/2008, Yashesh Bhatia [EMAIL PROTECTED] wrote: Hello: I'm trying to emulate a problem i'm trying to solve as follows. 1 - user enters

RE: [PHP] PHP Runs But Does Not Display on Linux

2008-06-12 Thread Thijs Lensselink
Quoting Wei, Alice J. [EMAIL PROTECTED]: Hello, I have reinstalled Apache back into my Linux machine, and placed the code html headtitleTest/title body pThis is test/p ?php echo Hello!; ? /body /html into the apache/htdocs folder titled hello.php When I execute it from

Re: [PHP] Redirect after pdf / file download

2008-06-12 Thread Jim Lucas
Yashesh Bhatia wrote: What about doing it the other way ... submitting the page to a script that calls on the pdf creation, yet doesnt leave this script - then proceed to redirect when that script (pdf) has been completed? S steven: the steps u'r suggesting are 1 - submit form (1.html)

RE: [PHP] PHP Runs But Does Not Display on Linux

2008-06-12 Thread Wei, Alice J.
Hi, Guys: Thanks for all of you who helped out, and I can now get this to work, by installing the PHP into the Linux Fedora box I have. What is odd is that on the download page of http://www.php.net, it mentioned the following on the downloads page: We do not distribute UNIX/Linux

RE: [PHP] PHP Runs But Does Not Display on Linux

2008-06-12 Thread Boyd, Todd M.
-Original Message- From: Wei, Alice J. [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2008 9:02 AM To: [EMAIL PROTECTED] Cc: php-general@lists.php.net Subject: RE: [PHP] PHP Runs But Does Not Display on Linux Hello, I have reinstalled Apache back into my Linux machine,

[PHP] unlink oddity

2008-06-12 Thread Valuelynk.Com
Ok, here is my problem. Using the code below, I am saving a posted form to a database including the files it contains. There is one line commented out.. The unlink command. Without the command, the script works fine and new files Overwrite the old files when uploaded. If, however, I uncomment

Re: [PHP] Redirect after pdf / file download

2008-06-12 Thread Philip Thompson
On Jun 12, 2008, at 8:32 AM, Bastien Koert wrote: On Thu, Jun 12, 2008 at 7:46 AM, Yashesh Bhatia [EMAIL PROTECTED] wrote: What about doing it the other way ... submitting the page to a script that calls on the pdf creation, yet doesnt leave this script - then proceed to redirect when

Re: [PHP] PHP Runs But Does Not Display on Linux

2008-06-12 Thread Shawn McKenzie
Wei, Alice J. wrote: Hi, Guys: Thanks for all of you who helped out, and I can now get this to work, by installing the PHP into the Linux Fedora box I have. What is odd is that on the download page of http://www.php.net, it mentioned the following on the downloads page: We do not

Re: [PHP] Command-line PHP memory limit

2008-06-12 Thread Shawn McKenzie
Per Jessen wrote: Rene Fournier wrote: Is it possible to set a unique memory limit for PHP scripts that are run from the command line? (That is, different from what's specified in php.ini.) This might specific to openSUSE, but the typical installation comes with separate php.inis for apache

RE: [PHP] Command-line PHP memory limit

2008-06-12 Thread Boyd, Todd M.
-Original Message- From: Shawn McKenzie [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2008 11:06 AM To: php-general@lists.php.net Subject: Re: [PHP] Command-line PHP memory limit Per Jessen wrote: Rene Fournier wrote: Is it possible to set a unique memory limit for PHP

Re: [PHP] Re: HTML 5

2008-06-12 Thread Nathan Nobbe
On Thu, Jun 12, 2008 at 7:37 AM, Colin Guthrie [EMAIL PROTECTED] wrote: Pavel wrote: В сообщении от Thursday 12 June 2008 16:43:59 Richard Heyes написал(а): This may be of interest (HTML 5 diffences to HTML 4 overview): what about xHTML? html died few years ago and i thought is was

Re: [PHP] Re: Forum coded in PHP with mail and news gateway

2008-06-12 Thread Usamah M. Ali
On Thu, Jun 12, 2008 at 4:34 PM, Bastien Koert [EMAIL PROTECTED] wrote: PHP does not support threading AFIAK. He probably meant threading as in forum threads, i.e. topics where discussions are presented in a threaded way. Regards, Usamah -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: Forum coded in PHP with mail and news gateway

2008-06-12 Thread Colin Guthrie
Usamah M. Ali wrote: On Thu, Jun 12, 2008 at 4:34 PM, Bastien Koert [EMAIL PROTECTED] wrote: PHP does not support threading AFIAK. He probably meant threading as in forum threads, i.e. topics where discussions are presented in a threaded way. I assumed exactly that :) -- PHP General

Re: [PHP] Re: HTML 5

2008-06-12 Thread M. Sokolewicz
Nathan Nobbe wrote: On Thu, Jun 12, 2008 at 7:37 AM, Colin Guthrie [EMAIL PROTECTED] wrote: Pavel wrote: В сообщении от Thursday 12 June 2008 16:43:59 Richard Heyes написал(а): This may be of interest (HTML 5 diffences to HTML 4 overview): what about xHTML? html died few years ago and i

Re: [PHP] Re: HTML 5

2008-06-12 Thread Nathan Nobbe
On Thu, Jun 12, 2008 at 4:05 PM, M. Sokolewicz [EMAIL PROTECTED] wrote: Nathan Nobbe wrote: On Thu, Jun 12, 2008 at 7:37 AM, Colin Guthrie [EMAIL PROTECTED] wrote: Pavel wrote: В сообщении от Thursday 12 June 2008 16:43:59 Richard Heyes написал(а): This may be of interest (HTML 5

[PHP] PHP code will not work

2008-06-12 Thread Joseph Subida
Hi. I am new to PHP. I found a tutorial that said to copy and paste the code into a .php document and open it in my browser: ?php echo $_SERVER['HTTP_USER_AGENT']; ? I'm pretty sure PHP is enabled on my computer. I've tested code such as: ?php //Function arguments function

Re: [PHP] PHP code will not work

2008-06-12 Thread Nathan Nobbe
On Wed, Jun 11, 2008 at 9:51 PM, Joseph Subida [EMAIL PROTECTED] wrote: Hi. I am new to PHP. I found a tutorial that said to copy and paste the code into a .php document and open it in my browser: ?php echo $_SERVER['HTTP_USER_AGENT']; ? I'm pretty sure PHP is enabled on my computer.

Re: [PHP] PHP code will not work

2008-06-12 Thread Daniel Brown
On Wed, Jun 11, 2008 at 11:51 PM, Joseph Subida [EMAIL PROTECTED] wrote: Hi. I am new to PHP. I found a tutorial that said to copy and paste the code into a .php document and open it in my browser: ?php echo $_SERVER['HTTP_USER_AGENT']; ? I'm pretty sure PHP is enabled on my computer.

[PHP] a questoin about the # char

2008-06-12 Thread Sebastian Camino
Hello, I want to know what the # char does. On a website I was working at, I tried to open a file with a # in it's name and I got an error. So I'd really appreciate any help to know how to avoid the error and what does the character do. Thanks a lot Sebastian -- PHP General Mailing

Re: [PHP] a questoin about the # char

2008-06-12 Thread Daniel Brown
On Thu, Jun 12, 2008 at 8:18 PM, Sebastian Camino [EMAIL PROTECTED] wrote: Hello, I want to know what the # char does. On a website I was working at, I tried to open a file with a # in it's name and I got an error. So I'd really appreciate any help to know how to avoid the error and what

Re: [PHP] a questoin about the # char

2008-06-12 Thread DeadTOm
Inside a php script the '#' denotes the beginning of a comment. I don't know that it has any use at all in the address line. What specifically is the error? I'd guess that php would ignore the rest of the line following the '#' and so this could generate any number of errors depending on what

Re: [PHP] unlink oddity

2008-06-12 Thread Chris
function saveRecord ($db,$POST) { $bd = /absolute_path_to_document_root; $fp = /path_to_files_from_document_root/; $ud = $bd . $fp; snip $path = $ud.$file; // absolute path to newly named file if ($fail || !$name || !$temp) continue; //

Re: [PHP] a questoin about the # char

2008-06-12 Thread Chris
Sebastian Camino wrote: Hello, I want to know what the # char does. In a url it's an anchor tag (http://www.w3schools.com/HTML/html_links.asp). In php it's used to mark a comment. ?php # this is a comment and not executed. ? It means nothing specific in a filename. -- Postgresql php

Re: [PHP] a questoin about the # char

2008-06-12 Thread Robert Cummings
On Fri, 2008-06-13 at 11:10 +1000, Chris wrote: Sebastian Camino wrote: Hello, I want to know what the # char does. In a url it's an anchor tag (http://www.w3schools.com/HTML/html_links.asp). In php it's used to mark a comment. ?php # this is a comment and not executed. ? It

Re: [PHP] class? package?

2008-06-12 Thread Shelley
On Wed, Jun 11, 2008 at 12:02 PM, Larry Garfield [EMAIL PROTECTED] wrote: On Tuesday 10 June 2008, Shelley wrote: Hi all, If you are designing with OO principles, could you give an explanation of what is the difference classes and packages? Several principles talks about classes and

Re: [PHP] a questoin about the # char

2008-06-12 Thread Robert Cummings
On Thu, 2008-06-12 at 22:03 -0400, Robert Cummings wrote: On Fri, 2008-06-13 at 11:10 +1000, Chris wrote: Sebastian Camino wrote: Hello, I want to know what the # char does. In a url it's an anchor tag (http://www.w3schools.com/HTML/html_links.asp). In php it's used to mark

Re: [PHP] class? package?

2008-06-12 Thread Shelley
On Thu, Jun 12, 2008 at 3:01 PM, Iv Ray [EMAIL PROTECTED] wrote: Shelley wrote: Probably you have noticed this: The classes in a package are reused together. If you reuse one of the classes in a package, you reuse them all. If that's the case, then why not just use one class as one package?

Re: [PHP] PHP connection to external application

2008-06-12 Thread hce
On Thu, Jun 12, 2008 at 9:30 PM, Stut [EMAIL PROTECTED] wrote: On 12 Jun 2008, at 12:20, hce wrote: What is the best way for a PHP web application to connect to an external application written by C in Linux OS? (1) Can PHP directly call external C functions, or similar solution? No, but