Re: [PHP] Re: System specific information gathering

2005-07-22 Thread Ramil Sagum
On 7/23/05, Vidyut Luther <[EMAIL PROTECTED]> wrote: > Ok, > If I use the file_get_contents.. how do I actually parse the > contents on /proc/uptime > cat /proc/uptime > 1400293.13 1317047.64 The first number is the total uptime in seconds, the second number is the total idle time. --

Re: [PHP] inserting html within a mail body

2004-12-06 Thread Ramil Sagum
On Tue, 7 Dec 2004 02:31:10 -, Ross Hulford <[EMAIL PROTECTED]> wrote: > Hi, > I am using the mail() function in php andI am looking for a quick and easy > way to make the mail_body of an auto response email with HTML tags in it so > I can add some style to it. Hi! The PHPs manual page on t

Re: [PHP] Sequrity without HTTPS?

2004-11-18 Thread Ramil Sagum
On Thu, 18 Nov 2004 12:41:01 +0100, Peter Lauri <[EMAIL PROTECTED]> wrote: > Best groupmember, > > My webhost (crappy > but nonexpensive) does not support HTTPS and I still want to be able to > create some sort of secure login. > > Someone with some tips and tricks to get a secure system without

Re: [PHP] Sorting...

2004-11-17 Thread Ramil Sagum
On Wed, 17 Nov 2004 09:03:12 -0500 (EST), Russell P Jones <[EMAIL PROTECTED]> wrote: > I have an array filled with CSV data... > > array ( > 20040310, Title, Author > 20041115, Title, Author > 20040513, Title, Author > ) > > where each array element is 1 line from

Re: [PHP] Why cookie is created?

2004-11-09 Thread Ramil Sagum
On Tue, 9 Nov 2004 11:43:19 +, Jerry Swanson <[EMAIL PROTECTED]> wrote: > So As I understand. Session also store ID on the harddrive. I don't > see the big difference between session and cookies from "privacy" > point of view. > Instead of "Session also store ID on the harddrive" a more co

Re: [PHP] enterprise php application automated testing

2004-10-23 Thread Ramil Sagum
On Sat, 23 Oct 2004 20:00:48 -0400, blackwater dev <[EMAIL PROTECTED]> wrote: > Hello all, > > I know I can use simpletest to test my application at the class level > but I need a tool to test it at a much higher level. I need something > to enter data in forms, click links, etc. I have played s

Re: [PHP] Thanks but problem Again! (MySQL & PHP database script PLEASE)

2004-10-22 Thread Ramil Sagum
sorry, M. Sokolewicz, everyone, reposting in english :) (previous post had some japanese text.) >Arigato thank you. It was my pleasure. This is your problem: > Bad query: You have an error in your SQL syntax near 'and Tit like and Aut > like and Auty like ' at line 4 The SQL query you forme

Re: [PHP] Thanks but problem Again! (MySQL & PHP database script PLEASE)

2004-10-22 Thread Ramil Sagum
On Fri, 22 Oct 2004 16:13:07 +0900, Sugimoto <[EMAIL PROTECTED]> wrote: > Thank you for two of you. dou itashimashite. This is your problem: > Bad query: You have an error in your SQL syntax near 'and Tit like and Aut > like and Auty like ' at line 4 The SQL query you formed may have an invalid

Re: [PHP] MySQL & PHP database script PLEASE

2004-10-21 Thread Ramil Sagum
> > .pdf">pdf > replace the above block with .pdf">pdf ganbatte! ramil http://ramil.sagum.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] supplied argument is not a valid

2004-09-24 Thread Ramil Sagum
On Sat, 25 Sep 2004 01:01:13 -0400, John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > Hi, Hi, the error on the line line 101> while ($mydata2 = mysql_fetch_object($news2)) says that $news2 is null. The line $news2 = mysql_query($sql2); //desc => z-a probably didn't work. How about trying; $n

Re: [PHP] New Line Character while downloading a file!

2004-09-24 Thread Ramil Sagum
On Fri, 24 Sep 2004 16:15:19 +0530, Divick Kishore <[EMAIL PROTECTED]> wrote: >Another problem is that when the file is downloaded a new >line character is added to the top of it unncessarily due to which it can't >be opened with any image viewer. >Once I reomove that newline character, it works fi

Re: [PHP] How does work shorten url services?

2004-09-18 Thread Ramil Sagum
On Sat, 18 Sep 2004 10:49:34 +0200 (CEST), Henri Marc <[EMAIL PROTECTED]> wrote: > Hello, > > The principle is that you enter your long url in their > form and it gives you a shorten url like > tinyurl.com/h4599 > > I was wondering how it works. I think it must use PHP. > It would use a feature

Re: [PHP] Dynamic HTML Creation

2004-08-28 Thread Ramil Sagum
On Sat, 28 Aug 2004 12:30:48 -0700, Sam Hobbs <[EMAIL PROTECTED]> wrote: > This is for osCommerce, which is a shopping cart system written in PHP. Many > of it's pages (the HTML) are not modifiable directly using a WYSIWYG editor, > which make the content difficult to modify, especially for non-tec

Re: [PHP] Dynamic HTML Creation

2004-08-28 Thread Ramil Sagum
On Fri, 27 Aug 2004 23:17:29 -0700, Sam Hobbs <[EMAIL PROTECTED]> wrote: > Is it possible to use the DOM to add (HTML) elements to a page at the time > the page is being shown? The HTML and VBScript shown below is a simplified > version of what I need to do but of course I need to do it in PHP. Sin

Re: [PHP] parse_ini_file problem

2004-08-27 Thread Ramil Sagum
On Fri, 27 Aug 2004 12:54:14 +0300, Vladimir <[EMAIL PROTECTED]> wrote: > Hello folks! > > I have an ini file that looks like this: > index.rent=Rent > index.faq=FAQ > index.contact=Contact > index.links=Links > > then I want to read this file: > $english_messages = parse_ini_file('conf/english.i

Re: [PHP] changed number_format function

2004-08-27 Thread Ramil Sagum
On Fri, 27 Aug 2004 14:06:56 +0530, Ma SivaKumar <[EMAIL PROTECTED]> wrote: > > The latest on-line version is changed as > below > $number = 1234.56; > // english notation (default) > $english_format_number = > number_format($number); > // 1,234 > > What is the best way to format numbers to put

Re: [PHP] Regular expression help

2004-08-25 Thread Ramil Sagum
On Tue, 24 Aug 2004 23:53:53 -0700, Daniel Lahey <[EMAIL PROTECTED]> wrote: > I'm trying to figure out how to formulate a regular expression that > will get me everything following a pound sign (#) up to the first space > or { character. (I'm trying to parse the ids out of a style sheet.) > Can an

Re: [PHP] PHP with CVS...

2004-08-20 Thread Ramil Sagum
Paul Danko wrote: I'm a newbie using CVS with PHP development. I created a CVS repository, which contains two directories. /CVSROOT/ /project/ where project has my code. My problem is that CVS modifies the files in the /project/ folder. the extension becomes *.php,v. I want to be able to che

Re: [PHP] downloading files

2004-08-20 Thread Ramil Sagum
Aaron Todd wrote: I have been using the following code to try to make it work: The webroot of my site is at: /var/www/html So far this will create a new file on my computer where ever I want, but it does not download the contents of the file. Any suggestions? Thanks, Aaron It seems that PHP can