[PHP] Website to fax

2003-11-06 Thread Denis L. Menezes
Hello friends. I am trying to make a restaurant website where we can order on the net. However, since the waiters cannot watch emails, I want to convert the mail() messages from the webpage to a fax using an appropriate gateway. We want one gateway to server many web sites. Is there such a possib

[PHP] Source code

2003-11-06 Thread PHPLover
I have two questions. 1. Is it possible to download the entire PHP site so that i can learn from the source code at my liesure. I know that source code of PHP can be accessible through CVS but is there any anonymous FTP or a zip file download ?? 2. How can i implement the new feature (installed i

Re: [PHP] Re: Input Validation of $_SESSION values

2003-11-06 Thread Boyan Nedkov
Yes, you are right, it was my misunderstanding, sorry guys. Anyway, hope that posting was useful concerning the subject of the discussion. Boyan -- CPT John W. Holmes wrote: From: "Boyan Nedkov" <[EMAIL PROTECTED]> [snip] > ... Short of any severe bugs in PHP's core, there is no way for a > use

Re: [PHP] File creation date.

2003-11-06 Thread CPT John W. Holmes
From: "Carles Xavier Munyoz Baldó" <[EMAIL PROTECTED]> > I want to write a PHP function for delete the files in a directory older than > 1800 seconds. > Is there any function for it ? Start here: http://us2.php.net/manual/en/ref.filesystem.php ---John Holmes... -- PHP General Mailing List (htt

[PHP] XML and PHP

2003-11-06 Thread Victor Spång Arthursson
Hi! I've been looking at the XML-parserfunctions in the manual, and they seems nice enough. But I'm currently in a project where there is need to read from, write to and edit in XML-files, in some smart way. Our ISP is supporting the following: xml XML Support active XML Namespace Support ac

Re: [PHP] Re: Input Validation of $_SESSION values

2003-11-06 Thread CPT John W. Holmes
From: "Boyan Nedkov" <[EMAIL PROTECTED]> > [snip] > > ... Short of any severe bugs in PHP's core, there is no way for a > > user of your Web application to modify session data ... > [/snip] > > It seems that statement is not completely correct considering the topic > discussed in the paper 'Sess

[PHP] File creation date.

2003-11-06 Thread Carles Xavier Munyoz Baldó
Hi, I want to write a PHP function for delete the files in a directory older than 1800 seconds. Is there any function for it ? If not ... How may I obtain the creation date of a file in PHP ? Greetings. --- Carles Xavier Munyoz Baldó [EMAIL PROTECTED] http://www.unlimitedmail.net/ --- -- PHP Ge

[PHP] Strange problem with dbase_add_record

2003-11-06 Thread Nagib Abi Fadel
Hi, i'm doing the following operation: I'm reading multiple rows from a database then writing each row into a dbf file using dbase_add_record. I'm having the following problem : - some rows are beeing written other or not to the dbf file (sometimes). - if i repeat the operation all the rows are b

[PHP] Job Vacancy

2003-11-06 Thread Ian Williams
Hi my company (the one I work for I mean) are looking for a Junior Web Developer. They are based in Berkshire, and would ideally like someone with 1-2 years experience. Skills to include: a firm grasp of HTML and JavaScript, experience of server-side scripting (any flavour, but ASP / PHP preferre

Re: [PHP] Site Security

2003-11-06 Thread Shaun
"Dan Joseph" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > > > I have created a site that allows users to schedule staff, make > > appointments > > etc. Users must log in to use the site and the users data is held in the > > Users table of the MySQL database. However, due t

[PHP] MySQL Password Function

2003-11-06 Thread Shaun
Hi, I am trying to make my site more secure, can anyone suggest a tutorial on using the mySQL password function with PHP. I can't find anything through google... Thanks for your help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php executable and environmental variables

2003-11-06 Thread Eugene Lee
On Thu, Nov 06, 2003 at 11:11:13AM +0200, Tom Diamond wrote: : : I am trying to implement a simple web server (in Java) and I want to add : php support. For the moment I do a "Process p = : Runtime.getRuntime().exec("php /path/to/php/file")", I grab the output, : seperate headers from body and

Re: [PHP] Re: Input Validation of $_SESSION values

2003-11-06 Thread Boyan Nedkov
[snip] > ... Short of any severe bugs in PHP's core, there is no way for a > user of your Web application to modify session data ... [/snip] It seems that statement is not completely correct considering the topic discussed in the paper 'Session Fixation Vulnerability in Web-based Applications'

[PHP] php executable and environmental variables

2003-11-06 Thread Tom Diamond
Hello all, I am trying to implement a simple web server (in Java) and I want to add php support. For the moment I do a "Process p = Runtime.getRuntime().exec("php /path/to/php/file")", I grab the output, seperate headers from body and send it back to the client. For simple php pages this thing

Re: [PHP] Ive lost a zero somewhere

2003-11-06 Thread Eugene Lee
On Thu, Nov 06, 2003 at 03:03:35AM -, Richard Cook wrote: : : when i multiply for example 25 . 50 * 3 i get 76 . 5 how would i get : PHP to recognise the last 0 ie make it 76 . 50 What's with the extra spaces before and after your decimal points? -- PHP General Mailing List (http://www.php.

Re: [PHP] High bandwidth application tips

2003-11-06 Thread Eugene Lee
On Wed, Nov 05, 2003 at 05:17:29PM -0800, Chris W. Parker wrote: : : One thing you can do to make loops faster is the following: (yes I've : posted this in the past!!) : : Unoptimized: : : $upperlimit = 100; : : for($i = 0;$i < $upperlimit; $++) : { : // your stuff : } : : Optimized: :

[PHP] [Newbie Guide] For the benefit of new members

2003-11-06 Thread tech
= This message is for the benefit of new subscribers and those new to PHP. Please feel free to add more points and send to the list. == 1. If you have any queries/problems about PHP try

Re: [PHP] anyway to return more than one value?

2003-11-06 Thread Jason Wong
On Thursday 06 November 2003 10:58, Robert Cummings wrote: > It ABSOLUTELY amazes me how this list is so cyclic. Every couple of > weeks or so the exact same questions rotate back to the head of the > "already been answered, but someone needs to ask it again" list. Sure > they get a wee bit of a r

Re: [PHP] Re: Input Validation of $_SESSION values

2003-11-06 Thread Jason Wong
On Thursday 06 November 2003 13:36, Chris Shiflett wrote: > For example, if you store your sessions in a database, it's pretty trivial > for another user to write a PHP script that allows him/her to navigate the > filesystem, searching for your database access credentials. After all, if > Apache/P

[PHP] Re: Ive lost a zero somewhere

2003-11-06 Thread Lang Sharpe
You could use number_format.. $f = 25.50 * 3 $s = number_format($f,2,'.',NULL); Lang Richard Cook wrote: > I have a problem with the following > > when i multiply for example 25 . 50 * 3 i get 76 . 5 how would i get PHP > to recognise the last 0 ie make it 76 . 50 > > Any ideas? > > > Reg

<    1   2