[PHP] PHP function unpack

2009-10-11 Thread Gabriel Hahmann
Hi, I'm new to the list and I've search internet and didn't find an answer to my problem. I'm converting a perl script to PHP and I've done almost everything. The only part of the code that I didn't get working on PHP was: (PERL CODE) foreach ($b_length,$b_mac,$b_crlf,$b_crlf,$a_body) {

[PHP] PHP function to list all mysql tables used in a script

2008-01-16 Thread Javed Khan
Hello All, I have php script which performs various sql operations, like insert row in table A, delete row from Table B and Update rows in table C. Now I would like to display all those tables that are affected by my script. Can anyone send me a function or script if it is already available?

Re: [PHP] PHP function to list all mysql tables used in a script

2008-01-16 Thread Chris
Javed Khan wrote: Hello All, I have php script which performs various sql operations, like insert row in table A, delete row from Table B and Update rows in table C. Now I would like to display all those tables that are affected by my script. Can anyone send me a function or script if it is

[PHP] php function

2007-10-01 Thread edwardspl
Dear All, Mine is FC6 System. So, the php come with it... If disable the function of phpinfo(), then all of the setting will be returned to the default ! Any solution for help ? Thanks ! Edward. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] php function like javas setTimeout??

2006-11-14 Thread brian debottari (sin7)
I have a site that does the following: You fill out a form with client info, click process, it moves to another page that calls a few php functions i wrote (sending client welcome email, adding client details to database and a few other things). What I want the page to do is delay some of

Re: [PHP] php function like javas setTimeout??

2006-11-14 Thread Jochem Maas
brian debottari (sin7) wrote: I have a site that does the following: You fill out a form with client info, click process, it moves to another page that calls a few php functions i wrote (sending client welcome email, adding client details to database and a few other things). What I want the

Re: [PHP] Php function to Set focus On A form Field

2006-04-26 Thread Joe Wollard
PHP can't do that for you but Javascript can. Here's roughly 3 million (no joke) examples of what you'd like to accomplish: http://www.google.com/search?q=javascript+focus+first+input On 4/26/06, marvin hunkin [EMAIL PROTECTED] wrote: Hi. is there any php or java script function, where i can

[PHP] Php function to Set focus On A form Field

2006-04-25 Thread marvin hunkin
Hi. is there any php or java script function, where i can embed into my php or html file, to set focus on to the first form field, like a text box, to go to that field first, and not to go to the link or button first. if there are any tips, tricks, or links or code examples, how to fix this

[PHP] PHP function called by onclick

2006-02-12 Thread Alain Roger
Hi, I have a link in my web page and when user click on this link, i would like to execute a PHP function with a parameter. how can i do it ? ex : ?php function lang($language) { $lg = $language; } ? ... A href=?php lang(eng);?test/A but this does not work :-( thanks for help. Alain

Re: [PHP] PHP function called by onclick

2006-02-12 Thread Chris Shiflett
Alain Roger wrote: I have a link in my web page and when user click on this link, i would like to execute a PHP function with a parameter. You'll need to initiate a new request. Browsers don't execute PHP code. Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/ --

Re: [PHP] PHP function called by onclick

2006-02-12 Thread Paul Novitski
At 11:46 AM 2/12/2006, Alain Roger wrote: I have a link in my web page and when user click on this link, i would like to execute a PHP function with a parameter. how can i do it ? If you're using PHP in the usual way as a server-side script, it doesn't run in the same time-frame as user

[PHP] PHP function speed testing

2004-07-25 Thread Shawn McKenzie
O.K. So I've written my application and debugged it, and now I want to try and optimize the speed. I have written a little test script to test the time of each PHP function that I can use in a certain situation (ereg, eregi, strpos). Problem is, no matter what I do, the first function I

Re: [PHP] PHP function speed testing

2004-07-25 Thread Jason Wong
On Monday 26 July 2004 06:21, Shawn McKenzie wrote: O.K. So I've written my application and debugged it, and now I want to try and optimize the speed. I have written a little test script to test the time of each PHP function that I can use in a certain situation (ereg, eregi, strpos).

[PHP] PHP function for length of the array???

2004-01-06 Thread Scott Fletcher
Hi! Anyone know what is the php function for finding the length of the array? I haven't found the answer at http://us3.php.net/manual/en/ref.array.php . Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP function for length of the array???

2004-01-06 Thread Chris Hayes
At 15:44 6-1-04, you wrote: Hi! Anyone know what is the php function for finding the length of the array? I haven't found the answer at http://us3.php.net/manual/en/ref.array.php . looking for the number of elements? -count($arrayname) -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] PHP function for length of the array???

2004-01-06 Thread Scott Fletcher
Ah! Thanks!!! Chris Hayes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 15:44 6-1-04, you wrote: Hi! Anyone know what is the php function for finding the length of the array? I haven't found the answer at http://us3.php.net/manual/en/ref.array.php . looking for the

Re: [PHP] PHP function for length of the array???

2004-01-06 Thread Neil Freeman
Or you can use sizeof() which is an alias for count() Scott Fletcher wrote: *** This Email Has Been Virus Swept *** Ah! Thanks!!! Chris Hayes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At

Re: [PHP] PHP function for length of the array???

2004-01-06 Thread Mike Migurski
Anyone know what is the php function for finding the length of the array? I haven't found the answer at http://us3.php.net/manual/en/ref.array.php . You are aware that all the available array functions are listed about halfway down that page, right?

Re: [PHP] PHP function for length of the array???

2004-01-06 Thread Chris Shiflett
--- Mike Migurski [EMAIL PROTECTED] wrote: Anyone know what is the php function for finding the length of the array? I haven't found the answer at http://us3.php.net/manual/en/ref.array.php . You are aware that all the available array functions are listed about halfway down that page,

[PHP] php function - netmask validity check

2003-11-06 Thread S H A N
hi, while using ipman php script and come accross this problem... function ip_mask_valid($mask) { $maskroot = (int)sqrt(abs(ip2long($mask))); return ( (float)$maskroot == sqrt(abs(ip2long($mask))) ); } this function is not returning true/successfull output when say given 255.255.254.0

Re: [PHP] php function on php.net

2003-07-24 Thread Merlin
this is a reply on: I am wondering how on php.net the search for functions is done. You can add any function just behind the php.net like php.net/phpinfo and it will point you right through it. I know how to redirect this as a 404 error in apache to another file, but then the url is

Re: [PHP] php function on php.net

2003-07-24 Thread Ivo Fokkema
Use a path relative to your httpdocs for your error document, e.g. ErrorDocument 404 /myerrorpage.php instead of ErrorDocument 404 http://mysite/myerrorpage.php Unfortunatelly this is not what I mean. I think it is. When you use a relative path in the .htaccess, the URL will not change,

Re: [PHP] php function on php.net

2003-07-24 Thread Curt Zirzow
* Thus wrote Merlin ([EMAIL PROTECTED]): this is a reply on: I am wondering how on php.net the search for functions is done. You can add any function just behind the php.net like php.net/phpinfo and it will point you right through it. I know how to redirect this as a 404 error in

Re: [PHP] php function on php.net

2003-07-24 Thread Curt Zirzow
* Thus wrote Ivo Fokkema ([EMAIL PROTECTED]): Use a path relative to your httpdocs for your error document, e.g. ErrorDocument 404 /myerrorpage.php instead of ErrorDocument 404 http://mysite/myerrorpage.php Unfortunatelly this is not what I mean. I think it is. When you use a

Re: [PHP] php function on php.net

2003-07-24 Thread Chris Shiflett
--- Merlin [EMAIL PROTECTED] wrote: Unfortunatelly this is not what I mean. Have a look on this: http://www.globosapiens.net/hially A php page is redirecting this 404 error to another page, but I would like to have the URL stay the same like it is done on php.net Then don't redirect to

[PHP] php function on php.net

2003-07-22 Thread Merlin
Hi there, I am wondering how on php.net the search for functions is done. You can add any function just behind the php.net like php.net/phpinfo and it will point you right through it. I know how to redirect this as a 404 error in apache to another file, but then the url is changing. In the

Re: [PHP] php function on php.net

2003-07-22 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Tue, 22 Jul 2003 at 21:15, lines prefixed by '' were originally written by you. Hi there, I am wondering how on php.net the search for functions is done. You can add any function just behind the php.net like php.net/phpinfo and it will

[PHP] php function system() on win2k srv /iis

2003-06-26 Thread user
Hello, I performed some tests using the backticks operator and the system() call. This is my.php : ? /*---*/ header(Pragma: no-cache); // HTTP/1.0 header(Cache-Control: no-cache, must-revalidate); // HTTP/1.1

RE: [PHP] PHP function for listing number of columns in table

2002-06-10 Thread Tim Ward
To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] PHP function for listing number of columns in table No. There is, however, a function that'll tell you how many columns are in a result set. So, if you select all columns, then you can use

RE: [PHP] PHP function for listing number of columns in table

2002-06-10 Thread Mark
] Subject: RE: [PHP] PHP function for listing number of columns in table No. There is, however, a function that'll tell you how many columns are in a result set. So, if you select all columns, then you can use that function to find out how many columns are in the table. www.php.net

Re: [PHP] PHP function for listing number of columns in table

2002-06-10 Thread hugh danaher
Holmes [EMAIL PROTECTED] Sent: Monday, June 10, 2002 1:18 AM Subject: RE: [PHP] PHP function for listing number of columns in table yes, I think getting the result set for 'describe $table' or 'show fields from $table' and then doing mysql_num_rows() on that is best because it will return right

RE: [PHP] PHP function for listing number of columns in table

2002-06-09 Thread John Holmes
PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 09, 2002 12:54 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP function for listing number of columns in table Pardon the probably stupid question but, Is there a PHP function for listing number of columns in a mySQL table? Thanks in advance

[PHP] PHP function for listing number of columns in table

2002-06-08 Thread webmaster
Pardon the probably stupid question but, Is there a PHP function for listing number of columns in a mySQL table? Thanks in advance JJ Harrison [EMAIL PROTECTED] www.tececo.com

Re: [PHP] PHP function for listing number of columns in table

2002-06-08 Thread hugh danaher
try mysql_num_fields() Hugh - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 08, 2002 9:54 PM Subject: [PHP] PHP function for listing number of columns in table Pardon the probably stupid question but, Is there a PHP function for listing number

[PHP] [PHP]: Function strtoupper () does not convert the characterñ to Ñ

2002-06-05 Thread ignacio . estrada
I have a capture form using text fields. This form receives data from the user and then through a php module the data will be stored on an Oracle database via ODBC. All the data is converted to caps so I am using the strtoupper() function. However when the user writes characters like ñ the

RE: [PHP] PHP function to extract EXIF data from JPGs?

2001-07-25 Thread Seb Frost
Let me know if you find anything out about this because it's something I too would like to use. - seb -Original Message- From: Richard Kitamura - Media Net Link, Inc. [mailto:[EMAIL PROTECTED]] Sent: 24 July 2001 23:40 To: [EMAIL PROTECTED] Subject: [PHP] PHP function to extract EXIF

[PHP] PHP function to extract EXIF data from JPGs?

2001-07-24 Thread Richard Kitamura - Media Net Link, Inc.
Does anyone have a PHP function that extracts EXIF data from a JPG image that they can send or post? I read about re-compiling with the EXIF flag, but would rather avoid doing that for a little while. Thanks, Richard Kitamura -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] PHP function using a WML variable from a select list as to access the right data in a MYSQL database

2001-02-08 Thread Kato Strandjord
I use apache server on win2000, php4, mysql and wml which I test local on my harddrive. The code under is working fine when I test it on emulators like UP SDK from phone.com. or other, but i have fooled it to use static variables which is not the solution i want. My problem is. How can I use my

Re: [PHP] PHP function using a WML variable from a select list as to access the right data in a MYSQL database

2001-02-08 Thread Richard Lynch
djord" [EMAIL PROTECTED] Newsgroups: php.general Sent: Thursday, February 08, 2001 5:04 AM Subject: [PHP] PHP function using a WML variable from a select list as to access the right data in a MYSQL database I use apache server on win2000, php4, mysql and wml which I test local on my harddrive.