[PHP] stripping negative number

2004-12-23 Thread Roger Thomas
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

[PHP] $HTTP_POST array

2004-12-23 Thread kalinga
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']);

Re: [PHP] stripping negative number

2004-12-23 Thread Justin England
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: php-general@lists.php.net Sent:

RE: [PHP] Using encrypted passwords

2004-12-23 Thread Robinson, Matthew
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

RE: [PHP] String: Arrays of arrays.

2004-12-23 Thread Ford, Mike
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); $groups = array($g1,

Re: [PHP] stripping negative number

2004-12-23 Thread tg-php
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

RE: [PHP] File Locking during *other* file operations

2004-12-23 Thread Robinson, Matthew
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

[PHP] An apache rewrite/redirect problem

2004-12-23 Thread newbin shang
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=registrationreg_id=regname using the apache redirect/rewrite function? -- PHP General Mailing List

Re: [PHP] String: Arrays of arrays.

2004-12-23 Thread Jason Wong
On Thursday 23 December 2004 15:39, Song Ken Vern-E11804 wrote: print !--=$groups[$i][$j]=--\n; /* line?? */ to include :- $cid = $groups[$i][$j]; print !--=$cid=--\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:

Re: [PHP] stripping negative number

2004-12-23 Thread Jason Wong
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've

Re: [PHP] $HTTP_POST array

2004-12-23 Thread Jason Wong
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; $msg =

[PHP] Firefox/IE (sometimes) wants to download .php files from my Apache2 server

2004-12-23 Thread Rinke Hoekstra
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

Re: [PHP] Firefox/IE (sometimes) wants to download .php files from my Apache2 server

2004-12-23 Thread Thomas Munz
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 stuff.

[PHP] Re: : [PHP] header information problem

2004-12-23 Thread Angelo Zanetti
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] : 20041218 19:36 : 'Ahmed Abdel-Aliem'; 'php-general@lists.php.net' : :

[PHP] can Header open in a new window?

2004-12-23 Thread Angelo Zanetti
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

Re: [PHP] Firefox/IE (sometimes) wants to download .php files from my Apache2 server

2004-12-23 Thread Stephan Fiedler
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

[PHP] Re: Firefox/IE (sometimes) wants to download .php files from my Apache2 server

2004-12-23 Thread Rinke Hoekstra
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

[PHP] Re: Firefox/IE (sometimes) wants to download .php files from my Apache2 server

2004-12-23 Thread Rinke Hoekstra
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

[PHP] How do I underline a string using php and fonts?

2004-12-23 Thread Brent Clements
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

Re: [PHP] Re: Firefox/IE (sometimes) wants to download .php files from my Apache2 server

2004-12-23 Thread Thomas Munz
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: Hi

[PHP] Re: Firefox/IE (sometimes) wants to download .php files from my Apache2 server

2004-12-23 Thread Rinke Hoekstra
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

[PHP] converting whole or tenth prices to double decimal

2004-12-23 Thread Brian A. Anderson
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

[PHP] Re: Firefox/IE (sometimes) wants to download .php files from my Apache2 server

2004-12-23 Thread Rinke Hoekstra
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

Re: [PHP] converting whole or tenth prices to double decimal

2004-12-23 Thread Richard Davey
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 --

Re: [PHP] An apache rewrite/redirect problem

2004-12-23 Thread John Nichel
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=registrationreg_id=regname using the apache redirect/rewrite function? I want to know why you came

RE: [PHP] converting whole or tenth prices to double decimal

2004-12-23 Thread Robinson, Matthew
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,

Re: [PHP] can Header open in a new window?

2004-12-23 Thread John Nichel
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

Re: [PHP] can Header open in a new window?

2004-12-23 Thread Richard Davey
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 being

Re: [PHP] converting whole or tenth prices to double decimal

2004-12-23 Thread Brian A. Anderson
I found it $strprice1 = number_format($strprice1, 2, '.', ''); - Original Message - From: Brian A. Anderson [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, December 23, 2004 6:25 AM Subject: [PHP] converting whole or tenth prices to double decimal Anybody know the

Re: [PHP] Re: Firefox/IE (sometimes) wants to download .php files from my Apache2 server

2004-12-23 Thread Thomas Munz
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 you have

RE: [PHP] An apache rewrite/redirect problem

2004-12-23 Thread Jay Blanchard
[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=registrationreg_id=regname using the apache redirect/rewrite function? [/snip] Happy holidays! You would use

Re: [PHP] PHP Exploit via phpBB?

2004-12-23 Thread John Nichel
Paul Aviles wrote: John, can you maybe post the IP addresses of where does attacks came from or any other related info? Thanks -pa snip This particular one came from 201.9.192.212. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] Compiling PHP Source guides

2004-12-23 Thread Donald Tyler
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

Re: [PHP] PHP Exploit via phpBB?

2004-12-23 Thread John Nichel
Ashley M. Kirchner wrote: snip # 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

Re: [PHP] An apache rewrite/redirect problem

2004-12-23 Thread newbin shang
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

Re: [PHP] Compiling PHP Source guides

2004-12-23 Thread Raditha Dissanayake
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

[PHP] Re: Firefox/IE (sometimes) wants to download .php files from my Apache2 server

2004-12-23 Thread Rinke Hoekstra
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

[PHP] MP3s

2004-12-23 Thread GH
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 greatfully

Re: [PHP] Re: Firefox/IE (sometimes) wants to download .php files from my Apache2 server

2004-12-23 Thread Raditha Dissanayake
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.

Re: [PHP] How do I underline a string using php and fonts?

2004-12-23 Thread Jason Wong
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 how to do

Re: [PHP] MP3s

2004-12-23 Thread David Dickson
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

[PHP] Problem of varibles between webpages

2004-12-23 Thread edwardspl
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. --

Re: [PHP] MP3s

2004-12-23 Thread Greg Donald
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

Re: Re[2]: [PHP] Compiling PHP Source guides

2004-12-23 Thread Greg Donald
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/ -- PHP

Re[2]: [PHP] Compiling PHP Source guides

2004-12-23 Thread Richard Davey
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 for Fine

Re: [PHP] MP3s

2004-12-23 Thread Robby Russell
.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

Re: [PHP] Problem of varibles between webpages

2004-12-23 Thread John Nichel
[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

Re: [PHP] Problem of varibles between webpages

2004-12-23 Thread John Holmes
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

Re: [PHP] Checking Original URL

2004-12-23 Thread John Holmes
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 img tag that is requesting the image from the php script)

[PHP] Re: Firefox/IE (sometimes) wants to download .php files from my Apache2 server

2004-12-23 Thread Rinke Hoekstra
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

[PHP] A serious bug? or operator gives out diffferent results depending on order of operands

2004-12-23 Thread Bogdan Ribic
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

Re: [PHP] A serious bug? or operator gives out diffferent results depending

2004-12-23 Thread John Holmes
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 and $b2, but the

[PHP] What is happening to the news server?

2004-12-23 Thread symbulos partners
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

Re: [PHP] A serious bug? or operator gives out diffferent results depending on order of operands

2004-12-23 Thread Rasmus Lerdorf
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

Re: [PHP] Destroying session data

2004-12-23 Thread John Holmes
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 them

Re: [PHP] Destroying session data

2004-12-23 Thread Philip Thompson
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

Re: [PHP] Destroying session data

2004-12-23 Thread Matt M.
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 coming

Re: Re: [PHP] A serious bug? or operator gives out diffferent results dependin

2004-12-23 Thread John Holmes
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 make

[PHP] Destroying session data

2004-12-23 Thread Philip Thompson
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

Re: [PHP] PHP4: Using create_function to create an object method

2004-12-23 Thread Greg Donald
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

Re: [PHP] A serious bug? or operator gives out diffferent results depending on order of operands

2004-12-23 Thread Comex
Uh.. $y is 5. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Destroying session data

2004-12-23 Thread Vail, Warren
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

RE: [PHP] Destroying session data

2004-12-23 Thread Vail, Warren
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 appropriately?

[PHP] PHP4: Using create_function to create an object method

2004-12-23 Thread kermodebear
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: ?php $test = create_function( '', 'echo Testing;' ); $test(); // will work $t = 'test'; ${$t}(); // will work $o = new

Re: [PHP] Destroying session data

2004-12-23 Thread Philip Thompson
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

Re: Re: [PHP] Destroying session data

2004-12-23 Thread John Holmes
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 as 'garbage' and

Re: [PHP] Problem of varibles between webpages

2004-12-23 Thread edwardspl
Hello, For table form format ( sample ), form method= action= table trtdYour Name : /tdtdinput name=name size=30 maxlength=60/td/tr trtdAddress/tdtdinput name=address size=30 maxlength=60/td/tr /table /form name and address is varible, so how can we pass these two varible without

Re: [PHP] Problem of varibles between webpages

2004-12-23 Thread Matthew Sims
Hello, For table form format ( sample ), form method= action= table trtdYour Name : /tdtdinput name=name size=30 maxlength=60/td/tr trtdAddress¡G/tdtdinput name=address size=30 maxlength=60/td/tr /table /form name and address is varible, so how can we pass these two varible without

Re: [PHP] Problem of varibles between webpages

2004-12-23 Thread John Nichel
[EMAIL PROTECTED] wrote: Hello, For table form format ( sample ), form method= action= table trtdYour Name : /tdtdinput name=name size=30 maxlength=60/td/tr trtdAddress/tdtdinput name=address size=30 maxlength=60/td/tr /table /form name and address is varible, so how can we pass these two varible

Re: [PHP] Problem of varibles between webpages

2004-12-23 Thread edwardspl
Matthew Sims wrote: Hello, For table form format ( sample ), form method= action= table trtdYour Name : /tdtdinput name=name size=30 maxlength=60/td/tr trtdAddress/tdtdinput name=address size=30 maxlength=60/td/tr /table /form name and address is varible, so how can we

Re: [PHP] Problem of varibles between webpages

2004-12-23 Thread edwardspl
John Nichel wrote: [EMAIL PROTECTED] wrote: Hello, For table form format ( sample ), form method= action= table trtdYour Name : /tdtdinput name=name size=30 maxlength=60/td/tr trtdAddress?/tdtdinput name=address size=30 maxlength=60/td/tr /table /form name and

Re: Re: [PHP] Problem of varibles between webpages

2004-12-23 Thread John Holmes
From: [EMAIL PROTECTED] For table form format ( sample ), form method= action= table trtdYour Name : /tdtdinput name=name size=30 maxlength=60/td/tr trtdAddress?/tdtdinput name=address size=30 maxlength=60/td/tr /table /form name and address is varible, so how can we pass these

Re: Re: [PHP] Problem of varibles between webpages

2004-12-23 Thread John Holmes
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 you

Re: [PHP] Problem of varibles between webpages

2004-12-23 Thread Jason Wong
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 disable ?

Re: [PHP] Problem of varibles between webpages

2004-12-23 Thread edwardspl
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

Re: [PHP] Problem of varibles between webpages

2004-12-23 Thread John Nichel
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

Re: [PHP] Problem of varibles between webpages

2004-12-23 Thread edwardspl
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 to know

[Fwd: [PHP] Problem of varibles between webpages]

2004-12-23 Thread edwardspl
?---BeginMessage--- 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 ,

[PHP] Parse Flash File for URLs

2004-12-23 Thread Jason Paschal
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

[PHP] Next page every second

2004-12-23 Thread Greg Wardawy
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 the

Re: [Fwd: [PHP] Problem of varibles between webpages]

2004-12-23 Thread Jason Wong
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

Re: [PHP] Next page every second

2004-12-23 Thread Jason Wong
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 web

Re: [PHP] PHP Exploit via phpBB?

2004-12-23 Thread Chris Shiflett
--- 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 and

Re: [PHP] hackers?

2004-12-23 Thread Chris Shiflett
--- 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 -

Re: [PHP] Problem of varibles between webpages

2004-12-23 Thread Matthew Sims
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 to

Re: [Fwd: [PHP] Problem of varibles between webpages]

2004-12-23 Thread edwardspl
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 then

Re: [PHP] Next page every second

2004-12-23 Thread Sagar C Nannapaneni
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

Re: [Fwd: [PHP] Problem of varibles between webpages]

2004-12-23 Thread Matthew Sims
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 then