[PHP] Re: safe_mode On -- What exactly does it **DO**?

2002-11-25 Thread Richard
It appears to do some stuff which is undocumented. Specifically it quotes input to popen thus causing any redirection and other comand line stuff to be passed to the program that is being invoked as command parameters. Most of the stategies to simulate bidirectional pipes break because of this. Jr

[PHP] Re: safe_mode On -- What exactly does it **DO**?

2002-11-25 Thread Richard
It appears to do some stuff which is undocumented. Specifically it quotes input to popen thus causing any redirection and other comand line stuff to be passed to the program that is being invoked as command parameters. Most of the stategies to simulate bidirectional pipes break because of this. Jr

[PHP] -DEAPI

2004-01-11 Thread richard
/ -I/home/jonker/p hp-4.3.4/sapi/apache/ -DPHP_ATOM_INC -I/home/jonker/php-4.3.4/include -I/hom e/jonker/php-4.3.4/main -I/home/jonker/php-4.3.4 -I/home/jonker/php-4.3.4/Ze nd -I/home/jonker/php-4.3.4/ext/mbstring/mbregex -I/home/jonker/php-4.3.4/ex t/mbstring/libmbfl -I/home/jonker/php-4.3.4/ext/mbs

[PHP] New to navigation functions...

2001-03-10 Thread Richard
Greetings. I was wondering if there is any function like the JavaScript function: location.href = "".or perhaps how I can execute a javascript function from PHP. All related help is appriciated. - Richard -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] New to navigation functions...

2001-03-10 Thread Richard
=...&PARAM2=...Can you help me with this one? What I want to do is to make sure that the location is purely the website address and the php file name. - Richard ""Yasuo Ohgaki"" <[EMAIL PROTECTED]> wrote in message 98epti$n83$[EMAIL PROTECTED]&quo

Re: [PHP] submit button

2001-03-17 Thread Richard
irst code disables ALL "action" buttons... - Richard ""george"" <[EMAIL PROTECTED]> wrote in message 99029b$78h$[EMAIL PROTECTED]">news:99029b$78h$[EMAIL PROTECTED]... > IS there a way of making sure that a submit button cant be pressed twice.I >

[PHP] Reading one line, and no more.

2001-03-19 Thread Richard
Greetings. How can I read one specified row in a flat textfile? I am working in arrays and so forth, therefore one row is enough. Thanks. - Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] ...And removing one line only?

2001-03-20 Thread Richard
OK, but I am rather new to PHP and the for...loops doesnt work exactly the same way as in C++, thus that I have forgotten the way to read line in one file and in the same time iterate through another to write... Remove one line? Thanks, - Richard -- PHP General Mailing List (http://www.ph

Re: [PHP] Create a Bulletin Board

2001-03-20 Thread Richard
Do you know anyone that doesn't use MySQL? I mean, that uses flatfiles? - Richard ""Yoshi Melrose"" <[EMAIL PROTECTED]> wrote in message 032601c0b192$1eaed610$0214a8c0@enterprise">news:032601c0b192$1eaed610$0214a8c0@enterprise... > Ahh... that'

[PHP] Comparing two dates.. Which is the older one?

2001-03-20 Thread Richard
me is newer, nothing would happen, but if the $loggtime is older than what is written in the file, something should happen. Any ideas of how I can compare two dates? - Richard ps: to all who wonders, I am writing a really small community. Now, this question is related whenever a new message is sent.

Re: [PHP] Create a Bulletin Board

2001-03-20 Thread Richard
Oh...Well, learning something new every day. Seriously; I have never been coding against a database. - Richard ""James Atkinson"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I don't know of any PHP bulletin board

Re: [PHP] Comparing two dates.. Which is the older one?

2001-03-20 Thread Richard
I forgot to mention that the timestamp is: $date_output = date("Y-m-d H:i A"); But that would work as fine correct? - Richard ""Phillip Bow"" <[EMAIL PROTECTED]> wrote in message 998p9a$hqp$[EMAIL PROTECTED]">news:998p9a$hqp$[EMAIL PROTECTED].

Re: [PHP] Comparing two dates.. Which is the older one?

2001-03-20 Thread Richard
Thanks.. So $date_output should only be used to print out current time, and $timestamp is the one I should use to compare the dates? - Richard ""Phillip Bow"" <[EMAIL PROTECTED]> wrote in message 998rej$16l$[EMAIL PROTECTED]">news:998rej$16l$[EMAIL PROTEC

Re: [PHP] Sorry :(

2001-04-14 Thread Richard
Hey, take it easy, I started like that too, I think we all did. - Richard ""Chris Anderson"" <[EMAIL PROTECTED]> wrote in message 001301c0c51c$3cb49e40$0d1012d1@null">news:001301c0c51c$3cb49e40$0d1012d1@null... I realized that'll that I don't do mu

Re: [PHP] Sorry :(

2001-04-15 Thread Richard
hahaha ""Plutarck"" <[EMAIL PROTECTED]> wrote in message 9bbq7u$9vr$[EMAIL PROTECTED]">news:9bbq7u$9vr$[EMAIL PROTECTED]... > Remember: There are no stupid questions. Only stupid people. > > > ...*couldn't resist* > > ;) > > > -- > Plutarck > Should be working on something... > ...but forgot w

Re: [PHP] Sorry :(Just Testing)

2001-04-15 Thread Richard
There is PHP.TEST if you would like to test your posts "Effendi Mahfud" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > -Original Message- > > From: Plutarck [SMTP:[EMAIL PROTECTED]] > > Sent: Sunday, April 15, 2001 4:38 PM > > To: [EMAIL PROTECT

[PHP] Mailbox and PHP

2001-04-15 Thread Richard
for the user to change quite alot.. - Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Mailbox and PHP

2001-04-15 Thread Richard
Thanks alot, seems to work allright. - Richard "Martin Skjöldebrand" <[EMAIL PROTECTED]> wrote in message 9bc8bf$5kb$[EMAIL PROTECTED]">news:9bc8bf$5kb$[EMAIL PROTECTED]... > Richard wrote: > > > Greetings. > > > > I have no problem wr

[PHP] Site Sessions: Online/Offline - help?

2001-04-16 Thread Richard
user is removed from the file. All help is greatly appriciated and your name will be on the credits list too. - Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list admin

Re: [PHP] Blur some text please

2001-04-16 Thread Richard
Nah... It's up to the browser. 8-bit text cannot be given any effects using PHP. - Richard "Brandon Orther" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > Does anyone know of an image library that plugs right

Re: [PHP] How do i include ASP script into PHP...??!

2001-04-16 Thread Richard
ASP is a pathetic framwork. ""Phil Driscoll"" <[EMAIL PROTECTED]> wrote in message 005f01c0c6c2$ad8a2200$0c01a8c0@philsntserver">news:005f01c0c6c2$ad8a2200$0c01a8c0@philsntserver... > There may be some perverse way of getting php and asp to parse the same > page, but I;m sure you don't want to go

Re: [PHP] Site Sessions: Online/Offline - help?

2001-04-17 Thread Richard
Greetings. Thanks for your help! That about people not using logout buttons is really true! But what can one expect? However, how can I create a unique session ID? I don't use Databases, at least not MYSQL. - Richard ""Plutarck"" <[EMAIL PROTECTED]> wrote in mess

Re: [PHP] Site Sessions: Online/Offline - help?

2001-04-18 Thread Richard
27;t > fool-proof. Nopp, tried that. It loggs out every time you change site, and I don't use frames. I intend to use frames, so when the main frame is closed, that means that the whole shit is closed. But now, I switch sites constantly, without frames. But still, with frames, our trick w

Re: [PHP] Site Sessions: Online/Offline - help?

2001-04-19 Thread Richard
10 minutes, or 30 minutes? I have a function called GetLoggDateofUser($Username) which will retreive the $date_output, but with colons and spaces, like so: date("Y-m-d H:i A"). Do you or anyone else have any suggestions? - Richard -- PHP General Mailing List (http:/

[PHP] Site Sessions: Online/Offline - help?

2001-04-20 Thread Richard
g. Now, How can I compare if a user is away for like 10 minutes, or 30 minutes? I have a function called GetLoggDateofUser($Username) which will retreive the $date_output, but with colons and spaces, like so: date("Y-m-d H:i A"). Do you or anyone else have any suggestions? - Ri

[PHP] RE: Site Sesions: Online/off...

2001-04-20 Thread Richard
g. Now, How can I compare if a user is away for like 10 minutes, or 30 minutes? I have a function called GetLoggDateofUser($Username) which will retreive the $date_output, but with colons and spaces, like so: date("Y-m-d H:i A"). Do you or anyone else have any suggestions? - Ri

Re: [PHP] RE: Site Sesions: Online/off...

2001-04-21 Thread Richard
Hehehe.. Yeah. Thanks alot, this will do perfectly good. - Richard ""Plutarck"" <[EMAIL PROTECTED]> wrote in message 9bqhpe$f3d$[EMAIL PROTECTED]">news:9bqhpe$f3d$[EMAIL PROTECTED]... > If you want to make it easy on yourself, convert it into a timestamp (

[PHP] Searching arrayed file... Suggestions?

2001-04-21 Thread Richard
T LINK | VIEW LINKS ]"; $found=0; echo ""; ?> And that is all the code I use. Where have I done wrong? You see, the problem is that I found only some links, but not all. And if I have a link called "Necrolust - Tribute to MayheM", it cannot find the &

[PHP] Remove duplicates, as long as you have it.

2001-04-22 Thread Richard
. How I managed to create it? Well, by using the free linkadd/linkmanager PHP script. Anyhow, what I need is how can I remove duplicates that are sorted in arrays? Or does anyone of you has such a script or C++ program, so you could sort the file for me or something? Thanks - Richard -- P

Re: [PHP] Remove duplicates, as long as you have it.

2001-04-22 Thread Richard
That removes instances in an array, I am talking about a file. Each line contains non-duplicate words, but the lines are mixed and duplicated, perhaps trippled. - Richard ""Taylor, Stewart"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] Autoupdate of page

2001-04-25 Thread Richard
You can set a JavaScript to refresh after an amount of time, or call this function whenever the table is updated. echo "jscode";// as soon as you are done. -Richard ""Chris Anderson"" <[EMAIL PROTECTED]> wrote in message 004101c0cba9$b330b

[PHP] in_array() function not supported on my server... anything else?

2001-04-26 Thread Richard
s be when in_array is a function that came first with PHP4 (according to my documents) ?? Is there something else I could use? Thanks - Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] T

[PHP] Generating thumbnails of JPEG/GIF images

2001-05-04 Thread Richard
. - Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] GetImageSize

2001-05-09 Thread Richard
It appears like so. "Joseph Bannon" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > What version of PHP are you using? According to the manual: > > "URL support was added in PHP 4.0.5" > > > > Oh, I have 4.0.4. I need to upgrade don't I?!? > > Thanks, > J >

[PHP] Global variables? (unset/set or what?)

2001-05-19 Thread Richard
x27;t know if that is the one to use or not... they looked like if they were to be doing something else. Any help or ideas? - Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] Global variables? (unset/set or what?)

2001-05-19 Thread Richard
So i should start the header (or wherever in the header) with : $GLOBALS["userPassword"] = "whatever"; function cp() { global $userPassword; // $userPassword is 'whatever' // } Did I get it or am I just too tired? - Richard "

Re: [PHP] Global variables? (unset/set or what?)

2001-05-19 Thread Richard
So this will do then: $GLOBALS["userPassword"] = "whatever"; And when I need to use it, I use echo userPassword; and such alike? What if I would like to change it? Can I simply use 'userPassword="whatever"'; ? Thanks, Richard -- PHP Gener

Re: [PHP] Global varia........ **Sorry, I mean... **

2001-05-19 Thread Richard
Wrong examples written in my past post. $GLOBALS["userPassword"] = "whatever"; global $userPassword; and then write/read from it? - Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: [PHP] Reports in web browser

2001-05-19 Thread Richard
You need to be more specific than that. You cannot demand the browser to start printing, only thing is to write the contents of the report to a webpage and then the visitor/user can print it out if she/he likes. It depends on how you have stored the reports. - Richard ""Mihailo

[PHP] PHP & HTML: newbie question

2002-01-16 Thread Richard
someone suggested getting rid of the HTML tags so I did and just left the PHP code on its own and this works fine ­ so how can I use PHP with HTML? I think it has something to do with the fact that have to use their CGI server to run PHP??? Cheers Richard S

[PHP] Console, colors and stuff

2002-02-09 Thread Richard
ly, I can't find something similar on Win32. It's pretty boring this way. Does anyone know how to do it? Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Console, colors and stuff

2002-02-09 Thread Richard
I thought about it, but in Windows 2000 and NT, you can't use ansi.sys from Win32 executables, only from Dos16 exe's. Richard "Alan McFarlane" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Try 'echo'ing an

[PHP] regular expresion

2001-10-19 Thread Richard
Hi, I want to validate that a variable only contains numbers. I came up with this code $variable = "154545"; -> must give me true. $variable = "$%54545"; -> must give me false $variable = "$%54545"; -> must give me false $variable = "4545;#"; -> must give me false $variable = "004545"

[PHP] mail(), how can one specify ?

2001-03-22 Thread Richard
Greetings. If I would like to use mail(...), how could I make the "from" tag something else? I have not found any solution of specifying that! - Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: [PHP] [PHP4] $fp = fopen( "news.txt", 'a' ); // 'a' = append! Wah!

2001-03-25 Thread Richard
You should find it on http://www.php.net/manual/en/functions.fseek.php Or something. There are examples that are quite clear. - Richard ""Dddogbruce (@home.com)"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Ok, wi

[PHP] MySQL (about 1 database, many tables)

2001-04-05 Thread Richard
NULL)"; What I was trying to do is to create one table which is called "users", which contains : uID (unique id, incremental!) uOnline (boolean)uName and uPWD And some other stuff, but as you can see, it did not go very well... Any help is appriciated! - Richard

Re: [PHP] MySQL (about 1 database, many tables)

2001-04-05 Thread Richard
Well, that was what I wrote in my post.. I don't get this MySQL that well, and I didn't find that row very logical at all. But I got this email about it, so I will read it and keep on reporting. - Richard "Lindsay Adams" <[EMAIL PROTECTED]> wrote in message [EMA

Re: [PHP] drop-down menu variables

2001-04-05 Thread Richard
You must set: some text if it's a SELECT list. Use to set an initialized text. Use .VALUE to check if it's empty or not... But beware, sometimes it forgets the contents... If you would use the JavaScript "alert(text)" function... - Richard ""Joao Monteiro&

Re: [PHP] fopen wierdness

2001-04-05 Thread Richard
No, you receive the handle to the file. You cannot rename the handle. http://www.latest.txt"; $fd = fopen ($filename, "r"); $contents = fread ($fd, filesize ($filename)); echo $contents; fclose ($fd); ?> Should do the trick.. or something.. Modify it or whatever. -

Re: [PHP] fwrite()

2001-04-06 Thread Richard
Check out .htmlspecialchars(..) .removeslashes() .stripslashes() - Richard "Augusto Cesar Castoldi" <[EMAIL PROTECTED]> wrote in message Pine.GSO.4.10.10104062012140.20277-10@venus">news:Pine.GSO.4.10.10104062012140.20277-10@venus... > I have a

[PHP] Writing... But the permission is denied!

2001-04-12 Thread Richard
at first, but then who wants folder browsing? Thanks alot, Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Writing... But the permission is denied!

2001-04-12 Thread Richard
Greetings. (wrote an email too) > If you can't give your webserver write permission in the content directories Does that have anything to do with .HTACCESS and files such as that? - Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTEC

Re: [PHP] peter.johansson@era.ericsson.se PLEASE UNSUBSCRIBE!!!

2001-04-13 Thread Richard
I agree. Why do the newsgroup forward some of the messages to this guy? Attack? - Richard ""Chris Anderson"" <[EMAIL PROTECTED]> wrote in message 005701c0c42d$2b6e5f80$c61012d1@null">news:005701c0c42d$2b6e5f80$c61012d1@null... I am so tired of receivng

[PHP] Weeeeee! ;)))

2004-07-24 Thread richard
I don't bite, weah! ..btw, "10370" is a password for archive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Converting tables into forms

2009-10-29 Thread richard
erface in the first place. -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 25th October) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Lightweight web server for Windows?

2009-11-19 Thread richard
et environment, and use that. If it's *nix, then you can use WinSCP to interface with it. -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 14th November) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] CSS and variables

2009-11-20 Thread richard
Hi, > $newcolor = "color: red"; > > '.$row[1].' > > But it doesn't work. No problem with th "spacer" class, works fine. I just > can't get the syntax for pulling a CSS style from a PHP var. You could do this: {$row[1]}"; ?>

[PHP] MySQL Appeal from Monty

2009-12-13 Thread richard
Hi, You might have already seen this, however if you haven't this may interest you: http://monty-says.blogspot.com/2009/12/help-saving-mysql.html -- Richard Heyes HTML5 canvas graphing: RGraph - www.rgraph.net (updated 12th December - now with IE support!) Lots of PHP and Javascript

Re: [PHP] Re: Happy New Year

2009-12-31 Thread Richard
Hi, > exited works Eh? Excited? -- Richard Heyes HTML5 canvas graphing: RGraph - www.rgraph.net (updated 19th December - now with IE support!) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] I am not receiving any e-mail from the list...

2010-01-11 Thread Richard
Hi, > ... I had this (I think) recently; mail simply stopped coming from the list and I can't remember unsubscribing (though that's not saying much...). I simply re-subscribed and all was dandy again. -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (update

Re: [PHP] I am not receiving any e-mail from the list...

2010-01-11 Thread Richard
Hi, > ... It's not a problem at all, it just takes me a few months to realise... :-) -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 9th January) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.

Re: [PHP] RSYNC - who knows more?

2010-01-17 Thread Richard
At a glance there are links to mailing lists too. -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 2nd January) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RSYNC - who knows more?

2010-01-18 Thread Richard
Hi, > yes i see the links to the mailing lists, but i can not access them. Ask away then. Someone may be able to help you. I've used it a little before in the past to synchronise dev and live boxes. -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 16th

Re: [PHP] Cookies & sessions

2010-01-19 Thread Richard
that a cookie is used to implement > sessions. Does > this place any limitations on using both sessions and cookies in the same > program? No (give them a different name though). You can also use sessions by putting the session ID on the URL, but this, I believe, is called "a ball

[PHP] Re: How to change a filename for download (e.g. jpeg, pdf etc.)

2010-01-25 Thread Richard
Hi, > Can anyone point me to tutorials on how to change a filename for each > download? My goal is to give the downloader a random name for a picture or a > document, so he will never know what the original filename is. Try adding a Content-Disposition header: -- Richard Heyes HTM

Re: [PHP] imap4 search criteria

2010-01-29 Thread Richard
Hi, > ... You might have more joy with this on the php-dev list. -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 23rd January) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP] flush() in conjunction with gzipped content

2010-01-31 Thread Richard
Hi, This page: http://developer.yahoo.com/performance/rules.html#flush recommends using a flush() call just after the tag. However, does this even have an effect when using ob_gzhandler() ? Cheers. -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 31st January

Re: [PHP] Re: poll: howto do informative error handling without the fatalities

2010-02-09 Thread Richard
;. But it hadn't. -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 31st January) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: poll: howto do informative error handling without the fatalities

2010-02-09 Thread Richard
Hi, > But I bet you REALLY quickly fixed the problem! I just took out the error handling. :-) -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 7th February) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.

Re: [PHP] Re: poll: howto do informative error handling without the fatalities

2010-02-09 Thread Richard
Hi, >> Real developers don't have errors in their code; they're undocumented >> features ;) Or alternatively, if you freelance - "Forthcoming employment opportunities" :-) -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 7th Febr

Re: [PHP] $_POST vs $_REQUEST

2010-02-22 Thread Richard
tial to open your script(s) up to security issues. > ... Use quoted strings - either single or double quotes. Eg: $myArray['myKey'] $myArray["myKey"] -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 20th February) Lots of PHP and Javascrip

Re: [PHP] $_POST vs $_REQUEST

2010-02-22 Thread Richard
Hi, > I am not sure what the security issues are you are referring to as the > $_REQUEST superglobal contains both $_GET and $_POST values.  Could you > expound on that?  Thanks. Not really, do a search. -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (upd

Re: [PHP] $_POST vs $_REQUEST

2010-02-23 Thread Richard
e.com/intern...@lists.php.net/msg32832.html Stephan heads up the Hardened-PHP project and when it comes to security, I don't know of anyone better. So, if he advises not to use _REQUEST, it's a good idea to follow that advice. -- Richard Heyes -- PHP General Mailing List (http://w

Re: [PHP] Load simulation tests

2010-03-08 Thread Richard
you'd > recommend? There's always Apaches "ab". Though I've seen it mentioned that the load isn't always realistic. -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 6th March) Lots of PHP and Javascript code - http://www.phpguru.org

Re: [PHP] blog design issue...

2010-03-20 Thread Richard
rst blog entry 1 2 A joke from work6 3 A joke from home 5 4 A joke 4 The numbers are bitwise sums of the corresponding category IDs. eg.4&2=6. I think. MySQL has some built in functions for dealing with sets, like FIND_IN_SET() IIRC, which make life a lot easier. --

Re: [PHP] blog design issue...

2010-03-20 Thread Richard
Hi, > eg.4&2=6. Oops, that should be 4|2 = 6. -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 13th March) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] How to know which PHP is used by Apache

2010-04-01 Thread Richard
nfigured as module under Apache. This may help: -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 20th March) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Get Power Saving Settings of the Server

2010-04-19 Thread Richard
gh a network interface. SNMP may also provide this information, and ISTR there's a PHP SNMP module. Enjoy... :-) -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 10th April) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (h

[PHP] PHP stream_socket_client OpenSSL error (unknown ca)

2010-10-19 Thread Richard
ou have any ideas about how I could get this working ? or maybe just point me in the right direction. If you need any more info please let me know. Thank you, Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP stream_socket_client OpenSSL error (unknown ca)

2010-10-19 Thread Richard
No I didn't have a passphrase on the local cert when I created it. I noticed that I only sent it to you and then sent the same message to the list. Thank you, Richard Le 19/10/10 20:28, Tommy Pham a écrit : -Original Message- From: Richard [mailto:php_l...@ghz.fr] Sent: Tu

Re: [PHP] PHP stream_socket_client OpenSSL error (unknown ca)

2010-10-20 Thread Richard
the server socket $server = stream_socket_client('ssl://test.server.com:978', $errno, $errstr,30, STREAM_CLIENT_CONNECT, $context); if($server) { print('ok'); } ?> I still get the error : Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error

Re: [PHP] QNX build

2008-01-18 Thread Richard
Jochem Maas wrote : Richard schreef: Hi, After installing PHP on a Windows machine I see a very small PHP-executable and several extension dll's that can be loaded. When I build PHP on a QNX machine I get one huge executable of 8.6 MB. Is it possible to build something similar t

Re: [PHP] QNX build

2008-01-18 Thread Richard
Jochem Maas was thinking very hard : Richard schreef: Jochem Maas wrote : Richard schreef: Hi, After installing PHP on a Windows machine I see a very small PHP-executable and several extension dll's that can be loaded. When I build PHP on a QNX machine I get one huge executable of 8

Re: [PHP] QNX build

2008-02-06 Thread Richard
Jochem Maas used his keyboard to write : Richard schreef: Jochem Maas was thinking very hard : Richard schreef: Jochem Maas wrote : Richard schreef: Hi, After installing PHP on a Windows machine I see a very small PHP-executable and several extension dll's that can be loaded. W

[PHP] Progressive answers from a php query?

2008-02-06 Thread Richard
lect data from each one, one by one. 2) Somehow show data as it arrives instead of waiting for all the queries to be done. Is it possible to do either of these two, or both of these two with only PHP? If so how would I do it? or is it necessary to use javascript? Thanks in advance, Richa

[PHP] Multiple sessions open at same time, is it possible?

2008-03-02 Thread Richard
t the other, or open a variable in a specific session ... Thanks in advance, Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multiple sessions open at same time, is it possible?

2008-03-02 Thread Richard
Stut a écrit : On 2 Mar 2008, at 14:49, Richard wrote: I'm quite new to sessions, an am trying to program a script which needs two sessions ... I have a members area which uses 1 session, and when you click on disconnect it closes the session and the user returns to the login page. I

Re: [PHP] Multiple sessions open at same time, is it possible?

2008-03-02 Thread Richard
Stut a écrit : On 2 Mar 2008, at 15:28, Richard wrote: Stut a écrit : On 2 Mar 2008, at 14:49, Richard wrote: I would there for need to have two seperate sessions one for the cart, and one for the members area. And sometimes I will need to have them both open. Is this possible ? I&#x

Re: [PHP] Multiple sessions open at same time, is it possible? [ Solved, thankyou !]

2008-03-02 Thread Richard
Stut a écrit : On 2 Mar 2008, at 15:59, Richard wrote: Stut a écrit : On 2 Mar 2008, at 15:28, Richard wrote: However, is there a way to limit the session stay alive time for just one variable ? If for example, if a user has not done anything in his members area for more than 30 minutes I

Re: [PHP] Multiple sessions open at same time, is it possible? [ Solved, thankyou !]

2008-03-02 Thread Richard
Stut a écrit : On 2 Mar 2008, at 16:32, Richard wrote: Stut a écrit : Just curious... why are you setting the password to an empty array? You'd probably be better off unset'ing it so you can use isset to check for it. Oh right ! :) Yes you're right about the array, I use

[PHP] sprintf problem...

2008-03-22 Thread Richard
with vat = 24.00 So from what I can see, sprintf only seems to work for printing and the actual result is kept in memory, is this correct ? if so what function should I use instead? Thanks in advance :) Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sprintf problem... (with simplified code )

2008-03-22 Thread Richard
Here is a simplifie version of my code : I get 12.00 and 23.99 ... what should I do to get 12.00 and 24.00 ? Richard a écrit : Hello, I'm trying to write a invoice script but I have encountered a slight problem. Each product needs to be listed without tax, and at the end of the file I

Re: [PHP] sprintf problem... (with simplified code )

2008-03-23 Thread Richard
sitions on display rounds up to 1.97. if you stored the rounded value ,on a per-item basis, you'd get what you're after. now, the question is whether vat is applied per item or on the invoice total. the difference becomes more obvious with say 3 items, at 10.03. on a (rounded) pe

[PHP] Array from database table

2004-11-14 Thread Richard
How do I get the data from a mysql database into and array that looks like this Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 ) The table has three fields but I only need the data from one field. $query="SELECT amenityID FROM property_amenity where listingId = '$listingId'"; --

[PHP] Pulling data from a table into a array

2004-11-14 Thread Richard
I am using mysql_fetch_row to pull data from a table to fill an array But I am not getting the data into the array the way I whant it to be. $query = "SELECT amenityID FROM property_amenity where listingId = '$listingId'"; $results = mysql_query($query); if ($results) { whi

[PHP] Need help on client certificate validation using OpenSSL/PHP

2002-11-25 Thread Richard Rojas
;Validity End: " . $_SERVER['SSL_CLIENT_V_END']; echo " SERVER "; echo "Issuer: " . $_SERVER['SSL_SERVER_I_DN']; echo ""; echo "Subject: " . $_SERVER['SSL_SERVER_S_DN']; echo ""; echo "Validity Start: " . $_

[PHP] suEXEC and PHP

2002-11-26 Thread Richard Fox
Hi, Apache 1.3.24, PHP 4.2.2 I am running a php script which executes something like system("scp -r -S ssh host1:/home/dir host2:/home"); The scp command executes as the apache user, in my case 'nobody'. This does not work, as the ssh authentication is not set up for user 'nobody' nor should it

[PHP] FTP and security

2002-11-26 Thread Richard Fox
My company, as a matter of policy, closes the ftp ports of the servers in the DMZ. However, I am not convinced that this is necessary, given the advent of very secure ftp servers. I would appreciate any comments on the security of an open ftp port. To relate this to php, I am ready to give up t

Re: [PHP] FTP and security

2002-11-26 Thread Richard Fox
> > To relate this to php, I am ready to give up > > trying to make my > > > > system("scp .."); > > > > code work, because I will have to give the apache user more permissions > > than I am comfortable with. > > What exactly are the problems you're encountering using scp? > I created an apach

[PHP] how to use openssl_x509_read.

2002-11-27 Thread Richard Rojas
Hi, Does anybody know how to use this function? openssl_x509_read(mixed x509certdata) Is x509certdata the certificate submitted by the browser to the server? Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   5   6   7   8   9   10   >