On Tue, April 17, 2007 10:15 pm, Paul Novitski wrote:
> At 4/17/2007 07:53 PM, Robert Cummings wrote:
>>On Tue, 2007-04-17 at 21:28 -0500, Anna V wrote:
>> > I've never never had used tables for layouts (I worked on pretty
>> > complicated projects)... Heck, http://espn.com is CSS based, and
>> it
On Tue, April 17, 2007 5:41 pm, mbneto wrote:
> I've developed a simple script that among other things sends a fax
> using
> hylafax's sendfax program. If I test it calling directly from the
> command
> line it works fine.
>
> If I let it run from cron it executes everything fine except the fax.
On Tue, April 17, 2007 10:35 pm, Paul Novitski wrote:
> At 4/17/2007 07:54 PM, Robert Cummings wrote:
>>tables were intended for laying out tabular data.
>
> This is an interesting assertion. Perhaps it would be a good
> question for Tim Berners-Lee. Was table markup intended to mark up
> tabular
On Tue, April 17, 2007 10:04 pm, Larry Garfield wrote:
> Sidebars are not tables.
If you squint so the content is all greeked, it looks like a table...
:-) :-) :-)
--
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/fr
On Tue, April 17, 2007 8:14 pm, Robert Cummings wrote:
> ... CSS is only
> semi-forward compatible.
Actually, that remains to be seen, really...
And given Microsoft behaviour in the past, I'm not real sanguine about
the future of CSS compatibility...
I think it's already at the point where CSS i
On Tue, April 17, 2007 6:53 pm, Larry Garfield wrote:
> On Tuesday 17 April 2007 3:40 pm, Robert Cummings wrote:
>
>> > BTW, any web developer worth his or her salt with a reasonable
>> amount of
>> > practice can make CSS layouts that resize as well as table based
>> layouts
>> > everyday of the w
On Wed, April 18, 2007 11:03 am, Justin Frim wrote:
> André Medeiros wrote:
>
>> Reading from php://input on a webserver will retrieve the Body of
>> the
>> HTTP Request.
>
> Not for me it doesn't.
> That only seems to work when the form is submitted as
> application/x-www-form-urlencoded. When th
On Wed, April 18, 2007 10:07 am, Brian Dunning wrote:
> We finally got it resolved by editing php.ini. This was classic: A
> clueless office assistant did it, talked through step-by-step over a
> cell phone, while an armed security guard accompanied her into their
> server room.
I knew a guy one t
On Wed, April 18, 2007 2:21 am, Tijnema ! wrote:
> Hmm, this is what i get:
> ~# php -r 'var_dump($foo);'
> NULL
> ~# php -r 'var_dump(@$foo);'
> NULL
>
>
> PHP6 snapshot from a month ago.
Your php.ini doesn't have error_reporting cranked up to include E_NOTICE.
That's your first mistake. :-) :-)
On Wed, April 18, 2007 1:55 am, Tijnema ! wrote:
>> @$conn = pg_connect($conn_string);
>
> Ok, you're right, both are valid. But i think it's better to use it
> before the function name. (like all examples in the manual do ).
>
> Else you might end up with code like this:
> my_function(@$var);
>
>
On Wed, April 18, 2007 4:27 am, Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2007-04-18 04:59:48 -0400:
>> >So only one of these is "kosher"
>> >static:
>> >return Services_JSON::decode($data);
>> >
>> >class:
>> >$json = new Services_JSON;
>> >return $json->decode($data);
>> >but not both.
>>
>>
On Wed, April 18, 2007 3:59 am, Chris Boget wrote:
>> So only one of these is "kosher"
>> static:
>> return Services_JSON::decode($data);
>>
>> class:
>> $json = new Services_JSON;
>> return $json->decode($data);
>> but not both.
>
> I'm not trying to start (or further add fuel to) any kind of war
On Wed, April 18, 2007 9:04 am, Bagus Nugroho wrote:
> I'm confuse about usage of php.ini directive "register_argc_argv".
> Is used for command line purpose only?
I suspect that in CGI (and possibly even FCGI) $argv and $argc may
also end up being populated, due to the way CGI works.
But, yes, es
On Wed, April 18, 2007 4:57 am, Ford, Mike wrote:
> On 17 April 2007 01:18, Richard Lynch wrote:
>> Or is it explicitly stated in the manual somewhere I'm not seeing
>> that
>> one can put things in $GLOBALS directly? [shrug]
> http://uk2.php.net/manual/en/language.variables.predefined.php#language
On Wed, April 18, 2007 5:48 am, Matt wrote:
> I am experimenting with the fsockopen function to send custom UDP
> packets.
> What I would like to do is to be able to nominate the LOCAL port that
> my UDP
> packet originates from. What happens currently is that when I execute
> my
> code below I get
On Wed, April 18, 2007 3:42 pm, Zoltán Németh wrote:
>> Or you can use COM as Jay recommended, but that requires Excel to be
>> installed on the PC that's running PHP and can get a little ugly.
>
> really? I thought it requires only winsuxx to be installed...
COM only requires Windows (afaik there
On Wed, April 18, 2007 11:25 am, [EMAIL PROTECTED] wrote:
> Also, if you output an HTML table and set the content type in your
> header to an Excel content type, it should ask the client PC to open
> the page in Excel (assuming they have it installed). This works for a
> real quick and dirty expor
On Wed, April 18, 2007 10:46 am, Jonathan Kahan wrote:
> Can PHP be used to generate an excel file that A) Contains Macros B)
> Allows
> Graphics to be attached C) where cells can contain borders as well as
> cells
> being merged. I know there is some PHP excel functionality so i am
> assume
> basi
On Wed, April 18, 2007 11:20 am, dan1 wrote:
> I am trying to forward the e-mails received to one address towards a
> php
> script, under CentOS 4 (RHEL).
> I am trying all I can but nothing does.
>
> I have edited my /etc/aliases file and added this line.
> ecard-bounce: "|/usr/bin/php /etc/smrsh/
On Wed, April 18, 2007 5:33 pm, Yvan Strahm wrote:
> I have this function:
>
> function preg_array($pattern, $array, $r_array)
> {
> global $match;
> global $r_array;
Passing in $r_array *AND* declaring it global is just plain silly.
Do one or the other, but not both.
If the array is L
On Wed, April 18, 2007 7:16 pm, Skip Evans wrote:
> I'm developing a site on my local server, which
> runs PHP4 and BSD. I also installed pclzip.lib.php
> to create zip files on the PHP4 machine and all
> works well.
>
> The production server for this site runs PHP5, but
> I thought it would be bac
Jochem Maas wrote:
that seems backwards.
I would get a local php5 dev environment and rewrite the
code to use http://php.net/zip instead.
I had problems installing the PHP5 port on FreeBSD
6.1, which is why I stayed with 4.
--
Skip Evans
Big Sky Penguin, LLC
61 W Broadway
Butte, Montana 5
Skip Evans wrote:
> Hey all,
>
> I'm developing a site on my local server, which runs PHP4 and BSD. I
> also installed pclzip.lib.php to create zip files on the PHP4 machine
> and all works well.
>
> The production server for this site runs PHP5, but I thought it would be
> backward compatible, b
Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2007-04-18 11:54:59 +0200:
>> Roman Neuhauser wrote:
>>> That's an incident waiting to happen, and forbidding static calls of
>>> instance methods is an (intended) anti-footshooting measure.
>> nothing an isset($this) didn't/doesn't solve - they gave m
Hey all,
I'm developing a site on my local server, which
runs PHP4 and BSD. I also installed pclzip.lib.php
to create zip files on the PHP4 machine and all
works well.
The production server for this site runs PHP5, but
I thought it would be backward compatible, but
apparently not?
When t
On 4/18/07, Yvan Strahm <[EMAIL PROTECTED]> wrote:
Hi all,
I have this code ( but you already know it ;-) :
function preg_array($pattern, $array, $r_array)
{
global $match;
global $r_array;
foreach ($array as $key => $value)
{
if (preg_match($pattern, $value,$match))
Hi all,
I have this code ( but you already know it ;-) :
function preg_array($pattern, $array, $r_array)
{
global $match;
global $r_array;
foreach ($array as $key => $value)
{
if (preg_match($pattern, $value,$match))
{
$r_array=array_slice($match,1);
break;
hi all,
I have this function:
function preg_array($pattern, $array, $r_array)
{
global $match;
global $r_array;
foreach ($array as $key => $value)
{
if (preg_match($pattern, $value,$match))
{
$GA=array_slice($match,1);
break;
}
}
return array ($GA,
And makes for very clean code. Very nice!
Regards,
Bruce
>>> Lori Lay <[EMAIL PROTECTED]> 19/04/2007 5:02:33 a.m. >>>
Wolf wrote:
> OK, so I like sticking my nose in sometimes...
>
> Accessibility Standards and being bobby approved.
>
> http://webxact2.watchfire.com/report.asp?t=2#priority3
>
2007. 04. 18, szerda keltezéssel 12.25-kor [EMAIL PROTECTED]
ezt írta:
> Or, even better and more useful:
>
> http://pear.php.net/package/Spreadsheet_Excel_Writer
>
> It's not perfect, but it does the basic job.
>
> Also, if you output an HTML table and set the content type in your header to
>
Tijnema ! wrote:
> On 4/18/07, Roman Neuhauser <[EMAIL PROTECTED]> wrote:
>> # [EMAIL PROTECTED] / 2007-04-18 07:55:05 +0100:
>> > On 4/17/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
>> > >On Sat, April 14, 2007 12:12 pm, Tijnema ! wrote:
>> > >>> try putting an @ sign before this line. something
# [EMAIL PROTECTED] / 2007-04-18 11:54:59 +0200:
> Roman Neuhauser wrote:
> > That's an incident waiting to happen, and forbidding static calls of
> > instance methods is an (intended) anti-footshooting measure.
>
> nothing an isset($this) didn't/doesn't solve - they gave me the php gun, so
> let
Wolf wrote:
OK, so I like sticking my nose in sometimes...
Accessibility Standards and being bobby approved.
http://webxact2.watchfire.com/report.asp?t=2#priority3
on
http://lonewolf.homelinux.net/
Is just about as good as http://www.csszengarden.com
Just the same 1 error
:)
Just FYI...
On 4/18/07, Wolf <[EMAIL PROTECTED]> wrote:
OK, so I like sticking my nose in sometimes...
Accessibility Standards and being bobby approved.
http://webxact2.watchfire.com/report.asp?t=2#priority3
on
http://lonewolf.homelinux.net/
Is just about as good as http://www.csszengarden.com
Just the s
Wolf wrote:
OK, so I like sticking my nose in sometimes...
Accessibility Standards and being bobby approved.
http://webxact2.watchfire.com/report.asp?t=2#priority3
on
http://lonewolf.homelinux.net/
Is just about as good as http://www.csszengarden.com
Just the same 1 error
:)
At least show s
OK, so I like sticking my nose in sometimes...
Accessibility Standards and being bobby approved.
http://webxact2.watchfire.com/report.asp?t=2#priority3
on
http://lonewolf.homelinux.net/
Is just about as good as http://www.csszengarden.com
Just the same 1 error
:)
--
PHP General Mailing List
Jonathan Kahan wrote:
> Can PHP be used to generate an excel file that A) Contains Macros B)
> Allows Graphics to be attached C) where cells can contain borders as
> well as cells being merged. I know there is some PHP excel functionality
> so i am assume basics like underlines, italics and i am ho
Or, even better and more useful:
http://pear.php.net/package/Spreadsheet_Excel_Writer
It's not perfect, but it does the basic job.
Also, if you output an HTML table and set the content type in your header to an
Excel content type, it should ask the client PC to open the page in Excel
(assuming
Hello.
I am trying to forward the e-mails received to one address towards a php
script, under CentOS 4 (RHEL).
I am trying all I can but nothing does.
I have edited my /etc/aliases file and added this line.
ecard-bounce: "|/usr/bin/php /etc/smrsh/ecardbounce.php"
Then, of course I do a 'newalias
I tried that one too.
For any POST requests (regardless of Content-Type), it's always blank.
For GET requests, it contains the PHP script source code.
André Medeiros wrote:
php://stdin perhaps?
On 4/18/07, Justin Frim <[EMAIL PROTECTED]> wrote:
André Medeiros wrote:
> Reading from php://in
Mom! Dad! Please don't fight!
= = = Original message = = =
On Tue, 2007-04-17 at 22:04 -0500, Larry Garfield wrote:
> On Tuesday 17 April 2007 9:54 pm, Robert Cummings wrote:
> >
> > You say "Using tables for layout *is* a hack". Unfortunately for you
> > tables were intended for laying out
php://stdin perhaps?
On 4/18/07, Justin Frim <[EMAIL PROTECTED]> wrote:
André Medeiros wrote:
> Reading from php://input on a webserver will retrieve the Body of the
> HTTP Request.
Not for me it doesn't.
That only seems to work when the form is submitted as
application/x-www-form-urlencoded.
php://input ?? ;)
On 4/18/07, Justin Frim <[EMAIL PROTECTED]> wrote:
Chris Shiflett wrote:
> Justin Frim wrote:
>
>>Is there any way to retrieve the POST message body when a form is
>>submitted to a PHP script using multipart/form-data?
>
>
> There's the always_populate_raw_post_data configurati
André Medeiros wrote:
Reading from php://input on a webserver will retrieve the Body of the
HTTP Request.
Not for me it doesn't.
That only seems to work when the form is submitted as
application/x-www-form-urlencoded. When the form is submitted as
multipart/form-data, php://input is blank.
Chris Shiflett wrote:
Justin Frim wrote:
Is there any way to retrieve the POST message body when a form is
submitted to a PHP script using multipart/form-data?
There's the always_populate_raw_post_data configuration directive and
the $HTTP_RAW_POST_DATA. Have you tried that?
Yes, that is a
1) You'll be better off using templates, AFAIK.
2) PHP has classes to generate PDF's without the need of extensions.
(http://www.fpdf.org/)
On 4/18/07, Jonathan Kahan <[EMAIL PROTECTED]> wrote:
Hi all,
Can PHP be used to generate an excel file that A) Contains Macros B) Allows
Graphics to be a
[snip]
Can PHP be used to generate an excel file
[/snip]
http://www.php.net/com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
Can PHP be used to generate an excel file that A) Contains Macros B) Allows
Graphics to be attached C) where cells can contain borders as well as cells
being merged. I know there is some PHP excel functionality so i am assume
basics like underlines, italics and i am hoping vertical ali
Reading from php://input on a webserver will retrieve the Body of the
HTTP Request.
On 4/18/07, Justin Frim <[EMAIL PROTECTED]> wrote:
Greetings,
Is there any way to retrieve the POST message body when a form is
submitted to a PHP script using multipart/form-data?
I can't use just the $_POST[]
Justin Frim wrote:
> Is there any way to retrieve the POST message body when a form is
> submitted to a PHP script using multipart/form-data?
There's the always_populate_raw_post_data configuration directive and
the $HTTP_RAW_POST_DATA. Have you tried that?
I recall being annoyed that "always" do
Greetings,
Is there any way to retrieve the POST message body when a form is
submitted to a PHP script using multipart/form-data?
I can't use just the $_POST[] and $_FILES[] arrays because I need to
calculate the hash of an exact bit-accurate copy of the original POST
body for data verificat
On 4/18/07, Brian Dunning <[EMAIL PROTECTED]> wrote:
We finally got it resolved by editing php.ini. This was classic: A
clueless office assistant did it, talked through step-by-step over a
cell phone, while an armed security guard accompanied her into their
server room.
LOL. Never heard of rem
We finally got it resolved by editing php.ini. This was classic: A
clueless office assistant did it, talked through step-by-step over a
cell phone, while an armed security guard accompanied her into their
server room.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On 4/17/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Mon, April 16, 2007 10:20 am, Tijnema ! wrote:
> And btw, I think it's better not to create a new link to the class
> each time the function is called, but just use ::
> if (!function_exists('json_encode')) {
>function json_encode($d
Hi All,
I'm confuse about usage of php.ini directive "register_argc_argv".
Is used for command line purpose only?
Thanks in adavance
bn
[snip]
They're not hacks, they're features. :-)
I agree with Jay.
Leonard -- as far as 99% of the time for anything on the web, prove
it. You can't -- your trolling.
Leonard -- as far as resizing properly, what the hell are you talking
about? The question is rhetorical I don't care to dwell
At 4:40 PM -0400 4/17/07, Robert Cummings wrote:
On Tue, 2007-04-17 at 14:45 -0500, Jay Blanchard wrote:
At 3:40 PM -0400 4/17/07, Leonard Burton wrote:
> >From the CSS discussion of the WWE job posting thread.
>
> There is one question that shows that a table based layout in 99% of
> cases
Hello,
I am experimenting with the fsockopen function to send custom UDP packets.
What I would like to do is to be able to nominate the LOCAL port that my UDP
packet originates from. What happens currently is that when I execute my
code below I get a random port >1023 allocated. What I want to
On 17 April 2007 01:18, Richard Lynch wrote:
> On Mon, April 16, 2007 12:10 pm, Ford, Mike wrote:
> > No, not "just another array" (although I agree about the function
> > being pretty useless!) -- $GLOBALS is a superglobal array that
> > contains a reference to every variable defined in the globa
Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2007-04-18 04:59:48 -0400:
>>> So only one of these is "kosher"
>>> static:
>>> return Services_JSON::decode($data);
>>>
>>> class:
>>> $json = new Services_JSON;
>>> return $json->decode($data);
>>> but not both.
>> I'm not trying to start (or further
# [EMAIL PROTECTED] / 2007-04-18 04:59:48 -0400:
> >So only one of these is "kosher"
> >static:
> >return Services_JSON::decode($data);
> >
> >class:
> >$json = new Services_JSON;
> >return $json->decode($data);
> >but not both.
>
> I'm not trying to start (or further add fuel to) any kind of war
Tables used for presentational layout are a hack, implemented in an albiet
ingenious way to overcome the shortcomings of the Web quite a while ago now.
Tables should be used for the display of tabular data, ie spreadsheets,
calendars etc.
Table layout increases download times, the deeper nested
Robert Cummings wrote:
> No, it's old school, the only way to do complex layout in the past. At
> least tables are backward and forward compatible.
I would not say tables are forwards compatible.
If you are a company (at least in the UK) and your website does not meet
accessibility guidelines you
So only one of these is "kosher"
static:
return Services_JSON::decode($data);
class:
$json = new Services_JSON;
return $json->decode($data);
but not both.
I'm not trying to start (or further add fuel to) any kind of war but instead
an earnest question: why not both?
thnx,
Chris
--
PHP Gen
mbneto escribió:
Hi,
I've developed a simple script that among other things sends a fax using
hylafax's sendfax program. If I test it calling directly from the
command
line it works fine.
If I let it run from cron it executes everything fine except the fax.
I am using the system call and i
Richard Lynch wrote:
> On Tue, April 17, 2007 4:40 pm, Jochem Maas wrote:
>> Richard Lynch wrote:
>
> So only one of these is "kosher"
> static:
> return Services_JSON::decode($data);
>
> class:
> $json = new Services_JSON;
> return $json->decode($data);
>
> but not both.
ah yes that hol
Chris wrote:
> Richard Lynch wrote:
>> On Tue, April 17, 2007 4:01 pm, Chris wrote:
>>> Tijnema ! wrote:
On 4/17/07, Brian Dunning <[EMAIL PROTECTED]> wrote:
> Dang. There is no remote access to the server, no way to remotely
> edit php.ini - everything is blocked by the firewall. It's
jekillen wrote:
> Hello again;
> I have a directory that I am opening and reading to produce an
> array of contents; files and subdirectories. There are a number
> of subdirectories that I do not want to open and read the contents
> of, and others that I do want to open and read the contents of.
>
On 4/18/07, Roman Neuhauser <[EMAIL PROTECTED]> wrote:
# [EMAIL PROTECTED] / 2007-04-18 07:55:05 +0100:
> On 4/17/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
> >On Sat, April 14, 2007 12:12 pm, Tijnema ! wrote:
> >>> try putting an @ sign before this line. something like this:
> >>> @$conn = pg_
# [EMAIL PROTECTED] / 2007-04-17 13:59:39 +0200:
>
> > > The count is maintained internally as items are
> > added/removed, and it
> > > is an O(1) operation for PHP to "count" the array, as it
> > already knows
> > > the answer and just returns it.
>
>
> Hi nothing to do with the actual top
# [EMAIL PROTECTED] / 2007-04-18 07:55:05 +0100:
> On 4/17/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
> >On Sat, April 14, 2007 12:12 pm, Tijnema ! wrote:
> >>> try putting an @ sign before this line. something like this:
> >>> @$conn = pg_connect($conn_string);
> >>
> >> According to the manual:
71 matches
Mail list logo