php-general Digest 14 Apr 2007 14:07:59 -0000 Issue 4734

2007-04-14 Thread php-general-digest-help
php-general Digest 14 Apr 2007 14:07:59 - Issue 4734 Topics (messages 252924 through 252936): Re: width and height of flash-files 252924 by: Heiko Sudar 252926 by: Tijnema ! Re: Images again 252925 by: Tijnema ! Json.php 252927 by: Otto Wyss 252929

Re: [PHP] Re: width and height of flash-files

2007-04-14 Thread Tijnema !
On 4/14/07, Heiko Sudar [EMAIL PROTECTED] wrote: Hi, thx fort he fast infos. the solution is clear for .swf files. does someone have a workaround for flash-video files .flv? Heiko AFAIK, there's not a direct function for that. So, you have a few options, but depend on what you're going

[PHP] Json.php

2007-04-14 Thread Otto Wyss
I've seen a json.php file somewhere in a project for cases where the json module isn't installed (e.g. PHP4), yet I can't find that project again. Is there an official or unofficial download site for json.php? Why isn't this available in the PHP manual

Re: [PHP] how to get var name and value from function?

2007-04-14 Thread Tijnema !
On 4/14/07, Afan Pasalic [EMAIL PROTECTED] wrote: hi, this one I can't figure out: I have to assign value of an array to variable named after key of the array several times in my project to , e.g. after I submit a form with personal info I have $_POST['name'] = 'john doe'; $_POST['address'] =

Re: [PHP] Images again

2007-04-14 Thread Tijnema !
On 4/14/07, Børge Holen [EMAIL PROTECTED] wrote: Before mr lynch starts beating up those already dead and probably long since burried horses... Images in a database! See I was just wondering, and that at times leads to late nights I used to read the images from two different files; one

Re: [PHP] Json.php

2007-04-14 Thread Tijnema !
On 4/14/07, Otto Wyss [EMAIL PROTECTED] wrote: I've seen a json.php file somewhere in a project for cases where the json module isn't installed (e.g. PHP4), yet I can't find that project again. Is there an official or unofficial download site for json.php? Why isn't this available in the PHP

Re: [PHP] Json.php

2007-04-14 Thread Satyam
www.json.org lists all json resources in any language you care to think of. Satyam - Original Message - From: Otto Wyss [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 14, 2007 10:11 AM Subject: [PHP] Json.php I've seen a json.php file somewhere in a project for cases

[PHP] Problems installing php with pdflib

2007-04-14 Thread Merlin
Hi there, 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' ls /usr/local/lib/pdflib.* /usr/local/lib/pdflib.h ls

Re: [PHP] Problems installing php with pdflib

2007-04-14 Thread Tijnema !
On 4/14/07, Merlin [EMAIL PROTECTED] wrote: Hi there, 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' ls

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-14 Thread David Robley
Stut wrote: Richard Lynch wrote: On Fri, April 13, 2007 1:20 am, Stut wrote: tedd wrote: this ain't the bad old days. That's debatable! Damnit! Now I've got that These are the good ol' days song stuck in my head, and it's your fault! :-) Hey, don't forget that you should always

Re: [PHP] how to get var name and value from function?

2007-04-14 Thread Afan Pasalic
Tijnema ! wrote: On 4/14/07, Afan Pasalic [EMAIL PROTECTED] wrote: hi, this one I can't figure out: I have to assign value of an array to variable named after key of the array several times in my project to , e.g. after I submit a form with personal info I have $_POST['name'] = 'john doe';

[PHP] warning message to hide

2007-04-14 Thread Alain Roger
Hi, Today i discovered that when my host webserver has some issue with PostgreSQL database, my code displays the following error message : *Warning*: pg_connect() [function.pg-connecthttp://www.immense.sk/function.pg-connect]: Unable to connect to PostgreSQL server: could not connect to server:

Re: [PHP] warning message to hide

2007-04-14 Thread Tom Chubb
Look at http://devzone.zend.com/node/view/id/652 It explains it there. On 14/04/07, Alain Roger [EMAIL PROTECTED] wrote: Hi, Today i discovered that when my host webserver has some issue with PostgreSQL database, my code displays the following error message : *Warning*: pg_connect()

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-14 Thread tedd
At 9:07 PM -0400 4/13/07, Robert Cummings wrote: I noticed your site isn't a pixel perfect layout. Probably why you haven't had to tear at your face very hard with CSS :) That whole box-model issue becomes a great deal more elastic when you have some fudge room. Rob: My site

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-14 Thread Robert Cummings
On Sat, 2007-04-14 at 10:35 -0400, tedd wrote: At 9:07 PM -0400 4/13/07, Robert Cummings wrote: I noticed your site isn't a pixel perfect layout. Probably why you haven't had to tear at your face very hard with CSS :) That whole box-model issue becomes a great deal more elastic when you have

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-14 Thread Edward Vermillion
On Apr 13, 2007, at 8:07 PM, Robert Cummings wrote: [snip] I noticed your site isn't a pixel perfect layout. Probably why you haven't had to tear at your face very hard with CSS :) That whole box-model issue becomes a great deal more elastic when you have some fudge room. [snip] I use my

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-14 Thread Edward Vermillion
On Apr 14, 2007, at 10:37 AM, Robert Cummings wrote: On Sat, 2007-04-14 at 10:14 -0500, Edward Vermillion wrote: On Apr 13, 2007, at 8:07 PM, Robert Cummings wrote: [snip] I noticed your site isn't a pixel perfect layout. Probably why you haven't had to tear at your face very hard with CSS

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-14 Thread Robert Cummings
On Sat, 2007-04-14 at 11:28 -0500, Edward Vermillion wrote: I think there's a fundamental difference between a web application and a web page. (That's another one of those areas where folks expect what they shouldn't. Like a web application must adhere to the web paradigm and ensure the

Re: [PHP] warning message to hide

2007-04-14 Thread siavash1979
Quoting Alain Roger [EMAIL PROTECTED]: Hi, Today i discovered that when my host webserver has some issue with PostgreSQL database, my code displays the following error message : *Warning*: pg_connect() [function.pg-connecthttp://www.immense.sk/function.pg-connect]: Unable to connect to

Re: [PHP] warning message to hide

2007-04-14 Thread Tijnema !
On 4/14/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Quoting Alain Roger [EMAIL PROTECTED]: Hi, Today i discovered that when my host webserver has some issue with PostgreSQL database, my code displays the following error message : *Warning*: pg_connect()

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-14 Thread tedd
At 11:12 AM -0400 4/14/07, Robert Cummings wrote: At 9:07 PM -0400 4/13/07, Robert Cummings wrote: I noticed your site isn't a pixel perfect layout. Who said pixel perfect image? You did -- pixel perfect image or pixel perfect layout, what's the difference? Now make pixel perfect

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-14 Thread tedd
At 11:37 AM -0400 4/14/07, Robert Cummings wrote: Sure, but designers head the beck and call of paying customers. Just like we coders do. Sometime you just can't win the argument with a suit :) I didn't know you wore a suit. :-) --- BTW, why can't a browser window be pixel perfect? What's

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-14 Thread tedd
At 12:37 PM -0400 4/14/07, Robert Cummings wrote: but truth be told, the web is still evolving into what visionaries see for its potential. Agreed, but some are reluctant to listen to visionaries. :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-14 Thread Robert Cummings
On Sat, 2007-04-14 at 13:57 -0400, tedd wrote: At 11:12 AM -0400 4/14/07, Robert Cummings wrote: At 9:07 PM -0400 4/13/07, Robert Cummings wrote: I noticed your site isn't a pixel perfect layout. Who said pixel perfect image? You did -- pixel perfect image or pixel perfect layout,

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-14 Thread Robert Cummings
On Sat, 2007-04-14 at 14:16 -0400, tedd wrote: At 11:37 AM -0400 4/14/07, Robert Cummings wrote: Sure, but designers head the beck and call of paying customers. Just like we coders do. Sometime you just can't win the argument with a suit :) I didn't know you wore a suit. :-) --- BTW,

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-14 Thread tedd
At 2:25 PM -0400 4/14/07, Robert Cummings wrote: A stretchy website stretches it's content area to accomodate the width of the browser. I'm quite sure you knew this, either that, or you're not reading enough. Is my site an example of a stretchy website? It's only two columns, but it could

Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-14 Thread Robert Cummings
On Sat, 2007-04-14 at 14:58 -0400, tedd wrote: At 2:25 PM -0400 4/14/07, Robert Cummings wrote: A stretchy website stretches it's content area to accomodate the width of the browser. I'm quite sure you knew this, either that, or you're not reading enough. Is my site an example of a stretchy

Re: [PHP] Images again

2007-04-14 Thread Børge Holen
On Saturday 14 April 2007 09:45, you wrote: On 4/14/07, Børge Holen [EMAIL PROTECTED] wrote: Before mr lynch starts beating up those already dead and probably long since burried horses... Images in a database! See I was just wondering, and that at times leads to late nights I used

[PHP] isset

2007-04-14 Thread Richard Kurth
What do you do when isset does not work? If I send data in a $_REQUEST['var'] like if (isset($_REQUEST['var'])) { } Put var has no data it still says it is set. Because $_REQUEST['var'] = and isset thinks is set

Re: [PHP] isset

2007-04-14 Thread Jochem Maas
Richard Kurth wrote: What do you do when isset does not work? If I send data in a $_REQUEST['var'] like if (isset($_REQUEST['var'])) { } Put var has no data it still says it is set. Because $_REQUEST['var'] = and isset thinks is set php -r ' $r = array(foo = );

[PHP] preg_replace and regular expressions.

2007-04-14 Thread Travis Moore
Okay, so what I have is a BB code type of thing for a CMS, which I for obvious reasons can't allow HTML. Here's the snippet of my function: function bbCode($str) { $db = new _Mysql; $strOld = $str; $strNew = $str; $getRegexs = $db-query(SELECT `regex`,`replace`,`search` FROM