php-general Digest 3 Jan 2006 17:45:50 -0000 Issue 3885

2006-01-03 Thread php-general-digest-help
php-general Digest 3 Jan 2006 17:45:50 - Issue 3885 Topics (messages 228103 through 228123): Re: Upload with process meter 228103 by: Mattias Segerdahl 228105 by: Michael Hulse MySQL update killed my login... 228104 by: William Stokes 228106 by: M

php-general Digest 4 Jan 2006 05:57:54 -0000 Issue 3886

2006-01-03 Thread php-general-digest-help
php-general Digest 4 Jan 2006 05:57:54 - Issue 3886 Topics (messages 228124 through 228138): Problems with session data. 228124 by: Duffy, Scott E mysqli bind_param and store_result don't work well together 228125 by: anirudh dutt admin variables in CGI version

[PHP] MySQL update killed my login...

2006-01-03 Thread William Stokes
Hello, My ISP updated their MySQL DB to 5.0.18 and that killed my login procedure which was OK yesterday. Any ideas how to start to debug this? The login updates 2 fields in users table row where username and password macthes. This is the code: if (!$query = mysql_query(update tbl_users set

Re: [PHP] Upload with process meter

2006-01-03 Thread Michael Hulse
On Jan 2, 2006, at 1:30 PM, Martin Zvarík wrote: is it possible to upload a file and see the process of uploading (before the file is uploaded, there is something showing from 0% to 100%) using PHP and Javascript ? My main dig with using PHP[0] is that (AFAIK) there is no good way to give

Re: [PHP] MySQL update killed my login...

2006-01-03 Thread M
It seems the upgrade was from Mysql 4.0. PASSWORD() function changed between 4.0 and 4.1, it uses longer hashes now. You can still use OLD_PASSWORD() function instead. William Stokes wrote: Hello, My ISP updated their MySQL DB to 5.0.18 and that killed my login procedure which was OK

Re: [PHP] MySQL update killed my login...

2006-01-03 Thread William Stokes
Thanks! -W M [EMAIL PROTECTED] kirjoitti viestissä:[EMAIL PROTECTED] It seems the upgrade was from Mysql 4.0. PASSWORD() function changed between 4.0 and 4.1, it uses longer hashes now. You can still use OLD_PASSWORD() function instead. William Stokes wrote: Hello, My ISP updated

Re: [PHP] Strange Right-Shift Problem

2006-01-03 Thread Jochem Maas
Curt Zirzow wrote: On Fri, Dec 30, 2005 at 12:34:35PM -0600, Richard Lynch wrote: On Thu, December 29, 2005 5:37 pm, Michael Gross wrote: ... If you can determine the number of bits on your system, you could use a different number from 11 on the two systems to get the answer you want.

[PHP] Re: fread problem

2006-01-03 Thread Mario de Frutos Dieguez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yes, sorry i forget send some example code. Here is: $xml_parser = xml_parser_create(); // usa case-folding para que estemos seguros de encontrar la etiqueta // en $map_array xml_parser_set_option($xml_parser, XML_OPTION_CASE_FOLDING, true);

[PHP] forms

2006-01-03 Thread Mark
Hi can any one show me how make another form appear below another once the 1st form has been submitted. ie: name: address: country: SUBMIT then this form appears below after the submit button is clicked blah: blah: blah: SUBMIT -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] forms

2006-01-03 Thread Jay Blanchard
[snip] Hi can any one show me how make another form appear below another once the 1st form has been submitted. [/snip] post to PHP_SELF and test for population of original form parts if('' != $_POST['name'] etc.){ echo all of the other form parts; } -- PHP General Mailing List

Re: [PHP] forms

2006-01-03 Thread Silvio Porcellana [tradeOver]
Mark wrote: Hi can any one show me how make another form appear below another once the 1st form has been submitted. [not really a PHP solution...] You can do like this: the 'SUBMIT' button of the first form only makes visible the (hidden) DIV where the second form is, and only *that*

RE: [PHP] A curl question

2006-01-03 Thread ray . hauge
I haven't tried it, so I don't know if -d doesn't work with -u, but if that is the case, you could change your URL to this: curl -d what=what http://user:[EMAIL PROTECTED]/myApp.php or try this: curl -u userID:password -d what=what --url http://www.mydomain.com/myApp.php; HTH Ray

[PHP] Problems requesting page

2006-01-03 Thread PHP Superman
Hey everyone, i'm on a windows box with PHP 5 on Apache 2 and I have a strange problem. When i try to access a page it seems to be blank, before it always worked but now it sudenly stopped. I am not a big computer techy but i cleared IE's cache and it still doesen't work. Source Code in IE for

Re: [PHP] watermark png on jpg

2006-01-03 Thread tedd
I have png image with transparent background, and 1 jpg file. I use imageCopyMerge to paste the png image on the jpg image. the result image contain no transparent background mean the png file have white background when its suppose to be transparent what is the simple and best way to make

Re: [PHP] watermark png on jpg

2006-01-03 Thread Libit
tedd wrote: I have png image with transparent background, and 1 jpg file. I use imageCopyMerge to paste the png image on the jpg image. the result image contain no transparent background mean the png file have white background when its suppose to be transparent what is the simple and best

RE: [PHP] A curl question

2006-01-03 Thread tedd
I haven't tried it, so I don't know if -d doesn't work with -u, but if that is the case, you could change your URL to this: curl -d what=what http://user:[EMAIL PROTECTED]/myApp.php Ray: Bingo -- that worked ! Now I can send data to a password protected folder without having to expose the

Re: [PHP] Problems requesting page

2006-01-03 Thread M
PHP Superman wrote: Hey everyone, i'm on a windows box with PHP 5 on Apache 2 and I have a strange problem. When i try to access a page it seems to be blank, before it always worked but now it sudenly stopped. I am not a big computer techy but i cleared IE's cache and it still doesen't work.

[PHP] Any Senior PHP/MySQL Developers in the Los Angeles area?

2006-01-03 Thread Beau Gould
Any Senior PHP/MySQL Developers in the Los Angeles area looking for work? If so, send me your resume. I've got multiple clients. 70-100k range. Thank you, Beau Gould www.superiorss.com [EMAIL PROTECTED] -- No virus found in this outgoing message. Checked by AVG Free Edition. Version:

[PHP] are these db stats normal?

2006-01-03 Thread James Tu
I used phpMyAdmin to look at the stats for this mysql server. http://www.2-bit-toys.com/db_info/server_status.html What concerns me mainly are the stats at the top-right...'Failed attempts' and 'Aborted.' When would these situations occur? Is it normal to see these? I'm using PHP's

Re: [PHP] PHPMailer inserting unwanted spaces

2006-01-03 Thread René Fournier
Actually, I can send the example messages but here is another description of the same problem. (So PHPMailer is inserting line breaks, not spaces—or something is...) http://sourceforge.net/tracker/index.php? func=detailaid=1267539group_id=26031atid=385708 On 30-Dec-05, at 5:37 AM, Lam

[PHP] LAMP Jobs Yahoo Group

2006-01-03 Thread Beau Gould
LAMP Jobs Yahoo Group http://groups.yahoo.com/group/LAMPjobs This group is moderated and is spam-free. Open Source Jobs Yahoo Group http://groups.yahoo.com/group/opensourcejobs This group is moderated and is spam-free. Python, Zope, and Plone Jobs

Re: [PHP] PHPMailer inserting unwanted spaces

2006-01-03 Thread Manuel Lemos
Hello, on 01/03/2006 03:37 PM René Fournier said the following: Actually, I can send the example messages but here is another description of the same problem. (So PHPMailer is inserting line breaks, not spaces—or something is...) http://sourceforge.net/tracker/index.php?

[PHP] Problems with session data.

2006-01-03 Thread Duffy, Scott E
I thought I was using session data and variables correctly, but I am having some issues. I am using it to create a login but if I have another user on a different machine my session data gets changed to who last logged in. I had changed so it used https but changed it back and it still seems to be

[PHP] mysqli bind_param and store_result don't work well together

2006-01-03 Thread anirudh dutt
hi the subject is pretty much what the problem is. if i use $st1 = $sql-stmt_init(); // $sql is a mysqli obj/conn $st1-prepare(select `num` from `activity` where `id` = ?); $st1-bind_param('s', $myid); $myid = '3f6d017d3e728b057bcc082a7db75a57'; // forcing value to check $st1-execute();

[PHP] admin variables in CGI version

2006-01-03 Thread Tim Traver
Hi all, ok, when using the CGI binary for PHP execution, is there a way to send it environment variables to set the admin values like you can in mod_php ??? For instance, when using the apache module, you might do something like this : php_admin_value session.save_path /some/path I know

[PHP] Problems with sessions .. qualified/non-qualified domain names

2006-01-03 Thread Kall, Bruce A.
I have diagnosed a problem with sessions I am having. I'm don't believe it's necessarily a PHP problem, but I thought someone must have seen this before. The first thing I do is a session_start() and then determine if (using session variables) whether the user has logged in successfully

[PHP] Curl Question

2006-01-03 Thread Ray Hauge
Hello everyone, I just wanted to see if anyone knew if there was any difference in performance between using curl in an exec() statement and when using the libCurl functions within PHP. Thanks, Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Curl Question

2006-01-03 Thread Manuel Lemos
Hello, on 01/03/2006 06:52 PM Ray Hauge said the following: I just wanted to see if anyone knew if there was any difference in performance between using curl in an exec() statement and when using the libCurl functions within PHP. Executing a separate program should be a little slower as it

[PHP] date processing needed in form

2006-01-03 Thread Sue
Hello - I need to create a form that allows the user to select a Month, Day and Year. I am also new to PHP and am wondering if there is a way for me to display the contents of the Select list box (for the Day) based on the Month that is selected (and Year), so that the valid number of days

RE: [PHP] date processing needed in form

2006-01-03 Thread Jim Moseby
I need to create a form that allows the user to select a Month, Day and Year. I am also new to PHP and am wondering if there is a way for me to display the contents of the Select list box (for the Day) based on the Month that is selected (and Year), so that the valid number of days

Re: [PHP] Re: Curl Question

2006-01-03 Thread Ray Hauge
Thanks for the info! Manuel Lemos wrote: Hello, on 01/03/2006 06:52 PM Ray Hauge said the following: I just wanted to see if anyone knew if there was any difference in performance between using curl in an exec() statement and when using the libCurl functions within PHP. Executing a

[PHP] Re: date processing needed in form

2006-01-03 Thread Manuel Lemos
Hello, on 01/03/2006 06:41 PM Sue said the following: I need to create a form that allows the user to select a Month, Day and Year. I am also new to PHP and am wondering if there is a way for me to display the contents of the Select list box (for the Day) based on the Month that is selected

[PHP] imagecopyresampled() is same quality of imagecopyresized()

2006-01-03 Thread Christopher Mobarek
Everyone is saying that imagecopyresampled() greatly improves resizing quality due to resampling. However, I noticed that my thumbnails were very jagged and pixelated, not smooth as thumbnails should be. Even the slightly smaller images had a lot of jagged edges. The $src image is a resource of

[PHP] Re: date processing needed in form

2006-01-03 Thread Jerry Kita
Sue wrote: Hello - I need to create a form that allows the user to select a Month, Day and Year. I am also new to PHP and am wondering if there is a way for me to display the contents of the Select list box (for the Day) based on the Month that is selected (and Year), so that the valid

[PHP] Re: PHP MySQL

2006-01-03 Thread toylet
Here's one thought . ascii (97) is the letter a is it possible that the ascii (65) A was interpreted as lowercase thus creating a duplicate primary key? Or your DBMS doesn't make a distinction between upper or lower case. You are correct. I compiled mysql and php from source tar-ball.

[PHP] Some Help with AD

2006-01-03 Thread Dean Ericson
I have been trying with AD to traverse a tree... such as: A - Company distribution list \ B - Business Operations distribution list / \ CD- IT Operations distribution list \ E - Visual

Re: [PHP] Re: HAPPY NEW YEAR!!

2006-01-03 Thread Lam Cheuk Hin
Happy New Year to all... ChineseT: 新年快樂 ^.^ -- lch2003 ~ Lam Cheuk Hin

[PHP] Newbie question: need to transfer directory contents from my local machine to my website

2006-01-03 Thread Jon Westcot
Hi all: I'm really new at PHP and will probably embarrass myself many times over asking questions that have been asked gazillions of times before, so let this serve as a blanket apology. Now, to my question. Here's what I'm trying to do. I have a simple database on my website that I

[PHP] Comparing of string

2006-01-03 Thread janbro
Hello List I've got the following little code: $formCheck= $_GET['formCheck']; $SollKombination = $_SESSION['zufall']; echo $SollKombinationbr$formCheck; print gettype($formCheck);

Re: [PHP] Comparing of string

2006-01-03 Thread Jon Westcot
Hi JanBro: Quick guess: are the strings the same length? I've been bitten many times by string comparisons that appear to be identical but which fail due to trailing spaces, other invisible (i.e., non-printing) characters, and the like. Hope this helps. Jon - Original

Re: [PHP] Comparing of string

2006-01-03 Thread janbro
Yep, they are of the same length. here they are: $SollKombination ZL0X~TT4PQ%0~R0OXPRUHY7E!4~W337J71V4WDDI6$GS9480XP0TNP2I$1YX75S $formCheck ZL0X~TT4PQ%0~R0OXPRUHY7E!4~W337J71V4WDDI6$GS9480XP0TNP2I$1YX75S When creating the string on the form page only visible characters were allowed. thanks but

Re: [PHP] Comparing of string

2006-01-03 Thread Jeremy Privett
janbro wrote: Hello List I've got the following little code: $formCheck= $_GET['formCheck']; $SollKombination = $_SESSION['zufall']; echo $SollKombinationbr$formCheck; print gettype($formCheck);