* Thus wrote M. Sokolewicz:
John Nichel wrote:
Is the list about two hours behind in delivering email today for
everyone, or is it just me? Of course, if it is just me, I'll have to
wait two hours to find out. ;)
1.5 hours for me... and many more people I'd guess... Judging by the
Howdy.
I'm trying to include a file from an HTTP Authenticated server in PHP. I
have a valid username and password. Is there any way to remotely login and
include the file?
Ex:
include(https://www.url.com/incl1.php;); // Trying to include from
password-protected site
How do I get past the
Jack Gates [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Javascript can open a separate and specifically sized window from a web
page
when a user clicks on a link that might reference a note or picture etc.
Can this be done with PHP? If yes, will someone tell me where in the
Kelly,
The most appealing method (in my mind) is to develop a socket protocol
that allows the application to communicate with the console. The drawback
here seems to be that the console will not usually be active, and I'm
concerned that attempting to establish a connection will impose too
* and then Jim Grill declared
Guys, while we may be able to debate what is rude, what is blunt,
what should have been said, what was said, the facts are clear. He
apologized, and I think its time to lest this debate rest for now. While
I
would admit that harshness runs rampid on
Hi all,
I'm really sure how to tackle this. Part of a CMS I'm building is an
events calendar. The events in question can be in any part of the
world (in any timezone) and the date time the user enters for the
event is considered to be the local time of that event.
So when I enter 2004-09-03
On Friday 03 September 2004 02:23, Nick Wilson wrote:
* and then Jason Wong declared
- now re-read what I said. I rest my case.
Classic. Thankyou Jason, you're a star. I really didnt apreciate just
how inept at interaction with peers you truly were. Beautiful, very kind
of you to share
Thanks for this. Will look into those :)
Appreciate the help
Ade
Two things come to mind:
1) INDEX! And, since you're on MySQL, do a fulltext index of
the column
you're searching on.
2) Read up on the MATCH () ON () syntax in the MySQL documentation.
--
PHP General Mailing List
Hi All
(B
(Bi have to transfer files from one server to another server thru php program.will
(Banybody tell me how to do it?
(B
(BRegards
(Bsyed
On Friday 03 September 2004 05:27, Matt Wondra wrote:
I'm trying to include a file from an HTTP Authenticated server in PHP. I
have a valid username and password. Is there any way to remotely login and
include the file?
Ex:
include(https://www.url.com/incl1.php;); // Trying to include
This gonna help: http://www.php.net/ftp
Regards,
Nadim Attari
Syed Ghouse [EMAIL PROTECTED] a ecrit dans le message de
news:[EMAIL PROTECTED]
Hi All
i have to transfer files from one server to another server thru php
program.will anybody tell me how to do it?
Regards
syed
--
PHP General
Hi all
(B
(Bwill anybody tell me how to use rsync command to transfer files in php
(B
(BSyed
Hi all
(B
(Bwill anybody tell me how to use rsync command to transfer files in php
(B
(BSyed
Session variables maybe
Respectfully,
Ligaya Turmelle
devil_online wrote:
Hi have this code, that I print two or more things ate a diferente time, and
the page refreshs after 10 seconds.
head
meta http-equiv=refresh content=10
/head
body
?php
$hour = 21;
$minute = 06;
if(date('H')==$hour AND
* and then Nadim Attari declared
This gonna help: http://www.php.net/ftp
I think you could also use the cURL functions. But ftp seems the way to
go...
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I write this function to delete directory and file but when i 've a directory not
empty i get error
The code that i write is this:
function DelDir($dir) {
if (!($handle = opendir($dir)))
die(Error, it's not possible open $dir);
while($file = readdir($handle) !== false) {
if
* and then Syed Ghouse declared
Hi all
will anybody tell me how to use rsync command to transfer files in php
This looks like what you need:
http://www.php.net/manual/en/ref.exec.php
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Friday 03 September 2004 15:15, Syed Ghouse wrote:
(B
(B will anybody tell me how to use rsync command to transfer files in php
(B
(Bmanual Program Execution Functions
(B
(B--
(BJason Wong - Gremlins Associates - www.gremlins.biz
(BOpen Source Software Systems Integrators
(B* Web
Syed Ghouse wrote:
Hi All
i have to transfer files from one server to another server thru php program.will
anybody tell me how to do it?
PHP is not the way to do it! use SCP you don't have to write a single
line of code. Don't look at FTP. even though the FTP rcf talks about
transfering
Syed Ghouse wrote:
Hi all
will anybody tell me how to use rsync command to transfer files in php
probably not because rsync has a man page and you have another page on
executing shell commands through php.
Syed
--
Raditha Dissanayake.
Harlequin wrote:
Dark forces indeed...!
Any ideas guys...?
someone in a mysql list might have.
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP
Octavio Herrera wrote:
Hello, im working in a website and I have this problem with sessions
I have an admin page where I use session_start() and I have the user
interface page where I also use session start, the problem is that when I
open the user page, it overwrites my session I previously
John Nichel wrote:
Is the list about two hours behind in delivering email today for
everyone, or is it just me? Of course, if it is just me, I'll have to
wait two hours to find out. ;)
The servers are probably clogged wiht mysql questions and flames at
people who point out that mysql is off
Just shows your IQ levels.
Just because PHP is open source does not make this an open source.
Justin Palmer wrote:
Is PHP not open source.
What a joke.
Justin
-Original Message-
From: raditha dissanayake [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 10:24 AM
To: [EMAIL
Conbud [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hey, Im making a site to where I can fill out a form and it adds updates
to
the main page, but I only want the site to display 5 updates on it, now I
know how to make it only show 5 updates, but then that means when a new
update
[EMAIL PROTECTED] wrote:
DelDir('my_folder');
I receive this warning:
Warning: rmdir(cartella): Directory not empty in c:\programmi\apache group\apache\users\test\project\delete.php on line 23
I have set chmod on linux chmod to 777 but i can delete folder only when is empty.
What I do ?
Thanks to
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I write this function to delete directory and file but when i 've a
directory not empty i get error
The code that i write is this:
I receive this warning:
Warning: rmdir(cartella): Directory not empty in
* and then raditha dissanayake declared
Just shows your IQ levels.
Just because PHP is open source does not make this an open source.
I think he was talking about the 'spirit' of open source, not the
mechanics and legalities of the list. I know i was, so dont assume
please...
--
Nick W
seems to be slow for me too
like you said it seems to be that way for everyone
On Thu, 2004-09-02 at 14:53, M. Sokolewicz wrote:
John Nichel wrote:
Is the list about two hours behind in delivering email today for
everyone, or is it just me? Of course, if it is just me, I'll have to
raditha dissanayake wrote:
Syed Ghouse wrote:
Hi All
i have to transfer files from one server to another server thru php program.will
anybody tell me how to do it?
PHP is not the way to do it! use SCP you don't have to write a single
line of code. Don't look at FTP. even though the FTP rcf
Hi,
I have noticed that some of the functions in a tutorial I am studying have
an in the variable parameters i.e.
function add($id) {
/* function body */
}
I would be most grateful if some can shed some light on this as i cant fnd
any reference to this in the PHP manual...
Thanks
--
PHP
* and then Shaun declared
I would be most grateful if some can shed some light on this as i cant fnd
any reference to this in the PHP manual...
Here ya go!
http://www.php.net/manual/en/language.variables.php#language.variables.basics
It's the 2nd example there. I cant claim to fully
http://php.us.themoes.org/manual/en/language.references.pass.php
Passing by reference instead of value.
HTH
Craig
Shaun [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I have noticed that some of the functions in a tutorial I am studying have
an in the variable parameters
Shaun wrote:
Hi,
I have noticed that some of the functions in a tutorial I am studying have
an in the variable parameters i.e.
function add($id) {
/* function body */
}
I would be most grateful if some can shed some light on this as i cant fnd
any reference to this in the PHP manual...
Thanks
Hello -
I think there is a bug or a paradox in the php 5 object model
implementation.
This is an example :
?php
class foo implements arrayAccess
{
private $array = array();
function __construct() {}
function __get($key)
{
return $this-offsetGet($key);
}
function
Hello Frédéric.
This is neither a bug nor a paradox. The code you've posted just
contains some nonsense.
$foo['bar'] = 'bar'; cannot work since $foo is an object and not an
array. And even $foo-bar = 'bar'; cannot work because there is no
property $bar.
Frédéric hardy wrote:
Hello -
I think
On 02 September 2004 19:41, Nick Wilson wrote:
You know guys? I think you all take this a bit too seriously,
perdanticness (is there such a word?)
Just to be pedantic, that would be pedantry ;) !
Cheers!
Mike
-
Mike Ford,
WRONG !
Read the manual about __set() and __get().
And read http://www.php.net/~helly/php/ext/spl/index.html about arrayAccess.
Php 5 allow you to overloading property dynamicaly with __set() and
__get(). And you can access an object like an array with arrayAccess
interface.
There is no
Lester Caine [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
So don't know what goes wrong, but were running Apache 2.0.50, PHP5.0.0 on
XP-SP1 and probably style sheets were going wrong. Switch back to W2k SP3
and all is fine (SP4 screws up various other network apps) so we stay
Frédéric Hardy wrote:
Hello -
I think there is a bug or a paradox in the php 5 object model
implementation.
This is an example :
?php
class foo implements arrayAccess
{
private $array = array();
function __construct() {}
function __get($key)
{
return $this-offsetGet($key);
}
Moreover, $foo['bar'] = 'bar' work perfectly...
Fred.
Frédéric Hardy wrote:
WRONG !
Read the manual about __set() and __get().
And read http://www.php.net/~helly/php/ext/spl/index.html about
arrayAccess.
Php 5 allow you to overloading property dynamicaly with __set() and
__get(). And you can
and how could I do that?
thanks in advance.
Ligaya Turmelle [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Session variables maybe
Respectfully,
Ligaya Turmelle
devil_online wrote:
Hi have this code, that I print two or more things ate a diferente time,
and
the page
On 03 September 2004 06:46, Justin French wrote:
If I use strtotime(), I'm handed back a GMT timestamp,
whereas I need a
*local* timestamp.
No such thing as a *local* timestamp. UNIX timestamps are in GMT by definition --
it's the functions that work with them that do the timezone
Well alright, then I ought to read the suggested sources. Thanks for the
advice.
Anyway, doesn't it cause trouble to have $array as a private member?
Frédéric hardy wrote:
Moreover, $foo['bar'] = 'bar' work perfectly...
Fred.
Frédéric Hardy wrote:
WRONG !
Read the manual about __set() and
Marek Kilimajer wrote:
See recent discusion on this list about this behavior. You can find
it in the archives if you look for __isset.
I know, I am the author of this recent discussion.
Current discussion is an extension.
echo (isset($foo-array) == true ? 'array is set' : 'array is not set');
While working with some CAPTCHA stuff I get the following error:
Fatal error: Call to undefined function imagettftext().
The PHP Manual states that the function is available in PHP 5
(http://www.php.net/manual/en/function.imagettftext.php), and I have
compiled with GD support. What am I missing?
raditha dissanayake wrote:
John Nichel wrote:
Is the list about two hours behind in delivering email today for
everyone, or is it just me? Of course, if it is just me, I'll have to
wait two hours to find out. ;)
The servers are probably clogged wiht mysql questions and flames at
people who
Just to be pedantic, that would be pedantry ;) !
Is this thread ever going to die? Or would that be dye? ;)
alex hogan
*
The contents of this e-mail and any files transmitted with it are confidential and
Marek Kilimajer wrote:
raditha dissanayake wrote:
Syed Ghouse wrote:
Hi All
i have to transfer files from one server to another server thru php
program.will anybody tell me how to do it?
PHP is not the way to do it! use SCP you don't have to write a single
line of code. Don't look at FTP. even
No, I do not store two items with the same key, I just open another session
in other page and it just overwrite session data of a previous session
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It took me a while to find an explanation of what a PECL is. I kept reading
comments about things being moved to a PECL but I saw nothing about what is
in a PECL or how to get anything out of a (the?) PECL. As far as I knew,
there is a danger of all of PHP being in a PECL.
I could not (and
Hi there,
I am not sure if that is a common request, so I will post it here without
checking the archives . ;-)
I have a page which has its details from the $_POST array (ID, etc). On it
there is a small link about people, this is done via href link in html. This
link takes you to another page
Frédéric Hardy wrote:
Marek Kilimajer wrote:
See recent discusion on this list about this behavior. You can find
it in the archives if you look for __isset.
I know, I am the author of this recent discussion.
Current discussion is an extension.
isset($foo['bar']) tests for existance of
Paul Reinheimer wrote:
While working with some CAPTCHA stuff I get the following error:
Fatal error: Call to undefined function imagettftext().
The PHP Manual states that the function is available in PHP 5
(http://www.php.net/manual/en/function.imagettftext.php), and I have
compiled with GD
I think this basically sums up the problems of the current handling of
existence-checking in overloaded objects: We have an object that has
user-defined methods for getting and setting object properties (__get()
and __set(), respectively). These methods get and set the properties in
a private
What is PECL ?
PECL is a repository for PHP Extensions, providing a directory of all
known extensions and hosting facilities for downloading and development
of PHP extensions.
The packaging and distribution system used by PECL is shared with its
sister, PEAR.
...
Is it clear ?
It is the same
It took me a while to find an explanation of what a PECL is. I kept reading
comments about things being moved to a PECL but I saw nothing about what is
in a PECL or how to get anything out of a (the?) PECL. As far as I knew,
there is a danger of all of PHP being in a PECL.
I could not
[snip]
NOW:
The question arises: where does the browser store this info, and can I
get
it back from there on the page that got called via the href html? I
would
like to avoid some rather unnecessary server side selects to retrieve
the
previous page.
[/snip]
The browser really doesn't store the
* Thus wrote Daniel Schierbeck:
I think this basically sums up the problems of the current handling of
existence-checking in overloaded objects: We have an object that has
user-defined methods for getting and setting object properties (__get()
and __set(), respectively). These methods get
Frédéric Hardy wrote:
What is PECL ?
PECL is a repository for PHP Extensions, providing a directory of all
known extensions and hosting facilities for downloading and development
of PHP extensions.
The packaging and distribution system used by PECL is shared with its
sister, PEAR.
...
Is it
* Thus wrote Sam Hobbs:
It took me a while to find an explanation of what a PECL is. I kept reading
comments about things being moved to a PECL but I saw nothing about what is
in a PECL or how to get anything out of a (the?) PECL. As far as I knew,
there is a danger of all of PHP being in a
Octavio Herrera wrote:
No, I do not store two items with the same key, I just open another session
in other page and it just overwrite session data of a previous session
hi,
again this does not provide enough information,you will need to more
clearly state the problem please are you using
Hi
I wish to know how I can list my email user I used imap to control the individual
mailbox information but i need to adminitratiton propurse list all the user but i cant
find a function to do this
On Fri, 2004-09-03 at 10:29, Dave Restall - System Administrator,,,
wrote:
It took me a while to find an explanation of what a PECL is. I kept reading
comments about things being moved to a PECL but I saw nothing about what is
in a PECL or how to get anything out of a (the?) PECL. As far
--- Jack Gates [EMAIL PROTECTED] wrote:
Greetings,
This is my first post here and I am still new to PHP and learning.
I just
joined this list last night.
Javascript can open a separate and specifically sized window from a
web page
when a user clicks on a link that might reference a
[snip]
black whole?
[/snip]
As in, Is PECL the wholeness of black? or Is PECL all that is black?
*snicker* It just struck me funny, but everyone knew that you meant
black hole.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- Octavio Herrera [EMAIL PROTECTED] wrote:
No, I do not store two items with the same key, I just open another
session
in other page and it just overwrite session data of a previous
session
This is because (I believe) you can't open two cookie-based sessions
with two browser windows and
Helo!
I' m just in trouble with bcompiler.
I want to compile a new bcompiler.so and this is the result:
Any suggestions?
/opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2336: error: `zend_uchar'
undeclared (first use in this function)
Hi all,
I'm working with a bunch of users who hardly ever use correct
punctuation in their submitted content. I realise there's very little
I can do, but I'm trying to do *something* to make things a little more
presentable. At the very least, ensuring that all sentences begin
with a
You'll need to be generally familiar with Cardservice's lphp class to
answer this one:
I'm properly setting the $myorder array (as verified by outputting it
with a while loop) - but upon executing the next step:
$charge_result = $mylphp-curl_process($myorder);
I then attempt to display the
Unfortunately, since they are coming in through a socket and not actual
telnet/ssh I don't think $fp=fopen(/dev/stdin, r); works? Isn't that
only for terminal based input?
Donald Myers
Have you tried it? Every process will have access to its own STDIN and
STDOUT.
since your MUD server runs
On Friday 03 September 2004 22:56, Jesus wrote:
I wish to know how I can list my email user I used imap to control the
individual mailbox information but i need to adminitratiton propurse list
all the user but i cant find a function to do this
Because there are no generic methods to get the
Unfortunately, since they are coming in through a socket and not actual
telnet/ssh I don't think $fp=fopen(/dev/stdin, r); works? Isn't that
only for terminal based input?
Donald Myers
oops... forgot this:
http://www.php.net/manual/en/ref.pcntl.php
Jim Grill
on 9/2/04 10:31 AM, Jim
Read up on 'named sessions'
I think that may be your solution
jason
Mark [EMAIL PROTECTED] wrote:
--- Octavio Herrera [EMAIL PROTECTED] wrote:
No, I do not store two items with the same key, I just open another
session
in other page and it just overwrite session data of a previous
It is the same thing than pear, but most of extensions are written with
C in order to increase performance.
Increases in performance aren't the only reason, but it is a reason.
tidy is a php extension (PECL), for example.
Yes.
Php extensions are all that is not in the php core.
Not
--- Jason Davidson [EMAIL PROTECTED] wrote:
Read up on 'named sessions'
I think that may be your solution
Interesting... here's a link to php.net. I assume this is what you're
talking about... Looks promising.
http://us4.php.net/manual/en/function.session-name.php
jason
Mark [EMAIL
I need to execute PHP scripts from Apache/mod_php using the owner of scripts
as user/group for execution. I have included the 'User' and 'Group'
directives into the virtualhost declaration in my httpd.conf but scripts
keep on executing with user/group from Apache.
Urgent help needed.
Thanks.
How can i force PHP scripts been executed using their owner user/group with
Apache and PHP loaded as module ? Now my scripts use Apache`s user/group
(wwwrun/www in my ditribution). I've included User an Group directives in
the virtualhost configuration.
I need any kind of help refered to this
Hello everybody, I am a new in this list, and I can´t find the form of read
from file his file version, I am working with php 4.3.2, Apache 1.3.x,
Win32 (XP).
Can you help me??
PD. Sorry for my english, but I am Mexican :)
=
¿Acaso se olvidará la mujer de su bebé, y dejará de compadecerse
Hi
How can I parse HTML page which I fetched by PHP so some part of text would be
replaced by other text.
For example, if I have bold text on HTML page (bSome text/b) how can I manage that
all bold text on that page is replaced by some other text.
Also, I managed to delete all HTML code from
Does anyone have a script that can be used to call linux's locate command
and display the results in a browser?
I don't think it would be that hard and will make an effort today...
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Luis Miguel González Fernández wrote:
I need to execute PHP scripts from Apache/mod_php using the owner of scripts
as user/group for execution. I have included the 'User' and 'Group'
directives into the virtualhost declaration in my httpd.conf but scripts
keep on executing with user/group from
Pedro Irán Méndez Pérez wrote:
Hello everybody, I am a new in this list, and I can´t find the form of read
from file his file version, I am working with php 4.3.2, Apache 1.3.x,
Win32 (XP).
Can you help me??
PD. Sorry for my english, but I am Mexican :)
=
¿Acaso se olvidará la mujer de su
BOOT wrote:
Does anyone have a script that can be used to call linux's locate command
and display the results in a browser?
I don't think it would be that hard and will make an effort today...
Thanks!
http://us4.php.net/manual/en/function.exec.php
--
John C. Nichel
ÜberGeek
KegWorks.com
Have you taken a look at the passthru() function?
http://www.php.net/passthru
Boot wrote:
Does anyone have a script that can be used to call linux's locate command
and display the results in a browser?
I don't think it would be that hard and will make an effort today...
--
Regards,
Ben Ramsey
[snip]
Does anyone have a script that can be used to call linux's locate
command
and display the results in a browser?
I don't think it would be that hard and will make an effort today...
[/snip]
exec(locate foo);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Thanks but that's no good if there are multiple results!
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: September 3, 2004 1:40 PM
To: BOOT; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP Linux locate to html script?
[snip]
Does anyone have a script that can be used to
According to the manual, exec() does not output anything. It simply
returns the last line from the result of the command. The OP wants to
display the output of 'locate' to the browser, so he should use
passthru(), which displays all raw output.
Jay Blanchard wrote:
[snip]
Does anyone have a
?php
$items = passthru('locate whatever');
echo htmlbodyP;
echo $items;
echo /P/body/html;
?
- Original Message -
From: BOOT [EMAIL PROTECTED]
Date: Friday, September 3, 2004 1:46 pm
Subject: [PHP] PHP Linux locate to html script?
Does anyone have a script that can be used to call
[snip]
Thanks but that's no good if there are multiple results!
...
Does anyone have a script that can be used to call linux's locate
command
and display the results in a browser?
...
[/snip]
exec(locate foo);
[/snip]
So you want something like
while(bar == exec(locate foo))
barArray[]
Great thanks... now I just work on a form and a hrefs
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: September 3, 2004 1:49 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] PHP Linux locate to html script?
?php
$items = passthru('locate
I assume you mean locating something on the server, as this would be a
serious breech of security otherwise. anyways, bickticks will run
shell comand line programs and return the output..
ie
print `locate myFile'`;
jason
BOOT [EMAIL PROTECTED] wrote:
Does anyone have a script that can be
I have searched the net, and found tons of developers with different
solutions to this problem, none of which I have found to work.
What should the headers be for a client to download a PDF document and
have it open using adobe i.e. pluggin??
Here is code I am using, it works on some versions
On Fri, 2004-09-03 at 12:46, BOOT wrote:
Does anyone have a script that can be used to call linux's locate command
and display the results in a browser?
?php
echo `locate locate`;
?
--
Greg Donald
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Thanks for all the replies.
Regarding security, I use a script to ensure (hopefully LOL) that only
requests from inside our network are accepted both hostnames and IP's
are checked.
I did find lonewolf's reply most usefull, but now I need to come up with way
to make each result (a href...)
Aww, I answered this one already too... I thought I beat everyone in as well, but
maybe the list is still slow??
Passthru() is better then exec() in this case, since he wants everything from locate,
I couldn't get the explode to work on my system because it didn't catch the \n
character very
On Friday 03 September 2004 01:11 am, Sam Hobbs wrote:
Jack Gates [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Javascript can open a separate and specifically sized window from a web
page
when a user clicks on a link that might reference a note or picture etc.
Can this be
$pdfdoc = $__BASE_PDF_BUILD_DIRECTORY.$_GET['FID'];
$filesize = filesize($pdfdoc);
header(Pragma: );
header(Expires: 0);
header(Cache-Control: must-revalidate, post-check=0,pre-check=0);
header(Content-type: application/pdf);
header(Content-Length: .$filesize);
From: Zoran [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 03, 2004 12:35 PM
Subject: [PHP] Web Fetch Process
Hi
How can I parse HTML page which I fetched by PHP so some part of text would
be replaced by other text.
For example, if I have bold text on HTML page (bSome text/b)
I have searched the net, and found tons of developers with different
solutions to this problem, none of which I have found to work.
What should the headers be for a client to download a PDF document and
have it open using adobe i.e. pluggin??
Here is code I am using, it works on some
1 - 100 of 133 matches
Mail list logo