> Jason Wong wrote:
>
>> On Friday 24 December 2004 12:02, [EMAIL PROTECTED] wrote:
>> > The result of $_POST['vars'] is blank !
>>
>> And this was the result of using the form that you originally had or the
>> corrected form that Matthew suggested? If you want the form values to be
>> available in
If all you want to display each record one by one at a particular interval
of time
you could do this at one page itself...here is the procedure
1. connect to mysql
2. grab the row you want
3. store the row number in a session variable
4. Add an autorefresh code to ur html..(lot of java scritps
Jason Wong wrote:
> On Friday 24 December 2004 12:02, [EMAIL PROTECTED] wrote:
> > The result of $_POST['vars'] is blank !
>
> And this was the result of using the form that you originally had or the
> corrected form that Matthew suggested? If you want the form values to be
> available in $_POST t
> Jason Wong wrote:
>
>> On Friday 24 December 2004 11:27, [EMAIL PROTECTED] wrote:
>>
>> > I have ever try to use $_POST functon, but fail...
>>
>> HOW did it fail? Please be specific.
>
> The result of $_POST['vars'] is blank !
>
>> > May be I need to check the config of php (� ini file ) again ,
--- Sebastian <[EMAIL PROTECTED]> wrote:
> im looking for a person or a place that will check or try
> to "break" a site.
This is the least effective means of auditing an application. Letting an
experienced person review your code is much, much better.
Chris
=
Chris Shiflett - http://shiflet
--- "Ashley M. Kirchner" <[EMAIL PROTECTED]> wrote:
> I'd be interested to know what other applications you suggest
> that compares to phpBB. Just for my own curiosity.
As far as I can tell, FUDforum seems to be better in every way except
design. It is substantially better in terms of performance
On Friday 24 December 2004 13:09, Greg Wardawy wrote:
> I'm quite new to PHP (coming from Perl) so please don't laugh too hard if
> I'm missing something obvious.
> My scenario is as follows:
> Connect to the MySQL server->grab the data from the table->display the data
> of the first row on the we
On Friday 24 December 2004 12:02, [EMAIL PROTECTED] wrote:
> The result of $_POST['vars'] is blank !
And this was the result of using the form that you originally had or the
corrected form that Matthew suggested? If you want the form values to be
available in $_POST then you need to specify meth
Ladies and gentlemen of PHP,
I'm quite new to PHP (coming from Perl) so please don't laugh too hard if
I'm missing something obvious.
My scenario is as follows:
Connect to the MySQL server->grab the data from the table->display the data
of the first row on the web page->sleep 1 second->display th
how might i accomplish this? phpAds does this when a flash banner is
uploaded, and asks if you want to change the URLs it finds. instead
of being diligent and scouring the phpAds code for what I'm looking
for, was hoping someone out there could offer some tips, suggestions,
pseudo-code, etc for h
?--- Begin Message ---
Jason Wong wrote:
> On Friday 24 December 2004 11:27, [EMAIL PROTECTED] wrote:
>
> > I have ever try to use $_POST functon, but fail...
>
> HOW did it fail? Please be specific.
The result of $_POST['vars'] is blank !
> > May be I need to check the config of php (嚙?ini file
Jason Wong wrote:
> On Friday 24 December 2004 11:27, [EMAIL PROTECTED] wrote:
>
> > I have ever try to use $_POST functon, but fail...
>
> HOW did it fail? Please be specific.
The result of $_POST['vars'] is blank !
> > May be I need to check the config of php (嚙?ini file ) again , and I want
>
John Holmes wrote:
From: [EMAIL PROTECTED]
Dear John,
I have just test a sample through the link, but fail...
So, I'm check my php config ( ini file ), and would you mind to tell me which
setting must be disabled / enabled ?
John is very helpful and loves to dedicate his time to helping new users
John Holmes wrote:
> > From: [EMAIL PROTECTED]
> > Dear John,
> >
> > I have just test a sample through the link, but fail...
> > So, I'm check my php config ( ini file ), and would you mind to tell me
> > which setting must be disabled / enabled ?
>
> John is very helpful and loves to dedicate h
On Friday 24 December 2004 11:27, [EMAIL PROTECTED] wrote:
> I have ever try to use $_POST functon, but fail...
HOW did it fail? Please be specific.
> May be I need to check the config of php (ï ini file ) again , and I want
> to know which setting must be enable and which setting must be disabl
> From: [EMAIL PROTECTED]
> Dear John,
>
> I have just test a sample through the link, but fail...
> So, I'm check my php config ( ini file ), and would you mind to tell me which
> setting must be disabled / enabled ?
John is very helpful and loves to dedicate his time to helping new users. If
> From: [EMAIL PROTECTED]
> For table form format ( sample ),
>
>
>
> Your Name : maxlength="60">
> Address? maxlength="60">
>
>
>
> "name" and "address" is varible, so how can we pass these two varible without
> register_globals function ( actually it is disable ) to another webpage ?
Di
John Nichel wrote:
> [EMAIL PROTECTED] wrote:
> > Hello,
> >
> > For table form format ( sample ),
> >
> >
> >
> > Your Name : > maxlength="60">
> > Address嚗?/td> > maxlength="60">
> >
> >
> >
> > "name" and "address" is varible, so how can we pass these two varible
> > without register_glob
Matthew Sims wrote:
> > Hello,
> >
> > For table form format ( sample ),
> >
> >
> >
> > Your Name : > maxlength="60">
> > Address: > maxlength="60">
> >
> >
> >
> > "name" and "address" is varible, so how can we pass these two varible
> > without register_globals function ( actually it is di
[EMAIL PROTECTED] wrote:
Hello,
For table form format ( sample ),
Your Name :
Addressï
"name" and "address" is varible, so how can we pass these two varible without
register_globals function ( actually it is disable ) to another webpage ?
Many thank for your help !
Edward.
I guess you ignored
> Hello,
>
> For table form format ( sample ),
>
>
>
> Your Name : maxlength="60">
> Address¡G maxlength="60">
>
>
>
> "name" and "address" is varible, so how can we pass these two varible
> without register_globals function ( actually it is disable ) to another
> webpage ?
>
> Many thank for
Hello,
For table form format ( sample ),
Your Name :
Address:
"name" and "address" is varible, so how can we pass these two varible without
register_globals function ( actually it is disable ) to another webpage ?
Many thank for your help !
Edward.
John Holmes wrote:
> > From: [EMAIL P
From: Philip Thompson <[EMAIL PROTECTED]>
> On Dec 23, 2004, at 2:59 PM, Matt M. wrote:
> > this might be coming into play:
> > http://us4.php.net/session
> >
> > session.gc_maxlifetime integer
> >
> > session.gc_maxlifetime specifies the number of seconds after which
> > data will be seen a
On Dec 23, 2004, at 2:59 PM, Matt M. wrote:
I have multiple pages on a website that uses sessions ($_SESSION) to
store the data. However, I noticed that in the C:\Windows\Temp
directory, all the session variables/data files are stored there from
previous (and current) sessions.
what version of php
Hello all,
I was playing with create_function the other day and found that it is not
possible to use create_function to create a method for an object. Code example:
test = create_function( '', 'echo "Testing";' );
$o->test(); // Will break:
// Fatal error: Call to undefined function:
>
> Okay, lemme see if I understand how it works. Even if it "sees" it as
> garbage, it will not destroy it until the session has ended? or will
> destroy when that time is reached? So can I set
> session.gc_maxlifetime
> to be a low number (e.g., 10 seconds) and it will still behave
> approp
Closing the browser sends nothing to the webserver and with most webservers,
the server has forgotten that you were ever there.
When using sessions, you connect your browser and request a page, and that
request is accompanied with a session key that is stored in a cookie on the
browser machine by
Uh.. $y is > 5.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 23 Dec 2004 15:57:08 -0600, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> but I did not see anything in the manual that explicitly states that this will
> not work.
create_function -- Create an anonymous (lambda-style) function
The keyword here is anonymous, as in 'not named'. The anony
Hi all.
I have multiple pages on a website that uses sessions ($_SESSION) to
store the data. However, I noticed that in the C:\Windows\Temp
directory, all the session variables/data files are stored there from
previous (and current) sessions.
My question is: when the session is "logged out" or
> From: Comex <[EMAIL PROTECTED]>
>
> Uh.. $y is > 5.
What an insightful post, but it depends on the value of $y, no? Maybe next time
you'd like to post some of the original message so we know wtf you're talking
about? I know what thread you're talking about... but what point are you trying
to
> I have multiple pages on a website that uses sessions ($_SESSION) to
> store the data. However, I noticed that in the C:\Windows\Temp
> directory, all the session variables/data files are stored there from
> previous (and current) sessions.
what version of php are you using?
this might be comin
On Dec 23, 2004, at 3:40 PM, John Holmes wrote:
From: Philip Thompson <[EMAIL PROTECTED]>
On Dec 23, 2004, at 2:59 PM, Matt M. wrote:
this might be coming into play:
http://us4.php.net/session
session.gc_maxlifetime integer
session.gc_maxlifetime specifies the number of seconds after
which
d
> From: Philip Thompson <[EMAIL PROTECTED]>
> My question is: when the session is "logged out" or ended (via closing
> the browser or however), should these data files (which look like
> sess_fd983aedf93ceeioa8332890bcd, etc) not be destroyed? If not, is
> there a way to automatically destroy t
Bogdan Ribic wrote:
Here's a little test script:
$x = 2;
$y = 10;
$b1 = is_null($x) or ($y > 5);
$b2 = ($y > 5) or is_null($x);
var_dump($b1);
var_dump($b2);
Obviously, it should be false for both $b1 and $b2, but the output is:
bool(false)
bool(true)
Is th
Dear friends,
What is happening to the news server? we cannot connect anymore!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> From: Bogdan Ribic <[EMAIL PROTECTED]>
> Here's a little test script:
>
>
> $x = 2;
> $y = 10;
>
> $b1 = is_null($x) or ($y > 5);
> $b2 = ($y > 5) or is_null($x);
>
> var_dump($b1);
> var_dump($b2);
>
>
> Obviously, it should be false for both $b1 an
Here's a little test script:
$x = 2;
$y = 10;
$b1 = is_null($x) or ($y > 5);
$b2 = ($y > 5) or is_null($x);
var_dump($b1);
var_dump($b2);
Obviously, it should be false for both $b1 and $b2, but the output is:
bool(false)
bool(true)
Is this a bug? I tried du
Ok, thanx. I'll do that...
-Rinke
Raditha Dissanayake wrote:
Rinke Hoekstra wrote:
Addendum: it's php 4.3.3 I'm running...
It's a pretty ancient version upgrade to a new version and try compiling
from source. It's very likely that your webserver error log will contain
a message that tells you why
> From: The Disguised Jedi <[EMAIL PROTECTED]>
> That runs all fine and dandy, but I want to check the absolute URL
> that is calling it to make sure it is an approved URL. (For example,
> I need the URL of the HTML file that contains the tag that is
> requesting the image from the php script)
> From: [EMAIL PROTECTED]
> After disable the globals varibles function...
> Then how to transfer varibles between webpages with the following ways ?
register_globals has nothing to do with how you pass variables... you still use
the URL or forms. It only changes how you access them in PHP scrip
[EMAIL PROTECTED] wrote:
Dear All,
After disable the globals varibles function...
Then how to transfer varibles between webpages with the following ways ?
1, Table form format.
2, Hyperlink ( click and go to another webpage ) format.
3, upload file ( through php into database ).
Many thank for your
.m3u does this
For example:
> $ cat the_vacant_-_live_10192004_full_show.m3u
> http://www.thevacant.com/media/live_10192004/160/the_vacant_-_live_10192004_-_01_-_ladders_to_the_moon.mp3
> http://www.thevacant.com/media/live_10192004/160/the_vacant_-_live_10192004_-_02_-_rooftop_rocketship.mp3
> h
Hello Raditha,
Thursday, December 23, 2004, 3:26:47 PM, you wrote:
>> The 'F' in RTFM really means >>'Fine' when used in a PHP context.
RD> poor Greg, the political correctness monitors are going to fall on him
RD> like a ton of bricks.
:)
and I have to say - the "F" in RTFM has NEVER stood fo
On Thu, 23 Dec 2004 16:33:30 +, Richard Davey <[EMAIL PROTECTED]> wrote:
> and I have to say - the "F" in RTFM has NEVER stood for "Fine" in my
> books :)
You people and your double quotes.. pffftt.
:)
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
On Thu, 23 Dec 2004 10:44:32 -0500, GH <[EMAIL PROTECTED]> wrote:
> I am working on a PHP based website and would like to offer media to
> my visitors... I have the Audio in WMA and MP3 formats... I would like
> to know how I could get them to "Stream"? inline... using PHP any
> advice would be
Dear All,
After disable the globals varibles function...
Then how to transfer varibles between webpages with the following ways ?
1, Table form format.
2, Hyperlink ( click and go to another webpage ) format.
3, upload file ( through php into database ).
Many thank for your help !
Edward.
--
I think if you generate a .m3a file with just the full url of your mp3
and send that to download in the browser this will launch the users mp3
player which will then stream the mp3 that was contained in the file.
GH wrote:
I appologize in advanced if this is an off topic discussion...
I am working
On Thursday 23 December 2004 19:52, Brent Clements wrote:
> I have always wondered this and maybe you guys can help.
>
> How do I underline a bit of text using True Type Fonts?
>
> Right now, I am creating imagelines but I don't think that's the most
> efficient way of doing it.
>
> Anybody know ho
Rinke Hoekstra wrote:
Addendum: it's php 4.3.3 I'm running...
It's a pretty ancient version upgrade to a new version and try compiling
from source. It's very likely that your webserver error log will contain
a message that tells you why exactly this is happening.
I have a rather odd problem. Sin
I appologize in advanced if this is an off topic discussion...
I am working on a PHP based website and would like to offer media to
my visitors... I have the Audio in WMA and MP3 formats... I would like
to know how I could get them to "Stream"? inline... using PHP any
advice would be greatfull
Hmm... no? Now that you mention it, that's actually quite weird.
These are the standard SuSE php packages, mysql works out-of-the-box.
I did not compile, but everything worked fine until now.
Thomas Munz wrote:
Not more PHP modules?
like
php4-4.3.3
php4-mysql-4.3.3
php4-zlib-4.3.3
??
Do you compil
Greg Donald wrote:
On Wed, 22 Dec 2004 13:56:39 -0800, Donald Tyler <[EMAIL PROTECTED]> wrote:
I do have a rudimentary knowledge of *nix stuff
I don't mean to offend, but it doesn't really seem so. Basic *nix
skills usually include knowing how to configure, compile, and install
software fr
I am so sorry for asking a disrelated question here because I am
urgent then, regret to disturb you.
I have solved this problem myself.
Thank you anyway.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ashley M. Kirchner wrote:
# strings r0nin
[snip]
socket
bind
listen
PsychoPhobia Backdoor is starting...
[snip]
Might want to run nmap (or other equivalent program) on your system.
Yeah, one of the first things I did was a netstat -a. Didn't find
anything
Greg Donald wrote:
On Wed, 22 Dec 2004 13:56:39 -0800, Donald Tyler <[EMAIL PROTECTED]> wrote:
I do have a rudimentary knowledge of *nix stuff
I don't mean to offend, but it doesn't really seem so. Basic *nix
skills usually include knowing how to configure, compile, and install
software f
Paul Aviles wrote:
John, can you maybe post the IP addresses of where does attacks came
from or any other related info?
Thanks
-pa
This particular one came from 201.9.192.212.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
[snip]
Merry Christmas everyone.
I want to know that when one request the address
http://reg.mysite.com/regname , how can it be redirected to
https://www.mysite.com:70/index.php?action=registration®_id=regname
using the apache redirect/rewrite function?
[/snip]
Happy holidays!
You would use the
Not more PHP modules?
like
php4-4.3.3
php4-mysql-4.3.3
php4-zlib-4.3.3
??
Do you compile PHP4?
...
> Thomas Munz wrote:
> > This is not an Mime-type problem.
> >
> > What apache version your runnging.
>
> Apache/2.0.48
>
> > What RPMs of PHP4 you have installed?
> >
> > What PHP Apache module
I found it
$strprice1 = number_format($strprice1, 2, '.', '');
- Original Message -
From: "Brian A. Anderson" <[EMAIL PROTECTED]>
To:
Sent: Thursday, December 23, 2004 6:25 AM
Subject: [PHP] converting whole or tenth prices to double decimal
> Anybody know the easiest way to conver
Hello Angelo,
Thursday, December 23, 2004, 11:47:03 AM, you wrote:
AZ> I have a PHP script that uses a header("Location: http://"; . $href);
AZ> statement that redirects to another page. The problem I have
AZ> is that I need this new page to open up in a new window, as the PHP is
AZ> bein
Angelo Zanetti wrote:
Hi all,
I have a PHP script that uses a header("Location: http://"; . $href);
statement that redirects to another page. The problem I have
is that I need this new page to open up in a new window, as the PHP is
being called from an IFrame. Is there a way the Header st
sprintf should also meet your needs although not as well as
money_format()
-Original Message-
From: Richard Davey [mailto:[EMAIL PROTECTED]
Sent: 23 December 2004 12:31
To: php-general@lists.php.net
Subject: Re: [PHP] converting whole or tenth prices to double decimal
Hello Brian,
Thurs
newbin shang wrote:
Merry Christmas everyone.
I want to know that when one request the address
http://reg.mysite.com/regname , how can it be redirected to
https://www.mysite.com:70/index.php?action=registration®_id=regname
using the apache redirect/rewrite function?
I want to know why you came her
Hello Brian,
Thursday, December 23, 2004, 12:25:23 PM, you wrote:
BAA> Anybody know the easiest way to convert a number like 2.1 to $2.10 or 2 to
BAA> $2.00?
Use the money_format() function.
(Yes, PHP really does have a solution for nearly everything!)
Best regards,
Richard Davey
--
http://
Thomas Munz wrote:
This is not an Mime-type problem.
What apache version your runnging.
Apache/2.0.48
What RPMs of PHP4 you have installed?
> What PHP Apache module you have installed?
apache2-mod_php4 version 4.3.3
mod_php4-core version 4.3.3
phpdoc 4.3.0
Thanks for all the help!
-Rinke
If it wor
Anybody know the easiest way to convert a number like 2.1 to $2.10 or 2 to
$2.00?
Silly question?
-Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If it works most of the time, just not all the time... it can't really
be the mime-types, or can it?
-Rinke
Stephan Fiedler wrote:
Hi Rinke,
check Mime-Types..
Stephan
Rinke Hoekstra wrote:
Hi All,
I have a rather odd problem. Since a few days, my otherwise perfect
SuSe 9.0 Apache2 server starte
This is not an Mime-type problem.
What apache version your runnging.
What RPMs of PHP4 you have installed?
What PHP Apache module you have installed?
> If it works most of the time, just not all the time... it can't really
> be the mime-types, or can it?
>
> -Rinke
>
> Stephan Fiedler wrote:
> >
I have always wondered this and maybe you guys can help.
How do I underline a bit of text using True Type Fonts?
Right now, I am creating imagelines but I don't think that's the most
efficient way of doing it.
Anybody know how to do "underlines" but using the font itself?
Thanks,
Brent
--
PHP
Thanks for your answer: the word 'crash' might give me some more
pointers in google.
When the problems started I hadn't done anything. I tried to fix it by
using the auto-updater of SuSE to install the "latest" php4 rpm... this
didn't solve my problem.
Hmm
-Rinke
Thomas Munz wrote:
I have the s
Addendum: it's php 4.3.3 I'm running...
Thomas Munz wrote:
I have the same problem.
This problem occured i PHP crashes.
Do you upgrad your PHP to a newer version or do you compile a PHP source and
have RPMs installed?
Hi All,
I have a rather odd problem. Since a few days, my otherwise perfect Su
Hi Rinke,
check Mime-Types..
Stephan
Rinke Hoekstra wrote:
Hi All,
I have a rather odd problem. Since a few days, my otherwise perfect SuSe
9.0 Apache2 server started to do some funny stuff.
In general, php works fine, and I can do anything I want... after a
little while Firefox/IE starts asking
Hi all,
I have a PHP script that uses a header("Location: http://"; . $href);
statement that redirects to another page. The problem I have
is that I need this new page to open up in a new window, as the PHP is
being called from an IFrame. Is there a way the Header statement can do
it? or
I would agree with Yangshiqi
>>> "yangshiqi" <[EMAIL PROTECTED]> 12/18/04 1:41 PM >>>
And if you have some special intent, you can use ob_start().
Best regards,
Yang Shiqi
-éäåä-
åää: yangshiqi [mailto:[EMAIL PROTECTED]
åéé: 2004å12æ18æ 19:36
æää: 'Ahmed Abdel-Aliem'; 'php-genera
I have the same problem.
This problem occured i PHP crashes.
Do you upgrad your PHP to a newer version or do you compile a PHP source and
have RPMs installed?
> Hi All,
>
> I have a rather odd problem. Since a few days, my otherwise perfect SuSe
> 9.0 Apache2 server started to do some funny stu
Hi All,
I have a rather odd problem. Since a few days, my otherwise perfect SuSe
9.0 Apache2 server started to do some funny stuff.
In general, php works fine, and I can do anything I want... after a
little while Firefox/IE starts asking me whether I want to download/run
the php file instead of
On Thursday 23 December 2004 16:46, kalinga wrote:
> Is it possible to pass the entire $HTTP_POST array to a function of a class
> as a variable?
It is possible to pass *any* array to a function of a class as a variable.
> without doing ...
>
> $new_classAccount = new classAccount;
> $
On Thursday 23 December 2004 16:18, Roger Thomas wrote:
> I want to convert negative number to its positive equivalent.
>
> $num = -40;
> printf("Unsigned value is %u", $num);
>
> output is: Unsigned value is 4294967256
>
> I have checked the manpages and %u seems the right format. Pls advise.
You
On Thursday 23 December 2004 15:39, Song Ken Vern-E11804 wrote:
> print "\n"; /* line?? */
>
> to include :-
>
> $cid = $groups[$i][$j];
> print "\n"; /* line?? */
>
> I seem to get the results I want.
>
> Why is this? Is there a syntax error?
You need to change it to this:
print "\n";
See m
Merry Christmas everyone.
I want to know that when one request the address
http://reg.mysite.com/regname , how can it be redirected to
https://www.mysite.com:70/index.php?action=registration®_id=regname
using the apache redirect/rewrite function?
--
PHP General Mailing List (http://www.php.net/
No really good reason that I can think of. I don't see any reason as to
why it wouldn't work with just 'x'.
Must have been having a 'beer' moment.
yes, it should probably clear out stale lock files but the files I
protect with this are better left untouched if the lock fails. I think
that locks f
I believe this is because taking a value and displaying it as an unsigned value
isn't the same as displaying the absolute value of a number.
Ever take a calculator that does hex and decimal, enter a negative number then
convert it to hex? There's no negative in hex, so you end up with something
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
On 23 December 2004 07:39, Song Ken Vern-E11804 wrote:
> Hi,
>
> I have an array of array of strings :-
>
> $g1 = array("453", "592");
> $g2 = array("e14", "e15", "e13");
> $group
And the good Lord saw that clear was bad and gave us ssh...
If you care that much build an ssh tunnel to the db server and talk over
that.
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: 20 December 2004 17:29
To: php-general@lists.php.net
Subject: Re: [PHP] Using en
unsigned does not equal absolute value.
$num = -40;
print "Num: $num\n";
$num = abs($num);
print "ABS: $num\n";
will display:
Num: -40
ABS: 40
http://us2.php.net/manual/en/function.abs.php
Justin
- Original Message -
From: "Roger Thomas" <[EMAIL PROTECTED]>
To:
Sent: Thursday, December 23
Dear all,
Is it possible to pass the entire $HTTP_POST array to a function of a class
as a variable?
without doing ...
$new_classAccount = new classAccount;
$msg =
$new_classAccount->addAccount($HTTP_POST_VARS['accountName'],$HTTP_POST_VARS['firstName'],$HTTP_POST_VARS['lastName']);
i
I want to convert negative number to its positive equivalent.
$num = -40;
printf("Unsigned value is %u", $num);
output is: Unsigned value is 4294967256
I have checked the manpages and %u seems the right format. Pls advise.
--
roger
---
Sign Up
88 matches
Mail list logo