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
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
/ -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
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
=...&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
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
>
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
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
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'
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.
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
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].
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
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
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
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
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]
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
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
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
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
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
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
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:/
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
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
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 (
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 &
.
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
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
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
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
.
- 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]
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
>
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
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
"
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
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
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
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
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
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
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"
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
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
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
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
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&
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.
-
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
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]
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
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
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
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
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
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]}";
?>
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
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.
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
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.
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
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
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
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
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
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
;. 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
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.
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
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
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
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
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
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.
--
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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'";
--
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
;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: " . $_
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
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
> > 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
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 - 100 of 11274 matches
Mail list logo