[PHP] move "if" logic from php into query

2007-04-26 Thread Thufir
I couldn't get the page to load when the logic for line 31, "($id ==
$_POST[recordID])", was in the query.   Can the logic for that be moved to the
query?  I expect so.

I tried changing the where clause of the query, no go.


[EMAIL PROTECTED] ~]$ 
[EMAIL PROTECTED] ~]$ cat /var/www/html/insertContacts.php -n
 1  
 2  insert contacts
 3  
 4  ";
35  echo "$title";
36  echo "";
37  echo $notes;
38  echo "";
39  echo "";
40
41  }//if
42  }//while
43
44
45
46
47  echo "";
48  echo "http://localhost/contacts.php";;
50  echo "\">";
51  echo "http://localhost/contacts.php";;
52  echo "";
53  echo "";
54
55
56  echo "";
57  echo "http://localhost/items_notes.php";;
59  echo "\">";
60  echo "http://localhost/items_notes.php";;
61  echo "";
62  echo "";
63
64
65  ?>
66 
[EMAIL PROTECTED] ~]$ 
[EMAIL PROTECTED] ~]$ date
Thu Apr 26 09:24:31 BST 2007
[EMAIL PROTECTED] ~]$ 
[EMAIL PROTECTED] ~]$ 



thanks,

Thufir

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP & Text Messaging

2007-04-26 Thread clive

Michelle Konzack wrote:
 > I buy from several European GSM-Providers bigger contingents of SMS's

and have per SM-Provider 4-16 SIM-Cards... (My Server has 64 Siemens
S40 attached)

I pay per SMS 0.024 to 0.042 Euro and sell it for 0.06 to 0.18 Euro.
The clients do Pre-Pay which mean I have no risk...

I send per month around 2 million messages.  Which mean, I earn
effectiv nearly 0.01 Euro per message.  and this is done only with
a very OLD HP Vectra XA5/200MMT (P1/200 with 192 MByte of memory).


Thats very impressive, but I know in South African there are companies 
that do what you do, but they connect to each respective mobile phone 
provider by means of an internet connection. There are however security 
and cost requirments to do so.


Coincidentally  I once ran into a local guy who was doing what you were 
doing, but he stop doing it a number of years ago and simple became a 
WASP (wireless accesss service provider)


My bank, for instance, sends me sms's on any transaction that happens on 
my account, I doubt they would have used an array of mobile phones to 
accomplish this.


Sometimes, when I use my credit card, I get the sms before the credit 
card slip has been printed out :)


--
Regards,

Clive.

Real Time Travel Connections


{No electrons were harmed in the creation, transmission or reading of 
this email. However, many were excited and some may well have enjoyed 
the experience.}


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] php + db2

2007-04-26 Thread Javier Ruiz

Hi

I'm trying to install php-5.2.1 using ibm-db2. I made this a couple times
already without any problem, but in this concrete machine I cannot pass the
configure script...

My problem is with the db2 enviroment. Before issuing configure with all the
options, I sourced the db2profile file as always, I checked and I have the
enviromental variables:

# env | grep -i db2
DB2INSTANCE=db2inst2
LD_LIBRARY_PATH=/home/db2inst2/sqllib/lib
LIBPATH=/home/db2inst2/sqllib/lib
PATH=/usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/home/db2inst2/sqllib/bin:/home/db2inst2/sqllib/adm:/home/db2inst2/sqllib/misc
VWSPATH=/home/db2inst2/sqllib
CLASSPATH=/home/db2inst2/sqllib/java/db2java.zip:/home/db2inst2/sqllib/java/db2jcc.jar:/home/db2inst2/sqllib/java/sqlj.zip:/home/db2inst2/sqllib/function:/home/db2inst2/sqllib/java/db2jcc_license_cisuz.jar:/home/db2inst2/sqllib/java/db2jcc_license_cu.jar:.


but after this, when I issue the configure command I still get

...
checking for IBM DB2 support... no
configure: error:
build test failed. Please check the config.log for details.
You need to source your DB2 environment before running PHP configure:
# . $IBM_DB2/db2profile


can anybody help me here please?

TIA!


Re: [PHP] move "if" logic from php into query

2007-04-26 Thread Zoltán Németh
2007. 04. 26, csütörtök keltezéssel 08.28-kor Thufir ezt írta:
> I couldn't get the page to load when the logic for line 31, "($id ==
> $_POST[recordID])", was in the query.   Can the logic for that be moved to the
> query?  I expect so.
> 
> I tried changing the where clause of the query, no go.

you SHOULD move it to the query, because if you need only that row, the
rest of the while loop is just a waste of cycles.
however, before putting it into the query, first verify
$_POST['recordID'] to avoid SQL injection. if it should be a number,
just typecast it to int like this:
$rec_id = (int) $_POST['recordID'];

and there are other problems with your handling of the query result. you
use extract, but have two columns named 'id'. this leads to confusion.
either select them with an alias provided or select only one of them.

thus the query should be something like:

$query ="SELECT contacts.id AS c_id, px_items.id AS p_id, title,
notes FROM contacts, px_items WHERE contacts.id=px_items.id AND
contacts.id=$rec_id";
(or you can put px_items.id=$rec_id if that's the id you are looking
for)

greets
Zoltán Németh

> 
> 
> [EMAIL PROTECTED] ~]$ 
> [EMAIL PROTECTED] ~]$ cat /var/www/html/insertContacts.php -n
>  1  
>  2  insert contacts
>  3  
>  45
>  6
>  7  $user="feeds";
>  8  $host="localhost";
>  9  $password="password";
> 10  $database = "feeds";
> 11
> 12  $connection = mysql_connect($host,$user,$password)
> 13  or die ("couldn't connect to server");
> 14  $db = mysql_select_db($database,$connection)
> 15  or die ("Couldn't select database");
> 16
> 17  $query = "INSERT INTO contacts (id , notes) VALUES
> ('$_POST[recordID]' , '$_POST[contacts]')";
> 18  $result = mysql_query($query)
> 19  or die ("Couldn't execute insert query.");
> 20
> 21  $query ="SELECT contacts.id, px_items.id, title, notes
> FROM contacts, px_items WHERE 
> 22  contacts.id=px_items.id";
> 23
> 24  $result = mysql_query($query)
> 25  or die ("Couldn't execute second query.");
> 26
> 27  while ($row = mysql_fetch_array($result)) 
> 28  {
> 29  extract ($row);
> 30
> 31  if ($id == $_POST[recordID])
> 32  {
> 33  echo $id;
> 34  echo "";
> 35  echo "$title";
> 36  echo "";
> 37  echo $notes;
> 38  echo "";
> 39  echo "";
> 40
> 41  }//if
> 42  }//while
> 43
> 44
> 45
> 46
> 47  echo "";
> 48  echo " 49  echo "http://localhost/contacts.php";;
> 50  echo "\">";
> 51  echo "http://localhost/contacts.php";;
> 52  echo "";
> 53  echo "";
> 54
> 55
> 56  echo "";
> 57  echo " 58  echo "http://localhost/items_notes.php";;
> 59  echo "\">";
> 60  echo "http://localhost/items_notes.php";;
> 61  echo "";
> 62  echo "";
> 63
> 64
> 65  ?>
> 66 
> [EMAIL PROTECTED] ~]$ 
> [EMAIL PROTECTED] ~]$ date
> Thu Apr 26 09:24:31 BST 2007
> [EMAIL PROTECTED] ~]$ 
> [EMAIL PROTECTED] ~]$ 
> 
> 
> 
> thanks,
> 
> Thufir
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] move "if" logic from php into query

2007-04-26 Thread Chris


Thufir wrote:

I couldn't get the page to load when the logic for line 31, "($id ==
$_POST[recordID])", was in the query.   Can the logic for that be moved to the
query?  I expect so.



$query = "SELECT contacts.id, px_items.id, title, notes
FROM contacts, px_items WHERE contacts.id=px_items.id AND recordid='" . 
(int)$_POST['recordID'] . "'";


The (int) will make sure that it is a number (so a string becomes "0").

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] move "if" logic from php into query

2007-04-26 Thread Sebe

Chris wrote:


Thufir wrote:

I couldn't get the page to load when the logic for line 31, "($id ==
$_POST[recordID])", was in the query.   Can the logic for that be 
moved to the

query?  I expect so.



$query = "SELECT contacts.id, px_items.id, title, notes
FROM contacts, px_items WHERE contacts.id=px_items.id AND recordid='" 
. (int)$_POST['recordID'] . "'";


The (int) will make sure that it is a number (so a string becomes "0").

i always use intval() on something i'm inserting into database that 
*should* be a integer. i don't know if there is a difference or a good 
reason to pick one or the other.. i'm not Richard so maybe he can create 
an interesting story for us on the *proper* way ;-)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Fwd: php + db2

2007-04-26 Thread Javier Ruiz

Ok, I've seen something... I'm trying to compile php with db2 support but
also with oracle support using oracle-instantclient.

If I remove the oracle options (with-oci8 and with-pdo-oci), configure
passes the ibm-db2 tests, but using oracle-instantclient + db2 seems to be
problematic...

Anybody?


-- Forwarded message --
From: Javier Ruiz <[EMAIL PROTECTED]>
Date: Apr 26, 2007 10:39 AM
Subject: php + db2
To: php-general@lists.php.net

Hi

I'm trying to install php-5.2.1 using ibm-db2. I made this a couple times
already without any problem, but in this concrete machine I cannot pass the
configure script...

My problem is with the db2 enviroment. Before issuing configure with all the
options, I sourced the db2profile file as always, I checked and I have the
enviromental variables:

# env | grep -i db2
DB2INSTANCE=db2inst2
LD_LIBRARY_PATH=/home/db2inst2/sqllib/lib
LIBPATH=/home/db2inst2/sqllib/lib
PATH=/usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/home/db2inst2/sqllib/bin:/home/db2inst2/sqllib/adm:/home/db2inst2/sqllib/misc

VWSPATH=/home/db2inst2/sqllib
CLASSPATH=/home/db2inst2/sqllib/java/db2java.zip:/home/db2inst2/sqllib/java/db2jcc.jar:/home/db2inst2/sqllib/java/sqlj.zip:/home/db2inst2/sqllib/function:/home/db2inst2/sqllib/java/db2jcc_license_cisuz.jar:/home/db2inst2/sqllib/java/db2jcc_license_cu.jar:.



but after this, when I issue the configure command I still get

...
checking for IBM DB2 support... no
configure: error:
build test failed. Please check the config.log for details.
You need to source your DB2 environment before running PHP configure:
# . $IBM_DB2/db2profile


can anybody help me here please?

TIA!


[PHP] Re: php + db2

2007-04-26 Thread Man-wai Chang

build test failed. Please check the config.log for details.
You need to source your DB2 environment before running PHP configure:
# . $IBM_DB2/db2profile


so where is your db2profile?

--
  .~.   Might. Courage. Vision. Sincerity. http://www.linux-sxs.org
 / v \  Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Fedora Core 4)  Linux 2.6.17-1.2142_FC4
  ^ ^   17:56:01 up 84 days 1:40 1 user load average: 0.00 0.00 0.00

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: first script

2007-04-26 Thread David Robley
Richard Lynch wrote:

> 
> 
> On Fri, April 20, 2007 5:38 pm, Thufir wrote:
>> Richard Lynch  l-i-e.com> writes:
>>
>>>
>>> On Fri, April 20, 2007 2:05 pm, Thufir wrote:
>>>
>>> Please tell me that's not your real name...
>> [...]
>>
>> It's the name I use on the internet.
> 
> That's fine.  You can even go by that name in RL if you want...
> 
> I just want to know that your parents didn't actually name you that on
> the birth certificate...
> 
And their surname isn't Hawat :-) 



Cheers
-- 
David Robley

Bad command. Bad, bad command! Sit! Stay! Staaay...
Today is Sweetmorn, the 43rd day of Discord in the YOLD 3173. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] define() an array?

2007-04-26 Thread Tijnema !

On 4/20/07, Richard Lynch <[EMAIL PROTECTED]> wrote:

On Fri, April 20, 2007 4:46 am, [EMAIL PROTECTED] wrote:
> I thought I could define() and array. However, when I do this:

Nope. :-(

Has to be string or int or boolean or float or other "scalar" type.

> define("THECONSTANT", array(1,2,3));
> print_r(THECONSTANT);
>
> it prints THECONSTANT and not the array :(
>
> according to the manual:
>
> bool define ( string $name, mixed $value [, bool $case_insensitive] )
>
> And isn't "mixed" of any type?

No.

"mixed" just means it's 2 or more types.

There could be all kinda of reasons/cases where "mixed" means only
scalars, or only compound types or, really, any 2 types you'd care to
choose.


So, why isn't such stuff in the manual?

It could be under Paramaters:
value
The value of the constant.
Or, perhaps replacing the mixed by scalar $value.

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] problem with shared object file

2007-04-26 Thread Marten Lehmann

Hello,

I'm trying to include a shared object file with the function dl(). But I 
always get:


Warning: dl() [function.dl]: Unable to load dynamic library 
'/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared 
object file: No such file or directory in /homepages/xyz/test.php on line 5


But it is definetely there and readable (also executable)!

I tried to include('/homepages/xyz/util.so') which gives same parsing 
errors since this is not php-code, but including works, so it's actually 
readable.


What is the real error behind it? How can I find out why dynamic loading 
fails? Is it possibly due to different glibc versions?


Regards
Marten

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] slow performance

2007-04-26 Thread Robin Vickery

On 25/04/07, Richard Lynch <[EMAIL PROTECTED]> wrote:

On Wed, April 25, 2007 5:09 am, Zoltán Németh wrote:
> 2007. 04. 25, szerda keltezÃ(c)ssel 11.53-kor Henning Eiben ezt írta:
>> Zoltán NÃ(c)meth schrieb:
>>
> not exactly. it pre-compiles them to opcodes and stores the opcode
> blocks. the interpreter normally first pre-compiles the code to
> opcodes
> then runs the opcode. this pre-compilation can be cached with
> accelerators, that's how they increase performance.

Please, please, please stop misinformation. :-)

The accelerators *ALL* make their dramatic performance boost by
CACHING the hard drive into RAM.

Caching PHP Source would do *almost* as well.


This statement seems a bit suspicious to me - what OS are you using
that doesn't already cache the disk accesses into RAM? (for example
the Linux VFS buffer cache).

-robin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] WBEM

2007-04-26 Thread Tijnema !

On 4/20/07, Tobias Wurst <[EMAIL PROTECTED]> wrote:

is there any  *PHP* WBEM- library like this:
http://sourceforge.net/projects/pywbem/


There's no such thing as a PHP-WBEM yet, you might want to write it :)

If you don't have time for that, and you still need it, you could make
use of the Python version using exec/system

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Problems installing php with pdflib

2007-04-26 Thread Tijnema !

On 4/25/07, Richard Lynch <[EMAIL PROTECTED]> wrote:

On Tue, April 24, 2007 7:39 am, Tijnema ! wrote:
> On 4/17/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
>> On Sat, April 14, 2007 3:55 am, Merlin wrote:
>> > I am moving to a new box and want to install php with pdflib
>> again.
>> > After configure I get an error saying:
>> > pdflib.h not found! Check the path passed to --with-pdflib
>> >
>> > The path is just fine:
>> > '--with-pdflib=/usr/local/lib'
>>
>> configure needs to find TWO things:
>>  #1 the "lib" file which is libpdf.so in /usr/local/lib
>>  #2 the "header" file which is libpdf.h in /usr/local/include
>>
>> If you tell configure to look inside of /usr/local/lib, it can't
>> *find* the libpdf.h file, because it's not inside that directory,
>> it's
>> inside a directory parallel to that.
>>
>> If you tell configure to look in /usr/local, it "knows" to check in
>> /usr/local/lib for the .so file, and in /usr/local/include for the
>> .h
>> file, and it finds everything it needs.
>>
> It won't, because his headers are in /usr/local/lib, and not in
> /usr/include/header

If his headers are in /usr/local/lib, I'll be very very very surprised...

They shouldn't be there.

Move them.



He hasn't replied yet, and i was also confused, but in his first post
he said this:

ls /usr/local/lib/pdflib.*
/usr/local/lib/pdflib.h


Of course, moving them is the best way, however, sometimes it gives
problems with other things, so i guess creating a symlink here would
be better

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: problem with shared object file

2007-04-26 Thread Colin Guthrie
Marten Lehmann wrote:
> Hello,
> 
> I'm trying to include a shared object file with the function dl(). But I
> always get:
> 
> Warning: dl() [function.dl]: Unable to load dynamic library
> '/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared
> object file: No such file or directory in /homepages/xyz/test.php on line 5
> 
> But it is definetely there and readable (also executable)!

Is your .so in turn missing any libs? "ldd /homepages/xyz/util.so"? (it
may be statically compiled anyway)

Never tried this in PHP before so other than that I don't know much.

Col.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] problem with shared object file

2007-04-26 Thread Stut

Marten Lehmann wrote:
I'm trying to include a shared object file with the function dl(). But I 
always get:


Warning: dl() [function.dl]: Unable to load dynamic library 
'/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared 
object file: No such file or directory in /homepages/xyz/test.php on line 5


But it is definetely there and readable (also executable)!

I tried to include('/homepages/xyz/util.so') which gives same parsing 
errors since this is not php-code, but including works, so it's actually 
readable.


What is the real error behind it? How can I find out why dynamic loading 
fails? Is it possibly due to different glibc versions?


Does the lib reference other libs? I believe that if referenced libs 
can't be found it'll report that error.


-Stut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: problem with shared object file

2007-04-26 Thread Colin Guthrie
Marten Lehmann wrote:
> Hello,
> 
> I'm trying to include a shared object file with the function dl(). But I
> always get:
> 
> Warning: dl() [function.dl]: Unable to load dynamic library
> '/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared
> object file: No such file or directory in /homepages/xyz/test.php on line 5

Some other notes from the docs you may have missed. This kinda zaps it's
usefulness IMO.


Note:  dl() is not supported in multithreaded Web servers. Use the
extensions  statement in your php.ini when operating under such an
environment. However, the CGI and CLI build are not  affected !

Note: As of PHP 5, the dl() function is deprecated in every SAPI
except CLI. Use Extension Loading Directives method instead.

Note: Since PHP 6 this function is disabled in all SAPIs, except
CLI, CGI and embed.

Note: dl() is case sensitive on Unix platforms.

Note: This function is disabled in safe mode.

Col

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] problem with shared object file

2007-04-26 Thread Tijnema !

On 4/26/07, Marten Lehmann <[EMAIL PROTECTED]> wrote:

Hello,

I'm trying to include a shared object file with the function dl(). But I
always get:

Warning: dl() [function.dl]: Unable to load dynamic library
'/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared
object file: No such file or directory in /homepages/xyz/test.php on line 5

But it is definetely there and readable (also executable)!

I tried to include('/homepages/xyz/util.so') which gives same parsing
errors since this is not php-code, but including works, so it's actually
readable.

What is the real error behind it? How can I find out why dynamic loading
fails? Is it possibly due to different glibc versions?

Regards
Marten


Yes, a different glibc version could be the problem.

try ldd /homepages/xyz/util.so

Tijnema


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: problem with shared object file

2007-04-26 Thread Colin Guthrie
Marten Lehmann wrote:
> Hello,
> 
> I'm trying to include a shared object file with the function dl(). But I
> always get:
> 
> Warning: dl() [function.dl]: Unable to load dynamic library
> '/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared
> object file: No such file or directory in /homepages/xyz/test.php on line 5

A. I got curious and looked at the docs:

http://uk.php.net/manual/en/function.dl.php


Parameters

library

This parameter is only the filename of the extension to load which
also depends on your platform. For example, the sockets extension (if
compiled as a shared module, not the default!) would be called
sockets.so on Unix platforms whereas it is called php_sockets.dll on the
Windows platform.


Are you specifying the full path or just the filename? I'm guessing the
former judging by it's location in your filesystem - e.g. not in the
right place ;)

Col.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: everything printed suddenly has blue text, as if were a link

2007-04-26 Thread Jonathan

Thufir wrote:

When I print out my list of apartments, everything after
, which is grabbed via
 is suddenly blue.  So, the first few
are fine, have black text, after that it's all blue.

Do I put some html in the loop to make sure that the color is blue?  seems kinda
silly.

[EMAIL PROTECTED] ~]# 
[EMAIL PROTECTED] ~]# cat /var/www/html/apartments.php -n

 1  
 2  apartments
 3  
 4   9  
10  $connection = mysql_connect($host,$user,$password)

11  or die ("couldn't connect to server");
12  $db = mysql_select_db($database,$connection)
13  or die ("Couldn't select database");
14  
15  $query = "SELECT id, link, title, content FROM px_items WHERE

feed_id=1 ORDER BY id DESC";
16  $result = mysql_query($query)
17  or die ("Couldn't execute query.");
18
19
20  $count =1;
21
22  while ($row = mysql_fetch_array($result)) 
23  {

24  extract ($row);
25
26  echo "";
27  echo $id;
28  echo "";
29
30  echo "";
31  echo $title;
32
33  echo "";
34  echo $content;
35  echo "";
36
37  echo "";
40  echo $link;
41  echo "";
42
43  echo "";
44
45  }//while
46  ?>
47  
48   
[EMAIL PROTECTED] ~]# 
[EMAIL PROTECTED] ~]# date

Wed Apr 25 19:23:20 BST 2007
[EMAIL PROTECTED] ~]# 



thanks,

Thufir


sorry i may not have the answer but i couldn't help but notice you are 
over using the double quote: ". try using ' when echoing html.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: everything printed suddenly has blue text, as if were a link

2007-04-26 Thread Dave Goodchild

View the source, you have this:



which is not closed, therefore everything after it will be blue.


[PHP] Re: php + db2

2007-04-26 Thread Man-wai Chang
Man-wai Chang wrote:
>> build test failed. Please check the config.log for details.
>> You need to source your DB2 environment before running PHP configure:
>> # . $IBM_DB2/db2profile
> 
> so where is your db2profile?
> 

did you `export IBM_DB2=x`?

-- 
  .~.   Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
 / v \  Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.10)  Linux 2.6.20.7
  ^ ^   19:48:02 up 7 days 34 min 1 user load average: 3.57 3.86 3.34
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame

2007-04-26 Thread Tijnema !

On 4/26/07, Richard Lynch <[EMAIL PROTECTED]> wrote:

On Wed, April 25, 2007 3:29 pm, Zoltán Németh wrote:
> 2007. 04. 25, szerda keltezÃ(c)ssel 14.35-kor Al ezt írta:
>> Very clever use of iFrame.  So clever it doesn't show in your html
>> source code.
>>
>> Looks more like you are using DIV tags, with simple POST values,
>> just like I'd have done it.
>>
>> Incidentally, "" is an error for html.
>
> can you tell me why  is an error
>

I think you NEED a space before the "/" but I wouldn't get my knickers
in a twist over this one...


NO, a space is optional, a  withouth a space is XHTML-1.0 Strict valid.
However, like said before, it could confuse really old browsers.



It's pretty much the last thing to be fixed, if everything else works
and you want that green check mark. :-)

Which I often do, actually, but that's just because after all the hard
work of getting rid of the REAL errors, getting the last little bit
fixed up is about 5 minutes of work.


Yeah, fix PHP errors first, and finish your site, then validate it
with the w3c validator (validator.w3c.org).

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] TrueType font changes size when rotated?

2007-04-26 Thread Tijnema !

On 4/26/07, Richard Lynch <[EMAIL PROTECTED]> wrote:

On Wed, April 25, 2007 3:33 pm, Seth Price wrote:
> I downloaded your image, enlarged it, and measured it out in
> photoshop. The distance from the center to the left side is 131px,
> and center to right side is 129px. Diameter to top is 129px, and to
> bottom is 130px.
>
> While it may not be an obvious ellipse, it's enough to throw off my
> calculations.

Enlarged it how?


I guess he meant to zoom, so that he could actually count the pixels :)



As soon as you "scale" an image, rounding errors are introduced...

Take his source, maybe with a font 10 X bigger,  and then using
imagecolorat to examine each pixel in the original, and see if it's
off...

And, really, if drawing text with a 1-pixel error margin throws you
off, you're in trouble anyway...


It just shouldn't be like that :)


Though the super dark 90-degree text versus the others with much
larger variations in length is disconcerting, in your image, if those
length calculations are correct...



Still, it has probably nothing to do with PHP, as PHP is just using
the GD library

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Server side speech

2007-04-26 Thread tedd

At 4:25 PM -0400 4/25/07, Brad Bonkoski wrote:

Daniel Brown wrote:

   Tedd,

   On all of the *nix boxes I use (and have used) I've had to install
Festival manually, so I would definitely not say that it's commonly found on
there especially for a server configuration.

But it IS commonly available, so why not just make it a prerequisite 
for utilizing this utility?


Because I said:


You see, what I'm thinking is, if I can get the code/technique, then
I might be able to provide a way for non-technical types to have
their sites speak



I don't want to make it so technical that even I can't do it AND I 
(like most) don't have control over what my host does.


Cheers,

tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Server side speech

2007-04-26 Thread tedd

At 7:24 PM -0400 4/25/07, Justin Frim wrote:
Perhaps lightly off-topic, I had to make a quick audio CAPTCHA to 
complement a visual one for a web site.  I was thinking of having a 
server-side TTS system, but that just became too big a can of worms 
for the size of the project.  I also had the restriction that the 
hosting service provider refused to install any machine-code 
executables or compile any programs to be installed on their servers.


So instead I used a collection of 95 sound clips, each one being a 
recording of an ASCII character spoken out loud, with the file named 
as the 2-digit hex code of the respective character.  All the PHP 
script had to do was concatenate the audio data portion of the 
necessary files, then create a new header and send the result as a 
single audio file to the user-agent.  Worked like a charm.  (I 
should also mention the audio clips were in IMA-ADPCM format, so a 
simple concatenation like that didn't break anything.)


I did a similar thing with this:

http://sperling.com/examples/captcha/

After I write it up, I will be providing the code to the public.

I simply used mp3 files (my own voice) and made all files the same 
size. That way, to create a key, I simply loaded the header that 
contained the length and then a set number of other files were 
appended to that -- the length was always the same.


However, I did run my audio captcha by a couple dozen visually 
impaired testers to fix any problems that they might have -- it's 
interesting to see what they see.


Cheers,

tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: everything printed suddenly has blue text, as if were a link

2007-04-26 Thread Al

 is depreciated and shouldn't be used anyhow.  Use styles instead.

Dave Goodchild wrote:

View the source, you have this:



which is not closed, therefore everything after it will be blue.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: everything printed suddenly has blue text, as if were a link

2007-04-26 Thread Tijnema !

On 4/26/07, Al <[EMAIL PROTECTED]> wrote:

 is depreciated and shouldn't be used anyhow.  Use styles instead.


I use combination of both :)

font.grey { color: grey; }

 My Grey Text :) 

Tijnema


Dave Goodchild wrote:
> View the source, you have this:
>
> 
>
> which is not closed, therefore everything after it will be blue.
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: everything printed suddenly has blue text, as if were a link

2007-04-26 Thread Stut

Tijnema ! wrote:

On 4/26/07, Al <[EMAIL PROTECTED]> wrote:
 is depreciated and shouldn't be used anyhow.  Use styles 
instead.


I use combination of both :)

font.grey { color: grey; }

 My Grey Text :) 


If you don't mind me saying so, that's daft. You should be using  
tags here, not the deprecated  tags.


-Stut


Dave Goodchild wrote:
> View the source, you have this:
>
> 
>
> which is not closed, therefore everything after it will be blue.
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: everything printed suddenly has blue text, as if were a link

2007-04-26 Thread Tijnema !

On 4/26/07, Stut <[EMAIL PROTECTED]> wrote:

Tijnema ! wrote:
> On 4/26/07, Al <[EMAIL PROTECTED]> wrote:
>>  is depreciated and shouldn't be used anyhow.  Use styles
>> instead.
>
> I use combination of both :)
> 
> font.grey { color: grey; }
> 
>  My Grey Text :) 

If you don't mind me saying so, that's daft. You should be using 
tags here, not the deprecated  tags.

-Stut


Both work fine, should i really care?

Tijnema


>> Dave Goodchild wrote:
>> > View the source, you have this:
>> >
>> > 
>> >
>> > which is not closed, therefore everything after it will be blue.
>> >
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: everything printed suddenly has blue text, as if were a link

2007-04-26 Thread Stut

Tijnema ! wrote:

On 4/26/07, Stut <[EMAIL PROTECTED]> wrote:

Tijnema ! wrote:
> On 4/26/07, Al <[EMAIL PROTECTED]> wrote:
>>  is depreciated and shouldn't be used anyhow.  Use styles
>> instead.
>
> I use combination of both :)
> 
> font.grey { color: grey; }
> 
>  My Grey Text :) 

If you don't mind me saying so, that's daft. You should be using 
tags here, not the deprecated  tags.

-Stut


Both work fine, should i really care?


Using a screwdriver to hammer in a nail will usually "work fine", but 
that doesn't mean you should be doing it.


-Stut


>> Dave Goodchild wrote:
>> > View the source, you have this:
>> >
>> > 
>> >
>> > which is not closed, therefore everything after it will be blue.
>> >
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: everything printed suddenly has blue text, as if were a link

2007-04-26 Thread Tijnema !

On 4/26/07, Stut <[EMAIL PROTECTED]> wrote:

Tijnema ! wrote:
> On 4/26/07, Stut <[EMAIL PROTECTED]> wrote:
>> Tijnema ! wrote:
>> > On 4/26/07, Al <[EMAIL PROTECTED]> wrote:
>> >>  is depreciated and shouldn't be used anyhow.  Use styles
>> >> instead.
>> >
>> > I use combination of both :)
>> > 
>> > font.grey { color: grey; }
>> > 
>> >  My Grey Text :) 
>>
>> If you don't mind me saying so, that's daft. You should be using 
>> tags here, not the deprecated  tags.
>>
>> -Stut
>
> Both work fine, should i really care?

Using a screwdriver to hammer in a nail will usually "work fine", but
that doesn't mean you should be doing it.

-Stut


Hmm, maybe i'll use it in my upcoming scripts, but i'm not gonna
change all my 500 made scripts :P

Tijnema


>> >> Dave Goodchild wrote:
>> >> > View the source, you have this:
>> >> >
>> >> > 
>> >> >
>> >> > which is not closed, therefore everything after it will be blue.
>> >> >
>> >>
>> >> --
>> >> PHP General Mailing List (http://www.php.net/)
>> >> To unsubscribe, visit: http://www.php.net/unsub.php
>> >>
>> >>
>> >
>>
>>




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: everything printed suddenly has blue text, as if were a link

2007-04-26 Thread Robert Cummings
On Thu, 2007-04-26 at 15:38 +0200, Tijnema ! wrote:
> On 4/26/07, Stut <[EMAIL PROTECTED]> wrote:
> > Tijnema ! wrote:
> > > On 4/26/07, Stut <[EMAIL PROTECTED]> wrote:
> > >> Tijnema ! wrote:
> > >> > On 4/26/07, Al <[EMAIL PROTECTED]> wrote:
> > >> >>  is depreciated and shouldn't be used anyhow.  Use styles
> > >> >> instead.
> > >> >
> > >> > I use combination of both :)
> > >> > 
> > >> > font.grey { color: grey; }
> > >> > 
> > >> >  My Grey Text :) 
> > >>
> > >> If you don't mind me saying so, that's daft. You should be using 
> > >> tags here, not the deprecated  tags.
> > >>
> > >> -Stut
> > >
> > > Both work fine, should i really care?
> >
> > Using a screwdriver to hammer in a nail will usually "work fine", but
> > that doesn't mean you should be doing it.
> >
> > -Stut
> 
> Hmm, maybe i'll use it in my upcoming scripts, but i'm not gonna
> change all my 500 made scripts :P

DO EEET!!! :B

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: breakthrough: get record, insert on different table works

2007-04-26 Thread Roberto Mansfield
Thufir wrote:
> it ain't pretty, but it's like a sugar rush!  Finally, able to enter data on
> forms which I can create :)
> 
[snip]
> 
> Any thoughts/suggestions/advice as a next step?  I need to add a timestamp 
> when
> the data's entered, but that's a small thing.  This is adding notes onto
> craigslist rss feeds database using ,
> which is an amazing app.

The next step? Go back and refine your code so that it IS pretty. You'll
get a much better understanding of coding. Just because code works,
doesn't mean you are finished.

Two obvious things you can fix:

1. Put your database and username password (or create a function to
setup the database connection) in a separate file which gets called by
your two scripts. When your database password changes, you just need to
change the password in one place. Not a bid deal in this case, but
imagine if you had 10 pages, 100 pages, etc...

2. You need to validate user input before including it in your sql
statements.

Good luck,
Roberto

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Similar to yesterday

2007-04-26 Thread Dan Shirah

$id_support contains 8 results
$id_traffic contains 0 results (this is correct)
$id_card returns a *single* result when it should return an amount equal to
the number of records retrieved by $id_support + $id_traffic.

So, if $id_support returns multiple records as an array and $sql_card is a
query that looks for records in a table based on $id_support, shouldn't it
return the multiple records?

// Select all child support requests that are ready to be processed
 $sql_support ="SELECT * FROM support_payment_request WHERE status_code =
'P'";
 $result_support = mssql_query($sql_support) or die(mssql_error());
 if(!empty($result_support)) {
while ($row_support = mssql_fetch_array($result_support)) {
   $id_support = $row_support['_card_id'];
   print_r ($id_support);  // This returns multiple records
   }
   }

// Select all traffic/criminal requests that are ready to be processed
 $sql_traffic ="SELECT * FROM traffic_criminal_payment_request WHERE
status_code = 'P'";
 $result_traffic = mssql_query($sql_traffic) or die(mssql_error());
 if(!empty($result_traffic)) {
while ($row_traffic = mssql_fetch_array($result_traffic)) {
   $id_traffic = $row_traffic['credit_card_id'];
   print_r ($id_traffic);  // This currently returns no records
since all have been processed
   }
   }
/* Select all credit_card records where the child support
   and traffic/criminal records have the same credit_card_id
   and have a status of "P" */
 $sql_card = "SELECT * FROM payment_request WHERE card_id = '$id_support'
OR   card_id = '$id_traffic'";
 $result_card = mssql_query($sql_card) or die(mssql_error());
?>



$id_card" ?>





";
}
?>



Re: [PHP] TrueType font changes size when rotated?

2007-04-26 Thread tedd

At 2:14 PM +0200 4/26/07, Tijnema ! wrote:

On 4/26/07, Richard Lynch <[EMAIL PROTECTED]> wrote:

On Wed, April 25, 2007 3:33 pm, Seth Price wrote:

 I downloaded your image, enlarged it, and measured it out in
 photoshop. The distance from the center to the left side is 131px,
 and center to right side is 129px. Diameter to top is 129px, and to
 bottom is 130px.

 While it may not be an obvious ellipse, it's enough to throw off my

 > calculations.

And, really, if drawing text with a 1-pixel error margin throws you
off, you're in trouble anyway...


It just shouldn't be like that :)


Yeah, in a prefect world it would be. But I think Seth, as well as 
the people he reported the bug to, are going to find that while we 
can compute exactly what any measurement should be, we also have to 
pass it through the user's browser and user's monitor to display it.


I don't even want to get into how the various browsers display data, 
let alone how different monitors might. The combinations here are 
staggering. Granted, the OP is using a Mac and that comes as close as 
most can be, but even Apple's standards have been influenced by M$ 
(another OT subject).


However, I'm actually surprised that the error was as small as it was 
-- we're talking about less than 0.5 percent by using his 
measurements.


Also, please note that if you move the center of the image a single 
pixel to the lower-left, then the error is only a single pixel in one 
direction. Who's to say that the OP did not realize nor use where 
zero-zero actually was?


I seem to recall that when one has to make a decision as to where a 
pixel is placed, we use the lower left corner as the coordinates and 
not the center of the pixel -- similar as we do for displaying 
characters -- is that not correct?


In any event, if it were me, I would use the center of the locus of 
points to calculate error.


Cheers,

tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Similar to yesterday

2007-04-26 Thread Zoltán Németh
2007. 04. 26, csütörtök keltezéssel 10.12-kor Dan Shirah ezt írta:
> $id_support contains 8 results
> $id_traffic contains 0 results (this is correct)
> $id_card returns a *single* result when it should return an amount equal to
> the number of records retrieved by $id_support + $id_traffic.
> 
> So, if $id_support returns multiple records as an array and $sql_card is a
> query that looks for records in a table based on $id_support, shouldn't it
> return the multiple records?
> 
> // Select all child support requests that are ready to be processed
>   $sql_support ="SELECT * FROM support_payment_request WHERE status_code =
> 'P'";
>   $result_support = mssql_query($sql_support) or die(mssql_error());
>   if(!empty($result_support)) {
>  while ($row_support = mssql_fetch_array($result_support)) {
> $id_support = $row_support['_card_id'];

$id_support[] = $row_support['_card_id'];
otherwise it will only contain the last element

> print_r ($id_support);  // This returns multiple records
> }
> }
> 
> // Select all traffic/criminal requests that are ready to be processed
>   $sql_traffic ="SELECT * FROM traffic_criminal_payment_request WHERE
> status_code = 'P'";
>   $result_traffic = mssql_query($sql_traffic) or die(mssql_error());
>   if(!empty($result_traffic)) {
>  while ($row_traffic = mssql_fetch_array($result_traffic)) {
> $id_traffic = $row_traffic['credit_card_id'];

$id_traffic[] = $row_traffic['credit_card_id'];
as above

> print_r ($id_traffic);  // This currently returns no records
> since all have been processed
> }
> }
> /* Select all credit_card records where the child support
> and traffic/criminal records have the same credit_card_id
> and have a status of "P" */
>   $sql_card = "SELECT * FROM payment_request WHERE card_id = '$id_support'
> OR   card_id = '$id_traffic'";

since $id_support and $id_traffic should be arrays, the above query
won't work with them. you should rather make a foreach for example,
query on every element of the arrays and collect the results in a third
array

foreach ($id_support as $ids) {
$sql_card = "SELECT * FROM payment_request WHERE card_id = '$ids'";
$result_card = mssql_query($sql_card) or die(mssql_error());
while ($row_card = mssql_fetch_array($result_card)) {
$id_card = $row_card['card_id'];
$dateTime = $row_card['date_request_received'];
$records[] = array($id_card, $dateTime);
}
}

then do a similar loop with $id_traffic.
then you'll have all records in $records, so you can print them out in
another loop.

greets
Zoltán Németh

>   $result_card = mssql_query($sql_card) or die(mssql_error());
> ?>
>  bordercolor='#00'>
>  if(!empty($result_card)) {
>while ($row_card = mssql_fetch_array($result_card)) {
>   $id_card = $row_card['card_id'];
>   $dateTime = $row_card['date_request_received'];
>   print_r ($id_card);
> ?>
> 
>  align='center'> href='javascript:editRecord($id_card)'>$id_card" ?>
>  align='center'>
>  align='center'>
>  align='center'>
>  align='center'>
> 
>  }
> }
> else {
> echo "";
> }
> ?>
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame

2007-04-26 Thread tedd

At 5:05 PM -0400 4/25/07, Lori Lay wrote:

Zoltán Németh wrote:



Incidentally, "" is an error for html.



can you tell me why  is an error

greets
Zoltán Németh


 is xhtml.  It's not an error in xhtml, but 
might confuse older browsers.  I tried it, even 
with a strict HTML 4.01 doctype and didn't get 
any errors, but who knows.  I have read that 
 might confuse older browsers, so it is 
usually written  to avoid problems.


The basic HTML version is .

Lori


Lori:

To me, as error is something that is reported to 
me as an error by the w3c. If they accept it, 
then I accept it. That's the compliance thing -- 
I don't make the rules, I just try to live by 
them.


Also, which older browsers have problems with it? 
I've been using "" in sites for many years 
and never had any problem with it whatsoever. 
Also, every browser that BrowserCam provides has 
not demonstrated any problems with using "" 
-- or at least none that I've seen.


Cheers,

tedd
--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Server side speech

2007-04-26 Thread Daniel Brown

   No, I meant a dedicated server that you lease in a datacenter, not one
that you'd have to be responsible for in your own home.  I had Comcast cable
Internet, too my speeds were actually pretty good (in northeast
Pennsylvania) with them and Adelphia, whom they bought out last year.  About
4Mbps down and 1.5Mbps up, average.  Not too shabby.

   What I was offering is to compile the code on one of my machines (Linux)
and zip'ing the file so that you could download it, bundle it with your
code, and upload it to your server in your account.  Your host shouldn't
have to do anything at all if I rewrite some of the C source and rewrite the
Makefile to compile all of the modules to be in a same-directory structure
(or a subdirectory of the runtime directory).  This would mean that you
wouldn't have to install anything in /usr/lib or something like that.  It,
instead, could be something like /home/sperling/audio/ with libraries
installed in directories under that.  You'd want it there instead of a
web-accessible directory, and then you'd call it from PHP like so: 

   Just a suggestion though.


On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:


>Tedd,
>
>If you want, I'll zip up my compiled binary of Festival for you to
try
>on your system.  I'll put it up on one of my servers so that you can
>download it.
>
>I really like Richard's idea of making a PECL component for
Festival
>there's something to look into this weekend
>
>--
>Daniel P. Brown
>[office] (570-) 587-7080 Ext. 272
>[mobile] (570-) 766-8107

Daniel:

That would be great -- however, I'm running a Mac and from what I've
read, it don't run on a Mac.

The PECL thing would be great, but that means that host would still
have to install it, right? You see, I've never used a PECL extension.

Thanks very much for your interest and help.

Cheers,

tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com





--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107


Re: [PHP] Re: posting variables to parent frame

2007-04-26 Thread Tijnema !

On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:

At 5:05 PM -0400 4/25/07, Lori Lay wrote:
>Zoltán Németh wrote:
>>
>>>Incidentally, "" is an error for html.
>>>
>>
>>can you tell me why  is an error
>>
>>greets
>>Zoltán Németh
>>
>>
> is xhtml.  It's not an error in xhtml, but
>might confuse older browsers.  I tried it, even
>with a strict HTML 4.01 doctype and didn't get
>any errors, but who knows.  I have read that
> might confuse older browsers, so it is
>usually written  to avoid problems.
>
>The basic HTML version is .
>
>Lori

Lori:

To me, as error is something that is reported to
me as an error by the w3c. If they accept it,
then I accept it. That's the compliance thing --
I don't make the rules, I just try to live by
them.

Also, which older browsers have problems with it?
I've been using "" in sites for many years
and never had any problem with it whatsoever.
Also, every browser that BrowserCam provides has
not demonstrated any problems with using ""
-- or at least none that I've seen.

Cheers,

tedd


I believe it was IE4 and with some Netscape browsers.

Tijnema

--


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame

2007-04-26 Thread tedd

At 5:37 PM -0400 4/25/07, Al wrote:
Ted:  FF 2.0.0.3 is what I used to examine your html code.  It looks 
the same with IE7.



It's "tedd" not "Tedd"

I don't know for sure, but I don't think IE 7 has the option to "View 
Generated Source" -- however, FF does, so try it after you click 
"Speak Key".


http://sperling.com/examples/captcha/

The point of "View Generated Source" is to view the generated source. 
The source used to generate the sound is not generated until you 
click the "Speak Key".



The nifty FF add-on TotalValidator is what I used to validate your html code.


Try using the "Validate HTML" under "Tools" in FF, which it passes.

Or use the w3c validator:



-- which it also passes.

What's the point here? This is getting boring.

Cheers,

tedd
--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame

2007-04-26 Thread Tijnema !

On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:

At 5:37 PM -0400 4/25/07, Al wrote:
>Ted:  FF 2.0.0.3 is what I used to examine your html code.  It looks
>the same with IE7.


It's "tedd" not "Tedd"

I don't know for sure, but I don't think IE 7 has the option to "View
Generated Source" -- however, FF does, so try it after you click
"Speak Key".

http://sperling.com/examples/captcha/

The point of "View Generated Source" is to view the generated source.
The source used to generate the sound is not generated until you
click the "Speak Key".

>The nifty FF add-on TotalValidator is what I used to validate your html code.

Try using the "Validate HTML" under "Tools" in FF, which it passes.

Or use the w3c validator:



-- which it also passes.

What's the point here? This is getting boring.

Cheers,

tedd


It's not XHTML 1.0 Strict valid .. :P
You're page is HTML 4.01 valid, i think you should make it XHTML 1.0 Strict.

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame

2007-04-26 Thread Zoltán Németh
2007. 04. 26, csütörtök keltezéssel 11.00-kor tedd ezt írta:
> At 5:37 PM -0400 4/25/07, Al wrote:
> >Ted:  FF 2.0.0.3 is what I used to examine your html code.  It looks 
> >the same with IE7.
> 
> 
> It's "tedd" not "Tedd"
> 
> I don't know for sure, but I don't think IE 7 has the option to "View 
> Generated Source" -- however, FF does, so try it after you click 
> "Speak Key".

that's available only in the web developer plugin for firefox, not
firefox itself

greets
Zoltán Németh


> 
> http://sperling.com/examples/captcha/
> 
> The point of "View Generated Source" is to view the generated source. 
> The source used to generate the sound is not generated until you 
> click the "Speak Key".
> 
> >The nifty FF add-on TotalValidator is what I used to validate your html code.
> 
> Try using the "Validate HTML" under "Tools" in FF, which it passes.
> 
> Or use the w3c validator:
> 
> 
> 
> -- which it also passes.
> 
> What's the point here? This is getting boring.
> 
> Cheers,
> 
> tedd
> -- 
> ---
> http://sperling.com  http://ancientstones.com  http://earthstones.com
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame

2007-04-26 Thread tedd

At 4:54 PM +0200 4/26/07, Tijnema ! wrote:

On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:

Also, which older browsers have problems with it?
I've been using "" in sites for many years
and never had any problem with it whatsoever.
Also, every browser that BrowserCam provides has
not demonstrated any problems with using ""
-- or at least none that I've seen.



I believe it was IE4 and with some Netscape browsers.


IE what?  Even IE 5 has less than a 2 percent usage and that figure 
is dropping by a half a percent per month -- as it is, it won't see 
2008.


http://www.w3schools.com/browsers/browsers_stats.asp

This is like the "which is faster echo or print" debate -- it's not 
worth the effort.


Cheers,

tedd
--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Server side speech

2007-04-26 Thread Justin Frim

tedd wrote:
However, I did run my audio captcha by a couple dozen _visually 
impaired_ testers...

..snip...

...it's interesting to see what _they see_.




nothing?
;-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: [PHP-WIN] Re: [PHP] slow performance

2007-04-26 Thread Henning Eiben
Stanislav Malyshev wrote:

>> OK, I installed FCGI and ran my testsuite. I did get more requests in a
>> timeperiod of 5 minutes, but unfortunatly I also got a lot of errors
>> (HTTP 500). But the performance of successful pages was increased by
>> almost 15%.
> 
> Maybe you need to configure FastCGI for more processes - 500 could be
> result of getting more requests than there are processes to handle them.

How would I do that?



-- 
... Does killing time harm eternity?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Server side speech

2007-04-26 Thread Daniel Brown

   Heh crude, but it made me smile.

On 4/26/07, Justin Frim <[EMAIL PROTECTED]> wrote:


tedd wrote:
> However, I did run my audio captcha by a couple dozen _visually
> impaired_ testers...
..snip...
> ...it's interesting to see what _they see_.
>


nothing?
;-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107


Re: [PHP] Re: posting variables to parent frame

2007-04-26 Thread Tijnema !

On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:

At 4:54 PM +0200 4/26/07, Tijnema ! wrote:
>On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:
>>Also, which older browsers have problems with it?
>>I've been using "" in sites for many years
>>and never had any problem with it whatsoever.
>>Also, every browser that BrowserCam provides has
>>not demonstrated any problems with using ""
>>-- or at least none that I've seen.
>>
>
>I believe it was IE4 and with some Netscape browsers.

IE what?  Even IE 5 has less than a 2 percent usage and that figure
is dropping by a half a percent per month -- as it is, it won't see
2008.

http://www.w3schools.com/browsers/browsers_stats.asp

This is like the "which is faster echo or print" debate -- it's not
worth the effort.

Cheers,

tedd


Yes, it is just like that debate. It turns out, if you need to choose
between  and  choose the latter.

But if you already have a code with  just leave it like that :)

I was talking about really old browsers :) Even IE5 is not very old
for me. I don't use it, but i believe that one handles  already
correctly. So for IE4, there are maybe 100 people on the world? That
would be some "Good old Stuff" collectors :)

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame

2007-04-26 Thread tedd

At 5:06 PM +0200 4/26/07, Tijnema ! wrote:

It's not XHTML 1.0 Strict valid .. :P
You're page is HTML 4.01 valid, i think you should make it XHTML 1.0 Strict.


Ar. Then I would have to add all those "/" to my ">" in all my 
code in all my sites. Literally millions of new "/" would have to be 
added. That act could possibly crash the net.


So, until someone points out a good reason for me to change (I'm open 
for redirection), I'll continue to use what works for me. Besides, 
it's still compliant, isn't it?


Cheers,

tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame

2007-04-26 Thread Tijnema !

On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:

At 5:06 PM +0200 4/26/07, Tijnema ! wrote:
>It's not XHTML 1.0 Strict valid .. :P
>You're page is HTML 4.01 valid, i think you should make it XHTML 1.0 Strict.

Ar. Then I would have to add all those "/" to my ">" in all my
code in all my sites. Literally millions of new "/" would have to be
added. That act could possibly crash the net.

So, until someone points out a good reason for me to change (I'm open
for redirection), I'll continue to use what works for me. Besides,
it's still compliant, isn't it?

Cheers,

tedd


HTML 4.01 will become deprecated earlier then XHTML 1.0 :)

That's all i know :P

Tijnema




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame

2007-04-26 Thread tedd

At 5:08 PM +0200 4/26/07, Zoltán Németh wrote:

2007. 04. 26, csütörtök keltezéssel 11.00-kor tedd ezt írta:

 At 5:37 PM -0400 4/25/07, Al wrote:
 >Ted:  FF 2.0.0.3 is what I used to examine your html code.  It looks
 >the same with IE7.


 It's "tedd" not "Tedd"

 I don't know for sure, but I don't think IE 7 has the option to "View
 Generated Source" -- however, FF does, so try it after you click
 "Speak Key".


that's available only in the web developer plugin for firefox, not
firefox itself

greets
Zoltán Németh



Okay, I stand corrected. Well... actually I lean 
to the right. But, I've been using FF for so long 
that I thought it was built in.


Cheers,

tedd
--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] IE and cookie issues in PHP app

2007-04-26 Thread Dave Goodchild

Hi all. I have built an online events directory in php (
http://dontjustsitthere.co.uk) where people can find local events and also
post their events. The app is composed of a single page, index.php, that
generates different content depending on the parameters passed to it and
uses sessions for persistence.

I have had nothing but pain with IE6 with this, I don't use any third-party
cookies and one issue was resolved by using this line at the top of the
page:

ini_set('session.name', 'couchy');
session_start();

To post an event, the first form processes the category and postcode of the
event plus a captcha field. The fields are validated and cleaned and then
passed into $_SESSION.

On the next stage I perform a cookie check, and if there are issues warn the
user. This has been happening to every IE6 user, they can't get past the
first page - so that means that $_SESSION['category'] and
$_SESSION['postcode'] are not being populated.

I thought I had this nailed but it's rearing it's butt-ugly head again.
Anyone aware of the probable cause of this?



--
http://www.web-buddha.co.uk


Re: [PHP] slow performance

2007-04-26 Thread Henning Eiben
Richard Lynch wrote:

> At 31:3 ratio, it's almost for sure NOT the fault of 3-tier
> architecture nor the OR-mapper.
> 
> Or, if it is, it's because you've chosen a HORRIBLE 3-tier
> architecture or a RIDICULOUS OR-mapper.
> 
> My *first* *first* *first* SWAG is that you've got something very very
> very hinky in the mysql_connect, not using local sockets.
> 
> Only on Windows, that means you haven't tweaked some goofy setting
> somewhere, rather than something as simple as not using 'localhost'
> for the mysql_connect.

Well, one requirement was to use a dedicated MySQL-Server, so that is
most certainly not 'localhost' but 'dbserver.acme.com' :)




-- 
... Gentlemen:  Start your debuggers...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Server side speech

2007-04-26 Thread tedd

At 10:44 AM -0400 4/26/07, Daniel Brown wrote:

   No, I meant a dedicated server that you lease in a datacenter, not one
that you'd have to be responsible for in your own home.  I had Comcast cable
Internet, too my speeds were actually pretty good (in northeast
Pennsylvania) with them and Adelphia, whom they bought out last year.  About
4Mbps down and 1.5Mbps up, average.  Not too shabby.

   What I was offering is to compile the code on one of my machines (Linux)
and zip'ing the file so that you could download it, bundle it with your
code, and upload it to your server in your account.  Your host shouldn't
have to do anything at all if I rewrite some of the C source and rewrite the
Makefile to compile all of the modules to be in a same-directory structure
(or a subdirectory of the runtime directory).  This would mean that you
wouldn't have to install anything in /usr/lib or something like that.  It,
instead, could be something like /home/sperling/audio/ with libraries
installed in directories under that.  You'd want it there instead of a
web-accessible directory, and then you'd call it from PHP like so: 

   Just a suggestion though.


Daniel:

Wow!  That's a lot for work for you. However, if you're willing to do 
it, I'll spend the time to see if I can get it to work on my end. 
This would be a good thing if we can get this to work.


Thanks a bunch.

Cheers,

tedd
--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame

2007-04-26 Thread tedd

At 5:26 PM +0200 4/26/07, Tijnema ! wrote:

On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:

At 5:06 PM +0200 4/26/07, Tijnema ! wrote:

It's not XHTML 1.0 Strict valid .. :P
You're page is HTML 4.01 valid, i think you should make it XHTML 1.0 Strict.


Ar. Then I would have to add all those "/" to my ">" in all my
code in all my sites. Literally millions of new "/" would have to be
added. That act could possibly crash the net.

So, until someone points out a good reason for me to change (I'm open
for redirection), I'll continue to use what works for me. Besides,
it's still compliant, isn't it?

Cheers,

tedd


HTML 4.01 will become deprecated earlier then XHTML 1.0 :)

That's all i know :P

Tijnema


And tedd will become deprecated earlier than teddd -- I can wait.

Besides, when HTML 4.01 finally does, someone will make a parser that 
will fix everything.


Cheers,

tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP & Text Messaging OT

2007-04-26 Thread tedd

At 5:26 PM -0500 4/25/07, Richard Lynch wrote:

On Wed, April 25, 2007 4:46 pm, Daniel Brown wrote:

 That's an excellent point, Richard.  I just switched providers
 sort
 of.  I went from the right-wing of the Sprint Regime (Sprint PCS) to
 the
 left-wing (Nextel) on Saturday afternoon.  Exact same number --- even
 the
 same overall company --- but completely different address for
 email-to-SMS.


Years ago, after a HORRIBLE experience with Sprint, I switched providers.

I wanted to never ever ever have to deal with any Sprint personnel
every again.


Same here -- they even owe me money. I send them an invoice every 
year with interest just to waste their time.


Their first reply always is "Who authorized this invoice?" and I 
reply "I don't know, he works for you. Don't you know?" And then the 
conversation usually degrades from there. It's fun. Maybe one of 
these days they'll pay the damn thing.


Cheers,

tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: everything printed suddenly has blue text, as if were a link

2007-04-26 Thread tedd

At 3:33 PM +0200 4/26/07, Tijnema ! wrote:

On 4/26/07, Stut <[EMAIL PROTECTED]> wrote:

Tijnema ! wrote:

 On 4/26/07, Al <[EMAIL PROTECTED]> wrote:

  is depreciated and shouldn't be used anyhow.  Use styles
 instead.


 I use combination of both :)

 > 
 font.grey { color: grey; }
 

 >  My Grey Text :) 

If you don't mind me saying so, that's daft. You should be using 
tags here, not the deprecated  tags.

-Stut


Both work fine, should i really care?

Tijnema


And you're the one who told me to switch my DOCTYPE to XHTML???

You go through all the trouble of using css and then you don't really 
use it. Try this:


.grey { color: grey; }  <-- external, not embedded.

 My Grey Text :) 

That's much simperer and it validates.

Cheers,

tedd


--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: everything printed suddenly has blue text, as if were a link


On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:

At 3:33 PM +0200 4/26/07, Tijnema ! wrote:
>On 4/26/07, Stut <[EMAIL PROTECTED]> wrote:
>>Tijnema ! wrote:
>>>  On 4/26/07, Al <[EMAIL PROTECTED]> wrote:
   is depreciated and shouldn't be used anyhow.  Use styles
  instead.
>>>
>>>  I use combination of both :)
>>  > 
>>>  font.grey { color: grey; }
>>>  
>>  >  My Grey Text :) 
>>
>>If you don't mind me saying so, that's daft. You should be using 
>>tags here, not the deprecated  tags.
>>
>>-Stut
>
>Both work fine, should i really care?
>
>Tijnema

And you're the one who told me to switch my DOCTYPE to XHTML???

You go through all the trouble of using css and then you don't really
use it. Try this:

.grey { color: grey; }  <-- external, not embedded.

 My Grey Text :) 

That's much simperer and it validates.

Cheers,

tedd


I meant to say that every new page you write should be XHTML 1.0
Strict, not the pages you already have...
Just like i'm doing this now :)

Tijnema




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame


On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:

At 5:26 PM +0200 4/26/07, Tijnema ! wrote:
>On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:
>>At 5:06 PM +0200 4/26/07, Tijnema ! wrote:
>>>It's not XHTML 1.0 Strict valid .. :P
>>>You're page is HTML 4.01 valid, i think you should make it XHTML 1.0 Strict.
>>
>>Ar. Then I would have to add all those "/" to my ">" in all my
>>code in all my sites. Literally millions of new "/" would have to be
>>added. That act could possibly crash the net.
>>
>>So, until someone points out a good reason for me to change (I'm open
>>for redirection), I'll continue to use what works for me. Besides,
>>it's still compliant, isn't it?
>>
>>Cheers,
>>
>>tedd
>
>HTML 4.01 will become deprecated earlier then XHTML 1.0 :)
>
>That's all i know :P
>
>Tijnema

And tedd will become deprecated earlier than teddd -- I can wait.

Besides, when HTML 4.01 finally does, someone will make a parser that
will fix everything.

Cheers,

tedd


Hmm, if that is gonna work completly, i want to see :P
Look how many things are deprecated/removed in XHTML 1.0 Strict v HTML 4.01
A lot things have been replaced with styles in XHTML 1.0 Strict.

I see microsoft as the first one that will ignore HTML 4.01, in IE8 maybe?

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame

On Thu, 2007-04-26 at 13:08 -0400, tedd wrote:
> At 5:26 PM +0200 4/26/07, Tijnema ! wrote:
> >On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:
> >>At 5:06 PM +0200 4/26/07, Tijnema ! wrote:
> >>>It's not XHTML 1.0 Strict valid .. :P
> >>>You're page is HTML 4.01 valid, i think you should make it XHTML 1.0 
> >>>Strict.
> >>
> >>Ar. Then I would have to add all those "/" to my ">" in all my
> >>code in all my sites. Literally millions of new "/" would have to be
> >>added. That act could possibly crash the net.
> >>
> >>So, until someone points out a good reason for me to change (I'm open
> >>for redirection), I'll continue to use what works for me. Besides,
> >>it's still compliant, isn't it?
> >>
> >>Cheers,
> >>
> >>tedd
> >
> >HTML 4.01 will become deprecated earlier then XHTML 1.0 :)
> >
> >That's all i know :P
> >
> >Tijnema
> 
> And tedd will become deprecated earlier than teddd -- I can wait.
> 
> Besides, when HTML 4.01 finally does, someone will make a parser that 
> will fix everything.

And someone will probably make a good screen reader by then too
necessarily reducing the need for table groupies the world over having
to convert to poorly implemented CSS *GRIN*.

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame

On Thu, 2007-04-26 at 19:17 +0200, Tijnema ! wrote:
> On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:
> > At 5:26 PM +0200 4/26/07, Tijnema ! wrote:
> > >On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:
> > >>At 5:06 PM +0200 4/26/07, Tijnema ! wrote:
> > >>>It's not XHTML 1.0 Strict valid .. :P
> > >>>You're page is HTML 4.01 valid, i think you should make it XHTML 1.0 
> > >>>Strict.
> > >>
> > >>Ar. Then I would have to add all those "/" to my ">" in all my
> > >>code in all my sites. Literally millions of new "/" would have to be
> > >>added. That act could possibly crash the net.
> > >>
> > >>So, until someone points out a good reason for me to change (I'm open
> > >>for redirection), I'll continue to use what works for me. Besides,
> > >>it's still compliant, isn't it?
> > >>
> > >>Cheers,
> > >>
> > >>tedd
> > >
> > >HTML 4.01 will become deprecated earlier then XHTML 1.0 :)
> > >
> > >That's all i know :P
> > >
> > >Tijnema
> >
> > And tedd will become deprecated earlier than teddd -- I can wait.
> >
> > Besides, when HTML 4.01 finally does, someone will make a parser that
> > will fix everything.
> >
> > Cheers,
> >
> > tedd
> 
> Hmm, if that is gonna work completly, i want to see :P
> Look how many things are deprecated/removed in XHTML 1.0 Strict v HTML 4.01
> A lot things have been replaced with styles in XHTML 1.0 Strict.
> 
> I see microsoft as the first one that will ignore HTML 4.01, in IE8 maybe?

So we're talking around 2012? Hell, I'll be retired by then!!! ;)

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame


On 4/26/07, Robert Cummings <[EMAIL PROTECTED]> wrote:

On Thu, 2007-04-26 at 19:17 +0200, Tijnema ! wrote:
> On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:
> > At 5:26 PM +0200 4/26/07, Tijnema ! wrote:
> > >On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:
> > >>At 5:06 PM +0200 4/26/07, Tijnema ! wrote:
> > >>>It's not XHTML 1.0 Strict valid .. :P
> > >>>You're page is HTML 4.01 valid, i think you should make it XHTML 1.0 
Strict.
> > >>
> > >>Ar. Then I would have to add all those "/" to my ">" in all my
> > >>code in all my sites. Literally millions of new "/" would have to be
> > >>added. That act could possibly crash the net.
> > >>
> > >>So, until someone points out a good reason for me to change (I'm open
> > >>for redirection), I'll continue to use what works for me. Besides,
> > >>it's still compliant, isn't it?
> > >>
> > >>Cheers,
> > >>
> > >>tedd
> > >
> > >HTML 4.01 will become deprecated earlier then XHTML 1.0 :)
> > >
> > >That's all i know :P
> > >
> > >Tijnema
> >
> > And tedd will become deprecated earlier than teddd -- I can wait.
> >
> > Besides, when HTML 4.01 finally does, someone will make a parser that
> > will fix everything.
> >
> > Cheers,
> >
> > tedd
>
> Hmm, if that is gonna work completly, i want to see :P
> Look how many things are deprecated/removed in XHTML 1.0 Strict v HTML 4.01
> A lot things have been replaced with styles in XHTML 1.0 Strict.
>
> I see microsoft as the first one that will ignore HTML 4.01, in IE8 maybe?

So we're talking around 2012? Hell, I'll be retired by then!!! ;)

Cheers,
Rob.


You maybe, but not everyone (like me :P)

I would love to, but well, i guess i can't stop when i'm 20 years old :)

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: everything printed suddenly has blue text, as if were a link

On Thu, 2007-04-26 at 13:19 -0400, tedd wrote:
> At 3:33 PM +0200 4/26/07, Tijnema ! wrote:
> >On 4/26/07, Stut <[EMAIL PROTECTED]> wrote:
> >>Tijnema ! wrote:
> >>>  On 4/26/07, Al <[EMAIL PROTECTED]> wrote:
>    is depreciated and shouldn't be used anyhow.  Use styles
>   instead.
> >>>
> >>>  I use combination of both :)
> >>  > 
> >>>  font.grey { color: grey; }
> >>>  
> >>  >  My Grey Text :) 
> >>
> >>If you don't mind me saying so, that's daft. You should be using 
> >>tags here, not the deprecated  tags.
> >>
> >>-Stut
> >
> >Both work fine, should i really care?
> >
> >Tijnema
> 
> And you're the one who told me to switch my DOCTYPE to XHTML???
> 
> You go through all the trouble of using css and then you don't really 
> use it. Try this:
> 
> .grey { color: grey; }  <-- external, not embedded.

Oh dear, that's terrible, everyone knows you should use dropped
vertically aligned braces in CSS:

.grey
{
color: grey;
}

>  My Grey Text :) 

That's disgusting... now what happens if you want to change the text to
blue? You either have a class called grey that makes the text blue, or
you have to change all the HTML where you used class="grey" which puts
you squarely back into the realm of why the font tag was deprecated.

> That's much simperer and it validates.

Yeah... SIMPERER  *giggle*

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP & Text Messaging


Richard Lynch wrote:


[snip]
Relying on Sprint, however, to honor any kind of oral agreement, is a
big fat *NOT*

"I'm sorry, but we just don't have any reocrd of that conversation.

You're now 2 weeks overdue, because that extension you claim we gave
you doesn't exist."

It was like a parody of the White House Watergate tapes -- Anything
they didn't feel like honoring was just not there;  Something that had
been said that they LIKED, they had a perfect record of that though.
[snip]



A good old O.T. thread.  :-)

A few months back I was trying to weed some information out of Rogers 
and Fido, but several times I was told conflicting information each time 
I called.


Finally I made an audio patch cable to connect my MP3 player/recorder to 
the phone and then proceeded to call Rogers again.  The conversation 
went something like this:


-Voice mail system: "Thank you for calling Rogers Wireless.  Please stay 
on the line and our next available agent will help you.  Note that your 
call may be monitored and recorded for quality assurance and training 
purposes"... music-on-hold...
-Customer support: "Thank you for calling Rogers, my name is Bob, may I 
have your phone number starting with the area code?"
-Me: "I'm just letting you know that this call will be monitored and 
recorded for quality assurance purposes"

*click*  MP3 recorder starts recording
-Customer support: "Umm okay"

The patch cable was designed so I could also play back audio into the 
phone, just in case they tried pulling a "we never said that" denial.  
Fortunately, in that conversation where I announced it was being 
recorded, the customer service guy never lied to me even once.  Funny 
how that works out.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP & Text Messaging


   Sounds like a good plan.  Maybe I'll start recording all of my phone
calls.  I'll just answer the phone, "Hello, this call is being reported for
quality assurance and training purposes, this is Dan, wazzzup?!?"

On 4/26/07, Justin Frim <[EMAIL PROTECTED]> wrote:


Richard Lynch wrote:

>[snip]
>Relying on Sprint, however, to honor any kind of oral agreement, is a
>big fat *NOT*
>
>"I'm sorry, but we just don't have any reocrd of that conversation.
>
>You're now 2 weeks overdue, because that extension you claim we gave
>you doesn't exist."
>
>It was like a parody of the White House Watergate tapes -- Anything
>they didn't feel like honoring was just not there;  Something that had
>been said that they LIKED, they had a perfect record of that though.
>[snip]
>

A good old O.T. thread.  :-)

A few months back I was trying to weed some information out of Rogers
and Fido, but several times I was told conflicting information each time
I called.

Finally I made an audio patch cable to connect my MP3 player/recorder to
the phone and then proceeded to call Rogers again.  The conversation
went something like this:

-Voice mail system: "Thank you for calling Rogers Wireless.  Please stay
on the line and our next available agent will help you.  Note that your
call may be monitored and recorded for quality assurance and training
purposes"... music-on-hold...
-Customer support: "Thank you for calling Rogers, my name is Bob, may I
have your phone number starting with the area code?"
-Me: "I'm just letting you know that this call will be monitored and
recorded for quality assurance purposes"
*click*  MP3 recorder starts recording
-Customer support: "Umm okay"

The patch cable was designed so I could also play back audio into the
phone, just in case they tried pulling a "we never said that" denial.
Fortunately, in that conversation where I announced it was being
recorded, the customer service guy never lied to me even once.  Funny
how that works out.






--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107


Re: [PHP] Re: PHP & Text Messaging


On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:

   Sounds like a good plan.  Maybe I'll start recording all of my phone
calls.  I'll just answer the phone, "Hello, this call is being reported for
quality assurance and training purposes, this is Dan, wazzzup?!?"


Hmm, i see nobody would ever lie to you again :)




On 4/26/07, Justin Frim <[EMAIL PROTECTED]> wrote:
>
> Richard Lynch wrote:
>
> >[snip]
> >Relying on Sprint, however, to honor any kind of oral agreement, is a
> >big fat *NOT*
> >
> >"I'm sorry, but we just don't have any reocrd of that conversation.
> >
> >You're now 2 weeks overdue, because that extension you claim we gave
> >you doesn't exist."
> >
> >It was like a parody of the White House Watergate tapes -- Anything
> >they didn't feel like honoring was just not there;  Something that had
> >been said that they LIKED, they had a perfect record of that though.
> >[snip]
> >
>
> A good old O.T. thread.  :-)
>
> A few months back I was trying to weed some information out of Rogers
> and Fido, but several times I was told conflicting information each time
> I called.
>
> Finally I made an audio patch cable to connect my MP3 player/recorder to
> the phone and then proceeded to call Rogers again.  The conversation
> went something like this:
>
> -Voice mail system: "Thank you for calling Rogers Wireless.  Please stay
> on the line and our next available agent will help you.  Note that your
> call may be monitored and recorded for quality assurance and training
> purposes"... music-on-hold...
> -Customer support: "Thank you for calling Rogers, my name is Bob, may I
> have your phone number starting with the area code?"
> -Me: "I'm just letting you know that this call will be monitored and
> recorded for quality assurance purposes"
> *click*  MP3 recorder starts recording
> -Customer support: "Umm okay"
>
> The patch cable was designed so I could also play back audio into the
> phone, just in case they tried pulling a "we never said that" denial.
> Fortunately, in that conversation where I announced it was being
> recorded, the customer service guy never lied to me even once.  Funny
> how that works out.
>


You could better not tell them you are recording, and when they are
saying "we never said that" then you just play it back :)

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP & Text Messaging


   Yeah, but unfortunately, in the United States, you have to alert someone
when you're recording a telephone conversation.

On 4/26/07, Tijnema ! <[EMAIL PROTECTED]> wrote:


On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
>Sounds like a good plan.  Maybe I'll start recording all of my phone
> calls.  I'll just answer the phone, "Hello, this call is being reported
for
> quality assurance and training purposes, this is Dan, wazzzup?!?"

Hmm, i see nobody would ever lie to you again :)


>
> On 4/26/07, Justin Frim <[EMAIL PROTECTED]> wrote:
> >
> > Richard Lynch wrote:
> >
> > >[snip]
> > >Relying on Sprint, however, to honor any kind of oral agreement, is a
> > >big fat *NOT*
> > >
> > >"I'm sorry, but we just don't have any reocrd of that conversation.
> > >
> > >You're now 2 weeks overdue, because that extension you claim we gave
> > >you doesn't exist."
> > >
> > >It was like a parody of the White House Watergate tapes -- Anything
> > >they didn't feel like honoring was just not there;  Something that
had
> > >been said that they LIKED, they had a perfect record of that though.
> > >[snip]
> > >
> >
> > A good old O.T. thread.  :-)
> >
> > A few months back I was trying to weed some information out of Rogers
> > and Fido, but several times I was told conflicting information each
time
> > I called.
> >
> > Finally I made an audio patch cable to connect my MP3 player/recorder
to
> > the phone and then proceeded to call Rogers again.  The conversation
> > went something like this:
> >
> > -Voice mail system: "Thank you for calling Rogers Wireless.  Please
stay
> > on the line and our next available agent will help you.  Note that
your
> > call may be monitored and recorded for quality assurance and training
> > purposes"... music-on-hold...
> > -Customer support: "Thank you for calling Rogers, my name is Bob, may
I
> > have your phone number starting with the area code?"
> > -Me: "I'm just letting you know that this call will be monitored and
> > recorded for quality assurance purposes"
> > *click*  MP3 recorder starts recording
> > -Customer support: "Umm okay"
> >
> > The patch cable was designed so I could also play back audio into the
> > phone, just in case they tried pulling a "we never said that" denial.
> > Fortunately, in that conversation where I announced it was being
> > recorded, the customer service guy never lied to me even once.  Funny
> > how that works out.
> >

You could better not tell them you are recording, and when they are
saying "we never said that" then you just play it back :)

Tijnema





--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107


Re: [PHP] Re: posting variables to parent frame


tedd wrote:


At 5:06 PM +0200 4/26/07, Tijnema ! wrote:


It's not XHTML 1.0 Strict valid .. :P
You're page is HTML 4.01 valid, i think you should make it XHTML 1.0 
Strict.



Ar. Then I would have to add all those "/" to my ">" in all my 
code in all my sites. Literally millions of new "/" would have to be 
added. That act could possibly crash the net.


So, until someone points out a good reason for me to change (I'm open 
for redirection), I'll continue to use what works for me. Besides, 
it's still compliant, isn't it?



Call me crazy, but I use HTML 4.01 Transitional.
It's messy as ever, but it works.  And I've never had a browser bark 
over my  or  or 
I'll also admit I don't have enough CSS knowledge yet to make page 
layouts with completely dynamic positioning that actually look good, 
regardless of the browser window size and aspect ratio.  You know, 
tables do a fantastic job of controlling layout.  :-)


(I'm expecting several hate-mail replies now.)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP & Text Messaging

In the US you can record your own phone calls, ingoing and outgoing? Usually!!

Most states are “one-party-consent law” states. If you live in one of these, you
can always record your own in-state calls either openly or surreptitiously,
since only one participant’s consent is needed. Likewise, you can get someone
else to record them for you.

In interstate calls, it’s important to check this state-by-state summary,
because in interstate calls, both states’ laws apply, and you need to apply the
most stringent applicable law. For example, if you live in California or are
even just speaking to someone in California (an “all-party-consent law” state),
you must get the other party's permission to record the call, or risk having to
pony up $5000 in statutory damages (or three times the actual damages,
whichever is greater). In general, announcing your intent to record and letting
the other party hang up if they don’t like it is sufficient in all states:
continued participation implies consent.

The all-party-consent law states are: California, Connecticut, Florida,
Illinois, Maryland, Massachusetts, Michigan, Montana, Nevada, New Hampshire,
Pennsylvania, Washington. In Delaware, Indiana, Iowa, Missisippi, and New
Mexico as well, a participant may record but a non-participant may not, even
with consent. In Vermont the law is unsettled.

I am not a lawyer; this is not legal advice; laws change; errors happen.

John
Quoting Daniel Brown <[EMAIL PROTECTED]>:

> Yeah, but unfortunately, in the United States, you have to alert someone
> when you're recording a telephone conversation.
>
> On 4/26/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
> >
> > On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> > >Sounds like a good plan.  Maybe I'll start recording all of my phone
> > > calls.  I'll just answer the phone, "Hello, this call is being reported
> > for
> > > quality assurance and training purposes, this is Dan, wazzzup?!?"
> >
> > Hmm, i see nobody would ever lie to you again :)
> >
> >
> > >
> > > On 4/26/07, Justin Frim <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Richard Lynch wrote:
> > > >
> > > > >[snip]
> > > > >Relying on Sprint, however, to honor any kind of oral agreement, is a
> > > > >big fat *NOT*
> > > > >
> > > > >"I'm sorry, but we just don't have any reocrd of that conversation.
> > > > >
> > > > >You're now 2 weeks overdue, because that extension you claim we gave
> > > > >you doesn't exist."
> > > > >
> > > > >It was like a parody of the White House Watergate tapes -- Anything
> > > > >they didn't feel like honoring was just not there;  Something that
> > had
> > > > >been said that they LIKED, they had a perfect record of that though.
> > > > >[snip]
> > > > >
> > > >
> > > > A good old O.T. thread.  :-)
> > > >
> > > > A few months back I was trying to weed some information out of Rogers
> > > > and Fido, but several times I was told conflicting information each
> > time
> > > > I called.
> > > >
> > > > Finally I made an audio patch cable to connect my MP3 player/recorder
> > to
> > > > the phone and then proceeded to call Rogers again.  The conversation
> > > > went something like this:
> > > >
> > > > -Voice mail system: "Thank you for calling Rogers Wireless.  Please
> > stay
> > > > on the line and our next available agent will help you.  Note that
> > your
> > > > call may be monitored and recorded for quality assurance and training
> > > > purposes"... music-on-hold...
> > > > -Customer support: "Thank you for calling Rogers, my name is Bob, may
> > I
> > > > have your phone number starting with the area code?"
> > > > -Me: "I'm just letting you know that this call will be monitored and
> > > > recorded for quality assurance purposes"
> > > > *click*  MP3 recorder starts recording
> > > > -Customer support: "Umm okay"
> > > >
> > > > The patch cable was designed so I could also play back audio into the
> > > > phone, just in case they tried pulling a "we never said that" denial.
> > > > Fortunately, in that conversation where I announced it was being
> > > > recorded, the customer service guy never lied to me even once.  Funny
> > > > how that works out.
> > > >
> >
> > You could better not tell them you are recording, and when they are
> > saying "we never said that" then you just play it back :)
> >
> > Tijnema
> >
>
>
>
> --
> Daniel P. Brown
> [office] (570-) 587-7080 Ext. 272
> [mobile] (570-) 766-8107
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP & Text Messaging


On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:


Yeah, but unfortunately, in the United States, you have to alert someone
when you're recording a telephone conversation.


I hate laws, and i don't live in the US. :)

I don't know how the laws are here in the netherlands, but i guess it
is the same... :(

Tijnema




On 4/26/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
> On 4/26/07, Daniel Brown < [EMAIL PROTECTED]> wrote:
> >Sounds like a good plan.  Maybe I'll start recording all of my phone
> > calls.  I'll just answer the phone, "Hello, this call is being reported
for
> > quality assurance and training purposes, this is Dan, wazzzup?!?"
>
> Hmm, i see nobody would ever lie to you again :)
>
>
> >
> > On 4/26/07, Justin Frim < [EMAIL PROTECTED]> wrote:
> > >
> > > Richard Lynch wrote:
> > >
> > > >[snip]
> > > >Relying on Sprint, however, to honor any kind of oral agreement, is a
> > > >big fat *NOT*
> > > >
> > > >"I'm sorry, but we just don't have any reocrd of that conversation.
> > > >
> > > >You're now 2 weeks overdue, because that extension you claim we gave
> > > >you doesn't exist."
> > > >
> > > >It was like a parody of the White House Watergate tapes -- Anything
> > > >they didn't feel like honoring was just not there;  Something that
had
> > > >been said that they LIKED, they had a perfect record of that though.
> > > >[snip]
> > > >
> > >
> > > A good old O.T. thread.  :-)
> > >
> > > A few months back I was trying to weed some information out of Rogers
> > > and Fido, but several times I was told conflicting information each
time
> > > I called.
> > >
> > > Finally I made an audio patch cable to connect my MP3 player/recorder
to
> > > the phone and then proceeded to call Rogers again.  The conversation
> > > went something like this:
> > >
> > > -Voice mail system: "Thank you for calling Rogers Wireless.  Please
stay
> > > on the line and our next available agent will help you.  Note that
your
> > > call may be monitored and recorded for quality assurance and training
> > > purposes"... music-on-hold...
> > > -Customer support: "Thank you for calling Rogers, my name is Bob, may
I
> > > have your phone number starting with the area code?"
> > > -Me: "I'm just letting you know that this call will be monitored and
> > > recorded for quality assurance purposes"
> > > *click*  MP3 recorder starts recording
> > > -Customer support: "Umm okay"
> > >
> > > The patch cable was designed so I could also play back audio into the
> > > phone, just in case they tried pulling a "we never said that" denial.
> > > Fortunately, in that conversation where I announced it was being
> > > recorded, the customer service guy never lied to me even once.  Funny
> > > how that works out.
> > >
>
> You could better not tell them you are recording, and when they are
> saying "we never said that" then you just play it back :)
>
> Tijnema
>



--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: everything printed suddenly has blue text, as if were a link


At 2:01 PM -0400 4/26/07, Robert Cummings wrote:

On Thu, 2007-04-26 at 13:19 -0400, tedd wrote:

 > .grey { color: grey; }  <-- external, not embedded.

Oh dear, that's terrible, everyone knows you should use dropped
vertically aligned braces in CSS:

.grey
{
color: grey;
}


  My Grey Text :) 


That's disgusting... now what happens if you want to change the text to
blue? You either have a class called grey that makes the text blue, or
you have to change all the HTML where you used class="grey" which puts
you squarely back into the realm of why the font tag was deprecated.


Negatory there grasshopper. You use the color rule for any tag that 
exhibits color AND have as many colors as you want -- it's a simperer 
way..


http://www.wordreference.com/definition/simperer   <-- Yeah... 
SIMPERER  *giggle*


Plus, you didn't do the braces right. They should be:

.grey
   {
   color: grey;
   }

In seriousness, I /do/ use colors that way -- and it works for me.

Cheers,

tedd
--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame OT


At 1:57 PM -0400 4/26/07, Robert Cummings wrote:

On Thu, 2007-04-26 at 13:08 -0400, tedd wrote:
 > Besides, when HTML 4.01 finally does, someone will make a parser that

 will fix everything.


And someone will probably make a good screen reader by then too
necessarily reducing the need for table groupies the world over having
to convert to poorly implemented CSS *GRIN*.


Yeah, take that one step further and we'll be just posting WYSIWYG 
images on the net without any text or code. Besides, after all is 
said and done, it's still just severing an image that users look at, 
right?


Cheers,

tedd
--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame


On 4/26/07, Justin Frim <[EMAIL PROTECTED]> wrote:

tedd wrote:

> At 5:06 PM +0200 4/26/07, Tijnema ! wrote:
>
>> It's not XHTML 1.0 Strict valid .. :P
>> You're page is HTML 4.01 valid, i think you should make it XHTML 1.0
>> Strict.
>
>
> Ar. Then I would have to add all those "/" to my ">" in all my
> code in all my sites. Literally millions of new "/" would have to be
> added. That act could possibly crash the net.
>
> So, until someone points out a good reason for me to change (I'm open
> for redirection), I'll continue to use what works for me. Besides,
> it's still compliant, isn't it?


Call me crazy, but I use HTML 4.01 Transitional.
It's messy as ever, but it works.  And I've never had a browser bark
over my  or  or 
I'll also admit I don't have enough CSS knowledge yet to make page
layouts with completely dynamic positioning that actually look good,
regardless of the browser window size and aspect ratio.  You know,
tables do a fantastic job of controlling layout.  :-)

(I'm expecting several hate-mail replies now.)


Yes like this one :P

It's actually quite simple, all you have to do is set positon to
absolute, and use % for the left, right, top and bottom, or it won't
resize.

I used tables also when i started, once you know how tables work,
you'll find them easy, but they aren't advanced enough once you want
more. I've faced this problem when i wanted to create 1 single page
that i won't ever leave (AJAX). I'm currently working on such page,
but with a lot more stuff, and then i'm facing stupid browser limits.
IE6 is not capable of changing CSS layouts from javascript. Also, IE6
is giving a lot of trouble with its cache. I need to clear all files
from the options menu before i can test my site again. A simple
refresh isn't enough, while a refresh works fine in FF. Didn't test it
yet at IE7, it seems that it works better there...

The current problem is that i'm no GFX master, and that i can only
create layouts with colors, and no images, and they are guaranteed to
look bad :P

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame OT


At 8:00 PM +0200 4/26/07, Tijnema ! wrote:

On 4/26/07, Robert Cummings <[EMAIL PROTECTED]> wrote:

So we're talking around 2012? Hell, I'll be retired by then!!! ;)

Cheers,
Rob.


You maybe, but not everyone (like me :P)

I would love to, but well, i guess i can't stop when i'm 20 years old :)

Tijnema



I got underwear older than that.

Cheers,

tedd


--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP & Text Messaging [Straying Way OT]


   Interesting and being in Pennsylvania, I'm in the "all-consent"
group but being originally from New Jersey, where I still thought it was
law, I'm confused isn't there a Federal mandate about this as well?

On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


In the US you can record your own phone calls, ingoing and outgoing?
Usually!!

Most states are "one-party-consent law" states. If you live in one of
these, you
can always record your own in-state calls either openly or
surreptitiously,
since only one participant's consent is needed. Likewise, you can get
someone
else to record them for you.

In interstate calls, it's important to check this state-by-state summary,
because in interstate calls, both states' laws apply, and you need to
apply the
most stringent applicable law. For example, if you live in California or
are
even just speaking to someone in California (an "all-party-consent law"
state),
you must get the other party's permission to record the call, or risk
having to
pony up $5000 in statutory damages (or three times the actual damages,
whichever is greater). In general, announcing your intent to record and
letting
the other party hang up if they don't like it is sufficient in all states:
continued participation implies consent.

The all-party-consent law states are: California, Connecticut, Florida,
Illinois, Maryland, Massachusetts, Michigan, Montana, Nevada, New
Hampshire,
Pennsylvania, Washington. In Delaware, Indiana, Iowa, Missisippi, and New
Mexico as well, a participant may record but a non-participant may not,
even
with consent. In Vermont the law is unsettled.

I am not a lawyer; this is not legal advice; laws change; errors happen.

John
Quoting Daniel Brown <[EMAIL PROTECTED]>:

> Yeah, but unfortunately, in the United States, you have to alert
someone
> when you're recording a telephone conversation.
>
> On 4/26/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
> >
> > On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> > >Sounds like a good plan.  Maybe I'll start recording all of my
phone
> > > calls.  I'll just answer the phone, "Hello, this call is being
reported
> > for
> > > quality assurance and training purposes, this is Dan, wazzzup?!?"
> >
> > Hmm, i see nobody would ever lie to you again :)
> >
> >
> > >
> > > On 4/26/07, Justin Frim <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Richard Lynch wrote:
> > > >
> > > > >[snip]
> > > > >Relying on Sprint, however, to honor any kind of oral agreement,
is a
> > > > >big fat *NOT*
> > > > >
> > > > >"I'm sorry, but we just don't have any reocrd of that
conversation.
> > > > >
> > > > >You're now 2 weeks overdue, because that extension you claim we
gave
> > > > >you doesn't exist."
> > > > >
> > > > >It was like a parody of the White House Watergate tapes --
Anything
> > > > >they didn't feel like honoring was just not there;  Something
that
> > had
> > > > >been said that they LIKED, they had a perfect record of that
though.
> > > > >[snip]
> > > > >
> > > >
> > > > A good old O.T. thread.  :-)
> > > >
> > > > A few months back I was trying to weed some information out of
Rogers
> > > > and Fido, but several times I was told conflicting information
each
> > time
> > > > I called.
> > > >
> > > > Finally I made an audio patch cable to connect my MP3
player/recorder
> > to
> > > > the phone and then proceeded to call Rogers again.  The
conversation
> > > > went something like this:
> > > >
> > > > -Voice mail system: "Thank you for calling Rogers
Wireless.  Please
> > stay
> > > > on the line and our next available agent will help you.  Note that
> > your
> > > > call may be monitored and recorded for quality assurance and
training
> > > > purposes"... music-on-hold...
> > > > -Customer support: "Thank you for calling Rogers, my name is Bob,
may
> > I
> > > > have your phone number starting with the area code?"
> > > > -Me: "I'm just letting you know that this call will be monitored
and
> > > > recorded for quality assurance purposes"
> > > > *click*  MP3 recorder starts recording
> > > > -Customer support: "Umm okay"
> > > >
> > > > The patch cable was designed so I could also play back audio into
the
> > > > phone, just in case they tried pulling a "we never said that"
denial.
> > > > Fortunately, in that conversation where I announced it was being
> > > > recorded, the customer service guy never lied to me even
once.  Funny
> > > > how that works out.
> > > >
> >
> > You could better not tell them you are recording, and when they are
> > saying "we never said that" then you just play it back :)
> >
> > Tijnema
> >
>
>
>
> --
> Daniel P. Brown
> [office] (570-) 587-7080 Ext. 272
> [mobile] (570-) 766-8107
>








--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107


Re: [PHP] Re: posting variables to parent frame OT


   You're 15 years old Tij?



On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:


At 8:00 PM +0200 4/26/07, Tijnema ! wrote:
>On 4/26/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
>>So we're talking around 2012? Hell, I'll be retired by then!!! ;)
>>
>>Cheers,
>>Rob.
>
>You maybe, but not everyone (like me :P)
>
>I would love to, but well, i guess i can't stop when i'm 20 years old :)
>
>Tijnema


I got underwear older than that.

Cheers,

tedd


--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107


Re: [PHP] Re: posting variables to parent frame OT


On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:


You're 15 years old Tij?


Wow, you were good at math right?

Tijnema





On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:
> At 8:00 PM +0200 4/26/07, Tijnema ! wrote:
> >On 4/26/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> >>So we're talking around 2012? Hell, I'll be retired by then!!! ;)
> >>
> >>Cheers,
> >>Rob.
> >
> >You maybe, but not everyone (like me :P)
> >
> >I would love to, but well, i guess i can't stop when i'm 20 years old :)
> >
> >Tijnema
>
>
> I got underwear older than that.
>
> Cheers,
>
> tedd
>
>
> --
> ---
> http://sperling.com  http://ancientstones.com   http://earthstones.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame OT


   Well, smartass, I was going to pay you a compliment and say that you're
well-versed and have a good handle on programming  for someone your age
but now, forget it!  ;-P


On 4/26/07, Tijnema ! <[EMAIL PROTECTED]> wrote:


On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
>
> You're 15 years old Tij?

Wow, you were good at math right?

Tijnema
>
>
>
>
> On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:
> > At 8:00 PM +0200 4/26/07, Tijnema ! wrote:
> > >On 4/26/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > >>So we're talking around 2012? Hell, I'll be retired by then!!! ;)
> > >>
> > >>Cheers,
> > >>Rob.
> > >
> > >You maybe, but not everyone (like me :P)
> > >
> > >I would love to, but well, i guess i can't stop when i'm 20 years old
:)
> > >
> > >Tijnema
> >
> >
> > I got underwear older than that.
> >
> > Cheers,
> >
> > tedd
> >
> >
> > --
> > ---
> > http://sperling.com  http://ancientstones.com   http://earthstones.com
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
>
> --
> Daniel P. Brown
> [office] (570-) 587-7080 Ext. 272
> [mobile] (570-) 766-8107





--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107


Re: [PHP] Re: PHP & Text Messaging [Straying Way OT]

Federal law says that at least one party taking part in the call MUST consent to
the recording. (18 U.S.C. Sec. 2511(2)(d))

Quoting Daniel Brown <[EMAIL PROTECTED]>:

> Interesting and being in Pennsylvania, I'm in the "all-consent"
> group but being originally from New Jersey, where I still thought it was
> law, I'm confused isn't there a Federal mandate about this as well?
>
> On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > In the US you can record your own phone calls, ingoing and outgoing?
> > Usually!!
> >
> > Most states are "one-party-consent law" states. If you live in one of
> > these, you
> > can always record your own in-state calls either openly or
> > surreptitiously,
> > since only one participant's consent is needed. Likewise, you can get
> > someone
> > else to record them for you.
> >
> > In interstate calls, it's important to check this state-by-state summary,
> > because in interstate calls, both states' laws apply, and you need to
> > apply the
> > most stringent applicable law. For example, if you live in California or
> > are
> > even just speaking to someone in California (an "all-party-consent law"
> > state),
> > you must get the other party's permission to record the call, or risk
> > having to
> > pony up $5000 in statutory damages (or three times the actual damages,
> > whichever is greater). In general, announcing your intent to record and
> > letting
> > the other party hang up if they don't like it is sufficient in all states:
> > continued participation implies consent.
> >
> > The all-party-consent law states are: California, Connecticut, Florida,
> > Illinois, Maryland, Massachusetts, Michigan, Montana, Nevada, New
> > Hampshire,
> > Pennsylvania, Washington. In Delaware, Indiana, Iowa, Missisippi, and New
> > Mexico as well, a participant may record but a non-participant may not,
> > even
> > with consent. In Vermont the law is unsettled.
> >
> > I am not a lawyer; this is not legal advice; laws change; errors happen.
> >
> > John
> > Quoting Daniel Brown <[EMAIL PROTECTED]>:
> >
> > > Yeah, but unfortunately, in the United States, you have to alert
> > someone
> > > when you're recording a telephone conversation.
> > >
> > > On 4/26/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
> > > >
> > > > On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> > > > >Sounds like a good plan.  Maybe I'll start recording all of my
> > phone
> > > > > calls.  I'll just answer the phone, "Hello, this call is being
> > reported
> > > > for
> > > > > quality assurance and training purposes, this is Dan, wazzzup?!?"
> > > >
> > > > Hmm, i see nobody would ever lie to you again :)
> > > >
> > > >
> > > > >
> > > > > On 4/26/07, Justin Frim <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Richard Lynch wrote:
> > > > > >
> > > > > > >[snip]
> > > > > > >Relying on Sprint, however, to honor any kind of oral agreement,
> > is a
> > > > > > >big fat *NOT*
> > > > > > >
> > > > > > >"I'm sorry, but we just don't have any reocrd of that
> > conversation.
> > > > > > >
> > > > > > >You're now 2 weeks overdue, because that extension you claim we
> > gave
> > > > > > >you doesn't exist."
> > > > > > >
> > > > > > >It was like a parody of the White House Watergate tapes --
> > Anything
> > > > > > >they didn't feel like honoring was just not there;  Something
> > that
> > > > had
> > > > > > >been said that they LIKED, they had a perfect record of that
> > though.
> > > > > > >[snip]
> > > > > > >
> > > > > >
> > > > > > A good old O.T. thread.  :-)
> > > > > >
> > > > > > A few months back I was trying to weed some information out of
> > Rogers
> > > > > > and Fido, but several times I was told conflicting information
> > each
> > > > time
> > > > > > I called.
> > > > > >
> > > > > > Finally I made an audio patch cable to connect my MP3
> > player/recorder
> > > > to
> > > > > > the phone and then proceeded to call Rogers again.  The
> > conversation
> > > > > > went something like this:
> > > > > >
> > > > > > -Voice mail system: "Thank you for calling Rogers
> > Wireless.  Please
> > > > stay
> > > > > > on the line and our next available agent will help you.  Note that
> > > > your
> > > > > > call may be monitored and recorded for quality assurance and
> > training
> > > > > > purposes"... music-on-hold...
> > > > > > -Customer support: "Thank you for calling Rogers, my name is Bob,
> > may
> > > > I
> > > > > > have your phone number starting with the area code?"
> > > > > > -Me: "I'm just letting you know that this call will be monitored
> > and
> > > > > > recorded for quality assurance purposes"
> > > > > > *click*  MP3 recorder starts recording
> > > > > > -Customer support: "Umm okay"
> > > > > >
> > > > > > The patch cable was designed so I could also play back audio into
> > the
> > > > > > phone, just in case they tried pulling a "we never said that"
> > denial.
> > > > > > Fortunately, in that conversation where I announced it was being

Re: [PHP] Re: everything printed suddenly has blue text, as if were a link


On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:

At 2:01 PM -0400 4/26/07, Robert Cummings wrote:
>On Thu, 2007-04-26 at 13:19 -0400, tedd wrote:
>
>  > .grey { color: grey; }  <-- external, not embedded.
>
>Oh dear, that's terrible, everyone knows you should use dropped
>vertically aligned braces in CSS:
>
>.grey
>{
> color: grey;
>}
>
>>   My Grey Text :) 
>
>That's disgusting... now what happens if you want to change the text to
>blue? You either have a class called grey that makes the text blue, or
>you have to change all the HTML where you used class="grey" which puts
>you squarely back into the realm of why the font tag was deprecated.

Negatory there grasshopper. You use the color rule for any tag that
exhibits color AND have as many colors as you want -- it's a simperer
way..

http://www.wordreference.com/definition/simperer   <-- Yeah...
SIMPERER  *giggle*

Plus, you didn't do the braces right. They should be:

.grey
   {
   color: grey;
   }

In seriousness, I /do/ use colors that way -- and it works for me.

Cheers,

tedd


For such things, i think you could better do this:
My Grey Text :) 

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP & Text Messaging [Straying Way OT]


   Thank you, sir!  Didn't have the minute to look it up.  Excellent
citing.


On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Federal law says that at least one party taking part in the call MUST
consent to
the recording. (18 U.S.C. Sec. 2511(2)(d))

Quoting Daniel Brown <[EMAIL PROTECTED]>:

> Interesting and being in Pennsylvania, I'm in the "all-consent"
> group but being originally from New Jersey, where I still thought it
was
> law, I'm confused isn't there a Federal mandate about this as well?
>
> On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > In the US you can record your own phone calls, ingoing and outgoing?
> > Usually!!
> >
> > Most states are "one-party-consent law" states. If you live in one of
> > these, you
> > can always record your own in-state calls either openly or
> > surreptitiously,
> > since only one participant's consent is needed. Likewise, you can get
> > someone
> > else to record them for you.
> >
> > In interstate calls, it's important to check this state-by-state
summary,
> > because in interstate calls, both states' laws apply, and you need to
> > apply the
> > most stringent applicable law. For example, if you live in California
or
> > are
> > even just speaking to someone in California (an "all-party-consent
law"
> > state),
> > you must get the other party's permission to record the call, or risk
> > having to
> > pony up $5000 in statutory damages (or three times the actual damages,
> > whichever is greater). In general, announcing your intent to record
and
> > letting
> > the other party hang up if they don't like it is sufficient in all
states:
> > continued participation implies consent.
> >
> > The all-party-consent law states are: California, Connecticut,
Florida,
> > Illinois, Maryland, Massachusetts, Michigan, Montana, Nevada, New
> > Hampshire,
> > Pennsylvania, Washington. In Delaware, Indiana, Iowa, Missisippi, and
New
> > Mexico as well, a participant may record but a non-participant may
not,
> > even
> > with consent. In Vermont the law is unsettled.
> >
> > I am not a lawyer; this is not legal advice; laws change; errors
happen.
> >
> > John
> > Quoting Daniel Brown <[EMAIL PROTECTED]>:
> >
> > > Yeah, but unfortunately, in the United States, you have to alert
> > someone
> > > when you're recording a telephone conversation.
> > >
> > > On 4/26/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
> > > >
> > > > On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> > > > >Sounds like a good plan.  Maybe I'll start recording all of
my
> > phone
> > > > > calls.  I'll just answer the phone, "Hello, this call is being
> > reported
> > > > for
> > > > > quality assurance and training purposes, this is Dan,
wazzzup?!?"
> > > >
> > > > Hmm, i see nobody would ever lie to you again :)
> > > >
> > > >
> > > > >
> > > > > On 4/26/07, Justin Frim <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Richard Lynch wrote:
> > > > > >
> > > > > > >[snip]
> > > > > > >Relying on Sprint, however, to honor any kind of oral
agreement,
> > is a
> > > > > > >big fat *NOT*
> > > > > > >
> > > > > > >"I'm sorry, but we just don't have any reocrd of that
> > conversation.
> > > > > > >
> > > > > > >You're now 2 weeks overdue, because that extension you claim
we
> > gave
> > > > > > >you doesn't exist."
> > > > > > >
> > > > > > >It was like a parody of the White House Watergate tapes --
> > Anything
> > > > > > >they didn't feel like honoring was just not there;  Something
> > that
> > > > had
> > > > > > >been said that they LIKED, they had a perfect record of that
> > though.
> > > > > > >[snip]
> > > > > > >
> > > > > >
> > > > > > A good old O.T. thread.  :-)
> > > > > >
> > > > > > A few months back I was trying to weed some information out of
> > Rogers
> > > > > > and Fido, but several times I was told conflicting information
> > each
> > > > time
> > > > > > I called.
> > > > > >
> > > > > > Finally I made an audio patch cable to connect my MP3
> > player/recorder
> > > > to
> > > > > > the phone and then proceeded to call Rogers again.  The
> > conversation
> > > > > > went something like this:
> > > > > >
> > > > > > -Voice mail system: "Thank you for calling Rogers
> > Wireless.  Please
> > > > stay
> > > > > > on the line and our next available agent will help you.  Note
that
> > > > your
> > > > > > call may be monitored and recorded for quality assurance and
> > training
> > > > > > purposes"... music-on-hold...
> > > > > > -Customer support: "Thank you for calling Rogers, my name is
Bob,
> > may
> > > > I
> > > > > > have your phone number starting with the area code?"
> > > > > > -Me: "I'm just letting you know that this call will be
monitored
> > and
> > > > > > recorded for quality assurance purposes"
> > > > > > *click*  MP3 recorder starts recording
> > > > > > -Customer support: "Umm okay"
> > > > > >
> > > > > > The patch cable was designed so I could also play back audio
into
> > the
> > > > > > phone, just

Re: [PHP] Re: posting variables to parent frame OT


On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:


Well, smartass, I was going to pay you a compliment and say that you're
well-versed and have a good handle on programming  for someone your age
but now, forget it!  ;-P


What does one person more or less matter if there are already 100s of
people giving you compliments?

Tijnema




On 4/26/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
> On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> >
> > You're 15 years old Tij?
>
> Wow, you were good at math right?
>
> Tijnema
> >
> >
> >
> >
> > On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:
> > > At 8:00 PM +0200 4/26/07, Tijnema ! wrote:
> > > >On 4/26/07, Robert Cummings < [EMAIL PROTECTED]> wrote:
> > > >>So we're talking around 2012? Hell, I'll be retired by then!!! ;)
> > > >>
> > > >>Cheers,
> > > >>Rob.
> > > >
> > > >You maybe, but not everyone (like me :P)
> > > >
> > > >I would love to, but well, i guess i can't stop when i'm 20 years old
:)
> > > >
> > > >Tijnema
> > >
> > >
> > > I got underwear older than that.
> > >
> > > Cheers,
> > >
> > > tedd
> > >
> > >
> > > --
> > > ---
> > > http://sperling.com  http://ancientstones.com   http://earthstones.com
> > >
> > > --
> > > PHP General Mailing List ( http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
> >
> >
> > --
> > Daniel P. Brown
> > [office] (570-) 587-7080 Ext. 272
> > [mobile] (570-) 766-8107
>



--

Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP & Text Messaging [Straying Way OT]

If your really interested in this subject try;

http://www.rcfp.org/taping/


Quoting Daniel Brown <[EMAIL PROTECTED]>:

> Interesting and being in Pennsylvania, I'm in the "all-consent"
> group but being originally from New Jersey, where I still thought it was
> law, I'm confused isn't there a Federal mandate about this as well?
>
> On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > In the US you can record your own phone calls, ingoing and outgoing?
> > Usually!!
> >
> > Most states are "one-party-consent law" states. If you live in one of
> > these, you
> > can always record your own in-state calls either openly or
> > surreptitiously,
> > since only one participant's consent is needed. Likewise, you can get
> > someone
> > else to record them for you.
> >
> > In interstate calls, it's important to check this state-by-state summary,
> > because in interstate calls, both states' laws apply, and you need to
> > apply the
> > most stringent applicable law. For example, if you live in California or
> > are
> > even just speaking to someone in California (an "all-party-consent law"
> > state),
> > you must get the other party's permission to record the call, or risk
> > having to
> > pony up $5000 in statutory damages (or three times the actual damages,
> > whichever is greater). In general, announcing your intent to record and
> > letting
> > the other party hang up if they don't like it is sufficient in all states:
> > continued participation implies consent.
> >
> > The all-party-consent law states are: California, Connecticut, Florida,
> > Illinois, Maryland, Massachusetts, Michigan, Montana, Nevada, New
> > Hampshire,
> > Pennsylvania, Washington. In Delaware, Indiana, Iowa, Missisippi, and New
> > Mexico as well, a participant may record but a non-participant may not,
> > even
> > with consent. In Vermont the law is unsettled.
> >
> > I am not a lawyer; this is not legal advice; laws change; errors happen.
> >
> > John
> > Quoting Daniel Brown <[EMAIL PROTECTED]>:
> >
> > > Yeah, but unfortunately, in the United States, you have to alert
> > someone
> > > when you're recording a telephone conversation.
> > >
> > > On 4/26/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
> > > >
> > > > On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> > > > >Sounds like a good plan.  Maybe I'll start recording all of my
> > phone
> > > > > calls.  I'll just answer the phone, "Hello, this call is being
> > reported
> > > > for
> > > > > quality assurance and training purposes, this is Dan, wazzzup?!?"
> > > >
> > > > Hmm, i see nobody would ever lie to you again :)
> > > >
> > > >
> > > > >
> > > > > On 4/26/07, Justin Frim <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Richard Lynch wrote:
> > > > > >
> > > > > > >[snip]
> > > > > > >Relying on Sprint, however, to honor any kind of oral agreement,
> > is a
> > > > > > >big fat *NOT*
> > > > > > >
> > > > > > >"I'm sorry, but we just don't have any reocrd of that
> > conversation.
> > > > > > >
> > > > > > >You're now 2 weeks overdue, because that extension you claim we
> > gave
> > > > > > >you doesn't exist."
> > > > > > >
> > > > > > >It was like a parody of the White House Watergate tapes --
> > Anything
> > > > > > >they didn't feel like honoring was just not there;  Something
> > that
> > > > had
> > > > > > >been said that they LIKED, they had a perfect record of that
> > though.
> > > > > > >[snip]
> > > > > > >
> > > > > >
> > > > > > A good old O.T. thread.  :-)
> > > > > >
> > > > > > A few months back I was trying to weed some information out of
> > Rogers
> > > > > > and Fido, but several times I was told conflicting information
> > each
> > > > time
> > > > > > I called.
> > > > > >
> > > > > > Finally I made an audio patch cable to connect my MP3
> > player/recorder
> > > > to
> > > > > > the phone and then proceeded to call Rogers again.  The
> > conversation
> > > > > > went something like this:
> > > > > >
> > > > > > -Voice mail system: "Thank you for calling Rogers
> > Wireless.  Please
> > > > stay
> > > > > > on the line and our next available agent will help you.  Note that
> > > > your
> > > > > > call may be monitored and recorded for quality assurance and
> > training
> > > > > > purposes"... music-on-hold...
> > > > > > -Customer support: "Thank you for calling Rogers, my name is Bob,
> > may
> > > > I
> > > > > > have your phone number starting with the area code?"
> > > > > > -Me: "I'm just letting you know that this call will be monitored
> > and
> > > > > > recorded for quality assurance purposes"
> > > > > > *click*  MP3 recorder starts recording
> > > > > > -Customer support: "Umm okay"
> > > > > >
> > > > > > The patch cable was designed so I could also play back audio into
> > the
> > > > > > phone, just in case they tried pulling a "we never said that"
> > denial.
> > > > > > Fortunately, in that conversation where I announced it was being
> > > > > > recorded, the customer service guy

Re: [PHP] Re: PHP & Text Messaging [Straying Way OT]


On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

If your really interested in this subject try;

http://www.rcfp.org/taping/


Does there exists such page for world-wide phone calls?

Tijnema



Quoting Daniel Brown <[EMAIL PROTECTED]>:

> Interesting and being in Pennsylvania, I'm in the "all-consent"
> group but being originally from New Jersey, where I still thought it was
> law, I'm confused isn't there a Federal mandate about this as well?
>
> On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > In the US you can record your own phone calls, ingoing and outgoing?
> > Usually!!
> >
> > Most states are "one-party-consent law" states. If you live in one of
> > these, you
> > can always record your own in-state calls either openly or
> > surreptitiously,
> > since only one participant's consent is needed. Likewise, you can get
> > someone
> > else to record them for you.
> >
> > In interstate calls, it's important to check this state-by-state summary,
> > because in interstate calls, both states' laws apply, and you need to
> > apply the
> > most stringent applicable law. For example, if you live in California or
> > are
> > even just speaking to someone in California (an "all-party-consent law"
> > state),
> > you must get the other party's permission to record the call, or risk
> > having to
> > pony up $5000 in statutory damages (or three times the actual damages,
> > whichever is greater). In general, announcing your intent to record and
> > letting
> > the other party hang up if they don't like it is sufficient in all states:
> > continued participation implies consent.
> >
> > The all-party-consent law states are: California, Connecticut, Florida,
> > Illinois, Maryland, Massachusetts, Michigan, Montana, Nevada, New
> > Hampshire,
> > Pennsylvania, Washington. In Delaware, Indiana, Iowa, Missisippi, and New
> > Mexico as well, a participant may record but a non-participant may not,
> > even
> > with consent. In Vermont the law is unsettled.
> >
> > I am not a lawyer; this is not legal advice; laws change; errors happen.
> >
> > John
> > Quoting Daniel Brown <[EMAIL PROTECTED]>:
> >
> > > Yeah, but unfortunately, in the United States, you have to alert
> > someone
> > > when you're recording a telephone conversation.
> > >
> > > On 4/26/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
> > > >
> > > > On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> > > > >Sounds like a good plan.  Maybe I'll start recording all of my
> > phone
> > > > > calls.  I'll just answer the phone, "Hello, this call is being
> > reported
> > > > for
> > > > > quality assurance and training purposes, this is Dan, wazzzup?!?"
> > > >
> > > > Hmm, i see nobody would ever lie to you again :)
> > > >
> > > >
> > > > >
> > > > > On 4/26/07, Justin Frim <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Richard Lynch wrote:
> > > > > >
> > > > > > >[snip]
> > > > > > >Relying on Sprint, however, to honor any kind of oral agreement,
> > is a
> > > > > > >big fat *NOT*
> > > > > > >
> > > > > > >"I'm sorry, but we just don't have any reocrd of that
> > conversation.
> > > > > > >
> > > > > > >You're now 2 weeks overdue, because that extension you claim we
> > gave
> > > > > > >you doesn't exist."
> > > > > > >
> > > > > > >It was like a parody of the White House Watergate tapes --
> > Anything
> > > > > > >they didn't feel like honoring was just not there;  Something
> > that
> > > > had
> > > > > > >been said that they LIKED, they had a perfect record of that
> > though.
> > > > > > >[snip]
> > > > > > >
> > > > > >
> > > > > > A good old O.T. thread.  :-)
> > > > > >
> > > > > > A few months back I was trying to weed some information out of
> > Rogers
> > > > > > and Fido, but several times I was told conflicting information
> > each
> > > > time
> > > > > > I called.
> > > > > >
> > > > > > Finally I made an audio patch cable to connect my MP3
> > player/recorder
> > > > to
> > > > > > the phone and then proceeded to call Rogers again.  The
> > conversation
> > > > > > went something like this:
> > > > > >
> > > > > > -Voice mail system: "Thank you for calling Rogers
> > Wireless.  Please
> > > > stay
> > > > > > on the line and our next available agent will help you.  Note that
> > > > your
> > > > > > call may be monitored and recorded for quality assurance and
> > training
> > > > > > purposes"... music-on-hold...
> > > > > > -Customer support: "Thank you for calling Rogers, my name is Bob,
> > may
> > > > I
> > > > > > have your phone number starting with the area code?"
> > > > > > -Me: "I'm just letting you know that this call will be monitored
> > and
> > > > > > recorded for quality assurance purposes"
> > > > > > *click*  MP3 recorder starts recording
> > > > > > -Customer support: "Umm okay"
> > > > > >
> > > > > > The patch cable was designed so I could also play back audio into
> > the
> > > > > > phone, just in case they tried pulling a "we never said that"
> > deni

Re: [PHP] Re: posting variables to parent frame OT


   Tedd,

   If you still have those old underwear, we should stick 'em up Tijnema's
nose!  :-D


On 4/26/07, Tijnema ! <[EMAIL PROTECTED]> wrote:


On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
>
> Well, smartass, I was going to pay you a compliment and say that
you're
> well-versed and have a good handle on programming  for someone your
age
> but now, forget it!  ;-P

What does one person more or less matter if there are already 100s of
people giving you compliments?

Tijnema
>
>
>
> On 4/26/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
> > On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> > >
> > > You're 15 years old Tij?
> >
> > Wow, you were good at math right?
> >
> > Tijnema
> > >
> > >
> > >
> > >
> > > On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:
> > > > At 8:00 PM +0200 4/26/07, Tijnema ! wrote:
> > > > >On 4/26/07, Robert Cummings < [EMAIL PROTECTED]> wrote:
> > > > >>So we're talking around 2012? Hell, I'll be retired by then!!!
;)
> > > > >>
> > > > >>Cheers,
> > > > >>Rob.
> > > > >
> > > > >You maybe, but not everyone (like me :P)
> > > > >
> > > > >I would love to, but well, i guess i can't stop when i'm 20 years
old
> :)
> > > > >
> > > > >Tijnema
> > > >
> > > >
> > > > I got underwear older than that.
> > > >
> > > > Cheers,
> > > >
> > > > tedd
> > > >
> > > >
> > > > --
> > > > ---
> > > > http://sperling.com  http://ancientstones.com
http://earthstones.com
> > > >
> > > > --
> > > > PHP General Mailing List ( http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Daniel P. Brown
> > > [office] (570-) 587-7080 Ext. 272
> > > [mobile] (570-) 766-8107
> >
>
>
>
> --
>
> Daniel P. Brown
> [office] (570-) 587-7080 Ext. 272
> [mobile] (570-) 766-8107





--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107


Re: [PHP] Re: PHP & Text Messaging [Straying Way OT]


   John,

   You do realize now that this thread is going to show up in Google
searches for wannabe spies, jealous spouses, lawsuit-filers, and anyone
calling Sprint Customer "Service", right?



On 4/26/07, Tijnema ! <[EMAIL PROTECTED]> wrote:


On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> If your really interested in this subject try;
>
> http://www.rcfp.org/taping/

Does there exists such page for world-wide phone calls?

Tijnema
>
>
> Quoting Daniel Brown <[EMAIL PROTECTED]>:
>
> > Interesting and being in Pennsylvania, I'm in the
"all-consent"
> > group but being originally from New Jersey, where I still thought
it was
> > law, I'm confused isn't there a Federal mandate about this as
well?
> >
> > On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > >
> > > In the US you can record your own phone calls, ingoing and outgoing?
> > > Usually!!
> > >
> > > Most states are "one-party-consent law" states. If you live in one
of
> > > these, you
> > > can always record your own in-state calls either openly or
> > > surreptitiously,
> > > since only one participant's consent is needed. Likewise, you can
get
> > > someone
> > > else to record them for you.
> > >
> > > In interstate calls, it's important to check this state-by-state
summary,
> > > because in interstate calls, both states' laws apply, and you need
to
> > > apply the
> > > most stringent applicable law. For example, if you live in
California or
> > > are
> > > even just speaking to someone in California (an "all-party-consent
law"
> > > state),
> > > you must get the other party's permission to record the call, or
risk
> > > having to
> > > pony up $5000 in statutory damages (or three times the actual
damages,
> > > whichever is greater). In general, announcing your intent to record
and
> > > letting
> > > the other party hang up if they don't like it is sufficient in all
states:
> > > continued participation implies consent.
> > >
> > > The all-party-consent law states are: California, Connecticut,
Florida,
> > > Illinois, Maryland, Massachusetts, Michigan, Montana, Nevada, New
> > > Hampshire,
> > > Pennsylvania, Washington. In Delaware, Indiana, Iowa, Missisippi,
and New
> > > Mexico as well, a participant may record but a non-participant may
not,
> > > even
> > > with consent. In Vermont the law is unsettled.
> > >
> > > I am not a lawyer; this is not legal advice; laws change; errors
happen.
> > >
> > > John
> > > Quoting Daniel Brown <[EMAIL PROTECTED]>:
> > >
> > > > Yeah, but unfortunately, in the United States, you have to
alert
> > > someone
> > > > when you're recording a telephone conversation.
> > > >
> > > > On 4/26/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> > > > > >Sounds like a good plan.  Maybe I'll start recording all of
my
> > > phone
> > > > > > calls.  I'll just answer the phone, "Hello, this call is being
> > > reported
> > > > > for
> > > > > > quality assurance and training purposes, this is Dan,
wazzzup?!?"
> > > > >
> > > > > Hmm, i see nobody would ever lie to you again :)
> > > > >
> > > > >
> > > > > >
> > > > > > On 4/26/07, Justin Frim <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > Richard Lynch wrote:
> > > > > > >
> > > > > > > >[snip]
> > > > > > > >Relying on Sprint, however, to honor any kind of oral
agreement,
> > > is a
> > > > > > > >big fat *NOT*
> > > > > > > >
> > > > > > > >"I'm sorry, but we just don't have any reocrd of that
> > > conversation.
> > > > > > > >
> > > > > > > >You're now 2 weeks overdue, because that extension you
claim we
> > > gave
> > > > > > > >you doesn't exist."
> > > > > > > >
> > > > > > > >It was like a parody of the White House Watergate tapes --
> > > Anything
> > > > > > > >they didn't feel like honoring was just not
there;  Something
> > > that
> > > > > had
> > > > > > > >been said that they LIKED, they had a perfect record of
that
> > > though.
> > > > > > > >[snip]
> > > > > > > >
> > > > > > >
> > > > > > > A good old O.T. thread.  :-)
> > > > > > >
> > > > > > > A few months back I was trying to weed some information out
of
> > > Rogers
> > > > > > > and Fido, but several times I was told conflicting
information
> > > each
> > > > > time
> > > > > > > I called.
> > > > > > >
> > > > > > > Finally I made an audio patch cable to connect my MP3
> > > player/recorder
> > > > > to
> > > > > > > the phone and then proceeded to call Rogers again.  The
> > > conversation
> > > > > > > went something like this:
> > > > > > >
> > > > > > > -Voice mail system: "Thank you for calling Rogers
> > > Wireless.  Please
> > > > > stay
> > > > > > > on the line and our next available agent will help
you.  Note that
> > > > > your
> > > > > > > call may be monitored and recorded for quality assurance and
> > > training
> > > > > > > purposes"... music-on-hold...
> > > > > > > -Customer support: "Thank you for calling Rogers, my name is
Bob,
> > > may
> > > > > I
> 

Re: [PHP] Re: posting variables to parent frame OT


On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:


Tedd,

If you still have those old underwear, we should stick 'em up Tijnema's
nose!  :-D


Hmm, if you come over to the netherlands to do that :)

Just tell me when you arrive at Schiphol (Or Groningen Airport Eelde,
lil bit closer), and i'll make sure you get in Frisian :) ( =
Somewhere in the north of the netherlands)

Tijnema




On 4/26/07, Tijnema ! < [EMAIL PROTECTED]> wrote:
> On 4/26/07, Daniel Brown < [EMAIL PROTECTED]> wrote:
> >
> > Well, smartass, I was going to pay you a compliment and say that
you're
> > well-versed and have a good handle on programming  for someone your
age
> > but now, forget it!  ;-P
>
> What does one person more or less matter if there are already 100s of
> people giving you compliments?
>
> Tijnema
> >
> >
> >
> > On 4/26/07, Tijnema ! <[EMAIL PROTECTED] > wrote:
> > > On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> > > >
> > > > You're 15 years old Tij?
> > >
> > > Wow, you were good at math right?
> > >
> > > Tijnema
> > > >
> > > >
> > > >
> > > >
> > > > On 4/26/07, tedd <[EMAIL PROTECTED]> wrote:
> > > > > At 8:00 PM +0200 4/26/07, Tijnema ! wrote:
> > > > > >On 4/26/07, Robert Cummings < [EMAIL PROTECTED]> wrote:
> > > > > >>So we're talking around 2012? Hell, I'll be retired by then!!!
;)
> > > > > >>
> > > > > >>Cheers,
> > > > > >>Rob.
> > > > > >
> > > > > >You maybe, but not everyone (like me :P)
> > > > > >
> > > > > >I would love to, but well, i guess i can't stop when i'm 20 years
old
> > :)
> > > > > >
> > > > > >Tijnema
> > > > >
> > > > >
> > > > > I got underwear older than that.
> > > > >
> > > > > Cheers,
> > > > >
> > > > > tedd
> > > > >
> > > > >
> > > > > --
> > > > > ---
> > > > > http://sperling.com  http://ancientstones.com
http://earthstones.com
> > > > >
> > > > > --
> > > > > PHP General Mailing List ( http://www.php.net/)
> > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Daniel P. Brown
> > > > [office] (570-) 587-7080 Ext. 272
> > > > [mobile] (570-) 766-8107
> > >
> >
> >
> >
> > --
> >
> > Daniel P. Brown
> > [office] (570-) 587-7080 Ext. 272
> > [mobile] (570-) 766-8107
>



--

Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP & Text Messaging [Straying Way OT]

The power of the Internet, free speach & freedom information at work!!

Quoting Daniel Brown <[EMAIL PROTECTED]>:

> John,
>
> You do realize now that this thread is going to show up in Google
> searches for wannabe spies, jealous spouses, lawsuit-filers, and anyone
> calling Sprint Customer "Service", right?
>
>
>
> On 4/26/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
> >
> > On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > If your really interested in this subject try;
> > >
> > > http://www.rcfp.org/taping/
> >
> > Does there exists such page for world-wide phone calls?
> >
> > Tijnema
> > >
> > >
> > > Quoting Daniel Brown <[EMAIL PROTECTED]>:
> > >
> > > > Interesting and being in Pennsylvania, I'm in the
> > "all-consent"
> > > > group but being originally from New Jersey, where I still thought
> > it was
> > > > law, I'm confused isn't there a Federal mandate about this as
> > well?
> > > >
> > > > On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > In the US you can record your own phone calls, ingoing and outgoing?
> > > > > Usually!!
> > > > >
> > > > > Most states are "one-party-consent law" states. If you live in one
> > of
> > > > > these, you
> > > > > can always record your own in-state calls either openly or
> > > > > surreptitiously,
> > > > > since only one participant's consent is needed. Likewise, you can
> > get
> > > > > someone
> > > > > else to record them for you.
> > > > >
> > > > > In interstate calls, it's important to check this state-by-state
> > summary,
> > > > > because in interstate calls, both states' laws apply, and you need
> > to
> > > > > apply the
> > > > > most stringent applicable law. For example, if you live in
> > California or
> > > > > are
> > > > > even just speaking to someone in California (an "all-party-consent
> > law"
> > > > > state),
> > > > > you must get the other party's permission to record the call, or
> > risk
> > > > > having to
> > > > > pony up $5000 in statutory damages (or three times the actual
> > damages,
> > > > > whichever is greater). In general, announcing your intent to record
> > and
> > > > > letting
> > > > > the other party hang up if they don't like it is sufficient in all
> > states:
> > > > > continued participation implies consent.
> > > > >
> > > > > The all-party-consent law states are: California, Connecticut,
> > Florida,
> > > > > Illinois, Maryland, Massachusetts, Michigan, Montana, Nevada, New
> > > > > Hampshire,
> > > > > Pennsylvania, Washington. In Delaware, Indiana, Iowa, Missisippi,
> > and New
> > > > > Mexico as well, a participant may record but a non-participant may
> > not,
> > > > > even
> > > > > with consent. In Vermont the law is unsettled.
> > > > >
> > > > > I am not a lawyer; this is not legal advice; laws change; errors
> > happen.
> > > > >
> > > > > John
> > > > > Quoting Daniel Brown <[EMAIL PROTECTED]>:
> > > > >
> > > > > > Yeah, but unfortunately, in the United States, you have to
> > alert
> > > > > someone
> > > > > > when you're recording a telephone conversation.
> > > > > >
> > > > > > On 4/26/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> > > > > > > >Sounds like a good plan.  Maybe I'll start recording all of
> > my
> > > > > phone
> > > > > > > > calls.  I'll just answer the phone, "Hello, this call is being
> > > > > reported
> > > > > > > for
> > > > > > > > quality assurance and training purposes, this is Dan,
> > wazzzup?!?"
> > > > > > >
> > > > > > > Hmm, i see nobody would ever lie to you again :)
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > > On 4/26/07, Justin Frim <[EMAIL PROTECTED]> wrote:
> > > > > > > > >
> > > > > > > > > Richard Lynch wrote:
> > > > > > > > >
> > > > > > > > > >[snip]
> > > > > > > > > >Relying on Sprint, however, to honor any kind of oral
> > agreement,
> > > > > is a
> > > > > > > > > >big fat *NOT*
> > > > > > > > > >
> > > > > > > > > >"I'm sorry, but we just don't have any reocrd of that
> > > > > conversation.
> > > > > > > > > >
> > > > > > > > > >You're now 2 weeks overdue, because that extension you
> > claim we
> > > > > gave
> > > > > > > > > >you doesn't exist."
> > > > > > > > > >
> > > > > > > > > >It was like a parody of the White House Watergate tapes --
> > > > > Anything
> > > > > > > > > >they didn't feel like honoring was just not
> > there;  Something
> > > > > that
> > > > > > > had
> > > > > > > > > >been said that they LIKED, they had a perfect record of
> > that
> > > > > though.
> > > > > > > > > >[snip]
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > A good old O.T. thread.  :-)
> > > > > > > > >
> > > > > > > > > A few months back I was trying to weed some information out
> > of
> > > > > Rogers
> > > > > > > > > and Fido, but several times I was told conflicting
> > information
> > > > > each
> > > > > > > time
> > > > > > > > > I called.
> > > > > > > > >
> > > > >

Re: [PHP] IE and cookie issues in PHP app


On 4/26/07, Dave Goodchild <[EMAIL PROTECTED]> wrote:

Hi all. I have built an online events directory in php (
http://dontjustsitthere.co.uk) where people can find local events and also
post their events. The app is composed of a single page, index.php, that
generates different content depending on the parameters passed to it and
uses sessions for persistence.

I have had nothing but pain with IE6 with this, I don't use any third-party
cookies and one issue was resolved by using this line at the top of the
page:

ini_set('session.name', 'couchy');
session_start();


Why do you have cookies in your title, and you're using sessions?
These are different things...


To post an event, the first form processes the category and postcode of the
event plus a captcha field. The fields are validated and cleaned and then
passed into $_SESSION.

On the next stage I perform a cookie check, and if there are issues warn the
user. This has been happening to every IE6 user, they can't get past the
first page - so that means that $_SESSION['category'] and
$_SESSION['postcode'] are not being populated.


Maybe some code could help us determine the real problem, with this
text description, there could be 100+ different codes that could fit,
and maybe some work with IE6, and some don't.


I thought I had this nailed but it's rearing it's butt-ugly head again.
Anyone aware of the probable cause of this?



IE6 is full of sh*t, I had a lot of trouble with it lately too, seems
that it doesn't handle all RFC/W3C standards
But as i said before, we can't do anything without your code :)

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Uploaded file

Hi,
How do I pass an uploaded file, from a form, to a class?

I have a file type on the form called file.

The variable $file is fine in my php code, can be used normally.

But, I want to pass it to a class then manipulate the file, but it does not 
work.

$cMyClass->fnManipulateFile($file);

the function fnManipulateFile gets $file only as the path the file was 
temporarily uploaded to (tmp/98rsof398)
but the other variables are blank, such as $file_name.

is it possible to do this? or do I have to pass each one, like $file_name, 
$file_size, etc.?

Thanks,
Chris

Re: [PHP] Re: posting variables to parent frame OT

On Thu, 2007-04-26 at 20:49 +0200, Tijnema ! wrote:
> On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> >
> > Tedd,
> >
> > If you still have those old underwear, we should stick 'em up Tijnema's
> > nose!  :-D
> 
> Hmm, if you come over to the netherlands to do that :)
> 
> Just tell me when you arrive at Schiphol (Or Groningen Airport Eelde,
> lil bit closer), and i'll make sure you get in Frisian :) ( =
> Somewhere in the north of the netherlands)

Careful guys, I think Tij might be a sexual predator :/ he's trying to
lure you away... to his place!!

;)

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame OT


   Yeah, I heard the Netherlands was really loose with their laws on this
kind of thing ;-P

On 4/26/07, Robert Cummings <[EMAIL PROTECTED]> wrote:


On Thu, 2007-04-26 at 20:49 +0200, Tijnema ! wrote:
> On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> >
> > Tedd,
> >
> > If you still have those old underwear, we should stick 'em up
Tijnema's
> > nose!  :-D
>
> Hmm, if you come over to the netherlands to do that :)
>
> Just tell me when you arrive at Schiphol (Or Groningen Airport Eelde,
> lil bit closer), and i'll make sure you get in Frisian :) ( =
> Somewhere in the north of the netherlands)

Careful guys, I think Tij might be a sexual predator :/ he's trying to
lure you away... to his place!!

;)

Cheers,
Rob.
--
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'





--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107


Re: [PHP] Re: posting variables to parent frame OT


On 4/26/07, Robert Cummings <[EMAIL PROTECTED]> wrote:

On Thu, 2007-04-26 at 20:49 +0200, Tijnema ! wrote:
> On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> >
> > Tedd,
> >
> > If you still have those old underwear, we should stick 'em up Tijnema's
> > nose!  :-D
>
> Hmm, if you come over to the netherlands to do that :)
>
> Just tell me when you arrive at Schiphol (Or Groningen Airport Eelde,
> lil bit closer), and i'll make sure you get in Frisian :) ( =
> Somewhere in the north of the netherlands)

Careful guys, I think Tij might be a sexual predator :/ he's trying to
lure you away... to his place!!

;)

Cheers,
Rob.


Hmm, predator... LOL, sexual NO, the rest... YES, sure, who
doesn't want to live in the netherlands??

Much better then the US :)

No extreme idiots who kill half of a school

Laws, there are laws of course, but ignoring some laws doesn't mean
you get caught by the cops :) Cops are too stupid in the netherlands,
they are running on the street, and not watching the web

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame OT


On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:


Yeah, I heard the Netherlands was really loose with their laws on this
kind of thing ;-P


Yeah, the cops are walking on the street :) not surfing on the web,...

Tijnema


On 4/26/07, Robert Cummings < [EMAIL PROTECTED]> wrote:
> On Thu, 2007-04-26 at 20:49 +0200, Tijnema ! wrote:
> > On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> > >
> > > Tedd,
> > >
> > > If you still have those old underwear, we should stick 'em up
Tijnema's
> > > nose!  :-D
> >
> > Hmm, if you come over to the netherlands to do that :)
> >
> > Just tell me when you arrive at Schiphol (Or Groningen Airport Eelde,
> > lil bit closer), and i'll make sure you get in Frisian :) ( =
> > Somewhere in the north of the netherlands)
>
> Careful guys, I think Tij might be a sexual predator :/ he's trying to
> lure you away... to his place!!
>
> ;)
>
> Cheers,
> Rob.
> --
>
..
> | InterJinn Application Framework - http://www.interjinn.com |
>
::
> | An application and templating framework for PHP. Boasting  |
> | a powerful, scalable system for accessing system services  |
> | such as forms, properties, sessions, and caches. InterJinn |
> | also provides an extremely flexible architecture for   |
> | creating re-usable components quickly and easily.  |
>
`'
>
>



--

Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Uploaded file


PHP wrote:

How do I pass an uploaded file, from a form, to a class?

I have a file type on the form called file.

The variable $file is fine in my php code, can be used normally.

But, I want to pass it to a class then manipulate the file, but it does not 
work.

$cMyClass->fnManipulateFile($file);

the function fnManipulateFile gets $file only as the path the file was 
temporarily uploaded to (tmp/98rsof398)
but the other variables are blank, such as $file_name.

is it possible to do this? or do I have to pass each one, like $file_name, 
$file_size, etc.?


Read this before posting here: http://php.net/features.file-upload

[yes, it's called the manual]

-Stut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Opening file


Hi list,

I have been trying to make "printer friendly version" feature for a
web site and have encountered a problem. Each page of the web site is
composed of a header.php, footer.php and the content of the page which
uses "include_once" to include the above mentioned pages. I have tried
all known methods of reading the file I want to have "printer friendly
version" for, but all of them return a complete page (page with code
of footer.php and header.php included, and not the original).

So, here is what I get:
***

aaa

some content here


***

And what I need is:
***

some content here

***

After I get the original code I can exclude the "include" php tags and
print only the main content.

So, the question is: is there any way (except for FTP functions) to
solve this?

Thank you.

Best regards,
Ed

--
http://www.freenet.am/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame OT


On 4/26/07, Robert Cummings <[EMAIL PROTECTED]> wrote:

On Thu, 2007-04-26 at 21:02 +0200, Tijnema ! wrote:
> On 4/26/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > On Thu, 2007-04-26 at 20:49 +0200, Tijnema ! wrote:
> > > On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Tedd,
> > > >
> > > > If you still have those old underwear, we should stick 'em up 
Tijnema's
> > > > nose!  :-D
> > >
> > > Hmm, if you come over to the netherlands to do that :)
> > >
> > > Just tell me when you arrive at Schiphol (Or Groningen Airport Eelde,
> > > lil bit closer), and i'll make sure you get in Frisian :) ( =
> > > Somewhere in the north of the netherlands)
> >
> > Careful guys, I think Tij might be a sexual predator :/ he's trying to
> > lure you away... to his place!!
> >
> > ;)
> >
> > Cheers,
> > Rob.
>
> Hmm, predator... LOL, sexual NO, the rest... YES, sure, who
> doesn't want to live in the netherlands??
>
> Much better then the US :)

I'm in Canada... everyone knows Canada is the best country in the
world :) Unless those conservatives do something dumb like make our
copyright/patent laws look like the ridiculous U.S. laws.


I guess we can discuss for hours what the best country is, i just
can't agree that Canada is the best country :P


> No extreme idiots who kill half of a school

There's extremists in every country. The Netherlands has a tiny
population in comparison to the U.S. Unfortunately, this kind of thing,
fear, I is just the tip of a 21st century iceberg :(


Might be, but just because US is so "important" it is also a target
for terrorists, what i called as example has of course nothing to do
with US itself, but 9-11 has :P
It guess that Bush is the biggest problem, look at the Iraq war for example.


> Laws, there are laws of course, but ignoring some laws doesn't mean
> you get caught by the cops :)

It also doesn't mean you don't get caught ;)


I can't really make a comment about it on this list, but you probably
know what i wanted to say. If not, contact me off list :P



> Cops are too stupid in the netherlands,

Are you going to be a cop when you grow up? *grin* While some cops may
be stupid, your over generalization does no justice to your
intelligence.

> they are running on the street, and not watching the web

Well at least they'll stay in shape... hard to eat doughnuts while
running :D

Cheers,
Rob.


That's true, but that also means that hackers can do a lot of stuff
without getting caught

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Find MAC Address in PHP


chris smith wrote:

On 4/25/07, Nathaniel Hall <[EMAIL PROTECTED]> wrote:

Davi wrote:
> Em Domingo 22 Abril 2007 03:12, Richard Lynch escreveu:
>
>> On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote:
>>
>>> 
>>> does not give me any
>>> output.  I have copied arp to a place that the apache user can 
execute

>>> from and ensured arp is executable.
>>>
>> Use exec and the extra args to get error codes.
>>
>
> ARP is a root-command... =]
>
>
>> Can you run 'arp' and get what you want from command line?
>>
>
> As web-user? No.
>
>
>> Can you 'su' to PHP user and *then* run it and get what you want?
>>
>
> Hum... Not at all... You need to enter the root password... How can 
you do

> that?
> sudo sounds a little better... But... How about security?

I know it can be done because I have a Fedora Core 4 system doing it
right now.  I didn't have to do anything special for it to work.  The
system I am working on now is a Fedora Core 6 box.  In /var/log/messages
I receive:

Apr 24 09:33:51 STUAUTH kernel: audit(1177425231.020:114): avc:  denied
{ execute } for  pid=31786 comm="httpd" name="bash" dev=dm-0 ino=916642
scontext=root:system_r:httpd_t:s0
tcontext=system_u:object_r:shell_exec_t:s0 tclass=file


If fixing up selinux doesn't work then look in to using 'sudo'. The
manpage(s) show examples about how to set it up to allow specific
commands to be run without a password.



Thanks for everybody's help.  I have narrowed the problem down to 
SELinux.  Once I disabled SELinux the arp command works fine.  I'm now 
in the process of making it where SELinux can remain on while allowing 
PHP to execute the command.  Thanks a lot.


--
Nathaniel Hall, GSEC GCFW GCIA GCIH GCFA

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: posting variables to parent frame OT

On Thu, 2007-04-26 at 21:02 +0200, Tijnema ! wrote:
> On 4/26/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > On Thu, 2007-04-26 at 20:49 +0200, Tijnema ! wrote:
> > > On 4/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Tedd,
> > > >
> > > > If you still have those old underwear, we should stick 'em up 
> > > > Tijnema's
> > > > nose!  :-D
> > >
> > > Hmm, if you come over to the netherlands to do that :)
> > >
> > > Just tell me when you arrive at Schiphol (Or Groningen Airport Eelde,
> > > lil bit closer), and i'll make sure you get in Frisian :) ( =
> > > Somewhere in the north of the netherlands)
> >
> > Careful guys, I think Tij might be a sexual predator :/ he's trying to
> > lure you away... to his place!!
> >
> > ;)
> >
> > Cheers,
> > Rob.
> 
> Hmm, predator... LOL, sexual NO, the rest... YES, sure, who
> doesn't want to live in the netherlands??
> 
> Much better then the US :)

I'm in Canada... everyone knows Canada is the best country in the
world :) Unless those conservatives do something dumb like make our
copyright/patent laws look like the ridiculous U.S. laws.

> No extreme idiots who kill half of a school

There's extremists in every country. The Netherlands has a tiny
population in comparison to the U.S. Unfortunately, this kind of thing,
fear, I is just the tip of a 21st century iceberg :(

> Laws, there are laws of course, but ignoring some laws doesn't mean
> you get caught by the cops :)

It also doesn't mean you don't get caught ;)

> Cops are too stupid in the netherlands,

Are you going to be a cop when you grow up? *grin* While some cops may
be stupid, your over generalization does no justice to your
intelligence.

> they are running on the street, and not watching the web

Well at least they'll stay in shape... hard to eat doughnuts while
running :D

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Uploaded file


On 4/26/07, PHP <[EMAIL PROTECTED]> wrote:

Hi,
How do I pass an uploaded file, from a form, to a class?

I have a file type on the form called file.

The variable $file is fine in my php code, can be used normally.

But, I want to pass it to a class then manipulate the file, but it does not 
work.

$cMyClass->fnManipulateFile($file);

the function fnManipulateFile gets $file only as the path the file was 
temporarily uploaded to (tmp/98rsof398)
but the other variables are blank, such as $file_name.

is it possible to do this? or do I have to pass each one, like $file_name, 
$file_size, etc.?

Thanks,
Chris


You should move your uploaded file first with the move_uploaded_file
function, and then perform actions on it :)

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



  1   2   >