Re: [PHP] Re: System specific information gathering

2005-07-22 Thread Ramil Sagum
s the total idle time. -- ramil http://ramil.sagum.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] inserting html within a mail body

2004-12-06 Thread Ramil Sagum
;[EMAIL PROTECTED]>\r\n"; $headers .= "From: Birthday Reminder <[EMAIL PROTECTED]>\r\n"; $headers .= "Cc: [EMAIL PROTECTED]"; $headers .= "Bcc: [EMAIL PROTECTED]"; /* and now mail it */ mail($to, $subject, $message, $headers); ?> HTH -- ramil http://

Re: [PHP] Sequrity without HTTPS?

2004-11-18 Thread Ramil Sagum
o, in no time is the password itself sent. I'm sure there are SHA1 or at least MD5 functions already written in javascript. I know there is a term to this method, but it escapes me. HTH! ramil http://ramil.sagum.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sorting...

2004-11-17 Thread Ramil Sagum
its > string? > How about a non php solution? Maybe sort the lines in the CSV file first using a sort command line utility (like "sort" in *nix), sample to a temp file, then open that file in PHP ramil http://ramil.sagum.net -- ramil http://ramil.sagum.net -- PHP Gen

Re: [PHP] Why cookie is created?

2004-11-09 Thread Ramil Sagum
es (where all of the info is stored in the user's harddisk) -- ramil http://ramil.sagum.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] enterprise php application automated testing

2004-10-23 Thread Ramil Sagum
entered, clicked, > etc...I guess I am curious if there is anything like that..open > source? > Does exactly what you want + load testing http://jakarta.apache.org/jmeter/index.html - ramil http://ramil.sagum.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2004-10-22 Thread Ramil Sagum
//add this code to check for $result's validity if($result) { // do some error handling here } As the manual says, mysql_query returns a false when the statement is invalid. Take a loot at http://www.php.net/mysql_query , http://www.php.net/mysql_error , and http://www.php.net/mysql_errn

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

2004-10-22 Thread Ramil Sagum
uot;.$_GET["au"]. " and Auty like ".$_GET["ay"]; print_r($sql); //show the SQL statement, (remove this when everything is working) $result = mysql_query($sql); print_r to var_dump ha php de debug no ni yaku ni tachimasu! ramil http://ramil.sagum.net

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
rk. How about trying; $news2 = mysql_query($sql2); //desc => z-a print_r($news2); first and see it $news2 is indeed a valid resource. ramil http://ramil.sagum.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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
use PHP. > It would use a feature of an HTTP server such as Apache -- URL rewriting Basically, you can make rules such that urls like http://tinyurl.com/h4599 become http://tinyurl.com/index.php?id=h4599 you would then handle it from there. But this is off topic :) ramil http://ra

Re: [PHP] Dynamic HTML Creation

2004-08-28 Thread Ramil Sagum
('index.tpl'); I think you can already see what this does. The non-technical people can edit the pages (as long as they leave the placemarkers for the output). The PHP-people can edit the code without worrying about the page layout (as long as the markers are there). I hope

Re: [PHP] Dynamic HTML Creation

2004-08-28 Thread Ramil Sagum
eateElement and getElementByID). HTH ramil http://ramil.sagum.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] parse_ini_file problem

2004-08-27 Thread Ramil Sagum
;m using 4.3.8 on windows XP. > > TIA. > Vladimir > I can't seem to replicate your problem (and I copied the code from your email). No warnings? DId you check the log for messages? ramil http://ramil.sagum.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] changed number_format function

2004-08-27 Thread Ramil Sagum
aKumar Thus says http://www.php.net/number_format string number_format ( float number [, int decimals]) string number_format ( float number, int decimals, string dec_point, string thousands_sep) . . . If two parameters are given, number will be formatted with decimals decimals with a dot (".&

Re: [PHP] fatal error undefined call to mysql_connect

2004-08-25 Thread ramil
issue with mysql and connecting > to the database? > > thanks in advance > Angelo Your PHP installation probably does not have the MySQL extension installed. Please read http://www.php.net/mysql for more information on how to enable mysql functions HTH ramil http://ramil.s

Re: Re[2]: [PHP] Odd behaviour of non-existent keys?

2004-08-25 Thread ramil
t be a more > elegant way, surely? > > -- > Geoff Caplan > How about array_key_exists? array_key_exists('three', $foo['one']['two']); http://jp2.php.net/manual/en/function.array-key-exists.php ramil http://ramil.sagum.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is javascript enable?

2004-08-25 Thread ramil
"javascript" would have shown you the PHP function get_browser() http://www.php.net/manual/en/function.get-browser.php and notes in the page will point you to the more full featured javascript detection script: http://tech.ratmachines.com/downloads/php_browser_detection

Re: [PHP] Regular expression help

2004-08-25 Thread Ramil Sagum
ia.edu/helpsheets/regex.html Also, check out the PHP manual for the preg_* functions --- Note that the script i gave you has problems with classnames on one line, like #footer a:link, #footer a:visited But I won't spoon feed you :) ramil http://ramil.sagum.net -- PHP Gene

Re: [PHP] PHP with CVS...

2004-08-20 Thread Ramil Sagum
nsure that the user cvs is running in CAN write to /var/some/dir. HTH! --- ramil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] downloading files

2004-08-20 Thread Ramil Sagum
ctory to be readable by others (esp PHP) chmod o+r downloads/* THis way, PHP can't modify files in this directory. And no one can just download a file by entering a URL (since the files are outside the webserver path). goodluck! HTH. --- ramil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php