There are essentially 2 ways:
1. All POSTed data is present in the $_POST superglobal array. So you
could just loop over that, ignore the fields you already knew were there,
and the data remaining is then essentially the data you seek. The keys in
the $_POST array are the fieldnames you are
On 06-06-2012 05:11, Jim Giner wrote:
Govindagovinda.webdnat...@gmail.com wrote in message
news:72497398-3a6c-4faa-89f2-565c18fd2...@gmail.com...
On 2012-06-05, at 10:54 PM, Devangnp wrote:
I know how to pass variable but having difficulties when I use the dynamic
form field in HTML that add
Maciek Sokolewicz maciek.sokolew...@gmail.com wrote in message
news:4fcf23af.7040...@php.net...
On 06-06-2012 05:11, Jim Giner wrote:
Govindagovinda.webdnat...@gmail.com wrote in message
news:72497398-3a6c-4faa-89f2-565c18fd2...@gmail.com...
On 2012-06-05, at 10:54 PM, Devangnp wrote:
I
Hi All,
I am a basic user of PHP and I have need of reading the dynamic HTML form
field as a variable in PHP so it will be great if someone can share some
good link or snip for quick understanding.
Thanks,
Devang
Hi All,
I am a basic user of PHP and I have need of reading the dynamic HTML form
field as a variable in PHP so it will be great if someone can share some
good link or snip for quick understanding.
Thanks,
Devang
http://lmgtfy.com/?q=how+to+pass+and+receive+a+PHP+variable
When just
On 2012-06-05, at 10:54 PM, Devangnp wrote:
I know how to pass variable but having difficulties when I use the dynamic
form field in HTML that add more boxes as per user require.
Hi All,
I am a basic user of PHP and I have need of reading the dynamic HTML form
field as a variable in
Govinda govinda.webdnat...@gmail.com wrote in message
news:72497398-3a6c-4faa-89f2-565c18fd2...@gmail.com...
On 2012-06-05, at 10:54 PM, Devangnp wrote:
I know how to pass variable but having difficulties when I use the dynamic
form field in HTML that add more boxes as per user require.
Hey guys (and gals)
I am writing something that needs to connect to a SMB server... can this
be done easliy?
I copied a sample code from php.net that used the system() command and
mounted the SMB to a /mnt/tmp partion, and technically, it works the
problem is, is that mount has to be run as
On Fri, Nov 5, 2010 at 9:48 AM, Steve Staples sstap...@mnsi.net wrote:
Hey guys (and gals)
I am writing something that needs to connect to a SMB server... can this
be done easliy?
I copied a sample code from php.net that used the system() command and
mounted the SMB to a /mnt/tmp partion,
On Fri, 2010-11-05 at 10:06 -0600, Nathan Nobbe wrote:
On Fri, Nov 5, 2010 at 9:48 AM, Steve Staples sstap...@mnsi.net wrote:
Hey guys (and gals)
I am writing something that needs to connect to a SMB server... can this
be done easliy?
I copied a sample code from php.net that used
On Fri, Nov 5, 2010 at 10:18 AM, Steve Staples sstap...@mnsi.net wrote:
On Fri, 2010-11-05 at 10:06 -0600, Nathan Nobbe wrote:
On Fri, Nov 5, 2010 at 9:48 AM, Steve Staples sstap...@mnsi.net wrote:
Hey guys (and gals)
I am writing something that needs to connect to a SMB server...
On 5 November 2010 16:30, Nathan Nobbe quickshif...@gmail.com wrote:
On Fri, Nov 5, 2010 at 10:18 AM, Steve Staples sstap...@mnsi.net wrote:
On Fri, 2010-11-05 at 10:06 -0600, Nathan Nobbe wrote:
On Fri, Nov 5, 2010 at 9:48 AM, Steve Staples sstap...@mnsi.net wrote:
Hey guys (and gals)
On 5 November 2010 16:43, Richard Quadling rquadl...@gmail.com wrote:
On 5 November 2010 16:30, Nathan Nobbe quickshif...@gmail.com wrote:
On Fri, Nov 5, 2010 at 10:18 AM, Steve Staples sstap...@mnsi.net wrote:
On Fri, 2010-11-05 at 10:06 -0600, Nathan Nobbe wrote:
On Fri, Nov 5, 2010 at
On Fri, Nov 5, 2010 at 10:43 AM, Richard Quadling rquadl...@gmail.comwrote:
On 5 November 2010 16:30, Nathan Nobbe quickshif...@gmail.com wrote:
On Fri, Nov 5, 2010 at 10:18 AM, Steve Staples sstap...@mnsi.net
wrote:
On Fri, 2010-11-05 at 10:06 -0600, Nathan Nobbe wrote:
On Fri, Nov 5,
Nathan Nobbe пишет:
On Fri, Nov 5, 2010 at 10:43 AM, Richard Quadling rquadl...@gmail.comwrote:
On 5 November 2010 16:30, Nathan Nobbe quickshif...@gmail.com wrote:
On Fri, Nov 5, 2010 at 10:18 AM, Steve Staples sstap...@mnsi.net
wrote:
On Fri, 2010-11-05 at 10:06 -0600,
On Fri, Nov 5, 2010 at 11:01 AM, Alexandr verbitsky_alexa...@mail.bywrote:
Nathan Nobbe пишет:
On Fri, Nov 5, 2010 at 10:43 AM, Richard Quadling rquadl...@gmail.com
wrote:
On 5 November 2010 16:30, Nathan Nobbe quickshif...@gmail.com wrote:
On Fri, Nov 5, 2010 at 10:18 AM, Steve
On Fri, 2010-11-05 at 11:06 -0600, Nathan Nobbe wrote:
On Fri, Nov 5, 2010 at 11:01 AM, Alexandr verbitsky_alexa...@mail.bywrote:
Nathan Nobbe пишет:
On Fri, Nov 5, 2010 at 10:43 AM, Richard Quadling rquadl...@gmail.com
wrote:
On 5 November 2010 16:30, Nathan Nobbe
Small and maybe useless note about privileges required to exec 'mount'
command via php's system():
root is not required if 'user' option exists in /etc/fstab.
It is true because mount cmd has always root privileges due to suexec
bit and it decides whether calling user is authorized to mount
Ave,
This is what I'm trying to do; I want to read a directory (eg: W:\Test
\) and take all the filenames found in the directory (eg: 1.vox,
2.wav, 3.txt) and store them in a simple mySQL table.
Can I do this?
---
Rahul Sitaram Johari
Founder, Internet Architects Group, Inc.
[Email]
On Wed, 2010-01-13 at 09:25 -0500, Rahul S. Johari wrote:
Ave,
This is what I'm trying to do; I want to read a directory (eg: W:\Test
\) and take all the filenames found in the directory (eg: 1.vox,
2.wav, 3.txt) and store them in a simple mySQL table.
Can I do this?
---
Rahul
Ashley Sheridan wrote:
On Wed, 2010-01-13 at 09:25 -0500, Rahul S. Johari wrote:
Ave,
This is what I'm trying to do; I want to read a directory (eg: W:\Test
\) and take all the filenames found in the directory (eg: 1.vox,
2.wav, 3.txt) and store them in a simple mySQL table.
Can I
On Jan 13, 2010, at 9:56 AM, Warren Windvogel wrote:
On 2010/01/13 04:25 PM, Rahul S. Johari wrote:
Ave,
This is what I'm trying to do; I want to read a directory (eg: W:
\Test\) and take all the filenames found in the directory (eg:
1.vox, 2.wav, 3.txt) and store them in a simple mySQL
On Jan 13, 2010, at 10:07 AM, Kenneth Sande wrote:
Ashley Sheridan wrote:
On Wed, 2010-01-13 at 09:25 -0500, Rahul S. Johari wrote:
Ave,
This is what I'm trying to do; I want to read a directory (eg: W:
\Test \) and take all the filenames found in the directory (eg:
1.vox, 2.wav,
On Wed, Jan 13, 2010 at 10:50 AM, Rahul S. Johari
sleepwal...@rahulsjohari.com wrote:
On Jan 13, 2010, at 10:40 AM, Rahul S. Johari wrote:
On Jan 13, 2010, at 9:50 AM, Warren Windvogel wrote:
On 2010/01/13 04:25 PM, Rahul S. Johari wrote:
Ave,
This is what I'm trying to do; I want to
Kenneth Sande wrote:
I use the glob function in my little homemade web cam page, which can
really swell up in memory when used against a large amount of files (in
my case around 30k files).
+1 for glob()
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List
I can not get the stream_get_contents() to work. it's returning empty.
If you have a login details ALOGINPASS 1A cant you just fwrite($ft,
ALOGINPASS 1A); or do you need to add other things
what is the meaning of this string GET / HTTP/1.0\r\nHost:
www.example.com\r\nAccept
Hello Mr HELP!
2009/6/12 HELP! izod...@gmail.com
I can not get the stream_get_contents() to work. it's returning empty.
Is that simply because there's nothing to read from the socket?
If you have a login details ALOGINPASS 1A cant you just fwrite($ft,
ALOGINPASS 1A); or do you need to add
2009/6/8 HELP! izod...@gmail.com
opening of the sorket is ok and writting LOGIN packet to the sorket is also
ok but reading the response to know if the login is accepted or rejected is
a not OK.
Don't use fread() to read from sockets, use stream_get_contents(). Example 3
on the fread()
opening of the sorket is ok and writting LOGIN packet to the sorket is also
ok but reading the response to know if the login is accepted or rejected is
a not OK.
please help
$port =xx;
$ip =xx.xx.xxx;
$timeout = 30;
$start =L;
$Login = user ;
$Password =pass ;
$session = ;
Tom Worster wrote:
1) the inotify interface will alert you when a file or directory
changes.
do you mean the pecl inotify extension?
Not specifically, but if that's how inotify is available in PHP, then
yes.
that would eliminate the polling and the associated lag. but the php
manual
Tom Worster wrote:
do you mean the pecl inotify extension? that would eliminate the polling and
the associated lag. but the php manual says it requires linux.
Yup - and it's kernel, so I don't think it could easily be ported to OS X.
--
PHP General Mailing List (http://www.php.net/)
To
Tom Worster wrote:
imagine writing a script to run as a daemon reading data off the
bottom of a log file that gets updated every few minutes and
processing each new log line as they arrive.
i could exec(tail $logfile, $lines, $status) every now and then. or
poll the file mtime and run
On 5/16/09 3:55 AM, Per Jessen p...@computer.org wrote:
Tom Worster wrote:
imagine writing a script to run as a daemon reading data off the
bottom of a log file that gets updated every few minutes and
processing each new log line as they arrive.
i could exec(tail $logfile, $lines,
imagine writing a script to run as a daemon reading data off the bottom of a
log file that gets updated every few minutes and processing each new log
line as they arrive.
i could exec(tail $logfile, $lines, $status) every now and then. or poll
the file mtime and run exec(tail $logfile, $lines,
Any other ideas?
Von: Bastien Koert [mailto:phps...@gmail.com]
Gesendet: 20 March 2009 15:49
An: Andrei Bintintan
Cc: php-general@lists.php.net
Betreff: Re: [PHP] Read Text Content from PDF file
On Fri, Mar 20, 2009 at 10:23 AM, Andrei Bintintan fo...@interpid.eu
wrote:
Could you
Andrei Bintintan wrote:
Any other ideas?
I believe there is a windows binary called pdf2txt.exe out there somewhere.
I doubt you will find any solution that does not require installation of
a binary on the server, so if you can't install xpdf on the server then
you probably will have to
Andrei Bintintan wrote:
Any other ideas?
Also - I believe the commercial (full) version of PDFlib can - in fact,
I believe you can do it with the pecl-pdflib library if you have the
full version of pdflib installed.
I seem to remember there work on a clibpdf php wrapper back when php 4
On Mon, Mar 30, 2009 at 3:16 AM, Michael A. Peters mpet...@mac.com wrote:
Andrei Bintintan wrote:
Any other ideas?
Also - I believe the commercial (full) version of PDFlib can - in fact, I
believe you can do it with the pecl-pdflib library if you have the full
version of pdflib installed.
haliphax wrote:
On Mon, Mar 30, 2009 at 3:16 AM, Michael A. Peters mpet...@mac.com wrote:
Andrei Bintintan wrote:
Any other ideas?
Also - I believe the commercial (full) version of PDFlib can - in fact, I
believe you can do it with the pecl-pdflib library if you have the full
version of
On Fri, Mar 20, 2009 at 9:48 AM, Andrei Bintintan fo...@interpid.eu wrote:
Hi to all,
I have to read the texts from PDF documents with PHP. A solution would be
to
use http://www.foolabs.com/xpdf, but it is not installed on the server
that
I work with and it is not wanted to be installed.
Hi to all,
I have to read the texts from PDF documents with PHP. A solution would be to
use http://www.foolabs.com/xpdf, but it is not installed on the server that
I work with and it is not wanted to be installed. So I have to look for
another solution.
Is there a possibility, PHP
Could you be more precise? I'm looking at that class, but I can't see any
function that does that.
Andy.
Von: Bastien Koert [mailto:phps...@gmail.com]
Gesendet: 20 March 2009 14:57
An: Andrei Bintintan
Cc: php-general@lists.php.net
Betreff: Re: [PHP] Read Text Content from PDF file
*Cc:* php-general@lists.php.net
*Betreff:* Re: [PHP] Read Text Content from PDF file
On Fri, Mar 20, 2009 at 9:48 AM, Andrei Bintintan fo...@interpid.eu
wrote:
Hi to all,
I have to read the texts from PDF documents with PHP. A solution would be
to
use http://www.foolabs.com/xpdf
Phpster schrieb:
On Feb 6, 2009, at 9:12, Jônatas Zechim zechim@gmail.com wrote:
Hi there, i want do read a XML like this:
Server.php
?php
header (content-type: text/xml);
echo ?xml version=\1.0\ encoding=\iso-5718\ ? images image
ID1/ID
albumtestealbum
Hi there, i want do read a XML like this:
Server.php
?php
header (content-type: text/xml);
echo ?xml version=\1.0\ encoding=\iso-5718\ ? images image
ID1/ID
albumtestealbum
path/images/teste.jpg/path
/image
/images;
?
How can do this?
zechim
--
PHP General Mailing List
On Feb 6, 2009, at 9:12, Jônatas Zechim zechim@gmail.com wrote:
Hi there, i want do read a XML like this:
Server.php
?php
header (content-type: text/xml);
echo ?xml version=\1.0\ encoding=\iso-5718\ ? images image
ID1/ID
albumtestealbum
path/images/teste.jpg/path
/image
/images;
Jônatas Zechim wrote:
Hi there, i want do read a XML like this:
Server.php
?php
header (content-type: text/xml);
echo ?xml version=\1.0\ encoding=\iso-5718\ ? images image
ID1/ID
albumtestealbum
path/images/teste.jpg/path
/image
/images;
?
How can do this?
zechim
an array of the XML that server.php had output.
Zechim
-Mensagem original-
De: Jim Lucas [mailto:li...@cmsws.com]
Enviada em: sexta-feira, 6 de fevereiro de 2009 14:39
Para: Jônatas Zechim
Cc: php-general@lists.php.net
Assunto: Re: [PHP] Read a XML (not a file)
Jônatas Zechim wrote:
Hi
On Sun, Dec 28, 2008 at 12:41 PM, Tim Rude tim_r...@yahoo.com wrote:
Using PHP, is there a way for me to read the values that a user has
entered into the text fields of a FORM prior to the user clicking the
submit button?
If the user doesnt press the submit button PHP has no idea what's
going
At 9:41 AM -0600 12/28/08, Tim Rude wrote:
Using PHP, is there a way for me to read the values that a user has
entered into the text fields of a FORM prior to the user clicking the
submit button?
Essentially what I want to do is make sure the user has filled in all
three text fields on my form
Thanks! I haven't played with javascript but it looks pretty
straight-forward. I appreciate the samples.
Tim Rude
--
tedd tedd.sperl...@gmail.com wrote in message
news:p06240817c57d610ba...@[192.168.1.101]...
At 9:41 AM -0600 12/28/08, Tim Rude wrote:
Using PHP, is there a way for me to read
Adam Randall wrote:
I'm amazed that this either doesn't exist, or is hard to find. I
basically am looking for a way to read in an image into PHP, or shell
out to something on the Linux side, and determine, and see if it has a
barcode in it or not. If it does, I need to decode the barcode so
AIUI:
The barcodes are on faxes and whatnot, with no predictable skew, position, nor
orientation.
You've tried JOCR/GOCR, and they don't do very well.
Here are your options:
1) Shell out the money for that PaperPort OMNI or whatever it is commercial OCR
product. It *is* better than
-Original Message-
From: c...@l-i-e.com [mailto:c...@l-i-e.com]
Sent: Thursday, December 18, 2008 10:06 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Read/decode barcodes from an image
The barcodes are on faxes and whatnot, with no predictable skew,
position, nor orientation
Certainly if the quality of the input can be improved by using some digital
transfer that is not a fax, go for it...
I assumed the OP already knew that, but perhaps not.
The fax is going to cost you a LOT of accuracy, probably too much to make OCR
even viable, really, but it depends on
I'm amazed that this either doesn't exist, or is hard to find. I
basically am looking for a way to read in an image into PHP, or shell
out to something on the Linux side, and determine, and see if it has a
barcode in it or not. If it does, I need to decode the barcode so that
I can identify the
On Wed, 2008-12-17 at 14:56 -0800, Adam Randall wrote:
I'm amazed that this either doesn't exist, or is hard to find. I
basically am looking for a way to read in an image into PHP, or shell
out to something on the Linux side, and determine, and see if it has a
barcode in it or not. If it does,
Are you referring to a project, class, or just generally curious about
what I'm asking? Barcode reader can be many things, including a
scanning wand (not applicable to what I am looking for).
On Wed, Dec 17, 2008 at 3:47 PM, Robert Cummings rob...@interjinn.com wrote:
On Wed, 2008-12-17 at 14:56
I am trying to read a bunch of files that are in many directors into one
string
But it will only read one file.
Every file is a number 134328923 but they all start with 13
They are in 22 directors named 0 to 22
How can I make the script look in each directory and read each file into
a string
First, which version of PHP? PHP 5 added a lot of features for reading
files.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Richard Kurth wrote:
I am trying to read a bunch of files that are in many directors into
one string
But it will only read one
Version 5
First, which version of PHP? PHP 5 added a lot of features for reading
files.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Richard Kurth wrote:
I am trying to read a bunch of files that are in many directors into
one string
But it will
Try this:
$rootPath = '/remote';
$string = '';
foreach (0..22 as $dirNum)
{
$dir = $rootPath/$dirNum;
chdir($dir);
$files = glob(13*);
foreach ($files as $file)
{
$string .= file_get_contents($file);
}
}
echo $string;
Thank you,
Micah Gersten
onShore Networks
*I get this when I run it
Parse error*: syntax error, unexpected T_DNUMBER in *remove.php* on line *4
it does not like the *foreach (0..22 as $dirNum)
Try this:
$rootPath = '/remote';
$string = '';
foreach (0..22 as $dirNum)
{
$dir = $rootPath/$dirNum;
chdir($dir);
$files =
oops.
foreach (range(0..22) as $dirNum)
:)
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Richard Kurth wrote:
*I get this when I run it
Parse error*: syntax error, unexpected T_DNUMBER in *remove.php* on
line *4
it does not like the *foreach (0..22 as
foreach (range(0,22) as $dirNum)
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Richard Kurth wrote:
*I get this when I run it
Parse error*: syntax error, unexpected T_DNUMBER in *remove.php* on
line *4
it does not like the *foreach (0..22 as $dirNum)
*Now I get this error
Warning*: chdir() [function.chdir]: No error (errno 0) in
*C:\web\easycontactpro\removeemail.php* on line *7*
Where can I find what errno 0 means
it loops through all the directors but does not process any of the files
foreach (range(0,22) as $dirNum)
Thank you,
Micah
Well, make sure $rootPath is correct for your environment. Also, add a
slash after the directory name.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Richard Kurth wrote:
*Now I get this error
Warning*: chdir() [function.chdir]: No error (errno 0) in
I had to add the full path and it works just fine.
Thanks
Well, make sure $rootPath is correct for your environment. Also, add a
slash after the directory name.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Richard Kurth wrote:
*Now I get this
I am writing code to read a bunch of xml files which describe
pharmaceutical drugs. They have namespace references at the top of each
file that look like this:
document xmlns:voc=http://www.hl7.org/v3/voc; xmlns=urn:hl7-org:v3
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
HI!
I am trying to access qmail with php.
Why!
Because I would like to read mail who someone send an email me to qmail.
If anyone knows the code, please send me the code.
Regards,
Yui
On Sunday 30 December 2007 21:19:16 Yui Hiroaki wrote:
HI!
I am trying to access qmail with php.
Why!
Because I would like to read mail who someone send an email me to qmail.
If anyone knows the code, please send me the code.
NOW that was straight forward
I always thought the easiest
On Sun, December 30, 2007 2:19 pm, Yui Hiroaki wrote:
HI!
I am trying to access qmail with php.
Why!
Because I would like to read mail who someone send an email me to
qmail.
If anyone knows the code, please send me the code.
http://php.net/imap
Sample Code:
Hi!
I think that is not possible to read post data as a buffer with php like
it´s in perl. If this is true, how do you deal with large file uploads
to know the status of the operation at any time?
Thanks
Greetings from Spain
--
David Blanco
--
PHP General Mailing List (http://www.php.net/)
You may be looking for this :
http://martinjansen.com/2007/04/upload-progress/
David Blanco-3 wrote:
Hi!
I think that is not possible to read post data as a buffer with php like
it´s in perl. If this is true, how do you deal with large file uploads
to know the status of the operation
]
Sent: Wednesday, September 19, 2007 12:41 AM
To: Sanjeev N
Cc: php-general@lists.php.net
Subject: Re: [PHP] read the main domain cookie in sub domain
Sanjeev N wrote:
Assume, I have www.domain.com http://www.domain.com/ in which I wrote
the
functionality for user authentication and his profile
website URL
http://webhosting.sanchanworld.com - Choose your best web hosting plan
-Original Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 19, 2007 12:46 AM
To: Sanjeev N
Cc: php-general@lists.php.net
Subject: Re: [PHP] read the main domain cookie in sub domain
: php-general@lists.php.net
Subject: Re: [PHP] read the main domain cookie in sub domain
Sanjeev N wrote:
Assume, I have www.domain.com http://www.domain.com/ in which I wrote
the
functionality for user authentication and his profile related
functionality.
Now, when user logs in using http
Hi,
Assume, I have www.domain.com http://www.domain.com/ in which I wrote the
functionality for user authentication and his profile related functionality.
Now, when user logs in using http://www.domain.com/users/login.php then
after his successful login a session as well as a cookie is
Sanjeev N wrote:
Assume, I have www.domain.com http://www.domain.com/ in which I wrote the
functionality for user authentication and his profile related functionality.
Now, when user logs in using http://www.domain.com/users/login.php then
after his successful login a session as well as a
Is there a simple php way to make a webpage read-only, please?
www.coderewind.com
Best Place to hunt for Code
--
View this message in context:
http://www.nabble.com/read-only--tf4316703.html#a12291195
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General
Is there a simple php way to make a webpage read-only, please?
Webpages are already read only. Well, read only in the browser. There
is nothing to prevent the user from saving the page and altering to
their hearts content.
Did you mean to ask if there was a simple way to make a *form* read
The fact that you are using stripslashes tells me that something is
very very very wrong somewhere...
For output to the textarea, just htmlentities should be sufficient.
Emailing HTML enhanced newsletter will reduce the number of people
who actually read the dang thing, you know.
On Wed, March
I have a readonly textbox that gets mailed as a newsletter. The text is a
standard covering letter. The problem is when I try and convert it to html
it doesn't work It is inserted into a variable via a form textarea
$mail_text.
available on the web site a
2007. 03. 21, szerda keltezéssel 11.51-kor Ross ezt írta:
I have a readonly textbox that gets mailed as a newsletter. The text is a
standard covering letter. The problem is when I try and convert it to html
it doesn't work It is inserted into a variable via a form textarea
$mail_text.
Please elaborate the question
--
Shafiq Rehman (ZCE)
http://phpgurru.com | http://shafiq.pk
On 3/21/07, Ross [EMAIL PROTECTED] wrote:
I have a readonly textbox that gets mailed as a newsletter. The text is a
standard covering letter. The problem is when I try and convert it to html
it doesn't
2007. 03. 21, szerda keltezéssel 11.51-kor Ross ezt írta:
I have a readonly textbox that gets mailed as a newsletter. The
text is a
standard covering letter. The problem is when I try and convert
it to html
it doesn't work It is inserted into a variable via a form textarea
$mail_text.
In news: [EMAIL PROTECTED],
Martin Zvarík said:
Difference: You don't call file as http://www.myweb.com/ but instead
you use the path like c:\some.txt or ../some.txt etc.
PHP 5
=
echo file_get_contents(some.txt);
Works a treat
Cheers
Chris
--
Cheap As Chips Broadband
$url =www.mysite.ru/some.txt;
$fa = fopen($url,r);
/*
$fa = fsockopen(http://mysite.ru;, 80, $num_error, $str_error, 30);
if(!$fa)
{ print Weather is not available: $str_error ($num_error)\n; }
else
{
fputs($fa,GET /some.txt HTTP/1.0\n\n);
$answer=fgets($fa,128);
I use the above code
Difference: You don't call file as http://www.myweb.com/ but instead you
use the path like c:\some.txt or ../some.txt etc.
PHP 5
=
echo file_get_contents(some.txt);
PHP 4
=
$fp = fopen(some.txt, r);
echo fread($fp, filesize (some.txt));
fclose($fp);
Another solution
Hi All,
If I have file on[windows] c:\test.csv.
How I can read the entire contents of this file?
I have try file_get_contents, fgetcsv and etc but didn't work.
May I'm mis-understanding about using those function.
Thanks in advance
Regards,
bn
Bagus Nugroho wrote:
If I have file on[windows] c:\test.csv.
How I can read the entire contents of this file?
I have try file_get_contents, fgetcsv and etc but didn't work.
May I'm mis-understanding about using those function.
Well, from examining the code you included in your post, and
]
To: php-general@lists.php.net
Sent: Sunday, February 04, 2007 2:47 PM
Subject: [PHP] Read file on file system
Hi All,
If I have file on[windows] c:\test.csv.
How I can read the entire contents of this file?
I have try file_get_contents, fgetcsv and etc but didn't work.
May I'm mis-understanding
Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Sun 04-Feb-2007 21:14
To: Bagus Nugroho
Cc: php-general@lists.php.net
Subject: Re: [PHP] Read file on file system
Bagus Nugroho wrote:
If I have file on[windows] c:\test.csv.
How I can read the entire contents of this file?
I have try
Bagus Nugroho wrote:
in simple like this
$filename = d:\\test.csv;
$openfile = fopen($filename,'r');
$readfile = fread($openfile,filesize($filename);
echo $readfile
or like this
.
echo file_get_contents($openfile);
.
echo fgetcsv($openfile);
Try this...
?php
Stut wrote:
$filenane = d:\\test.csv
Oops...
$filename = d:\\test.csv;
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
file_get_contents takes a file name as an argument, not an opened file
handle.
- Original Message -
From: Bagus Nugroho [EMAIL PROTECTED]
To: Stut [EMAIL PROTECTED]; php-general@lists.php.net
Sent: Sunday, February 04, 2007 3:45 PM
Subject: RE: [PHP] Read file on file system
On Sun, February 4, 2007 7:47 am, Bagus Nugroho wrote:
If I have file on[windows] c:\test.csv.
How I can read the entire contents of this file?
I have try file_get_contents, fgetcsv and etc but didn't work.
May I'm mis-understanding about using those function.
Define didn't work
Because all
On Wed, January 3, 2007 11:49 pm, John Salib wrote:
both google and yahoo resturn no result when searching for cwk2xls
http://info.com/convert clarisworks to excel
[that's not a kosher URL, but I gave up trying to convince my ex-boss
to fix this bug...]
turned up MacLinkPlus (Mac) and
Hi,
I need to read cwk files (mac clarisworks files). so is it possible to do so
using php if so how to do that?
Thanks.
_
Get FREE Web site and company branded e-mail from Microsoft Office Live
On 1/3/07, John Salib [EMAIL PROTECTED] wrote:
Hi,
I need to read cwk files (mac clarisworks files). so is it possible to do so
using php if so how to do that?
Sure you can read the files, the question is what is the output you want it in?
Once that is answered, is there such a tool i can
1 - 100 of 308 matches
Mail list logo