On 3/18/2010 9:36 PM, php-general-h...@lists.php.net wrote:
Hi! This is the ezmlm program. I'm managing the
php-general@lists.php.net mailing list.
I'm working for my owner, who can be reached
at php-general-ow...@lists.php.net.
To confirm that you would like
bmorga...@gmail.com
added to
okay ..it works now i use
http://www.my.com";);
echo $data;
?>
On Fri, Mar 19, 2010 at 12:32 AM, Adam Richardson wrote:
> On Thu, Mar 18, 2010 at 6:08 PM, Ashley Sheridan
> wrote:
>>
>> On Fri, 2010-03-19 at 00:11 +0200, madunix wrote:
>> > trying http://us3.php.net/manual/en/function.fsockopen.
On Thu, Mar 18, 2010 at 6:08 PM, Ashley Sheridan
wrote:
> On Fri, 2010-03-19 at 00:11 +0200, madunix wrote:
> > trying http://us3.php.net/manual/en/function.fsockopen.php
> > do you a piece of code that read parts pages.
> >
> >
> > On Fri, Mar 19, 2010 at 12:00 AM, Ashley Sheridan
> > wrote:
>
On Fri, 2010-03-19 at 00:11 +0200, madunix wrote:
> trying http://us3.php.net/manual/en/function.fsockopen.php
> do you a piece of code that read parts pages.
>
>
> On Fri, Mar 19, 2010 at 12:00 AM, Ashley Sheridan
> wrote:
>
>
> On Fri, 2010-03-19 at 00:03 +0200, madunix wro
trying http://us3.php.net/manual/en/function.fsockopen.php
do you a piece of code that read parts pages.
On Fri, Mar 19, 2010 at 12:00 AM, Ashley Sheridan
wrote:
> On Fri, 2010-03-19 at 00:03 +0200, madunix wrote:
>
> I've been trying to read the contents from a particular URL into a
> string
On Thu, Mar 18, 2010 at 6:03 PM, madunix wrote:
> I've been trying to read the contents from a particular URL into a
> string in PHP, and can't get it to work. any help.
>
> Thanks
>
> --
> If there is a way, I will find one...***
> If there is none, I will make one..."***
> mad
On Fri, 2010-03-19 at 00:03 +0200, madunix wrote:
> I've been trying to read the contents from a particular URL into a
> string in PHP, and can't get it to work. any help.
>
> Thanks
>
> --
> If there is a way, I will find one...***
> If there is none, I will make one..."***
>
I've been trying to read the contents from a particular URL into a
string in PHP, and can't get it to work. any help.
Thanks
--
If there is a way, I will find one...***
If there is none, I will make one..."***
madunix **
--
PHP General Mailing List (http://ww
On Thu, Mar 18, 2010 at 05:00:24PM +, Ashley Sheridan wrote:
> On Thu, 2010-03-18 at 12:57 -0400, Paul M Foster wrote:
>
> On Thu, Mar 18, 2010 at 04:15:33PM +, Ashley Sheridan wrote:
>
> > On Thu, 2010-03-18 at 12:12 -0400, Paul M Foster wrote:
> >
> > On Thu, Mar 18
On Thu, Mar 18, 2010 at 1:37 PM, Ashley Sheridan
wrote:
> On Thu, 2010-03-18 at 18:37 +0100, Jan G.B. wrote:
>
> >
> >
> > 2010/3/18 Ashley Sheridan
> >
> >
> > On Thu, 2010-03-18 at 18:09 +0100, Jan G.B. wrote:
> >
> > > 2010/3/18 Ashley Sheridan
> > >
> > > > I
On Thu, 2010-03-18 at 18:37 +0100, Jan G.B. wrote:
>
>
> 2010/3/18 Ashley Sheridan
>
>
> On Thu, 2010-03-18 at 18:09 +0100, Jan G.B. wrote:
>
> > 2010/3/18 Ashley Sheridan
> >
> > > I'd rather have short tags turned off than remember each t
2010/3/18 Ashley Sheridan
> On Thu, 2010-03-18 at 18:09 +0100, Jan G.B. wrote:
>
> 2010/3/18 Ashley Sheridan
>
> > I'd rather have short tags turned off than remember each time that I have
> > to keep breaking up the < and ?php before I output it in-case the parser
> > gets confused.
> >
>
> Y
On Thu, 2010-03-18 at 18:09 +0100, Jan G.B. wrote:
> 2010/3/18 Ashley Sheridan
>
> > I'd rather have short tags turned off than remember each time that I have
> > to keep breaking up the < and ?php before I output it in-case the parser
> > gets confused.
> >
>
> You don't need to break anythin
On Thu, Mar 18, 2010 at 1:00 PM, Ashley Sheridan
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.
Nope. If you save as CSV, it is comma-separated with double-quotes as
the text qualifi
2010/3/18 Ashley Sheridan
> I'd rather have short tags turned off than remember each time that I have
> to keep breaking up the < and ?php before I output it in-case the parser
> gets confused.
>
You don't need to break anything up. It's perfectly valid and without
problems:
'; ?>
On Thu, Mar 18, 2010 at 11:28 AM, tedd wrote:
> At 9:34 AM + 3/18/10, Pete Ford wrote:
>
>>
>> I do tend to use > camp here.
>>
>
>
> Whoa, that's even worse -- make a choice and stick with it -- IMO.
>
> I'm all for consistency and have often found myself redoing dozens of
> scripts because
On Thu, 2010-03-18 at 12:57 -0400, Paul M Foster wrote:
> On Thu, Mar 18, 2010 at 04:15:33PM +, Ashley Sheridan wrote:
>
> > On Thu, 2010-03-18 at 12:12 -0400, Paul M Foster wrote:
> >
> > On Thu, Mar 18, 2010 at 08:57:00AM -0700, Tommy Pham wrote:
> >
> >
> >
> > >
> > >
On Thu, 2010-03-18 at 17:57 +0100, Jan G.B. wrote:
> Sure - XML is often used and served. But in general, a web server only
> parses PHP-Files (ie. .+\.php\d?) unless you configure your server to
> parse any file or .xml files. So the XML for the interpreter.
I wasn't meaning that xml files wou
2010/3/18 Ashley Sheridan
> Technically, PHP isn't embedded in any language; it's the other way around.
>
> XML and PHP are used together more often than you might realise. Consider
> Ajax and RSS, which are becoming more and more popular. Also, there are
> sites out there that are almost entirel
On Thu, Mar 18, 2010 at 04:15:33PM +, Ashley Sheridan wrote:
> On Thu, 2010-03-18 at 12:12 -0400, Paul M Foster wrote:
>
> On Thu, Mar 18, 2010 at 08:57:00AM -0700, Tommy Pham wrote:
>
>
>
> >
> > Personally, I find working with fixed widths is best. The text file
> >
On Thu, 2010-03-18 at 17:32 +0100, Jan G.B. wrote:
> 2010/3/18 tedd :
> > 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 li
On Thu, Mar 18, 2010 at 09:16:30AM -0700, Mattias Thorslund wrote:
> Paul M Foster wrote:
>> I process a lot of CSV files, and what I typically see is that Excel
>> will enclose fields which might contain commas in quotes. This gets
>> messy. So I finally wrote a C utility which parses the file an
2010/3/18 tedd :
> 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 did not address you.
On the other h
On Thu, 2010-03-18 at 12:12 -0400, Paul M Foster wrote:
> On Thu, Mar 18, 2010 at 08:57:00AM -0700, Tommy Pham wrote:
>
>
>
> >
> > Personally, I find working with fixed widths is best. The text file
> > might be larger but I don't have worry about escaping any type of
> > characters ;)
>
>
Paul M Foster wrote:
I process a lot of CSV files, and what I typically see is that Excel
will enclose fields which might contain commas in quotes. This gets
messy. So I finally wrote a C utility which parses the file and yields
tab-delimited records without the quotes.
Paul
And fgetcsv() d
On Thu, Mar 18, 2010 at 08:57:00AM -0700, Tommy Pham wrote:
>
> Personally, I find working with fixed widths is best. The text file
> might be larger but I don't have worry about escaping any type of
> characters ;)
I find this impossible, since I never know the largest width of all the
field
On Thu, Mar 18, 2010 at 8:40 AM, tedd wrote:
> At 11:35 AM + 3/18/10, Ashley Sheridan wrote:
>>
>> The .csv format is just a plain text format, so you won't get formatting
>> or formulas in your 'sheets' (csv is also a sheetless format) but it's
>> been used for years by many systems for data.
On Thu, Mar 18, 2010 at 11:42 AM, Ashley Sheridan
wrote:
>
> On Thu, 2010-03-18 at 11:40 -0400, David Mehler wrote:
>
> > Hi,
> > I am wanting to protect some pages by requiring a user to log in to
> > access them. I'd prefer this be as simple as possible, and without
> > requiring a database.
> >
tedd wrote:
> At 8:52 AM +0100 3/18/10, Per Jessen wrote:
>>Robert P. J. Day wrote:
>>
>>>
>>>i realize it sounds trivial but the online info is annoyingly
>>> recursive. there's mime_content_type(), but it's officially
>>> deprecated.
>>
>>On the manual page there is a reference to the Fil
On Thu, 2010-03-18 at 11:40 -0400, David Mehler wrote:
> Hi,
> I am wanting to protect some pages by requiring a user to log in to
> access them. I'd prefer this be as simple as possible, and without
> requiring a database.
> So for example when a user goes to www.domain.com/example.php they'll
>
At 8:52 AM +0100 3/18/10, Per Jessen wrote:
Robert P. J. Day wrote:
i realize it sounds trivial but the online info is annoyingly
recursive. there's mime_content_type(), but it's officially
deprecated.
On the manual page there is a reference to the Fileinfo PECL extension:
http://php/
At 11:35 AM + 3/18/10, Ashley Sheridan wrote:
The .csv format is just a plain text format, so you won't get formatting
or formulas in your 'sheets' (csv is also a sheetless format) but it's
been used for years by many systems for data.
A lot of database systems will let you import csv files
Hi,
I am wanting to protect some pages by requiring a user to log in to
access them. I'd prefer this be as simple as possible, and without
requiring a database.
So for example when a user goes to www.domain.com/example.php they'll
get a page prompting for their log in credentials, and only after
pr
At 4:11 PM +0100 3/18/10, Jan G.B. wrote:
I agree.
And I believe the persons ranting about short open tags are just like
some religious people. It's almost like a war between
Linux/Windows/Mac, IE/FF or ASP/PHP.
Also, people love to recommend things that others recommended before.
It mustn't make
At 9:34 AM + 3/18/10, Pete Ford wrote:
I do tend to use middle camp here.
Whoa, that's even worse -- make a choice and stick with it -- IMO.
I'm all for consistency and have often found myself redoing dozens of
scripts because I changed something -- not because the change worked
and th
2010/3/18 Pete Ford :
> On 17/03/10 18:59, Tommy Pham wrote:
>>
>> On Wed, Mar 17, 2010 at 11:01 AM, Rene Veerman wrote:
>>>
>>> hmm.. seems easier to me to push a filetree of .php's with>> the str_replace(), than it is to get all the>> with your wishes, which may not apply to their situation ;-)
AFAIK, there is no real standard out there for CSV file definition and
since Microsoft and many others (me too btw) use other chars for field
separation in so called CSV files, i think it is a good way to deal with
it and let it be how it is (actually i have to look into every CSV file
that is
At 5:18 PM -0700 3/17/10, Tommy Pham wrote:
-snip-
Below is how I'd do the db structure:
tbl_survey_questions:
questionId = int / uid << your call
languageId = int / uid / char << your call if you intend to I18n it ;)
question = varchar << length is your requirement
PK > questionId + languageI
On Thu, Mar 18, 2010 at 11:35:33AM +, Ashley Sheridan wrote:
>
> The .csv format is just a plain text format, so you won't get formatting
> or formulas in your 'sheets' (csv is also a sheetless format) but it's
> been used for years by many systems for data.
>
> A lot of database systems w
> Microsoft managed to basterdise this format
> a bit as well, and lets you use tabs, spaces and all sorts of other
> characters to delimit data fields. Someone obviously didn't mention to
> them that the file type is 'comma separated values'!
Or maybe it is because someone told them, that there
On Thu, 2010-03-18 at 12:56 +0100, Jochen Schultz wrote:
> > Microsoft managed to basterdise this format
> > a bit as well, and lets you use tabs, spaces and all sorts of other
> > characters to delimit data fields. Someone obviously didn't mention to
> > them that the file type is 'comma separ
On Thu, 2010-03-18 at 19:21 +0800, I am on the top of the world!
Borlange University wrote:
> sounds good, i havnt checked out it with cvs format.
>
> thanks
>
>
> On Tue, Mar 16, 2010 at 8:15 PM, Ashley Sheridan
> wrote:
>
>
> On Tue, 2010-03-16 at 20:16 +0800, I am on the t
On 17/03/10 18:59, Tommy Pham wrote:
On Wed, Mar 17, 2010 at 11:01 AM, Rene Veerman wrote:
hmm.. seems easier to me to push a filetree of .php's with wrote:
At 8:55 PM -0400 3/16/10, Adam Richardson wrote:
That said, I'm not taking exception with those who don't use the short
tag, only with
Robert P. J. Day wrote:
>
> i realize it sounds trivial but the online info is annoyingly
> recursive. there's mime_content_type(), but it's officially
> deprecated.
On the manual page there is a reference to the Fileinfo PECL extension:
http://php/manual/en/ref.fileinfo.php
--
Per Jesse
44 matches
Mail list logo