[PHP] single sign on Solution php and .net

2007-04-27 Thread Murtaza Chang
Hi, me and my fellow developer have built two applications that need to authenticate users using LDAP, we have successfully accomplished it, but the problem is his application is in .net and mine is in php, my php app needs to call secure pages of .net and vice versa, now when the user is logged o

[PHP] *SOLVED* Need to POST multiple values with single name

2007-04-27 Thread Maxim . Sedelnikov
Thanks to all. I've solved the problem with 'http_post_data()': $data=array('aaa1' => '2', 'bbb2' => ''); $mult='licenses=lic1&licenses=lic2'; $http_response=http_post_data($url,http_build_str($data).'&'.$mult,$opt); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

[PHP] Script feedback: insert string into another string

2007-04-27 Thread Micky Hulse
Hi, I pieced-together a script that will insert a string into another string at a set interval of words... See here: [Click the "view source" link to view source.] :D Basically, I need a setup a page where my client can paste an articl

[PHP] Re: how to detect type of image

2007-04-27 Thread Tim
On 21.04.2007 12:45, Alain Roger wrote: Hi, In my web application, end user is able to load images (png, jpeg, gif,..) into database. I would like to know how can i detect automatically the type of image (pnd, jpeg,...) ? i do not want to check the extension because this is easily faked... just

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

2007-04-27 Thread Tijnema !
On 4/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Thu, April 26, 2007 7:14 am, 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 d

Re: [PHP] problem with shared object file

2007-04-27 Thread Tijnema !
On 4/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Thu, April 26, 2007 5:48 am, 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.s

Re: [PHP] Re: Make eclipse-php recognise custom extension as php ?

2007-04-27 Thread Tijnema !
On 4/27/07, Don Don <[EMAIL PROTECTED]> wrote: Hi Roberto, i tried out your tip, it does work but it looses the syntax highlighting functionality. Is there anyway I can make the new extension open up its contents with syntax and other php oriented functionalities ? Cheers I have no knowled

Re: [PHP] Re: Make eclipse-php recognise custom extension as php ? [SOLVED]

2007-04-27 Thread Don Don
Hi Roberto, I finally made it to work by using the content-type option in adition to your earlier tip. I did this Windows -> Preferences -> Content Types -> i clicked on text in the top box -> and selected -> PHP Source file , then added my custom extension below. The new custom extension

Re: [PHP] Re: Make eclipse-php recognise custom extension as php ?

2007-04-27 Thread Don Don
Hi Roberto, i tried out your tip, it does work but it looses the syntax highlighting functionality. Is there anyway I can make the new extension open up its contents with syntax and other php oriented functionalities ? Cheers Roberto Mansfield <[EMAIL PROTECTED]> wrote: Don Don wrote: >

Re: [PHP] Server side speech

2007-04-27 Thread Robert Cummings
On Fri, 2007-04-27 at 15:44 -0500, Richard Lynch wrote: > On Wed, April 25, 2007 7:10 pm, Robert Cummings wrote: > > On Wed, 2007-04-25 at 16:26 -0500, Richard Lynch wrote: > >> On Wed, April 25, 2007 3:27 pm, Daniel Brown wrote: > >> > That's fine if you can find a shared host (as the OP state

Re: [PHP] Parsing CSV files

2007-04-27 Thread Todd Cary
Many thanks! I must be losing my eyesight! There it is and it works as expected...great. Todd Richard Lynch wrote: On Thu, April 26, 2007 3:39 pm, Todd Cary wrote: Is there a function that can parse a comma delimited file into an array? fgetcsv should work... -- Ariste Sof

Re: [PHP] Need to POST multiple values with single name

2007-04-27 Thread Daniel Brown
I'm guessing that the OP stated he needs to use keys I was actually just responding with what I read from your email, because the original post didn't come through. In which case, pay no attention to the man behind the curtain! On 4/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On

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

2007-04-27 Thread Richard Lynch
On Thu, April 26, 2007 7:14 am, 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, >> >

Re: [PHP] Need to POST multiple values with single name

2007-04-27 Thread Richard Lynch
On Fri, April 27, 2007 2:30 pm, Daniel Brown wrote: > For that matter, you don't even need the keys If you need the keys, you need the keys... :-) There have been cases where I wanted the key and the value transmitted as a pair. -- Some people have a "gift" link here. Know what I want?

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

2007-04-27 Thread tg-php
In my data scrubbing function, I pass it a content type (phone, city, SSN, etc), do whatever scrubbing/filtering I'm going to do on that type of content, then after everything's done, then I do the mysql_real_escape_string() on it and return that to where the function was called. That way, ever

Re: [PHP] Parsing CSV files

2007-04-27 Thread Richard Lynch
On Fri, April 27, 2007 2:44 pm, Tijnema ! wrote: > On 4/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote: >> On Fri, April 27, 2007 1:58 pm, Tijnema ! wrote: >> > There are more interesting things to do than updating >> documentation ;) >> > >> > I was wanting to extend the CURLOPT_ constants, but it

Re: [PHP] slow performance

2007-04-27 Thread Richard Lynch
On Thu, April 26, 2007 5:53 am, Robin Vickery wrote: > 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

Re: [PHP] Server side speech

2007-04-27 Thread Richard Lynch
On Wed, April 25, 2007 7:10 pm, Robert Cummings wrote: > On Wed, 2007-04-25 at 16:26 -0500, Richard Lynch wrote: >> On Wed, April 25, 2007 3:27 pm, Daniel Brown wrote: >> > That's fine if you can find a shared host (as the OP states >> he's >> > using) >> > that's willing to install it on their

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

2007-04-27 Thread Richard Lynch
On Thu, April 26, 2007 4:02 am, Sebe wrote: > 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 th

Re: [PHP] Fwd: php + db2

2007-04-27 Thread Richard Lynch
On Thu, April 26, 2007 4:46 am, Javier Ruiz wrote: > 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 or

Re: [PHP] define() an array?

2007-04-27 Thread Richard Lynch
On Thu, April 26, 2007 5:43 am, Tijnema ! wrote: > 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 o

Re: [PHP] problem with shared object file

2007-04-27 Thread Richard Lynch
On Thu, April 26, 2007 5:48 am, 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 > objec

Re: [PHP] Uploaded file

2007-04-27 Thread Richard Lynch
On Thu, April 26, 2007 2:08 pm, Stut wrote: > 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 f

Re: [PHP] Opening file

2007-04-27 Thread Richard Lynch
On Thu, April 26, 2007 2:19 pm, ed gregory wrote: > > 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_onc

Re: [PHP] Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-27 Thread Richard Lynch
On Fri, April 27, 2007 11:00 am, Daniel Brown wrote: > Even beyond the scope of what this small project will be, I was > thinking > (for once!) that it probably will not be too horribly difficult to > incorporate some code into PHP itself that would allow functions such > as > text2wav(), et

Re: [PHP] Parsing CSV files

2007-04-27 Thread Tijnema !
On 4/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Fri, April 27, 2007 1:58 pm, Tijnema ! wrote: > There are more interesting things to do than updating documentation ;) > > I was wanting to extend the CURLOPT_ constants, but it seemed that > nobody had interest in that, so i didn't ... I b

Re: [PHP] Another SYSTEM Function Question

2007-04-27 Thread Nathaniel Hall
Richard Lynch wrote: On Thu, April 26, 2007 3:27 pm, Nathaniel Hall wrote: The command I am running is system("arp " . $_SERVER['REMOTE_ADDR'] . See also: http://php.net/exec Thanks to all for you help. I apparently missed that exec was the proper function to use for what I am wantin

Re: [PHP] Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-27 Thread Richard Lynch
On Thu, April 26, 2007 2:53 pm, Daniel Brown wrote: > As a result of an ongoing thread, I am launching a project that > should > allow users on shared hosting accounts and other restricted Unix-like > hosting systems to utilize text-to-speech synthesis, primarily the > Festival > TTS engine. T

Re: [PHP] Changing Session Timeout

2007-04-27 Thread Aaron Axelsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Everything i've read in the documentation states to call session_start after you have changed your necessary settings. Do you have a working example using session cookies I can compare this with? Richard Lynch wrote: > On Fri, April 27, 2007 1:37 pm

Re: [PHP] Another SYSTEM Function Question

2007-04-27 Thread Richard Lynch
On Thu, April 26, 2007 3:27 pm, Nathaniel Hall wrote: > The command I am running is system("arp " . $_SERVER['REMOTE_ADDR'] . See also: http://php.net/exec -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch

Re: [PHP] Parsing CSV files

2007-04-27 Thread Richard Lynch
On Fri, April 27, 2007 1:58 pm, Tijnema ! wrote: > There are more interesting things to do than updating documentation ;) > > I was wanting to extend the CURLOPT_ constants, but it seemed that > nobody had interest in that, so i didn't ... I believe the issue here is that having the constants with

Re: [PHP] Parsing CSV files

2007-04-27 Thread Richard Lynch
On Fri, April 27, 2007 9:45 am, Daniel Brown wrote: > Maybe the PHP site itself should be Wiki-fied so that we could > just go > in ourselves and fix the errors. I don't see that happening any time > soon > though Gah. php.net as a Wikki would be a nightmare... If you *really* want to f

Re: [PHP] Need to POST multiple values with single name

2007-04-27 Thread Daniel Brown
For that matter, you don't even need the keys \n"; } exit; } ?> One Two Three Four Five Six Seven Eight Nine Ten On 4/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Fri, April 27, 2007 3:02 am, [EMAIL PROTECTED] wrote: > Need to POST multiple values with single name. > > E

Re: [PHP] Parsing CSV files

2007-04-27 Thread Richard Lynch
On Thu, April 26, 2007 3:39 pm, Todd Cary wrote: > Is there a function that can parse a comma delimited file into an > array? fgetcsv should work... -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah

Re: [PHP] Changing Session Timeout

2007-04-27 Thread Richard Lynch
On Fri, April 27, 2007 1:37 pm, tedd wrote: > At 12:26 PM -0500 4/27/07, Aaron Axelsen wrote: >>With the following set, its still timing me out. I logged in and >>waited about 40 minutes, and it was timed out by then. This is >>getting very confusing, what else could it be that is causing this to

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

2007-04-27 Thread Justin Frim
Tijnema ! wrote: [snip] Should you create a header that is 1600 width, and resize it down until 800 when a user with 800x600 visits? and all images used at borders and corners? That's the biggest problem in dynamic layouts. Atm, i repeat small images around the borders, but that's a real pain in

Re: [PHP] Changing Session Timeout

2007-04-27 Thread Richard Lynch
On Fri, April 27, 2007 12:26 pm, Aaron Axelsen wrote: > With the following set, its still timing me out. I logged in and > waited about 40 minutes, and it was timed out by then. This is > getting very confusing, what else could it be that is causing this to > not work? The usual suspcect is that

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

2007-04-27 Thread Justin Frim
Tijnema ! wrote: I guess the same can be done with ... But the main problem is that there's no real standard for resolution. I see people having resolution set at 800x600, and 1600x200, how is it ever possible to make a page look good at both? Resizing it to 1600x1200 would give you an enormous p

Re: [PHP] explode in mysql query

2007-04-27 Thread Richard Lynch
On Fri, April 27, 2007 1:33 am, Sebe wrote: > i have a mysql column that looks like this: > > groups > --- > 12,7,10,6,14,11,2 > > is it possible to select the row if `groups` contain 7 or 14? > trying to avoid running two queries and running explode() on it. > > i don't remember but i thought

Re: [PHP] Need to POST multiple values with single name

2007-04-27 Thread Richard Lynch
On Fri, April 27, 2007 3:02 am, [EMAIL PROTECTED] wrote: > Need to POST multiple values with single name. > > Ex. > -55751342416306771991025074398 > Content-Disposition: form-data; name="licenses" > > lic1 > -55751342416306771991025074398 > Co

Re: [PHP] Parsing CSV files

2007-04-27 Thread Tijnema !
On 4/27/07, Stut <[EMAIL PROTECTED]> wrote: Tijnema ! wrote: > On 4/27/07, Stut <[EMAIL PROTECTED]> wrote: >> Tijnema ! wrote: >> > On 4/27/07, Stut <[EMAIL PROTECTED]> wrote: >> >> Daniel Brown wrote: >> >> >Maybe the PHP site itself should be Wiki-fied so that we could >> >> just go >> >> >

Re: [PHP] No mail() function

2007-04-27 Thread Tijnema !
On 4/27/07, Stut <[EMAIL PROTECTED]> wrote: Miles Thompson wrote: > Does anyone have any ideas? > > PHP 5.2 was compiled from source, the mail path is set to /usr/sbin/postfix > in php.ini, and Apache has been restarted. The mail path shows up in > phpinfo(). > > A trivial PHP script, written to

Re: [PHP] No mail() function

2007-04-27 Thread Stut
Miles Thompson wrote: Does anyone have any ideas? PHP 5.2 was compiled from source, the mail path is set to /usr/sbin/postfix in php.ini, and Apache has been restarted. The mail path shows up in phpinfo(). A trivial PHP script, written to see if mail could be sent from PHP, returns this error:

Re: [PHP] Changing Session Timeout

2007-04-27 Thread Tijnema !
On 4/27/07, tedd <[EMAIL PROTECTED]> wrote: At 12:26 PM -0500 4/27/07, Aaron Axelsen wrote: >With the following set, its still timing me out. I logged in and >waited about 40 minutes, and it was timed out by then. This is >getting very confusing, what else could it be that is causing this to >n

Re: [PHP] Changing Session Timeout

2007-04-27 Thread tedd
At 12:26 PM -0500 4/27/07, Aaron Axelsen wrote: With the following set, its still timing me out. I logged in and waited about 40 minutes, and it was timed out by then. This is getting very confusing, what else could it be that is causing this to not work? session_name('myapp'); $mytimeout = 1

[PHP] No mail() function

2007-04-27 Thread Miles Thompson
Does anyone have any ideas? PHP 5.2 was compiled from source, the mail path is set to /usr/sbin/postfix in php.ini, and Apache has been restarted. The mail path shows up in phpinfo(). A trivial PHP script, written to see if mail could be sent from PHP, returns this error: *Fatal error*: Call t

[PHP] Re: Make eclipse-php recognise custom extension as php ?

2007-04-27 Thread Roberto Mansfield
Don Don wrote: > Hi all, i've changed my server's apache config to recognize my custom > extension for php files. And all my development filenames now come > with this new extension. > > However my IDE (Php Eclipse) will not recognise this new extension as > a php file, even though it opens it up

Re: [PHP] Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-27 Thread Daniel Brown
Okay, anyone interested in joining the project can subscribe to the official mailing list (sounds fancy!) set up for the project at: http://isawit.com/mailman/listinfo/php-vox I'm looking forward to getting into discussions and debates, and getting the project off the ground. On 4

Re: [PHP] Changing Session Timeout

2007-04-27 Thread Aaron Axelsen
With the following set, its still timing me out. I logged in and waited about 40 minutes, and it was timed out by then. This is getting very confusing, what else could it be that is causing this to not work? session_name('myapp'); $mytimeout = 180 * 60; // minutes * 60 session_set_cookie_param

[PHP] Re: PHP & Text Messaging

2007-04-27 Thread Michelle Konzack
Am 2007-04-25 09:28:54, schrieb tedd: > That's a good idea. But, do you create an entry for every someone or > is there a way to use suffixes or something? The "Authorities for Regulation of Telecommunication" can provide you with a list of national prefixes since they are open. If you have cust

Re: [PHP] Changing Session Timeout

2007-04-27 Thread Aaron Axelsen
I now have the following settings: session_name('myapp'); $mytimeout = 180 * 60; // minutes * 60 session_set_cookie_params($mytimeout); $sessdir = ini_get('session.save_path')."/myapp"; if (!is_dir($sessdir)) { mkdir($sessdir, 0777); } ini_set('session.save_path', $sessdir); // New Attempt sess

Re: [PHP] Parsing CSV files

2007-04-27 Thread Stut
Tijnema ! wrote: On 4/27/07, Stut <[EMAIL PROTECTED]> wrote: Tijnema ! wrote: > On 4/27/07, Stut <[EMAIL PROTECTED]> wrote: >> Daniel Brown wrote: >> >Maybe the PHP site itself should be Wiki-fied so that we could >> just go >> > in ourselves and fix the errors. I don't see that happening a

RE: [PHP] Opening file

2007-04-27 Thread Jay Blanchard
[snip] I have been trying to make "printer friendly version" feature for a web site [/snip] Use CSS to control what prints. http://www.google.com/search?hl=en&q=printing+with+CSS -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parsing CSV files

2007-04-27 Thread Tijnema !
On 4/27/07, Stut <[EMAIL PROTECTED]> wrote: Tijnema ! wrote: > On 4/27/07, Stut <[EMAIL PROTECTED]> wrote: >> Daniel Brown wrote: >> >Maybe the PHP site itself should be Wiki-fied so that we could >> just go >> > in ourselves and fix the errors. I don't see that happening any >> time soon >>

Re: [PHP] Changing Session Timeout

2007-04-27 Thread Tijnema !
On 4/27/07, Aaron Axelsen <[EMAIL PROTECTED]> wrote: I now have the following settings: session_name('myapp'); $mytimeout = 180 * 60; // minutes * 60 session_set_cookie_params($mytimeout); $sessdir = ini_get('session.save_path')."/myapp"; if (!is_dir($sessdir)) { mkdir($sessdir, 0777); } ini_s

Re: [PHP] Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-27 Thread Tijnema !
On 4/27/07, Daniel Brown <[EMAIL PROTECTED]> wrote: Even beyond the scope of what this small project will be, I was thinking (for once!) that it probably will not be too horribly difficult to incorporate some code into PHP itself that would allow functions such as text2wav(), et al. After all

Re: [PHP] Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-27 Thread Daniel Brown
Even beyond the scope of what this small project will be, I was thinking (for once!) that it probably will not be too horribly difficult to incorporate some code into PHP itself that would allow functions such as text2wav(), et al. After all, the Festival TTS engine itself, which we'll be usin

Re: [PHP] Parsing CSV files

2007-04-27 Thread Stut
Tijnema ! wrote: On 4/27/07, Stut <[EMAIL PROTECTED]> wrote: Daniel Brown wrote: >Maybe the PHP site itself should be Wiki-fied so that we could just go > in ourselves and fix the errors. I don't see that happening any time soon > though There's nothing stopping you submitting patch

Re: [PHP] Parsing CSV files

2007-04-27 Thread Tijnema !
On 4/27/07, Stut <[EMAIL PROTECTED]> wrote: Daniel Brown wrote: >Maybe the PHP site itself should be Wiki-fied so that we could just go > in ourselves and fix the errors. I don't see that happening any time soon > though There's nothing stopping you submitting patches to the documentati

Re: [PHP] Parsing CSV files

2007-04-27 Thread Daniel Brown
Yeah, that's why I followed-up with saying, "I don't see that happening any time soon though" Not only would you have unqualified people putting in bad (though not intentionally wrong) information, there would always be the presence of vandalism, as on any other Wiki. The serious probl

Re: [PHP] Parsing CSV files

2007-04-27 Thread Stut
Daniel Brown wrote: Maybe the PHP site itself should be Wiki-fied so that we could just go in ourselves and fix the errors. I don't see that happening any time soon though There's nothing stopping you submitting patches to the documentation mailing list. As far as I know they welcome d

Re: [PHP] Parsing CSV files

2007-04-27 Thread Daniel Brown
Maybe the PHP site itself should be Wiki-fied so that we could just go in ourselves and fix the errors. I don't see that happening any time soon though On 4/27/07, Eric Butera <[EMAIL PROTECTED]> wrote: On 4/27/07, Edward Kay <[EMAIL PROTECTED]> wrote: > > > When I searched for "csv" a

Re: [PHP] Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-27 Thread Daniel Brown
That's what I'm going to try to do, Tedd. I'll post updates throughout the day to include the new mailing list address and such (so we're not flooding the PHP list with stuff about a specific project) and other relevant information. On 4/27/07, tedd <[EMAIL PROTECTED]> wrote: At 3:53 PM -04

Re: [PHP] Parsing CSV files

2007-04-27 Thread Eric Butera
On 4/27/07, Edward Kay <[EMAIL PROTECTED]> wrote: > When I searched for "csv" against on php.net I got redirected to > http://us2.php.net/manual/en/function.gzeof.php. That isn't exactly > obvious is it? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www

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

2007-04-27 Thread Robert Cummings
On Fri, 2007-04-27 at 16:19 +0200, Tijnema ! wrote: > On 4/27/07, tedd <[EMAIL PROTECTED]> wrote: > > At 3:44 PM +0200 4/27/07, Tijnema ! wrote: > > >> > > > > > >Never knew anything of ems, i use % for al dynamic stuff. Is there any > > >diference between those 2? > > > > Google "em css": > > > >

Re: [PHP] Parsing CSV files

2007-04-27 Thread Tijnema !
On 4/27/07, Edward Kay <[EMAIL PROTECTED]> wrote: > When I searched for "csv" against on php.net I got redirected to > http://us2.php.net/manual/en/function.gzeof.php. That isn't exactly > obvious is it? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www

RE: [PHP] Parsing CSV files

2007-04-27 Thread Edward Kay
> When I searched for "csv" against on php.net I got redirected to > http://us2.php.net/manual/en/function.gzeof.php. That isn't exactly > obvious is it? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > OK, sorry for being critica

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

2007-04-27 Thread Tijnema !
On 4/27/07, tedd <[EMAIL PROTECTED]> wrote: At 3:44 PM +0200 4/27/07, Tijnema ! wrote: >> > >Never knew anything of ems, i use % for al dynamic stuff. Is there any >diference between those 2? Google "em css": http://htmlhelp.com/reference/css/units.html Lot's of stuff there -- just another way

Re: [PHP] Parsing CSV files

2007-04-27 Thread Tijnema !
On 4/27/07, Eric Butera <[EMAIL PROTECTED]> wrote: On 4/26/07, Edward Kay <[EMAIL PROTECTED]> wrote: > Todd Cary wrote: > > Is there a function that can parse a comma delimited file into an array? > > > > Todd > > > fgetcsv - http://uk.php.net/fgetcsv > > Did you even try looking in the manual? >

Re: [PHP] Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-27 Thread tedd
At 3:53 PM -0400 4/26/07, Daniel Brown wrote: Anyone who's interested in jumping on, let me know. We may not create a PHP-based TTS system, but we can do the next best thing. Besides, everything has to start somewhere! Daniel: But of course, you can count me in -- after all, I started thi

Re: [PHP] Parsing CSV files

2007-04-27 Thread Eric Butera
On 4/26/07, Edward Kay <[EMAIL PROTECTED]> wrote: Todd Cary wrote: > Is there a function that can parse a comma delimited file into an array? > > Todd > fgetcsv - http://uk.php.net/fgetcsv Did you even try looking in the manual? Edward -- PHP General Mailing List (http://www.php.net/) To unsub

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

2007-04-27 Thread Tijnema !
On 4/27/07, tedd <[EMAIL PROTECTED]> wrote: At 11:56 AM +0200 4/27/07, Tijnema ! wrote: >I guess the same can be done with ... But the main problem is >that there's no real standard for resolution. I see people having >resolution set at 800x600, and 1600x200, how is it ever possible to >make a pa

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

2007-04-27 Thread tedd
At 11:56 AM +0200 4/27/07, Tijnema ! wrote: I guess the same can be done with ... But the main problem is that there's no real standard for resolution. I see people having resolution set at 800x600, and 1600x200, how is it ever possible to make a page look good at both? Resizing it to 1600x1200 w

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

2007-04-27 Thread Robert Cummings
On Fri, 2007-04-27 at 09:22 -0400, tedd wrote: > At 2:35 PM -0400 4/26/07, Daniel Brown wrote: > >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 ma

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

2007-04-27 Thread tedd
At 2:35 PM -0400 4/26/07, Daniel Brown wrote: 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? You want confusing, try putti

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

2007-04-27 Thread Philip Thompson
On Apr 26, 2007, at 6:31 AM, Jonathan wrote: Thufir wrote: When I print out my list of apartments, everything after

Re: [PHP] Make eclipse-php recognise custom extension as php ?

2007-04-27 Thread Miles Thompson
On 4/27/07, Don Don <[EMAIL PROTECTED]> wrote: Hi all, i've changed my server's apache config to recognize my custom extension for php files. And all my development filenames now come with this new extension. However my IDE (Php Eclipse) will not recognise this new extension as a php file, ev

Re: [PHP] Another SYSTEM Function Question

2007-04-27 Thread Jochem Maas
Nathaniel Hall wrote: > I have another question regarding running a system command on a web > server. Let me explain again, I am creating a login page that is to be > used on my local lan only. I am wanting to lock down a maximum number > of logins to up to 2 MAC addresses. I finally got the arp

Re: [PHP] Opening file

2007-04-27 Thread Jonathan
Zoltán Németh wrote: 2007. 04. 26, csütörtök keltezéssel 23.19-kor ed gregory ezt írta: 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

Re: [PHP] Recursive function for array task?

2007-04-27 Thread Stewart Macdonald
Thanks! I don't understand how it works, but it does! That's the main thing! I've been pulling my hair out over this for the last two days. You're a legend! Thanks again, Stewart On 27/04/2007, at 8:28:41 PM, [EMAIL PROTECTED] wrote: First versions got a bug, i did not merged the groups w

Re: [PHP] List

2007-04-27 Thread Jochem Maas
Wolf wrote: > Command line tool... bork no! yeah ok - my memory was rusty. although I don't know exactly what swedish chefs have to do with. (maybe outlook was written by swedish chefs) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Recursive function for array task?

2007-04-27 Thread [EMAIL PROTECTED]
First versions got a bug, i did not merged the groups when found a pair which should connect them. This one is better: array('X'), "C" => array('Q','K'), "D" => array('M'), "F" => array('V'), "G" => array('N'), "I" => array('X','M'), "K" => array('C'), "M" => array(

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

2007-04-27 Thread Stut
Tijnema ! wrote: I guess the same can be done with ... But the main problem is that there's no real standard for resolution. I see people having resolution set at 800x600, and 1600x200, how is it ever possible to make a page look good at both? Resizing it to 1600x1200 would give you an enormous p

[PHP] Make eclipse-php recognise custom extension as php ?

2007-04-27 Thread Don Don
Hi all, i've changed my server's apache config to recognize my custom extension for php files. And all my development filenames now come with this new extension. However my IDE (Php Eclipse) will not recognise this new extension as a php file, even though it opens it up but it looses all t

Re: [PHP] Recursive function for array task?

2007-04-27 Thread Stewart Macdonald
On 27/04/2007, at 7:57:45 PM, Edward Kay wrote: Interesting problem. I've got a few ideas but please could you clarify what you want as the output? Is it just an array of the groups, i.e. Array ( [0] => 'B,X,I,M,V,F,D' [1] => 'C,Q,K' [2] => 'G,N' [3] => 'R,U' )

Re: [PHP] Recursive function for array task?

2007-04-27 Thread [EMAIL PROTECTED]
What you want is strange... but this is the solution array('X'), "C" => array('Q','K'), "D" => array('M'), "F" => array('V'), "G" => array('N'), "I" => array('X','M'), "K" => array('C'), "M" => array('I','V'), "Q" => array('C'), "R" => array('U'), "V" =>

RE: [PHP] Recursive function for array task?

2007-04-27 Thread Edward Kay
> -Original Message- > From: Stewart Macdonald [mailto:[EMAIL PROTECTED] > Sent: 27 April 2007 10:13 > To: php-general@lists.php.net > Subject: [PHP] Recursive function for array task? > > > Hi all, > > I've got a bit of a logic problem that I can't figure out. > > I've got an array: > >

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

2007-04-27 Thread Tijnema !
On 4/27/07, Justin Frim <[EMAIL PROTECTED]> wrote: Edward Vermillion wrote: > So you're saying that if I "maximize" my browser window, all the > sites that you made with tables will "actually look good", at 1680 x > 1050, because they are stretchy-pages? > > Honestly, I have no clue as to why so

Re: [PHP] Changing Session Timeout

2007-04-27 Thread Tijnema !
On 4/27/07, Aaron Axelsen <[EMAIL PROTECTED]> wrote: I am trying to change my session timeout to 180 minutes, and everything ive tried has not worked. Does anyone have any idea why this isn't working properly? I currently am trying to set the following: session_name('myapp'); $mytimeout = 180

[PHP] Recursive function for array task?

2007-04-27 Thread Stewart Macdonald
Hi all, I've got a bit of a logic problem that I can't figure out. I've got an array: Array ( [B] => X [C] => Q,K [D] => M [F] => V [G] => N [I] => X,M [K] => C [M] => I,V [Q] => C [R] => U [V] => M [X] => I ) This array shows groupings of object

Re: FW: [PHP] Need to POST multiple values with single name

2007-04-27 Thread Zoltán Németh
2007. 04. 27, péntek keltezéssel 04.14-kor Buesching, Logan J ezt írta: > Just make sure you use []'s in your name, such as: > > > Then it will fill $bob as an array, instead of a string. I think he's not using a form but tries to construct the POST request from php then it would be possible to

RE: [PHP] Find a what class a variable is

2007-04-27 Thread Edward Kay
> -Original Message- > From: John Comerford [mailto:[EMAIL PROTECTED] > Sent: 27 April 2007 08:41 > To: php-general@lists.php.net > Subject: [PHP] Find a what class a variable is > > > Hi Folks, > > Is is possible to detect what class a variable is eg. > > $JC1 = new Button(); > $JC2 = new

FW: [PHP] Need to POST multiple values with single name

2007-04-27 Thread Buesching, Logan J
Just make sure you use []'s in your name, such as: Then it will fill $bob as an array, instead of a string. http://us2.php.net/manual/en/faq.html.php#faq.html.arrays -Logan > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, April 27, 2007 4:02 AM >

RE: [PHP] explode in mysql query

2007-04-27 Thread Buesching, Logan J
> -Original Message- > From: Paul Novitski [mailto:[EMAIL PROTECTED] > Sent: Friday, April 27, 2007 3:01 AM > To: php-general@lists.php.net > Subject: Re: [PHP] explode in mysql query > > At 4/26/2007 11:33 PM, Sebe wrote: > >i have a mysql column that looks like this: > > > >groups > >--

[PHP] Need to POST multiple values with single name

2007-04-27 Thread Maxim . Sedelnikov
Need to POST multiple values with single name. Ex. -55751342416306771991025074398 Content-Disposition: form-data; name="licenses" lic1 -55751342416306771991025074398 Content-Disposition: form-data; name="licenses" lic2 Function http_post_

Re: [PHP] explode in mysql query

2007-04-27 Thread Sebe
Paul Novitski wrote: At 4/26/2007 11:33 PM, Sebe wrote: i have a mysql column that looks like this: groups --- 12,7,10,6,14,11,2 is it possible to select the row if `groups` contain 7 or 14? trying to avoid running two queries and running explode() on it. I would think a more efficient

Re: [PHP] define() an array?

2007-04-27 Thread M.Sokolewicz
Chris wrote: Tijnema ! wrote: 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(

Re: [PHP] Find a what class a variable is

2007-04-27 Thread [EMAIL PROTECTED]
echo get_class($JC1); Am 27.04.2007, 09:41 Uhr, schrieb John Comerford <[EMAIL PROTECTED]>: Hi Folks, Is is possible to detect what class a variable is eg. $JC1 = new Button(); $JC2 = new TickBox(); Is it possible to find out what class $JC1 is ? TIA, JC -- PHP General Mailing List

[PHP] Find a what class a variable is

2007-04-27 Thread John Comerford
Hi Folks, Is is possible to detect what class a variable is eg. $JC1 = new Button(); $JC2 = new TickBox(); Is it possible to find out what class $JC1 is ? TIA, JC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] define() an array?

2007-04-27 Thread Chris
Tijnema ! wrote: 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",

  1   2   >