On Wed, August 17, 2005 10:12 am, Marten Lehmann wrote:
> I have a function catching the output of a script:
>
> function encodeDomain ($domain) {
> ob_start();
> system("echo '$domain'");
> $output = ob_get_contents();
> ob_end_clean();
> }
>
> And I have a php-
On Wed, August 17, 2005 9:50 pm, Roger Thomas wrote:
> OK. I am able to setup remote key authentication between svrA and
> svrB. From svrA I can login to svrB with something like
> [EMAIL PROTECTED] www]$ ssh [EMAIL PROTECTED]
>
> and I can also execute a shell script like
> [EMAIL PROTECTED] www]$
OK. I am able to setup remote key authentication between svrA and svrB. From
svrA I can login to svrB with something like
[EMAIL PROTECTED] www]$ ssh [EMAIL PROTECTED]
and I can also execute a shell script like
[EMAIL PROTECTED] www]$ ssh [EMAIL PROTECTED] /tmp/test.sh
On svrA I have a PHP scrip
We use a combination of timeout and user who has locked the record in a
form e.g.
User A opens the form. A record id is stored in the page and the db
record has 3 cols -> is_locked (y/n), locked_by (user_id) & locked_time
(datetime)
B then opens the form.
If the record is locked & more then
http://awg.webchu.com/nanpara/?user1
2$BEYL\$N%a!<%k$K0Y$C$F$7$^$$BgJQ?=$7LuM-$j$^$;$s!#(B
$B$5$F!"@hF|%a!<%k$5$;$FD:$$$?!y!z0lK|1_(B(1000$B%]%$%s%H(B)$BJ,%W%l%<%s%H!z!y$N7o$G$9$,!"(B
$Bhttp://awg.webchu.com/nanpara/?user1
[EMAIL PROTECTED]"(B
$B!y!z0lK|1_(B(1000$B%]%$%s%H(B)$BJ,%W
Does anybody have a function handy to calculate/compute the True
maximum upload filesize -- one that encompasses php.ini limits such as
upload_max_filesize and post_max_size, as well as httpd.conf
RequestBodyLimit, and maybe even takes an argument for the speed of
the network connection to multiply
Hello,
on 08/17/2005 07:42 PM Jake Sapirstein said the following:
> I am a PHP newbie, pardon the elementary question - I am starting out
with using print() to send HTML to the browser to be rendered. All is
well with text and tables and other HTML formatting, but when trying to
send IMG tags
Hello,
on 08/17/2005 07:42 PM Jake Sapirstein said the following:
I am a PHP newbie, pardon the elementary question - I am starting out with using print() to send HTML to the browser to be rendered. All is well with text and tables and other HTML formatting, but when trying to send IMG tags, my
Hi,
Thursday, August 18, 2005, 3:02:40 AM, you wrote:
GB> André Medeiros wrote:
>> Do you have a mail server running?
GB> No, how do I get a mail server running? And does it allow me to receive
GB> e-mails, or only send?
Try this, they have a free version which will do what you want.
If you have
i think using
echo '';
should display the image.
if you want to make that image a link you should use:
echo '';
of course, you can use print or echo to send the output to the browser
Hi Jake,
You don't have to do anything special, you just have to have
standards compliant HTML output.
What is the HTML for the IMG tag output to the browser (i.e. go to
the web browser, load the page in question, find the img tag, and
send us this text). I think maybe your images are jus
;
I am missing the value of the variable even though I am receiving
all the
instances of the variables from the checkboxes. When they are
selected, they
are present.
I really don't know what to do about correcting the problem. Any
guidance
here would really be appreciatedand...go easy on m
Hi List,
I am a PHP newbie, pardon the elementary question - I am starting out with
using print() to send HTML to the browser to be rendered. All is well with
text and tables and other HTML formatting, but when trying to send IMG tags, my
images aren't getting displayed.
Is there a good t
Since you can't be sure to be notified when a user stops editing a
page, whatever solution you choose will probably involve some sort of
timeout-based system. (e.g. when someone starts editing a page, set a
"last_opened" time field on the resources, and when someone else tries
to edit the same pag
Hello-
I'm developing a web-based system whereby users can edit documents and
then e-mail the documents to selected recipients.
The "documents" are comprised of the data from several MySQL fields.
I want to make sure that two people don't edit a document at the same time.
My users log in via a
t; Event.\n";
>>> }
>>>
>>> } else {
>>>
>>>$mgs .= "You are not registered for any events!";
>>> }
>>>
>>> result is - "You have registered for the: on Good Morning
>>> East
>>> Val
In a message dated 8/17/2005 1:17:54 P.M. Central Standard Time,
[EMAIL PROTECTED] writes:
>I tend to agree on things like this. If it's a generic problem then I
>think it does everyone some good to discuss it in the open. Although I
>can see the point of not discussing specific problems
he checkboxes. When they are
selected, they
are present.
I really don't know what to do about correcting the problem. Any
guidance
here would really be appreciatedand...go easy on me...I am new
to PHP
Thanks before hand...
zedleon
--
PHP General Mailing List (http://www.php.net/)
To unsu
$mgs .= "You are not registered for any events!";
> > }
> >
> > result is - "You have registered for the: on Good Morning
> > East
> > Valley Event."
> >
> > I am missing the value of the variable even though I am
ered for the: on Good Morning
> > East
> > Valley Event."
> >
> > I am missing the value of the variable even though I am receiving
> > all the
> > instances of the variables from the checkboxes. When they are
> > selected, they
> > are present.
>
George B wrote:
Can you send a link to a free MTA server please??
I don't mean to be rude, but this is getting beyond a joke. This is a
PHP mailing list, not a
PHP-and-MTAs-and-domains-and-everything-in-between mailing list. Google
is your friend:
http://www.google.com/search?q=free+MTA+se
I believe that sendmail would send the two emails. How could it know
that the headers are not part of a new message? I haven't tested it
yet, but to be on the safe side I put up some filters that chech for
certain content in the form. If the content is there, then nothing
gets sent to mail(). Just
Hello,
on 08/16/2005 10:17 PM Pablo Gosse said the following:
[snip]
I suspect that the problem is with file permissions. I recall that since
Metabase uses include to load class files, the script will not exit when
it fails to include a PHP class file. Assuming that is the case, make
sure tha
wherever you think you are adding data to the gmev array, you are
merely adding the "on" string. I would search your script for the
string "on" and you will find the problem.
what you need is the value in the HTML form to be the text you want
inserted into the array, such as:
Jordan
On
thanks for the reply...
after using the print_r($_POST['gmev']); and selecting all the checkboxes to
send to the form
the return is Array ( [0] => on [1] => on [2] => on [3] => on ). So the
values are missing.
don't really know how to proceed at this point.
any help is appreciated.
"Joe Wolla
On 8/17/05, Greg Schnippel <[EMAIL PROTECTED]> wrote:
> > I'll reply soon off list, as I don't think it appropriate to give
> > potential spammers an archive full of new tricks.
>
> I don't know -- I think its always better to discuss this in the open
> if there is a real security risk that people
André Medeiros wrote:
If you want to receive e-mails from the outside, yes, you'll have to
register a domain, configure an MTA to work on windows and all that
jazz.
Besides, if you want to manage pop, you might as well start looking at
the php4-imap / php5-imap module to be able to work with POP
I know there was ! No one said it was intentional !
Catalin
Rory Browne wrote:
Just for your information there was a topic on this a few months ago.
It definately wasn't intentional - Rasmus didn't know about it until then.
On 8/17/05, Jordan Miller <[EMAIL PROTECTED]> wrote:
turn
If you want to receive e-mails from the outside, yes, you'll have to
register a domain, configure an MTA to work on windows and all that
jazz.
Besides, if you want to manage pop, you might as well start looking at
the php4-imap / php5-imap module to be able to work with POP more
easily.
I might b
Ok guys! It has sent the mail succesfully everywhere! Now one more
thing. How do I make it so I can receive mail? I am using my ISP's POP
server but I dosent send back because my e-mail is [EMAIL PROTECTED] How
do I setup my own domain and does it cost money for an e-mail?
I suggest you contact
George B wrote:
Ok guys! It has sent the mail succesfully everywhere! Now one more
thing. How do I make it so I can receive mail? I am using my ISP's POP
server but I dosent send back because my e-mail is [EMAIL PROTECTED] How
do I setup my own domain and does it cost money for an e-mail?
Why not change the email address to be a valid one and receive through your
ISP.
On 8/17/05 11:28 AM, "George B" <[EMAIL PROTECTED]> wrote:
> Shaw, Chris - Accenture wrote:
>>
>> yeah I can send to the SMTP server of my ISP, but no where else.
>>
>>
>> If you can send to the smtp server then
Shaw, Chris - Accenture wrote:
yeah I can send to the SMTP server of my ISP, but no where else.
If you can send to the smtp server then your ISP should deliver the email.
If you have not filled in the sendmail_from var in the php.ini correctly,
they cannot send back a mail saying there was a
Just for your information there was a topic on this a few months ago.
It definately wasn't intentional - Rasmus didn't know about it until then.
On 8/17/05, Jordan Miller <[EMAIL PROTECTED]> wrote:
> turns out it's a known bug, fixed in CVS already... haven't tried the
> PHP 5.1 beta release yet
This doesn't help with your ob problem, but if you simply want to
capture the output of the system cmd, then you can use $output =
shell_exec($command) instead of system() IIRC.
On 8/17/05, Marten Lehmann <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a function catching the output of a script:
>
Thank you everyone for your help.
I tried this and it worked with throwing any errors.
function doEmail($username, $link = null)
Matthew Weier O'Phinney wrote:
* D A GERM <[EMAIL PROTECTED]>:
I'm throwing a warning on a function I created. I
thought a & in front of the argument was sup
Greg Schnippel wrote:
I'll reply soon off list, as I don't think it appropriate to give
potential spammers an archive full of new tricks.
I don't know -- I think its always better to discuss this in the open
if there is a real security risk that people should be aware of.
I tend to agree on
yeah I can send to the SMTP server of my ISP, but no where else.
If you can send to the smtp server then your ISP should deliver the email.
If you have not filled in the sendmail_from var in the php.ini correctly,
they cannot send back a mail saying there was a problem with the delivery.
*
Shaw, Chris - Accenture wrote:
Can you send to a smtp server provided by your isp?
-Original Message-
From: George B [mailto:[EMAIL PROTECTED]
Sent: 17 August 2005 18:11
To: php-general@lists.php.net
Subject: Re: [PHP] mail()
*
This e-mail has been
> I'll reply soon off list, as I don't think it appropriate to give
> potential spammers an archive full of new tricks.
I don't know -- I think its always better to discuss this in the open
if there is a real security risk that people should be aware of.
A couple days after your posting to PHP-Ge
[snip]
There is no "Microsoft MTA", I searched google couldnt find anything.
so.
[/snip]
http://www.google.com/search?hl=en&q=windows+mail+transfer+agent
Lots of options...
http://www.google.com/search?hl=en&lr=&q=Microsoft+MTA
Actually turned up a lot of stuff.
--
PHP General Mailing List (ht
George B wrote:
John Nichel wrote:
Jordan Miller wrote:
Did you install sendmail?
No sendmail for Windows. He either has to have a Microsoft MTA
running on localhost, or use an upstream SMTP account.
There is no "Microsoft MTA", I searched google couldnt find anything.
so.
MTA is a
Can you send to a smtp server provided by your isp?
-Original Message-
From: George B [mailto:[EMAIL PROTECTED]
Sent: 17 August 2005 18:11
To: php-general@lists.php.net
Subject: Re: [PHP] mail()
*
This e-mail has been received by the Revenue Internet
Hello,
I have a function catching the output of a script:
function encodeDomain ($domain) {
ob_start();
system("echo '$domain'");
$output = ob_get_contents();
ob_end_clean();
}
And I have a php-script using this function:
http://www.php.net";);
?>
While this w
John Nichel wrote:
Jordan Miller wrote:
Did you install sendmail?
No sendmail for Windows. He either has to have a Microsoft MTA running
on localhost, or use an upstream SMTP account.
There is no "Microsoft MTA", I searched google couldnt find anything.
so.
Anyway, im screwed and I cant
George B wrote:
André Medeiros wrote:
Do you have a mail server running?
No, how do I get a mail server running? And does it allow me to receive
e-mails, or only send?
That is way beyond the scope of this list.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
P
George B wrote:
John Nichel wrote:
Do you have a MTA running on localhost?
No,whats an MTA?
Mail Transfer Agent. A mail server.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
André Medeiros wrote:
Do you have a mail server running?
No, how do I get a mail server running? And does it allow me to receive
e-mails, or only send?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John Nichel wrote:
George B wrote:
Warning: mail() [function.mail]: Failed to connect to mailserver at
"localhost" port 25, verify your "SMTP" and "smtp_port" setting in
php.ini or use ini_set()
I checked php.ini and everything is open
[mail function]
; For Win32 only.
SMTP = localhost
smtp
Jordan Miller wrote:
Did you install sendmail?
No sendmail for Windows. He either has to have a Microsoft MTA running
on localhost, or use an upstream SMTP account.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To u
Do you have a mail server running?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Did you install sendmail?
http://www.php.net/mail
Requirements
For the Mail functions to be available, PHP must have access to the
sendmail binary on your system during compile time. If you use
another mail program, such as qmail or postfix, be sure to use the
appropriate sendmail wrapp
George B wrote:
Warning: mail() [function.mail]: Failed to connect to mailserver at
"localhost" port 25, verify your "SMTP" and "smtp_port" setting in
php.ini or use ini_set()
I checked php.ini and everything is open
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win
Warning: mail() [function.mail]: Failed to connect to mailserver at
"localhost" port 25, verify your "SMTP" and "smtp_port" setting in
php.ini or use ini_set()
I checked php.ini and everything is open
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
sendmail
I would first start out by dumping the values of $_POST['gmev'] by using
print_r($_POST['gmev']);
Sounds to me like you're not getting the data that your expecting
from the form for some reason. Maybe $_POST['gmev'] is an array of
null values?
-Good Luck
On Aug 17, 2005, at 12:15 PM, zedl
I previously built a sticky form with dynamic checkbox array's.
The form works beautifully thanks to help from Jochem Mass and Kathleen
Ballard.
I now have a slightly different problem...I have built an email form to send
the form data.
I copied and used the following code which works grea
If I were you I'd have a file just to define those kind of values (ie.
config.php), wich would be included as needed.
On 8/17/05, Mark Rees <[EMAIL PROTECTED]> wrote:
> "Jesús Alain Rodríguez Santos" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hi, I have in a php page one (
* D A GERM <[EMAIL PROTECTED]>:
> I'm throwing a warning on a function I created. I
> thought a & in front of the argument was supposed to
> make it optional. Is there something else I need to do
> make that argument optional?
As others have noted, the ampersand tells the function to grab a
refere
On 8/17/05, Rory Browne <[EMAIL PROTECTED]> wrote:
> Can you explain exactly what he tried to do. I should probably be able
> to figure this out, but I'm not feeling too well today.
>
> He modded his message to put different email addresses into the
> message field using mime headers?
>
I'll rep
turns out it's a known bug, fixed in CVS already... haven't tried the
PHP 5.1 beta release yet.
http://bugs.php.net/bug.php?id=32970
On Aug 17, 2005, at 10:19 AM, Catalin Trifu wrote:
Hi,
Indeed a fclose($fp) is needed (wrote it as an example :)).
1MB is more than enough as a
Chris Boget wrote:
> We are using PEAR as our database abstraction layer for connectivity
> to MSSQL. It seems that, for some inexplicable reason, that our code
> is losing it's connection to the sql server.
I've had similar problems in the past, only in my situation it was connecting
from a
Lin
Ok, just checking (I am new to the fopen() function). That makes
sense. Awesome, thanks!
Jordan
On Aug 17, 2005, at 10:19 AM, Catalin Trifu wrote:
Hi,
Indeed a fclose($fp) is needed (wrote it as an example :)).
1MB is more than enough as a buffer. If you have a 53MB file,
what
Hi,
Indeed a fclose($fp) is needed (wrote it as an example :)).
1MB is more than enough as a buffer. If you have a 53MB file,
what will happen then ?
I have no idea if it's a bug or a feature. Either way I did lose
some hair over this when I switched from PHP4 to PHP5.
Catal
you use the unset() function:
unset($array[$key]); // http://www.php.net/unset
you can reindex the keys if they are numeric with:
$reindexedArray = array_values($array); // http://www.php.net/
array_values
Jordan
On Aug 17, 2005, at 1:12 PM, Tomás Rodriguez Orta wrote:
Hi people.
How Ca
apparently the ampersand means to treat $link as a reference, not as
an optional argument:
http://www.softwareprojects.org/php-functions-12.htm
I think the way to do it would be to set a default value in your
function so that if a value is set by the calling statement that
would override it
> I want to delete an element behind of array?, what function What Can I use?
Do you mean remove the last member of an array? If so check out
array_pop() at www.php.net
raz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 8/17/05 11:08 AM, "Alex Gemmell" <[EMAIL PROTECTED]> wrote:
> Blimey! I'm not a regular to these lists so I certainly didn't expect
> replies from two names I recognise and respect from my years of
> trawling the internet for valuable PHP and CSS information!
:)
> The books you both recomm
Tomás Rodriguez Orta wrote:
Hi people.
How Can I do this.
I want to delete an element behind of array?, what function What Can I use?
The last element in the array?
http://us2.php.net/manual/en/function.array-pop.php
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
P
D A GERM wrote:
I'm throwing a warning on a function I created. I
thought a & in front of the argument was supposed to
make it optional. Is there something else I need to do
make that argument optional?
The ampersand does not make it optional. It passes it by reference...
http://us2.php.net/ma
Hi people.
How Can I do this.
I want to delete an element behind of array?, what function What Can I use?
best regards TOMAS
-
Este correo fue escaneado en busca de virus con el MDaemon Antivirus 2.27
en el dominio de corre
Blimey! I'm not a regular to these lists so I certainly didn't expect
replies from two names I recognise and respect from my years of
trawling the internet for valuable PHP and CSS information!
The books you both recommend look like exactly what I am after, with
the slight caveat that I am actual
Catalin,
Wow, that worked great, thanks.
I'm curious why you set a static buffer of 1024768... why not just do
filesize($file), as shown at http://www.php.net/fread ? Is it better
for memory usage to have a potentially smaller buffer? Also, you may
want an fclose($fp) after the file has be
I'm throwing a warning on a function I created. I
thought a & in front of the argument was supposed to
make it optional. Is there something else I need to do
make that argument optional?
//I simplified the code
function doEmail($username, &$link)
{
if (isset($link))
{
print "$link $user
Without wading through all the code and queries it might be difficult to give
you an exact answer, but maybe some of us can point out a 'gotcha' or two that
you can check.
One that jumps to mind that I had issues with using ADODB (abstraction layer),
and it was mostly with speed but I could see
Hello Alex
On 8/17/05 9:33 AM, "Alex Gemmell" <[EMAIL PROTECTED]> wrote:
> Can anyone recommend some books that describe:
> - how to plan OO projects (PHP specific would be good but isn't necessary)
http://www.amazon.com/exec/obidos/tg/detail/-/1590593804/qid=1124289801/sr=8
-4/ref=pd_bbs_4/103-
* Roger Thomas <[EMAIL PROTECTED]>:
> My PHP script is in svrA. How do I run a shell script in svrB?
> svrB does not have PHP and Apache :(
> Is this at all possible? Please advise.
Use ssh. You will have to setup remote key authentication from svrA to
svrB (so that a password will not be needed),
hahaha, thanks robin you save some seconds of mi life... it looks more
"pro" with that if...
On 8/17/05, Robin Vickery <[EMAIL PROTECTED]> wrote:
> On 8/17/05, Ing. Josué Aranda <[EMAIL PROTECTED]> wrote:
> > OK this the little function i made to solve this..
> >
> > function countNested($arra
My PHP script is in svrA. How do I run a shell script in svrB?
svrB does not have PHP and Apache :(
Is this at all possible? Please advise.
--
Roger
---
Sign Up for free Email at http://ureg.home.net.my/
Hello all!
I am readjusting my brain from years of procedural programming and I'm
rapidly improving my ability to program object-oriented PHP. I'm no
expert but I am keen to get my hands on as much good teaching material
as I can.
I already have a good appreciation for OO concepts BUT I oft
Can you explain exactly what he tried to do. I should probably be able
to figure this out, but I'm not feeling too well today.
He modded his message to put different email addresses into the
message field using mime headers?
On 8/16/05, Dotan Cohen <[EMAIL PROTECTED]> wrote:
> I have a form that
Daniel Baughman wrote:
Its simply a Boolean to indicate whether or not a query should be ran and
displayed, and further more its for a small intranet.
Register_globals is the directive I meant to say. But your right about
globals. Some applications haven't made that change yet... So unless I wa
Apologies if this turns out to be a cross-post. I sent it to the list @
evolt, but have seen no traffic on that list for two days now.
---
Hello
I am using PHP v5 to write an intranet. The site is hosted on a windows 2000
server running Apache. I want to i
wayne wrote:
I have one other question that I would like answered.
One of the respondents in the archive file to the
above question said that "in PHP objects don't
have to be explicitly instantiated", could someone
point me to some docs that explains this.The person
never did give an explanation.
On Wed, 2005-08-17 at 04:47 -0400, wayne wrote:
> On Tue, 2005-08-16 at 17:41 -0400, wayne wrote:
> > Hi,
> > Before I post some of the install script for
> > Moodle I thought that I would ask how
> > $CFG gets instantiated in the install.php script.
> > Thanks.
> >
> Okay, I got a reply from a mo
On 8/15/05, Miles Thompson <[EMAIL PROTECTED]> wrote:
> The problem with PHP 5 is that the ISP's have to be so conservative.
> There's no tagging mechanism which says "process these files with PHP5, use
> PHP 4 for everything else."
>
Does anyone here remember that on php 3 the file extensions we
On 8/17/05, Ing. Josué Aranda <[EMAIL PROTECTED]> wrote:
> OK this the little function i made to solve this..
>
> function countNested($array){
> foreach($array as $value){
> if(is_array($value))
> $total=$this->countNested($value)+$total;
> }els
We are using PEAR as our database abstraction layer for connectivity to
MSSQL. It seems that, for some inexplicable reason, that our code is
losing it's connection to the sql server.
We have a section of our site where users can come in and fill out a
form
to get an insurance quote. Once th
wayne wrote:
Okay, I got a reply from a moodle user pointing
me to an archive, apparently someone had the same
question. The answer seems to be that $CFG is
an array dressed up as an object.The books that
I'm learning from don't show this concept. Could
some kind soul give an example.
Thanks.
h
On Tue, 2005-08-16 at 17:41 -0400, wayne wrote:
> Hi,
> Before I post some of the install script for
> Moodle I thought that I would ask how
> $CFG gets instantiated in the install.php script.
> Thanks.
>
Okay, I got a reply from a moodle user pointing
me to an archive, apparently someone had the
"Bing Du" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I need to access both MySQL and SQL server 2000 in a PHP script on RHEL
> 3. In phpinfo(), I noticed 'supported databases' shows 'MySQL ODBC
> PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (oci8)'. And
> 'Config
On Tue, 2005-08-16 at 17:41 -0400, wayne wrote:
> Hi,
> Before I post some of the install script for
> Moodle I thought that I would ask how
> $CFG gets instantiated in the install.php script.
> Thanks.
>
Attach is the first 85 line of the moodle install
script.What I would like to know is, if I p
Hi,
I've had a similar problem. The download always stopped at exactly
2.000.000 bytes.
You have to work around that with:
$fp = fopen($file, 'r');
if($fp) {
while(!feof($fp)) {
echo fread($fp, 1024768);//see the huge buffer to read into
}
"Jesús Alain Rodríguez Santos" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi, I have in a php page one ($variable = 85), I woud like to change the
> value from this variable online, without any data base, for example ussing
> a form where I can put the new value and it change the
Hello,
is anyone here getting an intermittent error like this one while
running output buffering?
Warning: Unexpected character in input: ' in
/*//tpl.page.product.php on line 10
Parse error: parse error, unexpected T_STRING in
/*//
94 matches
Mail list logo