php-general Digest 19 Mar 2010 07:06:30 - Issue 6647
Topics (messages 302972 through 302994):
Re: Spreadsheet_Excel_Reader problem
302972 by: Paul M Foster
302974 by: Paul M Foster
302977 by: Ashley Sheridan
302980 by: Andrew Ballard
302985 by: Paul M
php-general Digest 19 Mar 2010 21:01:36 - Issue 6648
Topics (messages 302995 through 303020):
Re: web sniffer
302995 by: Jochen Schultz
302996 by: Peter Lind
302997 by: madunix
303000 by: Jay Blanchard
303001 by: Ashley Sheridan
303002 by:
All,
I want to start using PHP namespaces for my projects. Currently, I name
my classes similar to how Zend Framework names theirs and I end up with
classes like:
LS_Util_String
I'm thinking that if I converted this to namespaces, the classes would
be named like:
LS\Util\String
I'd
Btw., when you use file_get_contets, is there a good way to tell the
script to stop recieving the file after let's say 2 seconds - just in
case the server is not reachable - to avoid using fsockopen?
regards
Jochen
madunix schrieb:
okay ..it works now i use
?php
You should be able to do that by setting context options:
http://www.php.net/manual/en/context.http.php
On 19 March 2010 08:53, Jochen Schultz jschu...@sportimport.de wrote:
Btw., when you use file_get_contets, is there a good way to tell the script
to stop recieving the file after let's say 2
can any one give a complete sample script how to retrieve data content
from web (jpg, pdf, field).
Thanks
On Fri, Mar 19, 2010 at 9:53 AM, Jochen Schultz jschu...@sportimport.de wrote:
Btw., when you use file_get_contets, is there a good way to tell the script
to stop recieving the file after
Jan G.B. wrote:
2010/3/18 tedd tedd.sperl...@gmail.com:
Calling it ranting or religious unjustly demeans the discussion and is
inflammatory.
In all of this, I've simply said it's your choice.
What I said was:
*persons ranting about short open tags* *are just like some religious people
*
I
On 19 March 2010 10:17, Michael A. Peters mpet...@mac.com wrote:
I don't care what people do in their code.
I do not like released code with short tags, it has caused me problems when
trying to run php webapps that use short tags, I have to go through the code
and change them.
So what
[snip]
can any one give a complete sample script how to retrieve data content
from web (jpg, pdf, field).
[/snip]
Your question is a little too far reaching. You can use string functions
match portions of strings including tried and true regular expressions.
What do you want to do, specifically?
On Fri, 2010-03-19 at 06:25 -0500, Jay Blanchard wrote:
[snip]
can any one give a complete sample script how to retrieve data content
from web (jpg, pdf, field).
[/snip]
Your question is a little too far reaching. You can use string functions
match portions of strings including tried and
Maybe this code may help you getting into it?
?php
class simpleHttpSocket {
public function
sendHttpRequest($host,$filename,$port=80,$timeout=1,$x=0,$result=array()) {
$header = 'GET /'.$filename.' HTTP/1.1'.PHP_EOL;
$header .= 'Host: '.$host.PHP_EOL;
$header .= 'Connection:
Thanks alot!
regards
Jochen
Peter Lind schrieb:
You should be able to do that by setting context options:
http://www.php.net/manual/en/context.http.php
On 19 March 2010 08:53, Jochen Schultz jschu...@sportimport.de wrote:
Btw., when you use file_get_contets, is there a good way to tell the
field?
On Fri, Mar 19, 2010 at 9:46 AM, madunix madu...@gmail.com wrote:
can any one give a complete sample script how to retrieve data content
from web (jpg, pdf, field).
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(just a warning -- as a relative newbie to PHP, i'll probably have
the occasional dumb question. just humour me.)
i'm looking at some existing PHP code that accesses a mysql 5.0 db,
and it's coded using the mysql-specific calls: mysql_connect,
mysql_select_db, etc, etc.
is there any
https://bugs.launchpad.net/ubuntu/+source/phpmyadmin/+bug/541922
phpmyadmin is on strike :(
can anyone recommend a good alternative? auto-scaling print function preferred.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2010-03-19 at 10:17 -0400, Robert P. J. Day wrote:
(just a warning -- as a relative newbie to PHP, i'll probably have
the occasional dumb question. just humour me.)
i'm looking at some existing PHP code that accesses a mysql 5.0 db,
and it's coded using the mysql-specific calls:
On Fri, 2010-03-19 at 15:25 +0100, Rene Veerman wrote:
https://bugs.launchpad.net/ubuntu/+source/phpmyadmin/+bug/541922
phpmyadmin is on strike :(
can anyone recommend a good alternative? auto-scaling print function
preferred.
I needed software to do this a while ago, and the
On Fri, Mar 19, 2010 at 3:05 AM, D. Dante Lorenso da...@lorenso.com wrote:
All,
I want to start using PHP namespaces for my projects. Currently, I name my
classes similar to how Zend Framework names theirs and I end up with classes
like:
LS_Util_String
I'm thinking that if I converted
On Fri, Mar 19, 2010 at 02:23:30PM +, Ashley Sheridan wrote:
On Fri, 2010-03-19 at 10:17 -0400, Robert P. J. Day wrote:
(just a warning -- as a relative newbie to PHP, i'll probably have
the occasional dumb question. just humour me.)
i'm looking at some existing PHP code that
On Fri, Mar 19, 2010 at 10:23 AM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
On Fri, 2010-03-19 at 10:17 -0400, Robert P. J. Day wrote:
(just a warning -- as a relative newbie to PHP, i'll probably have
the occasional dumb question. just humour me.)
i'm looking at some existing
another option: adodb.sf.net.
and yep, i'm fully for using a db abstraction layer.
On Fri, Mar 19, 2010 at 3:17 PM, Robert P. J. Day rpj...@crashcourse.ca wrote:
(just a warning -- as a relative newbie to PHP, i'll probably have
the occasional dumb question. just humour me.)
i'm looking
thanks.
On Fri, Mar 19, 2010 at 3:35 PM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
On Fri, 2010-03-19 at 15:25 +0100, Rene Veerman wrote:
https://bugs.launchpad.net/ubuntu/+source/phpmyadmin/+bug/541922
phpmyadmin is on strike :(
can anyone recommend a good alternative?
On 03/19/2010 08:51 PM, Rene Veerman wrote:
another option: adodb.sf.net.
and yep, i'm fully for using a db abstraction layer.
On Fri, Mar 19, 2010 at 3:17 PM, Robert P. J. Dayrpj...@crashcourse.ca wrote:
(just a warning -- as a relative newbie to PHP, i'll probably have
the occasional
Add me to the list of people recommending PDO. It's much nicer to work
with than the ext/mysql API, and frankly more secure since you get
prepared statements. It won't get you complete database independence
for a number of reasons (mostly due to databases being too
unstandardized because
Robert P. J. Day wrote:
(just a warning -- as a relative newbie to PHP, i'll probably have
the occasional dumb question. just humour me.)
i'm looking at some existing PHP code that accesses a mysql 5.0 db,
and it's coded using the mysql-specific calls: mysql_connect,
mysql_select_db, etc,
la...@garfieldtech.com wrote:
Add me to the list of people recommending PDO. It's much nicer to work
with than the ext/mysql API, and frankly more secure since you get
prepared statements. It won't get you complete database independence for
a number of reasons (mostly due to databases being too
On Fri, 19 Mar 2010, Mattias Thorslund wrote:
Robert P. J. Day wrote:
(just a warning -- as a relative newbie to PHP, i'll probably have
the occasional dumb question. just humour me.)
i'm looking at some existing PHP code that accesses a mysql 5.0 db,
and it's coded using the
hi gang[tm],
I've been STFW for some kind of CRM package specifically geared at
event/exhibition organizers. I'm not having any luck, there *seems* to
be stuff out there but most of it's geared at single exhibitor/corporate
entity event management as opposed to the organization of events
where
i don't see a separate mailing list for documentation so is this
where i would point at oddities in the manual? as in, here:
http://www.php.net/manual/en/language.variables.external.php
we read:
// Unavailable since PHP 6.
that just looks weird, no?
rday
--
Mattias Thorslund wrote:
Robert P. J. Day wrote:
(just a warning -- as a relative newbie to PHP, i'll probably have
the occasional dumb question. just humour me.)
i'm looking at some existing PHP code that accesses a mysql 5.0 db,
and it's coded using the mysql-specific calls:
Hi
I'm setting up a development environment that runs multiple versions of php.
I'm looking a list of the compile option options for each php release
other than ./configure --help with more detail on what each option
does.
Any suggestions welcome .
Thank you.
--
PHP General Mailing List
On Mar 18, 2010, at 1:26 PM, Andrew Ballard wrote:
On Thu, Mar 18, 2010 at 1:00 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
[snip]
And I believe that when MS Office saves a CSV out with a character
other
than a comma as the delimiter, it still saves it as a .csv by
default.
On Fri, 2010-03-19 at 18:01 -0400, Jason Pruim wrote:
On Mar 18, 2010, at 1:26 PM, Andrew Ballard wrote:
On Thu, Mar 18, 2010 at 1:00 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
[snip]
And I believe that when MS Office saves a CSV out with a character
other
than a comma
Robert P. J. Day wrote:
i don't see a separate mailing list for documentation so is this
where i would point at oddities in the manual? as in, here:
http://www.php.net/manual/en/language.variables.external.php
we read:
// Unavailable since PHP 6.
that just looks weird, no?
rday
On Fri, Mar 19, 2010 at 6:01 PM, Jason Pruim li...@pruimphotography.com wrote:
On Mar 18, 2010, at 1:26 PM, Andrew Ballard wrote:
On Thu, Mar 18, 2010 at 1:00 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
[snip]
And I believe that when MS Office saves a CSV out with a character
On Fri, Mar 19, 2010 at 6:13 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
On Fri, 2010-03-19 at 18:01 -0400, Jason Pruim wrote:
On Mar 18, 2010, at 1:26 PM, Andrew Ballard wrote:
On Thu, Mar 18, 2010 at 1:00 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
[snip]
And I
On Fri, 19 Mar 2010, Shawn McKenzie wrote:
Robert P. J. Day wrote:
i don't see a separate mailing list for documentation so is this
where i would point at oddities in the manual? as in, here:
http://www.php.net/manual/en/language.variables.external.php
we read:
// Unavailable
On Fri, Mar 19, 2010 at 16:59, Robert P. J. Day rpj...@crashcourse.ca wrote:
i don't see a separate mailing list for documentation so is this
where i would point at oddities in the manual? as in, here:
http://www.php.net/manual/en/language.variables.external.php
we read:
// Unavailable
On Fri, Mar 19, 2010 at 20:57, Robert P. J. Day rpj...@crashcourse.ca wrote:
i'm not sure that addresses my post -- it doesn't make grammatical
sense to state that something is unavailable since something that is
yet to be officially released.
In most cases, you'd be absolutely
On Fri, Mar 19, 2010 at 21:04, Daniel Brown danbr...@php.net wrote:
Indeed. It would probably be better to read, Unavailable as of
PHP 6. I'll patch that in the XML sources now, and the next time the
manual rebuilds, the changes will take effect.
Future builds will appear as hinted
On 03/20/2010 02:31 AM, Michael A. Peters wrote:
Mattias Thorslund wrote:
Robert P. J. Day wrote:
(just a warning -- as a relative newbie to PHP, i'll probably have
the occasional dumb question. just humour me.)
i'm looking at some existing PHP code that accesses a mysql 5.0 db,
and it's
On 03/20/2010 03:16 AM, Gregory Machin wrote:
Hi
I'm setting up a development environment that runs multiple versions of php.
I'm looking a list of the compile option options for each php release
other than ./configure --help with more detail on what each option
does.
Any suggestions welcome .
Nilesh Govindarajan wrote:
On 03/20/2010 02:31 AM, Michael A. Peters wrote:
Mattias Thorslund wrote:
Robert P. J. Day wrote:
(just a warning -- as a relative newbie to PHP, i'll probably have
the occasional dumb question. just humour me.)
i'm looking at some existing PHP code that accesses a
On 03/20/2010 07:50 AM, Michael A. Peters wrote:
Nilesh Govindarajan wrote:
On 03/20/2010 02:31 AM, Michael A. Peters wrote:
Mattias Thorslund wrote:
Robert P. J. Day wrote:
(just a warning -- as a relative newbie to PHP, i'll probably have
the occasional dumb question. just humour me.)
i'm
44 matches
Mail list logo