php-general Digest 14 May 2009 09:19:17 - Issue 6120
Topics (messages 292558 through 292562):
Re: how to enable ttf support in php 5.2.9
292558 by: Ross McKay
Re: handling chunked input from php://stdin
292559 by: whisperstream
Re: fileinfo on RHEL5
292560 by:
php-general Digest 14 May 2009 21:43:09 - Issue 6121
Topics (messages 292563 through 292593):
Re: Cannot output the same data from text file in PHP
292563 by: Peter Ford
292564 by: Jan G.B.
292569 by: Mike Roberts
292570 by: Nathan Rixham
292579 by:
Lester Caine wrote:
I'm trying to emulate Linux facilities on the windows servers, and have
found bsdtar can be renamed tar.exe so that it will work the same as a
shell_exec( tar ) call in Linux.
The full paths are used to the files and the command line returns the
extracted file name when
Hi Folks,
I have a written a script in PHP which outputs the result from a text file.
The PHP script is as follows:
?php
$alldata = file(result.txt);
echo tabletrtd;
foreach($alldata as $line_num = $line) {
echo $line.br;
}
echo/td/tr/table;
?
I have attached the result.txt file. However the
Moses wrote:
Hi Folks,
I have a written a script in PHP which outputs the result from a text file.
The PHP script is as follows:
?php
$alldata = file(result.txt);
echo tabletrtd;
foreach($alldata as $line_num = $line) {
echo $line.br;
}
echo/td/tr/table;
?
I have attached the
You could even make it shorter, if you don't need the line numbers anyway:
pre
?
echo nl2br(file_get_contents('file.txt'));
?
/pre
2009/5/14 Peter Ford p...@justcroft.com:
Moses wrote:
Hi Folks,
I have a written a script in PHP which outputs the result from a text file.
The PHP script is
Per Jessen wrote:
kyle.smith wrote:
Most carriers have email-to-sms bridges. For example, I use ATT
Wireless and you can text me by sending an email to
myphonenum...@txt.att.net.
Do you end up paying for that then - or who pays for it?
Besides, none of the carriers around here have
I'm sure I've seen something about this before, but I can't find it:
I'm creating a file which needs to live for the duration of a session, and ONLY
the duration of the session.
I made a little call which holds the name of the file like this:
?php
class __TFR
{
private $file;
public
2009/5/14 Peter Ford p...@justcroft.com:
I'm sure I've seen something about this before, but I can't find it:
I'm creating a file which needs to live for the duration of a session, and
ONLY
the duration of the session.
I made a little call which holds the name of the file like this:
?php
Stuart wrote:
2009/5/14 Peter Ford p...@justcroft.com:
I'm sure I've seen something about this before, but I can't find it:
I'm creating a file which needs to live for the duration of a session, and
ONLY
the duration of the session.
I made a little call which holds the name of the file
Is there a moderator or some responsible party who is in charge of this
list. Please delete my profile and stop sending messages. This is the
6th such request.
Sincerely,
Michael Roberts
Civil Engineering Executive Recruiter
Corporate Staffing Services
150 Monument Road,
as far as i know you just send an email to:
php-general-unsubscr...@lists.php.net and then reply to the confirmation
- its a standard mailing list which you subscribed to at some point, no
profiles or such like.
Mike Roberts wrote:
Is there a moderator or some responsible party who is in
Hey all,
I have one flex+PHP application.
Main purpose of the site is to sell T-shirts online.
Flex is used for generating different designs on available tshirt.
Something similar to Cafepress dot com.
I want to generate 300 DPI tshirt image from flex and send it to PHP side
for
Where and what do I look for to resolve this?
My script is working fine on an active ISP web server.
This morning, I crank up the local XP and the local FreeBSD 7.1 server.
I start my editor, bring up Firefox, go to local server and everything
works fine.
I start to code and make a couple of minor
PJ wrote:
Where and what do I look for to resolve this?
My script is working fine on an active ISP web server.
This morning, I crank up the local XP and the local FreeBSD 7.1 server.
I start my editor, bring up Firefox, go to local server and everything
works fine.
I start to code and make a
How does one deal with tag completion from an include file to the
main(source)-file?
i.e. c should a tag, such as head or div be closed withing the
include file? Or can body be started in the include file and closed in
the main-file?
Crossing the border, so-to-speak, doesn't seem to matter; but
I'm a bit fuzzy on the relationship between the ? ? and the HTML code.
Where should the php code be placed in a page so that execution is
carried out smoothly? So far, my coding has managed to avoid horrendous
snags; but as I delve deeper into the quagmire of coding, I would like
to clear the fog
PJ wrote:
How does one deal with tag completion from an include file to the
main(source)-file?
i.e. c should a tag, such as head or div be closed withing the
include file? Or can body be started in the include file and closed in
the main-file?
It doesn't really matter, however it may be
PJ wrote:
I'm a bit fuzzy on the relationship between the ? ? and the HTML code.
Where should the php code be placed in a page so that execution is
carried out smoothly? So far, my coding has managed to avoid horrendous
snags; but as I delve deeper into the quagmire of coding, I would like
to
On Thu, 2009-05-14 at 09:29 -0400, Mike Roberts wrote:
Is there a moderator or some responsible party who is in charge of this
list. Please delete my profile and stop sending messages. This is the
6th such request.
As I and many others have said before, the unsubscribe email address is
on
On Thu, May 14, 2009 at 3:29 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
On Thu, 2009-05-14 at 09:29 -0400, Mike Roberts wrote:
Is there a moderator or some responsible party who is in charge of this
list. Please delete my profile and stop sending messages. This is the
6th such
Ok, I think we are almost there. First I was given
php-general-unsubscr...@lists.php.net but that bounced back. Second, I
use MS outlook ( 03 or 07) which does not accurately display headers,
probably ( in my case at all) because it's audience is less savvy than
this audience, and too much
On Thu, 2009-05-14 at 16:01 -0400, Mike Roberts wrote:
Ok, I think we are almost there. First I was given
php-general-unsubscr...@lists.php.net but that bounced back. Second, I
use MS outlook ( 03 or 07) which does not accurately display headers,
probably ( in my case at all) because it's
At 2:35 PM -0400 5/14/09, PJ wrote:
I'm a bit fuzzy on the relationship between the ? ? and the HTML code.
Where should the php code be placed in a page so that execution is
carried out smoothly? So far, my coding has managed to avoid horrendous
snags; but as I delve deeper into the quagmire of
Hey all,
I'm inheriting a project that was unsuccessfully off-shored
and is now in such bad shape (I've seen the code. It's awful)
that they are firing the off-shore company and starting over.
One of the things the other company said was possible, and I'm
not familiar with... if I
Hi,
I am having trouble connecting to https sites using php's builtin ssl
functions.
I tried:
file_get_contents('https://securesite')
fsockopen('ssl://securesite', 443, $errno, $errstr,20)
and same errors every time:
SSL: connection timeout
Failed to enable crypto
Call to openssl_error_string()
On Thu, May 14, 2009 at 03:30:44PM -0400, Andrew Ballard wrote:
On Thu, May 14, 2009 at 3:29 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
On Thu, 2009-05-14 at 09:29 -0400, Mike Roberts wrote:
Is there a moderator or some responsible party who is in charge of this
list. Please
On Thu, May 14, 2009 at 04:19:57PM -0400, tedd wrote:
snip
Please note, the () seen in my use of echo is not necessary -- it's
just another one of those things that I do that no one else does.
Ohmygosh! I didn't realize Tedd was one of those using parentheses with
an echo command guys. I'm
On Thu, May 14, 2009 at 4:33 PM, Paul M Foster pa...@quillandmouse.com wrote:
On Thu, May 14, 2009 at 03:30:44PM -0400, Andrew Ballard wrote:
On Thu, May 14, 2009 at 3:29 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
On Thu, 2009-05-14 at 09:29 -0400, Mike Roberts wrote:
Is there a
On Thu, May 14, 2009 at 03:22:12PM -0500, Skip Evans wrote:
Hey all,
I'm inheriting a project that was unsuccessfully off-shored
and is now in such bad shape (I've seen the code. It's awful)
that they are firing the off-shore company and starting over.
One of the things the other company
On Thu, 2009-05-14 at 16:33 -0400, Paul M Foster wrote:
On Thu, May 14, 2009 at 03:30:44PM -0400, Andrew Ballard wrote:
On Thu, May 14, 2009 at 3:29 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
On Thu, 2009-05-14 at 09:29 -0400, Mike Roberts wrote:
Is there a moderator or some
On Thu, 2009-05-14 at 16:50 -0400, Paul M Foster wrote:
On Thu, May 14, 2009 at 03:22:12PM -0500, Skip Evans wrote:
Hey all,
I'm inheriting a project that was unsuccessfully off-shored
and is now in such bad shape (I've seen the code. It's awful)
that they are firing the off-shore
Jerry Zhao wrote:
Hi,
I am having trouble connecting to https sites using php's builtin ssl
functions.
I tried:
file_get_contents('https://securesite')
fsockopen('ssl://securesite', 443, $errno, $errstr,20)
and same errors every time:
SSL: connection timeout
Failed to enable crypto
Hi Everyone
I have tried to configure my php.in file so as allow me to send email in PHP
from local server.
I added the lines in php.ini file
sendmail_path = /usr/sbin/sendmail -t
sendmail_from = n...@localhost
Therafter restarted my apache by:
sudo /etc/init.d/apache2 restart
However, I
Pravinc wrote:
Hey all,
I have one flex+PHP application.
Main purpose of the site is to sell T-shirts online.
Flex is used for generating different designs on available tshirt.
Something similar to Cafepress dot com.
I want to generate 300 DPI tshirt image from flex and send it to
Paul M Foster wrote:
On Thu, May 14, 2009 at 03:22:12PM -0500, Skip Evans wrote:
Hey all,
I'm inheriting a project that was unsuccessfully off-shored
and is now in such bad shape (I've seen the code. It's awful)
that they are firing the off-shore company and starting over.
One of the things
Moses wrote:
Hi Everyone
I have tried to configure my php.in file so as allow me to send email in PHP
from local server.
I added the lines in php.ini file
sendmail_path = /usr/sbin/sendmail -t
sendmail_from = n...@localhost
Therafter restarted my apache by:
sudo
Jerry Zhao wrote:
Hi,
I am having trouble connecting to https sites using php's builtin ssl
functions.
I tried:
file_get_contents('https://securesite')
fsockopen('ssl://securesite', 443, $errno, $errstr,20)
and same errors every time:
SSL: connection timeout
Failed to enable crypto
Call to
I tried different combination of ssl clients and servers, it all points to
problems on the client side of my new php build. The same code worked on an
older php build.
On Thu, May 14, 2009 at 4:57 PM, Nathan Rixham nrix...@gmail.com wrote:
Jerry Zhao wrote:
Hi,
I am having trouble
Jerry Zhao wrote:
I tried different combination of ssl clients and servers, it all points to
problems on the client side of my new php build. The same code worked on an
older php build.
checked the output of print_r( stream_get_wrappers() );?
--
PHP General Mailing List (http://www.php.net/)
On Thu, May 14, 2009 at 5:05 PM, Nathan Rixham nrix...@gmail.com wrote:
Jerry Zhao wrote:
I tried different combination of ssl clients and servers, it all points to
problems on the client side of my new php build. The same code worked on
an
older php build.
checked the output of print_r(
Jerry Zhao wrote:
On Thu, May 14, 2009 at 5:05 PM, Nathan Rixham nrix...@gmail.com wrote:
Jerry Zhao wrote:
I tried different combination of ssl clients and servers, it all points to
problems on the client side of my new php build. The same code worked on
an
older php build.
checked the
Ashley Sheridan wrote:
Paul M Foster wrote:
On Thu, May 14, 2009 at 03:22:12PM -0500, Skip Evans wrote:
One of the things the other company said was possible, and I'm
not familiar with... if I understand correctly, is to create a
CD with not just an Excel spreadsheet, but software on that CD
tedd wrote:
h1
?php echo(Hello World); ?
/h1
and Hello World will be show as a H1 headline.
Please note, the () seen in my use of echo is not necessary -- it's
just another one of those things that I do that no one else does. It's
not wrong, but it serves no purpose other than it looks
Here's a handy little routine I just wrote to suggest properties you're
trying to erroneously set that don't exist in a class. For example:
Attempted to __get() non-existant property/variable 'operator_id' in class
'User'.
checking for operator and suggesting the following:
* id_operator
45 matches
Mail list logo