[PHP] PLEASE, PLEASE, PLEASE - HELP ME GET OFF THIS LIST

2010-02-23 Thread William C. Schnute
PLEASE, PLEASE, PLEASE - HELP ME GET OFF THIS LIST --- YOU PEOPLE ARE DRIVING ME CRAZY1 Please unsubscribe: m...@honeyflowfarm.com, wschn...@mail.honeyflowfarm.com or anyone else @honeyflowfarm.com or wschn...@gm.com PLEASE At 08:32 AM 2/23/2010, you wrote:

RE: [PHP] possible session bug - Mantis Bug Tracker

2009-03-05 Thread Edsall, William (WJ)
esday, March 03, 2009 11:18 AM To: Edsall, William (WJ) Cc: php-general@lists.php.net Subject: Re: [PHP] possible session bug - Mantis Bug Tracker On Tue, 2009-03-03 at 11:01 -0500, Edsall, William (WJ) wrote: > Hello list! > I'm having a strange problem with php after installing Mantis Bu

[PHP] possible session bug - Mantis Bug Tracker

2009-03-03 Thread Edsall, William (WJ)
is is causing this bug. Please advise! PHP 5.2.4 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 22 2007 02:01:31) Server version: Apache/2.2.4 (Unix) Server built: Mar 6 2008 02:37:06 Thank you ahead of time list. _______ William J. Edsall Walking on water

Re: [PHP] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread Robert William Vesterman
ASCII characters, which mb_detect_encoding therefore said was ASCII. tedd wrote: At 11:28 AM -0400 4/23/08, Robert William Vesterman wrote: A little additional info: The "ASCII to ASCII" case for "Minnie=Mouse" is merely because the UTF-8 encoding for "Mouse" is the sa

Re: [PHP] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread Robert William Vesterman
And the culprit is that mb_detect_order() wasn't set up to handle ISO-8859-1. It was "ASCII, UTF-8". Changing it to "ASCII, UTF-8, ISO-8859-1" makes everything work as expected. Robert William Vesterman wrote: OK, now the problem seems to be not that mb_conv

Re: [PHP] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread Robert William Vesterman
( $x ) ) ); output ( "Convert from ISO", mb_convert_encoding ( $x, "UTF-8", "ISO-8859-1" ) ); ?> Output for "Minnie=Mi%F1oso": Raw: Mi?oso ... UTF-8 Convert from detected: Mioso ... ASCII Convert from ISO: Miñoso ... UTF-8 Robert W

Re: [PHP] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread Robert William Vesterman
But, the "UTF-8 to ASCII" case for "Minnie=Miñoso" is still (seemingly) screwy. Robert William Vesterman wrote: I've run into a problem where mb_convert_encoding seems to be converting to ASCII, even though I'm telling it to convert to UTF-8. This is with PHP ve

[PHP] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread Robert William Vesterman
I've run into a problem where mb_convert_encoding seems to be converting to ASCII, even though I'm telling it to convert to UTF-8. This is with PHP version 4.3.11. I had been asking it to convert from "auto" to UTF-8, so at first I thought maybe "auto" was not the right choice. So I called

[PHP] Curl Javascript

2008-03-11 Thread William Piper
I have been using php's curl for quite a while now and it has never allowed to run javascript... bummer! I read on an article http://blogs.zdnet.com/Stewart/?p=627 that the new curl v6 allows this. There are a few ajax sites that I would like to scrape, but they are a pain to read through all

[PHP] PHP 5.2.5 Install Question/Problem

2008-01-29 Thread Strader, William A.
addir_r' make: *** [main/reentrancy.lo] Error 1 Can anyone suggest anything for me to try??? Thank you all for any help you can give. Regards, William "Billy" A. Strader NAISMC Web Services Work: 865-425-5178 Pager: 865-417-5012 Emergency Pager: 865-417-5622 -- PHP General Mailing L

Re: [PHP] How to ask "if private IP"?

2007-11-26 Thread William Betts
"192.168.0.0") && ($ip <= "192.168.255.255")) || (($ip >= "172.16.0.0") && ($ip <= "172.31.255.255")) ) { return true; } return false; } if (privateIP("192.168.1.1")) { pr

Re: [PHP] IDE

2007-11-16 Thread William Betts
Have you ever used Zend Studio? If so how does it compare to PhpED? On Nov 16, 2007 5:37 AM, Arno Kuhl <[EMAIL PROTECTED]> wrote: > > > -Original Message- > From: David Giragosian [mailto:[EMAIL PROTECTED] > Sent: 16 November 2007 05:21 > To: php-general@lists.php.net > Subject: Re: [PHP]

Re: [PHP] Re: file_exists

2007-11-15 Thread William Betts
ow valid system logins. You can get the contents to dump by using www.somehost.com/index.php?page=../../../../../../../../../etc/passwd%00 The %00 is what you call a null terminator. This will drop anything that's add after it. I hope this helps. William Betts On Nov 15, 2007 4:03 PM

Re: [PHP] Gmail Account Invites (Want One?)

2007-11-15 Thread William Betts
Great with the times. :P It's not invite anymore. On Nov 15, 2007 3:40 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > I know a good deal of us here are already using Gmail accounts, > but if you're not one of us and would like to be, let me know. I > still have 95 invites left, and whomever wo

Re: [PHP] IDE

2007-11-15 Thread William Betts
I like Zend Studio. www.zend.com. William Betts On Nov 15, 2007 2:35 PM, Jammer <[EMAIL PROTECTED]> wrote: > Hi All, > > This is my first post here ... I'm very much a newbie to php but work > during the day using SQL Server, VS2005 and Foxpro. Looking to gen up > on

Re: [PHP] file_exists

2007-11-14 Thread William Betts
om the browser. Find the img tag and see what is src="" and try to goto that file in your browser. Also can you use a pastebin and post your code and give his the url to the site in question? William Betts -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie question - current date - time

2007-11-14 Thread William Betts
Hello, Use the date function http://us3.php.net/date. Regards, William Betts [EMAIL PROTECTED] wrote: Hi Folks, Newbie question : - how do I get and display the current date? - how do I get and display the current time? I see the getdate function - but I'm not sure if this is the

Re: [PHP] Re: get domain component from email

2007-08-07 Thread william(at)elan.net
r forms valid domain. -- William Leibzon Elan Networks [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Installation problem

2007-07-13 Thread William Sang Lee
Hi, I am trying to install a package using SSH because my Web-based PEAR is not working. So, I type in "pear install Date." But, it only says Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Non-recoverable failure in name resolution in RPC.php on line 464 Warning: fsockopen(

Re: [PHP] Disadvantages of output buffering

2007-06-26 Thread William Lovaton
ion I could find for this was to disable output buffering. Another thing: you can even compress the buffer before sending it so it will help a lot if a user have little bandwidth. Text files have a very good compression ratio. Cheers, -William On Tue, 2007-06-26 at 09:04 -0400, Robert Cummings

Re: [PHP] Php script diagnostic app?

2007-06-25 Thread William Lovaton
to the PHP equivalents and this way you can get a bit more of understanding about what is going on in your code. Finally, xdebug is real nice too. -William On Sun, 2007-06-17 at 13:35 -0400, MIKE YRABEDRA wrote: > > I was wondering if there was some kind of application that would pro

Re: [PHP] Are IP addresses reliable?

2007-06-16 Thread william(at)elan.net
and other issues) but its very very not easy and a lot depends on protocol in question. -- William Leibzon Elan Networks [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to detect charset encoding with PHP and command line?

2007-04-17 Thread William Lovaton
Any idea with this one? please?? El lun, 02-04-2007 a las 07:51 -0500, William Lovaton escribió: > Hi there, > > I'd like to know a way to detect the file encoding from PHP and Linux > command line too. > > In PHP I tried mb_detect_encoding() but it doesn't work

[PHP] How to detect charset encoding with PHP and command line?

2007-04-02 Thread William Lovaton
atter what. Thanks for your help, -William -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Language detection with PHP

2007-03-29 Thread William Lovaton
iacritical marks but also skipping some characters. Maybe I will use a combination of both (the PEAR class and the spell checker) when I need to detect a long sample or a short sample respectively. Thanks again for sharing your comments, -William El mié, 28-03-2007 a las 09:44 +0

[PHP] Language detection with PHP

2007-03-27 Thread William Lovaton
I am worried about is how accurate is it... I'll check soon and post my comments later. 3) I'd really like to hear what different alternatives all of you have for this problem. Thanks a lot, -William -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] IP to City detection

2007-03-23 Thread William Lovaton
Hi, Thanks to all of you who helped me out. I think this one is the best option for now, it even has an API for PHP 4 and another one for PHP 5. PHP 4: http://www.maxmind.com/download/geoip/api/php/ PHP 5: http://pear.php.net/package/Net_GeoIP/ Cheers, -William El mié, 21-03-2007 a las 14

[PHP] IP to City detection

2007-03-21 Thread William Lovaton
Hi people, Is there a way to detect the city of a person based on the IP address? I mean something like ip2nation http://www.ip2nation.com/ but for cities so I can use it in my PHP web application. Thanks for any help you can give me, -William -- PHP General Mailing List (http://www.php.net

Re: [PHP] Opera advice needed!

2007-02-07 Thread William Stokes
when the files are in my test server... -W "Frank Arensmeier" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] 7 feb 2007 kl. 09.50 skrev William Stokes: > If there's an opera expert around could you please check out the > following > link: > > htt

Re: [PHP] Opera advice needed!

2007-02-07 Thread William Stokes
ShitSHitSHIT!!! I had javascript disabled in Opera. The browsed just ignored it's own settings while brosing my server??? Feeling stopid. :O -W (Just costed me 3 hours) ""William Stokes"" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > Tha

Re: [PHP] Opera advice needed!

2007-02-07 Thread William Stokes
If there's an opera expert around could you please check out the following link: http://www.fcviikingit.com/new/testimenu.php This script contacts a DB and prints out the results as javascript to the client browser. As I mentioned earlier It works ok with IE, FF, Netscape but not with Opera. H

[PHP] Opera advice needed!

2007-02-06 Thread William Stokes
Hello, I just noticed when I published a new menu system that it does NOT work in the ISP hosted server. However it works ok on my test server. Here's the test I have done all in same client machine (=unchanged browser settings): My test server: IE6 & 7->OK Opera 9.02 -> OK Firefox ->OK IS

[PHP] php & javascript interaction

2007-01-26 Thread William Stokes
Hello, I need some advice on how to learn Javascript and PHP interaction. Any good tutorials on the web would be most welcome. I particulary need to learn how to pass JS user input/choices to PHP. My current problem is how to ask user confirmation over his actions on a web form after POST. "Ar

[PHP] sortind arrays

2007-01-24 Thread William Stokes
Hello, How can I sort an array like this so that it would be ASC ordered by the [1] key in subarrays? I need to maintain only the subarray key - value pairs. (Do I make sense?) Array ( [0] => Array ( [0] => Logo [1] => NameC [2] => Home

Re: [PHP] regular expression help!

2007-01-18 Thread William Stokes
Hello Roman, Could you specify the functionality of your script a bit please. (How it works) I forgot to mention that this part: ', is not always the same. The image properties can vary. Thanks -Will "Roman Neuhauser" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] ># [EMAIL PR

[PHP] regular expression help!

2007-01-18 Thread William Stokes
Hello, Can someone here give me a glue how to do the following. I guess I need to use regular expressions here. I have absolutely zero experience with regular expressions. (if there's another way to do this I don't mind. I jus need to get this done somehow :) I need to strip all characters fro

Re: [PHP] web form data to arrays?

2007-01-17 Thread William Stokes
I got it working like this: $counter = 0; foreach ($arr as $value) { //make the form ... print "\n"; $counter++; } Now I have array $ArrUpdate which contains sub-arrays with the update data. This can now be processed with another foreach loop -Will "Jochem Maas" <[EMAIL PROTECTED]> kirj

Re: [PHP] web form data to arrays?

2007-01-17 Thread William Stokes
tti viestissä:[EMAIL PROTECTED] > On sze, 2007-01-17 at 15:23 +0200, William Stokes wrote: >> Hello, >> >> I have a script which retrieves rows from DB and prints them to a user >> editable form to a web page. I don't know how to print the form objects >> so >

[PHP] web form data to arrays?

2007-01-17 Thread William Stokes
Hello, I have a script which retrieves rows from DB and prints them to a user editable form to a web page. I don't know how to print the form objects so that all editable fields are put to arrays for updating them to DB. I have tried to create arrays sarjanID[] etc. but havent got it to work...

[PHP] Arrays?

2007-01-07 Thread William Stokes
Hello, How to print out the following array $test so that the print order is by the fourth[4] key? I need to print out all arrays in $test so that the data is ordered by the fourth key in ascending order. $test =Array ( [0] => Array ( [0] => 5 [1] => 2 [2] => sika [3] => sika.php [4]

Re: [PHP] Access array data in foreach?

2007-01-06 Thread William Stokes
Uh. (Embarrassed) Thanks anyway!! -W ""Casey Chu"" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > $value holds the value of the current array element. > > On 1/6/07, William Stokes <[EMAIL PROTECTED]> wrote: >> Hello, >> >

[PHP] Access array data in foreach?

2007-01-06 Thread William Stokes
Hello, I Have an array $toplevel containing arrays: Array ( [0] => Array ( [0] => 1 [1] => 1 [2] => eka [3] => eka.php ) [1] => Array ( [0] => 2 [1] => 1 [2] => toka [3] => toka.php ) [2] => Array (

[PHP] Arrays help

2007-01-05 Thread William Stokes
Hello, I'm making a menu script that uses mysql, php and javascript to build a "on mouse over" dropdown menu to a page. I ran into some problems and would need help to get this working. (This is just the top level of the menusystem) 1. Get the toplevel links from DB, create array and put values

[PHP] reading MS Excel?

2006-12-28 Thread William Stokes
Is it possible to read Excel files and store the info to DB? If so how? Thanks -Will -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Paste variable from popup to previous page?

2006-12-12 Thread William Stokes
Hello, How can I pass a variable from popup window back to the page that originally opened the popup? Or can I? Thanks -Will -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Paste variable from popup to previous page?

2006-12-12 Thread William Stokes
Hello, How can I pass a variable from popup window back to the page that originally opened the popup? Or can I? Thanks -Will -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cookies & page refresh

2006-12-12 Thread William Stokes
Thanks. It seems that I tested the right things but in a wrong order... -Will "Chris" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > William Stokes wrote: >> Hello, >> >> I have a page that uses session cookies for deciding what content to s

[PHP] Cookies & page refresh

2006-12-12 Thread William Stokes
Hello, I have a page that uses session cookies for deciding what content to show to a visitor. User also has 2 form objecks to apply filters to the content SQL queries. So at the beginning of the script I set 2 cookies based on user selections(or defaults) and after that make DB query based on

[PHP] $POST Q

2006-12-12 Thread William Stokes
Hello, Can someone tell me what wrong or to how to manage this? //default $limitorig = 10; echo ""; echo "$limitorig"; echo "10"; echo "20"; echo "30"; echo "; When the form is first printed the selected default (10) value is shown OK and if something is selected everything is fine. If I just

[PHP] file uploads Q?

2006-12-09 Thread William Stokes
Hello, I have somehow managed to write a scipt that is able to upload and resize images to a server :))) Sad part is that now the user can upload only one image at a time.(user has a browse button for browsing images in his local disk and can pick only one at a time). Is it possible to allow

[PHP] Unsealing openssl_seal's data without PHP

2006-10-08 Thread William Triplett
I get the same plaintext key if I decrypt the "envelope" from within php or from openssl command-line. Regards, William -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Please tell me I dont know regex

2006-09-15 Thread william(at)elan.net
Please try below page/program on your system entering "ab-cd" and please tell me I dont know regex - because the way I see it the results of those tests should have been the same... --- Please enter something with a dash here:

Re: [PHP] calendar Q

2006-08-10 Thread William Stokes
-Will ""Richard Lynch"" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > On Thu, August 10, 2006 12:14 pm, William Stokes wrote: >> I have a calendar script that displays a simple mini calendar view one >> month >> at a time. User can click

[PHP] calendar Q

2006-08-10 Thread William Stokes
Hello, I have a calendar script that displays a simple mini calendar view one month at a time. User can click any date and the calendar opens another page that displays that date's events. I would like to highlight to the mini calendar view dates that have an event in database. So what would be

[PHP] Passing variables.

2006-06-08 Thread William Stokes
Hello, I've used like 3 hours to get this done but I can't figure this out. Hope someone here can help. I have a form that a user can use to edit www pages. Page content is stored in DB as a HTML code. First user has to select, from menu, which page to edit. Then the selected page content ht

[PHP] popup window from php page

2006-06-08 Thread William Stokes
Hello, How do I open a popup window from php code when a web page is loaded? Does it require javascript usage? Thanks -Will -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cannot read variables

2006-06-06 Thread William Stokes
Yess! Wrong ini file... There seems to be 3 of them on the same PC for some reason? -W "David Otton" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > On Tue, 6 Jun 2006 10:36:12 +0300, you wrote: > >>I just set up a test box for PHP/MySQL on a WinXP box and now I'm having >>trouble

[PHP] Cannot read variables

2006-06-06 Thread William Stokes
Hello, I just set up a test box for PHP/MySQL on a WinXP box and now I'm having trouble with variables passed to browser from a link. For example I have a link that outputs this: http://localhost/index.php?team=CF10b. Now the CF10b cannot be user in the code like it should. I turned to Regis

Re: [PHP] User confirmation questions?

2006-05-04 Thread William Stokes
OK ""Rabin Vincent"" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] On 5/5/06, William Stokes <[EMAIL PROTECTED]> wrote: > In PHP is it possible to generate "windows style" question boxes and get > the > users choice back? Or do I

[PHP] User confirmation questions?

2006-05-04 Thread William Stokes
Hello, In PHP is it possible to generate "windows style" question boxes and get the users choice back? Or do I need javascript or something else for that? For example if a user hits a button in form I could ask for his confirmation for the action. Like "Do you Really wan't to drop the whole dat

Re: [PHP] SQL query to array?

2006-04-26 Thread William Stokes
27;ve just done it! Here's another way of doing it that will utilize mysql_fetch_assoc() to allow your query to dictate the elements of the array. Keep in mind, I haven't tested this, but since I'm not entirely sure what you are asking the list, I'll offer it anyway ;-) On

Re: [PHP] Re: Serveral forms in a page.

2006-04-25 Thread William Stokes
it was just a question "?" "Stut" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > William Stokes wrote: >> Mulkku? > > 'Cause insulting us is the way to convince this list to answer your > irrelevant questions? Seriously tho, if I

[PHP] SQL query to array?

2006-04-25 Thread William Stokes
Hello, Can someone please help me to put the results of a query to an array. Never done this before: $sql = "SELECT sortteri,jouk_id,jouk_nimi FROM x_table ORDER BY sortteri ASC"; $result = mysql_query($sql); $num = mysql_num_rows($result); $cur = 1; //create empty array that contains an array

[PHP] Re: Serveral forms in a page.

2006-04-25 Thread William Stokes
Mulkku? "Barry" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > William Stokes wrote: >> Hello, >> >> This "might be" more HTML stuff but anyway... > Yeah, anyway who cares if it belongs in here or not. > >> I have

[PHP] Serveral forms in a page.

2006-04-25 Thread William Stokes
Hello, This "might be" more HTML stuff but anyway... I have several forms in a page which is ok otherwise but the reset buttons doesn't clear anything that is queried from DB and printed to the text fields. Any idea how to create Reset buttons that clear the fields even when the data is not fr

Re: [PHP] sorting troubles

2006-04-25 Thread William Stokes
PROTECTED] > On Sat, April 22, 2006 4:49 am, William Stokes wrote: >> I have a column in DB that contains this kind of data, >> A20,B16,B17C14,C15,D13,D12 etc. >> >> I would like to print this data to a page and sort it ascending by the >> letter an descending by

[PHP] sorting troubles

2006-04-22 Thread William Stokes
Hello, Any idea how to sort this? I have a column in DB that contains this kind of data, A20,B16,B17C14,C15,D13,D12 etc. I would like to print this data to a page and sort it ascending by the letter an descending by the number. Can this be done? Like A20 B17 B16 C15 C14 D13 D12 Thanks -Will

[PHP] Re: Export data with PHPMyAdmin

2006-04-21 Thread William Stokes
Forgot to say that the scandic fonts are ok in the tables... ""William Stokes"" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > Hello, > > I'm using PhpMyadmin 2.6.3 on operators server for DB management. I would > from time to time like t

[PHP] Export data with PHPMyAdmin

2006-04-21 Thread William Stokes
Hello, I'm using PhpMyadmin 2.6.3 on operators server for DB management. I would from time to time like to export the whole DB to text file and move the DB to my own test server. Problem is that when I dump the whole DB to a file all scandic fonts are incorrect. If I dump the data to screen the

[PHP] forms and variables?

2006-04-21 Thread William Stokes
Hello, Probably a stupid one but anyway... In PHP. Is it possible to point to a variable with the HTML form name by which it was posted from? Example: //point to the variable with something like or somenthing??? $AddNew.SomeVar $SomeVar = "Add"; $SomeVar = "Del"; Or do I just have name

Re: [PHP] POST arrays?

2006-04-20 Thread William Stokes
So. If large amount of variables are needed to be preserved in arrays or otherwise is "session" the (normal)way to go? -W "Stut" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > William Stokes wrote: > >>You're right. >> > > I

Re: [PHP] POST arrays?

2006-04-20 Thread William Stokes
True. I'm not famiar with sessions. I have always used $POST to transmit variables. -W "Stut" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > William Stokes wrote: > >>You're right. >> > > I'm also shocked, but only mildly. &g

Re: [PHP] POST arrays?

2006-04-20 Thread William Stokes
You're right. BTW, can sessions and $POST be mixed? If yes is there any reason what so ever to do that? -W "Stut" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > William Stokes wrote: > >>From here: >>$arr_siirto = array((serialize('

Re: [PHP] POST arrays?

2006-04-20 Thread William Stokes
>From here: $arr_siirto = array((serialize('1','2','3')); after removing the single quotes it started to work. -W "Stut" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > William Stokes wrote: > >>Is it bad just to rem

Re: [PHP] POST arrays?

2006-04-20 Thread William Stokes
Is it bad just to remove the single quotes [ ' ] ? "Stut" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > William Stokes wrote: > >>OK. Must try that. >> >>BTW theres something odd about my serialize. I got it return something but >&

Re: [PHP] POST arrays?

2006-04-20 Thread William Stokes
OK. Must try that. BTW theres something odd about my serialize. I got it return something but not quite what was expected :) Here's the result "a:3:{i:0;s:1:" -W "Stut" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > William Stokes wrote: > &g

Re: [PHP] POST arrays?

2006-04-20 Thread William Stokes
"Why do you want to post it to itself? Why not use a session instead? " -I dont know. Never tried "session" "It's a lot more efficient." -OK. Is it more complicated to write? -Will "Stut" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECT

Re: [PHP] POST arrays?

2006-04-20 Thread William Stokes
; <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > William Stokes wrote: >> No other way? >> >> > > Over sessions or saving as file and loading it in the following page. > > -- > Smileys rule (cX.x)C --o(^_^o) > Dance for me! ^(^_^)o (o^_

Re: [PHP] POST arrays?

2006-04-20 Thread William Stokes
No other way? "Stut" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > William Stokes wrote: > >>How to post an array with associated values? >> >>This works ok >> >>>$arr_siirto = array(1,2,3); >>print_r($arr_siirto); >&g

[PHP] POST arrays?

2006-04-20 Thread William Stokes
Hello, How to post an array with associated values? This works ok But if I post it to another form with this: "> And print there with: print_r($arr_siirt_jouk); prints: Array So how can post the values forward? Thanks -Will -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] preventing duplicate rows?

2006-04-12 Thread William Stokes
Hello, I'm updating a table with following SQL statement $sql = "INSERT INTO x_ikaluokat (ryhma, ikaluokka) VALUES ('$ryhma','$ikaluokka')"; What would be the best way to test that similar rows doesn't get created to the table? I can't make both columns unique. Thanks -Will -- PHP Gener

Re: [PHP] var_dump($POST)

2006-04-12 Thread William Stokes
oooppps :) sorry about that one... "Albert Padley" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > > On Apr 13, 2006, at 12:16 AM, William Stokes wrote: > >> Hello, >> var_dump($POST) returns now always NULL. > > Try var_dump($_POST); >

[PHP] var_dump($POST)

2006-04-12 Thread William Stokes
Hello, var_dump($POST) returns now always NULL. Before it returned the POST variables and their values like it should, right? Is there something that the operator could have done in the server that causes this? Thanks -Will -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

[PHP] Hiding text?

2006-04-12 Thread William Stokes
Hello, How can I hide error message when user enters to POST action form for first time? I have a form for collecting and saving user data. In the code below you can see that there are text messages for user info stored in $teksti variables. At the end the $teksti is passed to function that di

Re: [PHP] Re: Strange slowdowns in PHP

2006-02-28 Thread William Lovaton
symptoms. Cheers, -William El lun, 27-02-2006 a las 19:32 -0300, Manuel Lemos escribió: > Hello, > > What I am trying to tell you is that generating data and serving it to > the user browser are to separate steps. The output that your PHP script > produces goes to a buffer that need

Re: [PHP] Expiring other resources with HTTP headers

2006-02-27 Thread William Lovaton
lve this? I don't want to annoy everyone in the mailing list. -William -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Strange slowdowns in PHP

2006-02-27 Thread William Lovaton
Hi Manuel, El lun, 27-02-2006 a las 18:54 -0300, Manuel Lemos escribió: > Hello, > > on 02/27/2006 06:15 PM William Lovaton said the following: > > Looking at the log I get the following information: > > - Execution time: 29.3 secs > > - Request started at: 11:08:06 AM

Re: [PHP] Strange slowdowns in PHP

2006-02-27 Thread William Lovaton
u can tune the probability of this process being triggered in the php.ini file. How would you measure that? is there a way to do that? Thanks for you insight. -William El lun, 27-02-2006 a las 16:34 -0500, Robert Cummings escribió: > What about session garbage collection? Can you log w

[PHP] Strange slowdowns in PHP

2006-02-27 Thread William Lovaton
in PHP that might be causing this sporadic slowdowns? In general our web app is very fast but this are the corner cases. Any ideas about this? Thanks in advance, -William -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Expiring other resources with HTTP headers

2006-02-27 Thread William Lovaton
ot posible using HTTP headers. The only way I see this could be achieved is by sending some random parameter to the JS file so that the browser thinks it is a different file. This was suggested by David Tulloh in a previous email. Thanks again, -William El lun, 27-02-2006 a las 11:12 -0500, ted

Re: [PHP] Re: Expiring other resources with HTTP headers

2006-02-27 Thread William Lovaton
ill be taken from the cache I think. -William -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Expiring other resources with HTTP headers

2006-02-27 Thread William Lovaton
begin with, I just wanted to make sure about that. Thanks again, -William El mar, 28-02-2006 a las 02:35 +1100, David Tulloh escribió: > I don't think you can expire another file, I would consider any ability > to do so a bug in the browser. Someone with too much time on their > h

[PHP] Expiring other resources with HTTP headers

2006-02-27 Thread William Lovaton
in the cache is no longer valid? I hope there is enough information here and that somebody can give me a hint in the right direction. Thanks, -William -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Date question

2006-02-24 Thread William Stokes
Yep. Nevermind... (and back to sleep) ""William Stokes"" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > Hello, > > I have a datetime column in MySQL DB. How can I match to that column from > php code if I only have the date information avail

[PHP] Date question

2006-02-24 Thread William Stokes
Hello, I have a datetime column in MySQL DB. How can I match to that column from php code if I only have the date information available. 2006-02-24 12:00:00 against2006-02-24 This might be more SQL question sorry about that. Thanks -Will -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] loop Q

2006-02-24 Thread William Stokes
Cheers! "Jochem Maas" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > William Stokes wrote: >> What does this do in a for loop? >> >> $counter+=1 >> > > it's shorthand for $counter = $counter + 1; > which in this case (because

[PHP] loop Q

2006-02-24 Thread William Stokes
What does this do in a for loop? $counter+=1 Thanks -Will -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: menu Q

2006-02-20 Thread William Stokes
e you got confused as well? William Stokes wrote: > I have a menu on a header bar on my page. The header bar is 20px > high. The menu, code and style below, works ok on Opera but not in Ie6 or > Firefox. In these browsers the menu 'streches' the bar height so that the >

Re: [PHP] menu Q

2006-02-17 Thread William Stokes
"http://www.css-discuss.org/ :-)" I tried that also :) Had to put this to stylesheet to get it 'fire' select.menu {} But it didn't solve the problem... thanks for the effort anyway. -Will "Kim Christensen" <[EMAIL PROTECTED]> kirjoitti viesti

[PHP] menu Q

2006-02-16 Thread William Stokes
Hello, This might not be a PHP related issue. I don't know. But this one is really bothering me. I have a menu on a header bar on my page. The header bar is 20px high. The menu, code and style below, works ok on Opera but not in Ie6 or Firefox. In these browsers the menu 'streches' the bar he

  1   2   3   4   5   >