Re: [PHP] emulate a browser

2002-01-24 Thread Frank Benady
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 there is a

Re: [PHP] Creating a pdf document

2002-01-24 Thread val petruchek
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 AM

Re: [PHP] Creating a pdf document

2002-01-24 Thread Jason Wong
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

[PHP] Whats the best way.

2002-01-24 Thread Philip J. Newman
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

Re: [PHP] Whats the best way.

2002-01-24 Thread Nick Wilson
-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:

Re: [PHP] Whats the best way.

2002-01-24 Thread Philip J. Newman
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 Whats

Re: [PHP] Displaying array of elements problem

2002-01-24 Thread hugh danaher
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: ?php print form

Re: [PHP] Whats the best way.

2002-01-24 Thread Nick Wilson
-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

[PHP] Re: seems easy...

2002-01-24 Thread liljim
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 take a

Re: [PHP] emulate a browser

2002-01-24 Thread Frank Benady
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

Re: [PHP] Need opinion On sessions - Cookies mandatory?

2002-01-24 Thread DL Neil
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

Re: [PHP] Whats the best way.

2002-01-24 Thread Stefan Rusterholz
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

[PHP] Error whith printer_list()

2002-01-24 Thread Mårten Andersson
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.

Re: [PHP] Error whith printer_list()

2002-01-24 Thread Jason Wong
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.php

[PHP] Ftp issue - please help

2002-01-24 Thread Conrad Strydom
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

[PHP] db conversion advice needed

2002-01-24 Thread Wilbert Enserink
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

[PHP] Using Mail Functions.

2002-01-24 Thread Sidney
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

[PHP] XML / XSLT parsing using PHP

2002-01-24 Thread Lasse Laursen
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: MENU ... ... ... MENU/ Before the XML file

Re: [PHP] Using Mail Functions.

2002-01-24 Thread Ben-Nes Michael
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

[PHP] Clear form post data

2002-01-24 Thread Conrad Strydom
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

Re: [PHP] db conversion advice needed

2002-01-24 Thread Stefan Rusterholz
- 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 write an

[PHP] RE: phpwiki save button

2002-01-24 Thread Tim Ward
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

Re: [PHP] to evaluate ...

2002-01-24 Thread Thorsten Wandersmann
-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 all

[PHP] RE: One Line text boxes vs. Multiline text boxes

2002-01-24 Thread Tim Ward
Sounds to like you're not putting the value in quotes. i.e. input type=text value=fred you can get away with input type=text value=tom,dick and harry you can't. textarea'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

[PHP] calling an URL

2002-01-24 Thread Eduardo Melo
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:

Re: [PHP] calling an URL

2002-01-24 Thread Nick Wilson
-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

[PHP] delete a file from the server

2002-01-24 Thread Tommy Straetemans
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,

Re: [PHP] calling an URL

2002-01-24 Thread Martin Cabrera Diaubalick
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 mobile

[PHP] Re: delete a file from the server

2002-01-24 Thread liljim
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

Re: [PHP] delete a file from the server

2002-01-24 Thread Jeff Van Campen
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 list

Re: [PHP] Viral Marketing PHP (was Re: [PHP] Computer Science and PHP)

2002-01-24 Thread DL Neil
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 too. The

Re: [PHP] db conversion advice needed

2002-01-24 Thread Miles Thompson
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

RE: [PHP] Help is_dir command driving me crazy!

2002-01-24 Thread joakim . andersson
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

Re: [PHP] Split files

2002-01-24 Thread DL Neil
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 part of a

[PHP] Why while doesn't work?

2002-01-24 Thread Anthony Rodriguez
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: ?php $connection=mysql_connect(localhost,wagner,xyz) or die (No connection!); $db=mysql_select_db(sbwresearch,$connection) or die (No

Re: [PHP] emulate a browser

2002-01-24 Thread Michael Sims
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 been

Re: [PHP] Split files

2002-01-24 Thread Jason Wong
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 file (2 GB) into peaces of

[PHP] eval on php embedded html

2002-01-24 Thread DigitalKoala
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\;);

[PHP] Re: Difference between i586 RPM and SRC.RPM?

2002-01-24 Thread Fredrik Wahlberg
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 --

Re: [PHP] How can the Surfer download

2002-01-24 Thread Todd Cary
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

RE: [PHP] eval on php embedded html

2002-01-24 Thread Jon Haworth
TD valign=centerinput type=radio name=radiobutton1 value=reg1 ? if ($radiobutton1==on) { print selected; ? /TD You either need to remove the opening {, or put a corresponding } at the end of the if() statement. So, either: ? if ($radiobutton1 == on) { print selected; } ? Or ? if

[PHP] multi-threading within php?

2002-01-24 Thread Mattias Andersson
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

[PHP] problems with system()

2002-01-24 Thread John Gurley
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.outtest.txt through

Re: [PHP] multi-threading within php?

2002-01-24 Thread Stefan Rusterholz
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

Re: [PHP] multi-threading within php?

2002-01-24 Thread bvr
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

Re: [PHP] Why while doesn't work?

2002-01-24 Thread DL Neil
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: ?php $connection=mysql_connect(localhost,wagner,xyz) or die (No connection!); $db=mysql_select_db(sbwresearch,$connection) or

[PHP] Re: phpwiki save button

2002-01-24 Thread Tim Bogart
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 it

Re: [PHP] Split files

2002-01-24 Thread bvr
=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 splitter

[PHP] Re: Clear form post data

2002-01-24 Thread Atanas Vassilev
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]

Re: [PHP] How can the Surfer download

2002-01-24 Thread Jason Wong
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: form action=download.php input

[PHP] Problems writing the TM (#8482;) symbol when generating XML file

2002-01-24 Thread Atanas Vassilev
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 #0153; code instead of #8482;. However, no matter how I write this symbol in the input text fields, holding ALT and typing 0153 or just entering #0153; in the end I

RE: [PHP] Why while doesn't work?

2002-01-24 Thread Matt Schroebel
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

Re: [PHP] delete a file from the server

2002-01-24 Thread bvr
That is indeed very tricky. You may try this routine: ?php readfile(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

RE: [PHP] Clear form post data

2002-01-24 Thread Matt Schroebel
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 is

[PHP] Sending a POST-message

2002-01-24 Thread Bjrne
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: form action=/request.php method=POST Name: input type=text name=reqNamebr/ E-mail: input type=text name=reqEmailbr/ input type=submit /form Now I want to send a command to

[PHP] RE: phpwiki save button

2002-01-24 Thread Tim Ward
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 January

Re: [PHP] RE: phpwiki save button

2002-01-24 Thread Tim Bogart
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 for

[PHP] Change files of users?

2002-01-24 Thread Tobias Schweitzer
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

[PHP] Re: [PHP-DB] Creating a pdf document

2002-01-24 Thread Daniel Ems
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

RE: [PHP] Sending a POST-message

2002-01-24 Thread Matt Schroebel
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]

RE: [PHP] RE: phpwiki save button

2002-01-24 Thread Tim Ward
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

[PHP] Warning: Failed opening '....' for inclusion (.....) in Unknown on line 0

2002-01-24 Thread Scott Fletcher
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

[PHP] Hey!

2002-01-24 Thread Scott Fletcher
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

Re: [PHP] Warning: Failed opening '....' for inclusion (.....) in Unknown on line 0

2002-01-24 Thread Ben Sinclair
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 0

Re: [PHP] Warning: Failed opening '....' for inclusion (.....) in Unknown on line 0

2002-01-24 Thread Nick Wilson
-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 that

Re: [PHP] Warning: Failed opening '....' for inclusion (.....) in Unknown on line 0

2002-01-24 Thread Nick Wilson
-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

Re: [PHP] Warning: Failed opening '....' for inclusion (.....) in Unknown on line 0

2002-01-24 Thread Negrea Mihai
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 Mailing List

Re: [PHP] Hey!

2002-01-24 Thread Nick Wilson
-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

[PHP] Cut and Paste... Bah humbug.

2002-01-24 Thread Floyd Baker
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

[PHP] Mail Attachments

2002-01-24 Thread Gordon Stewart
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?

[PHP] Re: phpwiki save button

2002-01-24 Thread Tim Bogart
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

[PHP] One more time... Sessions questons?

2002-01-24 Thread Floyd Baker
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!

[PHP] Re: [PHP-DB] Creating a pdf document

2002-01-24 Thread Mihail Bota
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:

[PHP] RE: Creating a pdf document

2002-01-24 Thread Andrew Chase
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,

[PHP] Re: Warning: Failed opening '....' for inclusion (.....) in Unknown on line 0

2002-01-24 Thread Scott Fletcher
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

Re: [PHP] Re: Warning: Failed opening '....' for inclusion (.....) in Unknown on line 0

2002-01-24 Thread Nick Wilson
-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.

Re: [PHP] How can the Surfer download

2002-01-24 Thread Todd Cary
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 List

[PHP] Re: The Euro symbol, default charset and htmlentities()

2002-01-24 Thread LaserJetter
can you not print the charset inside one of the HTML tags? (DOCTYPE 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

Re: [PHP] How can the Surfer download

2002-01-24 Thread Jason Wong
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 info in

SV: [PHP] multi-threading within php?

2002-01-24 Thread Mattias Andersson
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

Re: [PHP] Mail Attachments

2002-01-24 Thread Neil Freeman
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 allow

[PHP] PHP without browser

2002-01-24 Thread DrouetL
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:

[PHP] Image Upload

2002-01-24 Thread lists
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

[PHP] function scope question

2002-01-24 Thread Joel Boonstra
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

Re: [PHP] eval on php embedded html

2002-01-24 Thread Atanas Vassilev
So, either: ? if ($radiobutton1 == on) { print selected; } ? Or ? if ($radiobutton1 == on) print selected; ? I found it very convenient for in-html coding to use the following structure: input blabla bla ? echo($radiobutton1 == on ? selected : );? -- PHP General Mailing List

Re: [PHP] How can the Surfer download

2002-01-24 Thread Todd Cary
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

Re: [PHP] function scope question

2002-01-24 Thread daniel
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 include

Re: [PHP] How can the Surfer download

2002-01-24 Thread daniel
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

[PHP] using a text file for variables in a form?

2002-01-24 Thread Alexis N. Mueller
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

Re: [PHP] emulate a browser

2002-01-24 Thread LaserJetter
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 FRAMESET 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

Re: [PHP] How can the Surfer download

2002-01-24 Thread Todd Cary
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 ?php $len = filesize(test.pdf); header(Content-type: application/pdf);

Re: [PHP] using a text file for variables in a form?

2002-01-24 Thread daniel
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

[PHP] Re: XML / XSLT parsing using PHP

2002-01-24 Thread Peter Clarke
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

Re: [PHP] How can the Surfer download

2002-01-24 Thread daniel
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 ?php $len = filesize(test.pdf); header(Content-type: application/pdf);

Re: [PHP] How can the Surfer download

2002-01-24 Thread Jason Wong
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 sending, such

Re: [PHP] How can the Surfer download

2002-01-24 Thread Jason Wong
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 webserver

Re: [PHP] How can the Surfer download

2002-01-24 Thread Jason Wong
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 ?php $len =

Re: [PHP] Split files

2002-01-24 Thread DL Neil
=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

Re: [PHP] multi-threading within php?

2002-01-24 Thread DL Neil
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

Re: [PHP] PHP without browser

2002-01-24 Thread DL Neil
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

  1   2   3   >