Thanks for your help Michael, I'll try it out.
Frank
> At 01:45 AM 1/24/2002 +0100, Frank Benady wrote:
> >Hi All
> >
> >Can I emulate the first request of a browser when it tries to connect
to a
> >distant server using a domain name and parse the answer from the
remote
> >server to know if the
http://www.php.net/manual/en/ref.com.php
Valentin Petruchek (aki Zliy Pes)
*** ??? ?? ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: "Mihail Bota" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, January 24, 2002 9:52
On Thursday 24 January 2002 15:52, Mihail Bota wrote:
> Hello,
>
> I was wondering if I could save the result of a query in a pdf document. I
> looked for any functions that might help, but I got confused because I
> could not see how/where exactly to insert the necessary .dll's.
First read the
Whats the best way that I can let users upload single .jpeg and gif files, renaming
then with a time stamp?
Philip J. Newman
Philip's Domain - Internet Project.
http://www.philipsdomain.com/
[EMAIL PROTECTED]
Phone: +64 25 6144012
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Philip J. Newman blurted
> Whats the best way that I can let users upload single .jpeg and gif files, renaming
>then with a time stamp?
RTFM
There's a *big* section on file uploads :=)
- --
Nick Wilson
Tel:+45 3325 0688
Fax:
Nice, how rude, but nice.
- Original Message -
From: "Nick Wilson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 24, 2002 9:53 PM
Subject: Re: [PHP] Whats the best way.
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> * and then Philip J. Newman blurted
first, set up the array something like:
$artist("Bon Jovi","N\'Sync","Boyzone","Britney Spears","Jethro Tull",
"Crosby\, Stills & Nash"); // note escape slash before single quote and
comma I think they'll be needed, but maybe not.
then set up your checkbox array something like:
for ($i=0;$i<=
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Philip J. Newman blurted
> Nice, how rude, but nice.
Didn't really mean to be rude hence the concessional smiley at the end.
Regards
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
---
Hi Justin,
$string = substr($string, 0, 5000) . " text too long.";
?
http://www.php.net/substr
James
"Justin French" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> Really simple, but can't see which funtion to use in the manual.
>
> I want to t
It works really nice, Michael, thanks again.
I have one more question, maybe you can answer me :
If the domain name has been redirected with hte permanent redirect, I
get the 301 Moved Permanently header response. But if the domain name
has been frame-forwarded, I have no header response. Is it n
Entering the conversation late...
1 IP addresses
Remember these are not necessarily 'unique'. If two of us here log in, won't we appear
(to you) have the same IP
address if we're 'hiding' behind a NAT (Network Address Translation) box? Also dial-up
users share a pool of IP
addresses which are r
Read this through: http://www.php.net/manual/en/features.file-upload.php
Consider then: http://www.php.net/manual/en/function.is-uploaded-file.php
After that read:
http://www.php.net/manual/en/function.move-uploaded-file.php
and then do it like that:
-upload form
-check if user has uploaded a fil
var_dump(printer_list(PRINTER_ENUM_LOCAL | PRINTER_ENUM_SHARED));
When I try to run this the following errormessage occurs:
Fatal error: Call to undefined function: infophp() in D:\Program
Files\Apache Group\Apache\htdocs/index.php on line 61
Undefined function? What does that mean?
//M.
On Thursday 24 January 2002 17:57, Mårten Andersson wrote:
> var_dump(printer_list(PRINTER_ENUM_LOCAL | PRINTER_ENUM_SHARED));
>
> When I try to run this the following errormessage occurs:
> Fatal error: Call to undefined function: infophp() in D:\Program
> Files\Apache Group\Apache\htdocs/index.p
Please help.
i'm trying to access a remote ftp server , with my script.
it all works nicely , i can log in , i can list folders , make folders,
delete stuff,
but NOT COPY FILES!!
it gives this warning and no error.
Warning: ftp_put: "/capetown" is current directory. in
/home/www/cticc/incubat
Hi all,
I have this huge db in FileMaker Pro format :-(
Now I need this db to make a db content based website. I know enough stuff
about MySQL to do this, but I don't know anything about converting db's.
Does anybody have any tips, or ideas how I can handle this db converting
thing best?
I a
Dear all,
I am a new user on php and I have read on the function of IMAP in the
php.net but they made me confuse. In ture i am not understand what is the
function and how to use them.
Have there got any resource for me to reference? I think that if there got
more example it can be more easy to u
Hi,
We are about to develop a CMS that uses XML and XSLT.
The XML files contains some static information (header, footers and common
non-dynamic information). We would like to have a XML file that would
contain a field like:
<...>
<...>
<...>
Before the XML file is
Never done this before but its look rather simple:
first connect to the server|
probobly with imap_open
Read the messages into some Variable/ array what ever
Upload to the MySQL server.
Small Tip:
Drom MySQL and use Postgresql
--
Canaan Surfing Ltd.
Internet Service P
um , lets say a form calls its own page , does some db operations and then
returns to its former self ,
how do you get it to not perform said db operations on refresh?
i.e the data is reposted and thus the submit variable still appears to be
set?
Thanks
--
PHP General Mailing List (http://
- Original Message -
From: "Wilbert Enserink" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Wednesday, January 23, 2002 4:34 PM
Subject: [PHP] db conversion advice needed
> Hi all,
>
>
> I have this huge db in FileMaker Pro format :-(
Which plattform? Mac, Win?
I had once to w
What is it you actually want to do? Add the current date/time or a timestamp
entered on the submitting form? See date() for the former. Once you've got
your stamp in a format you want just add it to the front of the story before
saving. Give us a bit more detail about what it is that isn't working
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thu, 24 Jan 2002, Jason Wong wrote:
> Yes, you're missing something :) You can use arrays in forms, just use names
> like "width[0]", "width[1]" etc.
Thanks to Jason and Billy for this information, it makes my life a lot
easier.
And thanks to a
Sounds to like you're not putting the value in quotes.
i.e. you can get away with you can't.
's (what I assume you are referring to as multiline text boxes)
are different as the value goes between the tabs and seems to be treated as
prefdefined text (like between tags)
Tim
www.chessish.com
How can i call as URL from a PHP code ?
thanks,
eduardo melo
computer programmer
_
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Eduardo Melo blurted
> How can i call as URL from a PHP code ?
What do you mean by 'call'?
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Hi,
I'm new in PHP and i have a question:
How can i delete a file from the server in PHP
Tommy Straetemans
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mai
Header("Location:http://whatever.com";);
HTH
REgards
El Jue 24 Ene 2002 12:50, Eduardo Melo escribió:
>How can i call as URL from a PHP code ?
>
>thanks,
>
>eduardo melo
>computer programmer
>
>_
>Send and receive Hotmail on your m
Hi Tommy,
use unlink()
$filename = "mypic.jpg";
unlink($filename)
or die("Something's barfed");
James
> How can i delete a file from the server in PHP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
>How can i delete a file from the server in PHP
unlink("/file/path/filename.txt");
http://www.php.net/manual/en/function.unlink.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the lis
Hello Manuel,
> > One other dimension, the institutions can only offer classes in the languages (and
>techniques/technologies)
that
> > the trainers know and than they have the resources (hardware,
>compilers/interpreters) to cover.
> >
> > Maybe therein lies an answer to the 'marketing' side t
If you have access to the MySQL console (command line) ...
1. Read the MySQL doc's on LOAD DATA INFILE so that you know the various
parameters, etc.
2. Export from FileMaker Pro using delimiters which will work with your
data and are acceptable to MySQL
3. Create necessary database and tables
4
Try to add the following line above all code:
clearstatcache();
This clears the status from previous is_dir()'s.
Good luck,
Joakim
> -Original Message-
> From: Dean Dunn [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 22, 2002 6:11 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Help
> > > Making any sense?
> >
> > Year, so I have to do it manually (thought someone could preveting me from
> > reinvent the wheel... ;-)
> >
> > > What are you really trying to achieve?
> >
> > I'm trying to split a large binary file (>2 GB) into peaces of 700 MB to
> > burn it on a cd. It's a par
Although the table con_inf in db sbwresearch contains 3 records with
username as the first column, the following short script generates a blank
page:
Why? I've use the statement in other scripts and it works!
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
At 10:33 AM 1/24/2002 +0100, Frank Benady wrote:
>It works really nice, Michael, thanks again.
>
>I have one more question, maybe you can answer me :
>If the domain name has been redirected with hte permanent redirect, I
>get the 301 Moved Permanently header response. But if the domain name
>has b
On Thursday 24 January 2002 20:46, DL Neil wrote:
> > > > Making any sense?
> > >
> > > Year, so I have to do it manually (thought someone could preveting me
> > > from reinvent the wheel... ;-)
> > >
> > > > What are you really trying to achieve?
> > >
> > > I'm trying to split a large binary fil
hi folks,
i'm having a problem using eval.
i have some html code interdispersed with php code (proper statement not
just variables) in a database. when i fetch the code and display it using :
$reg_adv_html=addslashes($reg_adv_html);
eval("\$reg_adv_html = \"$reg_adv_html\";");
$reg
src.rpm is the source code packaged in an rpm-file. If you install it as
rpm --rebuild it will compile a binary rpm for you. If you use Redhat you
can find the binary rpm in /usr/src/Redhat/RPMS
i586.rpm is a compiled binary for the i586-platform architecture
/Fredrik
--
When the surfer presses a button, I want a pre-determined file to be
downloaded by the surfer - the box to come up on the surfer's browser:
"Open or save...".
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
> value="reg1" ?>>
You either need to remove the opening {, or put a corresponding } at the end
of the if() statement.
So, either:
Or
HTH
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
Hello!
I was making a spider for a simple searchengine and all was well until I
started testing it on larger sites.
The problem isn't that it doesn't work, it does, but it is very very slow,
just handling one connection at the time.
Basically, it just downloads a page, extract all links from it,
Hello,
I am in a bit of a pickle and would greatly appreciate any help. I
have code which writes inputs to a txt file. These inputs are used as inputs
to a c program. What I am trying to do is use the redirect command < to run
the code from php. The command is:
./a.outjunk");
it does wr
Sorry, I don't have an answer on your question, but a question to you:
I'm currently building a class to browse a page and was interested in the
source of your script. Especially on that part extracting the links.
Would you mind providing the source or is it a commercial?
best regards
Stefan Rust
You may want to use 'wget' spider function, then parse the files with PHP if necessary.
http://wget.sunsite.dk/
bvr.
On Thu, 24 Jan 2002 14:52:54 +0100, Mattias Andersson wrote:
>Hello!
>
>I was making a spider for a simple searchengine and all was well until I
>started testing it on larger
Anthony,
> Although the table con_inf in db sbwresearch contains 3 records with
> username as the first column, the following short script generates a blank
> page:
>
> $connection=mysql_connect("localhost","wagner","xyz") or die ("No
> connection!");
> $db=mysql_select_db("sbwresearch",$connec
On Thursday 24 January 2002 06:36 am, Tim Ward wrote:
> What is it you actually want to do? Add the current date/time or a
> timestamp entered on the submitting form?
yes. That is exactly what I wish to do.
See date() for the former. Once
> you've got your stamp in a format you want just add i
>> =Hmm, I'm still come at it from the other way around (all due respect to
>> Jason) - but then I don't recall OpSys details, or know if there is a
>> utility/tool for the job in your choice of OpSys.
>
>Well unless it's a *really* obscure OS I'm sure there must be some readily
>available file
The general approach when a form has $PHP_SELF as the action value is to use
a switch construct and in one of the cases perform the mentioned db
operations, in all other cases (depends what variable you'd be switching)
simply do not perform them.
HTH,
Nasko
"Conrad Strydom" <[EMAIL PROTECTED]> s
On Thursday 24 January 2002 21:33, Todd Cary wrote:
> When the surfer presses a button, I want a pre-determined file to be
> downloaded by the surfer - the box to come up on the surfer's browser:
> "Open or save...".
Many ways to do this, one of which could be:
Then in your file do
I'm generating an XML file and because of the later purpose of this XML file
I need to write all occurrences of the TM symbol using "™" code
instead of "™". However, no matter how I write this symbol in the
input text fields, holding ALT and typing 0153 or just entering "™" in
the end I always get
If you only want the associative array, just use mysql_fetch_array($result). If
you're using the constant MYSQL_ASSOC, uppercase it, and don't quote it.
>Although the table con_inf in db sbwresearch contains 3 records with
>username as the first column, the following short script generates a
That is indeed very tricky.
You may try this routine:
http://www.php.net/delete";);
?>
bvr.
On Thu, 24 Jan 2002 12:56:09 +0100, Tommy Straetemans wrote:
>Hi,
>I'm new in PHP and i have a question:
>
>How can i delete a file from the server in PHP
>
>
>Tommy Straetemans
>
>
>
>--
>PHP Gener
One would need to check the db to see if the operation had already been performed, so
as not to do it again.
>um , lets say a form calls its own page , does some db operations and then returns to
>its former self ,
>how do you get it to not perform said db operations on refresh?
>i.e the data i
Hi!
I wonder how I can send a POST-command to a server, via a PHP-script instead
of a form.
Imagen that I have this form:
Name:
E-mail:
Now I want to send a command to the /request.php, and formate the returned
data - via a PHP-script.
Should I use sockets or fopen? Or something else? T
I think you just need to add the timestamp to the start of the story before
you save it,
i.e.
$content = date("d/m/Y H:i:s - ") . $content;
or am I missing something?
Tim
www.chessish.com
> -Original Message-
> From: Tim Bogart [SMTP:[EMAIL PROTECTED]]
> Sent: 24 Januar
No, you're not missing a thing. I just need to know exactly where to put the
line you sent me. The word "content" is mentioned a few times in the script
and I'm not a programmer, remember? Could you please indicate exactly where
you would put the line you sent me? I'm sure you are taking fo
Hello
I just subscribed to the list, hoping that someone would be able to help
me with my question.
Well, I'm working on a script that can and will be used by different
users from the machine and I was wondering if there was any way to do
something like an su, changing the user the script is exec
Mihai,
There is a php class that can generate pdf documents without the
dll's/libraries required by other methods:
http://ros.co.nz/pdf/
You can definitely use the results of a database query to create a pdf!
Enjoy!
Daniel Ems
On Wed, 23 Jan 2002, Mihail Bota wrote:
> Hello,
>
> I was w
I think this is what you're looking for. It's a script written by Rasmus.
http://www.php-faq.com/faq.php#39
>I wonder how I can send a POST-command to a server, via a PHP-script instead
>of a form.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
without the full source code of the classes you are using I'd be guessing,
but within savePreview() and savePage() $content is passed to an object
method that does the saving. You could just pass date("d/m/Y H:i:s - ") .
$content instead of $content. However it looks like this may be amended from
Hiya Everyone!
I'm a little baffled on what is happening. I'm using Apache on the UNIX
machine. When I built the website, everyone work okay. Then I accidently
remove part of the web directory because I was in the wrong directory at
that time. So, I had to restore the lost directory from
Hi again! I just did the crazy thing and it work! What I did was to copy
the whole script in the file then delete the file. Create a new file and
paste the script back into the file. Guess what! The webpage work! No
nagging errors! What give?
Scott
--
PHP General Mailing List (htt
Maybe there was a permissions problem?
--
Ben Sinclair
[EMAIL PROTECTED]
- Original Message -
From: "Scott Fletcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 24, 2002 9:34 AM
Subject: [PHP] Warning: Failed opening '' for inclusion (.) in Unknown
on line
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Scott Fletcher blurted
> Hiya Everyone!
> came up. I kept getting the error message on some files with a "Warning:
> Failed opening '...' for inclusion () in Unknown on line 0". I did some
> troubleshooting but with no luck.
Is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Ben Sinclair blurted
> Maybe there was a permissions problem?
Good point :-)
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linu
> > Hiya Everyone!
> > came up. I kept getting the error message on some files with a "Warning:
> > Failed opening '...' for inclusion () in Unknown on line 0". I did
> > some troubleshooting but with no luck.
test to see if you don't have a prepend statement around!
--
PHP General Maili
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Scott Fletcher blurted
> Hi again! I just did the crazy thing and it work! What I did was to copy
> the whole script in the file then delete the file. Create a new file and
> paste the script back into the file. Guess what! The w
Just found out it was the *quotes* that were pasted into my stuff from
a tutorial from a web site that were locking me up. They looked good
but they weren't *official* quotes... :-/ Probably other characters
that will do that too..? Duh!
Well maybe someone besides myself didn't know that,
Dear List
I have just compleated a PHP web frontend to the standard mail function in
PHP. I have got it to send and recieve email.
Can I take this programming task further and allow it to send and recieve
attachments. My script runs on a redhat 7 box.
Can anyone help? How can i achieve this?
So...I would create a new table in my postgresql database that's being used
which would contain the timestamp. I would populate that table when the
savepage.php was executed, extract the data from that table and write it to
the screen, then execute the save. Does that sound right?
Tim
On Th
Hi
I have been reading but can't get sessions to even try working..
The set up is win32/php4.1/apache.
Reading the list I have done what was suggested where it I could
understand it. Just went nuts creating /tmp dirs everywhere I could
think of to see if any of them worked... Nada! Also
Thanks a lot guys! This really helps a lot.
MySql is not installed on my machine, so it would take a while to install
all the necessary libraries. I'll stick with the material given by Daniel,
for the moment.
Mihai
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EM
http://www.php.net/pdf
You'll need Thomas Mertz' PDFlib, which is free for personal/not-for-profit
use, but requires a license fee for commercial use:
http://www.pdflib.com/pdflib/index.html
-Andy
> -Original Message-
> From: Mihail Bota [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, J
The file permission checked out fine. It just baffled me!
I don't know how to keep the post together to one topic! I use MS Outlook
and I clicked the "reply" button and it came out as a seperate post.
Scott
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL P
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Scott Fletcher blurted
> The file permission checked out fine. It just baffled me!
>
> I don't know how to keep the post together to one topic! I use MS Outlook
> and I clicked the "reply" button and it came out as a seperate post.
Jason -
<<<
Then in your file download.php, have a single statement using the
header()
function to redirect to the file that is to be downloaded.
>>>
What is the syntax for the header() function?
Many thanks...
Todd
--
Dr. Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing
can you not print the charset inside one of the HTML tags? ( it
might be in).
Also, if you dont want to keep typing out
htmlentities("¤",ENT_QUOTES,"iso-8859-15") to get a euro, just do:
$euro = htmlentities("¤",ENT_QUOTES,"iso-8859-15");
LJ
"Sönke Tesch" <[EMAIL PROTECTED]> wrote in message
[
On Friday 25 January 2002 01:00, Todd Cary wrote:
> Jason -
>
> <<<
> Then in your file download.php, have a single statement using the
> header()
> function to redirect to the file that is to be downloaded.
>
>
> What is the syntax for the header() function?
Manual? Lots of good
Then I would have to write a parser when I have already written my own
spider. But the problem isn't the spider itself, but rather the lack of
multi-threading within PHP (which is needed in quite alot of sitatuations,
depending on what you're coding). I'm not sure if it really does lack
multi-thre
Take a look at the articles on:
http://www.devshed.com/Server_Side/PHP
HTH
Neil
Gordon Stewart wrote:
> Dear List
>
> I have just compleated a PHP web frontend to the standard mail function in
> PHP. I have got it to send and recieve email.
>
> Can I take this programming task further and al
Hi everybody
I would like to pass parameters to a php script running as a bach job under
windows.
Is there any possibility to something like that ?
Laurent Drouet
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
Does anyone have a good script for uploading an image and storing it in a
mySQL database.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PR
Hello,
I wrote a PHP class to display an HTML calendar, and then wrote a subclass
of it for a specific project I'm working on. Here is the entirety of the
subclass:
// create our new sub-class of the calendar
class rantCal extends calendar {
function get_link($day) {
$link = "";
if (v
> So, either:
>
>
>
> Or
>
>
I found it very convenient for in-html coding to use the following
structure:
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-
Jason -
I had looked it up in the manual, but I am not sure of what to put into
the area /* ... output pdf file ... */
Any help is appreciated
Todd
If you want the user to be prompted to save the data you are sending,
such as a generated PDF file, you can use the Content-Disposition
Joel-
> Basically, it's used to determine if a given date should be linked or not.
> When I wrote it, I didn't expect it to work, since these two function:
>
> valid_date()
> rant_exists()
>
> are defined completely outside of the class. In fact, they're defined in
> a functions file that I in
Todd-
> I had looked it up in the manual, but I am not sure of what to put into
> the area /* ... output pdf file ... */
>
> Any help is appreciated
>
> Todd
>
>
>
> If you want the user to be prompted to save the data you are sending,
> such as a generated PDF file, you can use the
I have some variables stored in plain text in a text file. Unfortunately I
am not going to be able to use SQL to solve this one, since that server is
not running it. Anyway.
The text file looks like this (everything between the *):
*
SAVINGS=type1
FILTER=disabled
SPOOL=category1
*
I use a form to
If it is frame forwarded, you would get a 300 OK status becuase you have
accessed a web page and it has been server OK. The webpage (which contains
the tags) then send a request to another server to get the page
to be redirected to.
The only way to check for this would be to see if the page you h
Daniel -
When I use the following code, I am not asked if I want to Save the file
or Open it. Instead, the contents of the file are displayed in the
browser. I am sure that I have missed something simple!!
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List
Alex-
This is very basic PHP.
> I have some variables stored in plain text in a text file. Unfortunately I
> am not going to be able to use SQL to solve this one, since that server is
> not running it. Anyway.
>
> The text file looks like this (everything between the *):
> *
> SAVINGS=type1
> F
"Lasse Laursen" <[EMAIL PROTECTED]> wrote in message
02c301c1a4c4$42e03620$[EMAIL PROTECTED]">news:02c301c1a4c4$42e03620$[EMAIL PROTECTED]...
> Hi,
>
> We are about to develop a CMS that uses XML and XSLT.
>
> The XML files contains some static information (header, footers and common
> non-dynamic
Todd-
> When I use the following code, I am not asked if I want to Save the file
> or Open it. Instead, the contents of the file are displayed in the
> browser. I am sure that I have missed something simple!!
>
> Todd
>
>$len = filesize("test.pdf");
> header("Content-type: application/p
On Friday 25 January 2002 01:35, Todd Cary wrote:
> Jason -
>
> I had looked it up in the manual, but I am not sure of what to put into
> the area /* ... output pdf file ... */
>
> Any help is appreciated
>
> Todd
>
>
>
> If you want the user to be prompted to save the data you are sendi
On Friday 25 January 2002 02:23, Jason Wong wrote:
> In general, if the file is on disk then simply using:
>
> header("Location: http://www.domain.com/downloads/myfile.exe";);
>
> would work. Whether the user is asked to "Save or Open..." depends on the
> browser setting.
>
> If you're using a
On Friday 25 January 2002 02:16, daniel wrote:
> Todd-
>
> > When I use the following code, I am not asked if I want to Save the file
> > or Open it. Instead, the contents of the file are displayed in the
> > browser. I am sure that I have missed something simple!!
> >
> > Todd
> >
> > > $len
> >> =Hmm, I'm still come at it from the other way around (all due respect to
> >> Jason) - but then I don't recall OpSys details, or know if there is a
> >> utility/tool for the job in your choice of OpSys.
> >
> >Well unless it's a *really* obscure OS I'm sure there must be some readily
> >avai
If the links are placed in a db as they are found, then couldn't you run the same
script in multiple instances
(browser windows, DOS boxes/command lines) against the same db. That way you would be
fetching and parsing
multiple web pages concurrently. The only 'multi-threading' would be against t
Hi Laurent,
> I would like to pass parameters to a php script running as a bach job under
> windows.
>
> Is there any possibility to something like that ?
Coverage of argv, argc and some good examples are in the manual at
http://uk2.php.net/manual/en/commandline.php
Regards,
=dn
--
PHP G
1 - 100 of 231 matches
Mail list logo