Re: [PHP] newbie : how to access functions in seperate files???

2001-09-03 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Aaron Moore) wrote: resides in line 6 of test.php where i try to call a function which is in function.php the test.php file : ___ ?php require(functions.php); snip function.php file : Umm, so is the

[PHP] probs with exec, pls pls help

2001-09-03 Thread taz
Should this work, if not, why not? ?php exec(mysqlimport -u root -ppasword test one.txt) ? the import works fine from the command line exec(ls) works too TIA Terry

Re: [PHP] CSS with PHP?

2001-09-03 Thread David Robley
On Mon, 3 Sep 2001 13:18, Ashlyn wrote: I am using a downloaded PHP sitesearch script and can not get it to read the page contents past the style sheet.. If I search a text file it will give me the contents exactly as I wish, but if I search a html document it only gives me the page title

[PHP] Re: imap?

2001-09-03 Thread Shi
it still dosen't work Help Shimon Richard Lynch [EMAIL PROTECTED] wrote in message 00f701c133ef$b52b5200$6401a8c0@Lynchux100">news:00f701c133ef$b52b5200$6401a8c0@Lynchux100... You're missing a closing ) on the final print() statement... -- WARNING [EMAIL PROTECTED] address

Re: [PHP] probs with exec, pls pls help

2001-09-03 Thread David Robley
On Mon, 3 Sep 2001 17:00, taz wrote: Should this work, if not, why not? ?php exec(mysqlimport -u root -ppasword test one.txt) ? the import works fine from the command line exec(ls) works too TIA Terry Probably the user that your webserver, and hence your php script, runs as does not

Re: [PHP] newbie : how to access functions in seperate files???

2001-09-03 Thread Aaron Moore
its functions.php as i've said my include works... because i'm able to echo from it... i just can't access the functions. Cc Zona [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Aaron Moore) wrote: resides in

[PHP] apache 1.3.20 segfaults with php 4.0.6/midgard/imap

2001-09-03 Thread Vincent Stoessel
I am trying to use php 4.0.6 with imap. midgard and mysql extentions compiled in. When I start apache I get information in the logs about many child proccesses dying. Yet I have plenty memory left and everthing else seems OK. Not a lot of traffic here at 3.27 am. I ran gdb and this is what I

Re: [PHP] hi

2001-09-03 Thread * RzE:
Reply Hey there, This is the solution for setting the width of your select-box (which I think you want to do): SELECT width=200 style=width: 200px; ---options here--- /SELECT The width-attribute sets the width in NS, while the style-attribute sets the width in IE. Don't you just love this

[PHP] Re: probs with exec, pls help

2001-09-03 Thread _lallous
should'nt I guess I should at least specify full path of mysqlimport as in: exec(/usr/local/mysql/bin/mysqlimport -u -p dada dasda) Taz [EMAIL PROTECTED] wrote in message 002801c133f3$1e2204e0$0feafea9@reynolds">news:002801c133f3$1e2204e0$0feafea9@reynolds... Should this work, if not, why

[PHP] Re: number to word converter

2001-09-03 Thread _lallous
What was the solution? Carry Ian [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... thanks to everybody who responded. carry Carry Ian e-mail: [EMAIL PROTECTED] -- Get real

[PHP] File Upload Problem

2001-09-03 Thread Tim Grubb
I have a problem uploading files that just started the other day. I have been using the same script for 8 mos. Site is hosted at a hosting facility. Anyone outside of our company router can still upload fine. From our office noone can upload. Only 8097 bytes get sent. Regular access to the web

Re: [PHP] POST without Content-Type?

2001-09-03 Thread Chris Maresca
After struggling with this for a bit, I determined that the problem was not in fact with PHP but with Apache. I wound up writing a mod_perl Apache module which took an incoming request to a particular location and parsed out the stream to find the POST content, and inserted it into the HTTP

Re: [PHP] potential preg_replace bug; unsure however

2001-09-03 Thread * RzE:
Original message From: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Sat, Sep 01, 2001 at 08:55:15PM +0200 Message-ID: [EMAIL PROTECTED] Subject: [PHP] potential preg_replace bug; unsure however I built a Perl-style regex to match function calls in C-like languages where $name is the functions

RE: [PHP] File Upload Problem

2001-09-03 Thread Johan Vikerskog (ECS)
Perhaps someone from your Network group(or similiar) have put a restriction towards that site for some strange reason. Ask your administrator and he probobly will know the answer. //Johan -Original Message- From: Tim Grubb [mailto:[EMAIL PROTECTED]] Sent: den 3 september 2001 09:55

Re: [PHP] If PHP4 existed in 1995 we would of taken over the world by now

2001-09-03 Thread Maxim Derkachev
Hello Bob, If someone's grandmother had balls, she would have been someone's grandfather (Russian idiom). Do you really think that the development language a company choose will make the company successful ?? Saturday, September 01, 2001, 7:55:19 AM, you wrote: B If PHP4 existed in 1995 then

[PHP] Re: Plese help me

2001-09-03 Thread _lallous
are you sure that php_oci.dll is located in c:/php/extentions/ folder? are you sure you have that file? Soawarat Weangkawe [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... We have installed PHP4.06 manually to use it with IIS 5 on win2000server We did everything

Re: [PHP] newbie : how to access functions in seperate files???

2001-09-03 Thread speedboy
What do people do with required files? I have a file called config.php which contains all my functions. It is 329526 bytes. Should I split this up into other files? I don't think so, but what do others think? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] If PHP4 existed in 1995 we would of taken over the world by now

2001-09-03 Thread Bob
Hi Maxim People have been talking about the future of php and I think that it is the functionality of the language that will propel php as the defacto language for websites. If in 1995 you tell a project manager that I can program hotmail.com in a couple weeks and that it would be a lot faster

[PHP] GD2 and alpha channels

2001-09-03 Thread Daniel Reichenbach
Hy, i would like to use the alpha channel funtionality in GD2 to put a jpeg into a PNG (24bit) with alpha channel. As i'm a total newbie with GD, i'd love to see some examples. Can somebody shed a light on this? Greetings from Germany, Daniel -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Does PHP supports ..BMP images...

2001-09-03 Thread Ben-Nes Michael
What do you want to do to the BMP Images ? - Original Message - From: Girish P [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 01, 2001 10:55 AM Subject: [PHP] Does PHP supports ..BMP images... HI , PHP is not able to load bmp images... is there any setting to

[PHP] typerules and german umlauts

2001-09-03 Thread Otto Brandstätter
Hello ! i have the following problem: when using sendfax for sending a german text file including german umlauts, i get: cannot determine file type ?!? does anyone know how to modify typerules to handle that file type correctly ? one strange thing: when i try to sendfax from the shell,

[PHP] EDI with PHP?

2001-09-03 Thread Jon Farmer
Hi, The company I work for is starting to lose contracts because they are not capable of EDI. As I seem to be the only person in the company who has heard of EDI and knows what it stands for I am assumed to be an expert :-) Anyway, I would like to suggest that instead of EDI we use XML and use

Re: [PHP] Re: probs with exec, pls help (still)

2001-09-03 Thread taz
Hi I've put the full path in for mysql, i've included -h -u -p and included the paths of the txt table files Still don't work. I'm logged in as root, working on my own box (linux) . I'm really struggling with this one. Has anyone out there done this ?? Many TIA Terry - Original Message

[PHP] How to call a member from the base class?

2001-09-03 Thread A. op de Weegh
Hi all, I am wondering, if I do the following: class A { function something() { } } class B extends A { function something() { } } var $varB = new B; $varB-something(); How do I make sure in the something() member of class B, that the parent class member something() is also

Re: [PHP] Re: Plese help me

2001-09-03 Thread hassan el forkani
hi just a suggestion as itworked for me, try to edit the dll in notepad and do a string search for dll without the quotes make sure all the dlls you find exist in your windows/system folder that kind of error usually happens when there are some dlls referenced in the extension; www.php4win.de

[PHP] Re: apache 1.3.20 segfaults with php 4.0.6/midgard/imap

2001-09-03 Thread Yasuo Ohgaki
Vincent Stoessel wrote: I am trying to use php 4.0.6 with imap. midgard and mysql extentions compiled in. When I start apache I get information in the logs about many child proccesses dying. Yet I have plenty memory left and everthing else seems OK. Not a lot of traffic here at 3.27 am.

[PHP] Error trapping

2001-09-03 Thread Tim Ward
I've gone an annoying problem. On our site I've trapped file does not exist errors at Apache level to send out my own error screen with a company logo, link to home page and a mailto link, but this doesn't work for any request for a page that would be parsed by php if it existed. In this case a

[PHP] Build and install PHP 4.0 and Apache 1.3.20 on Digital-Unix 4.0e

2001-09-03 Thread Krzysztof Kocjan
Hi Is it possible to bulid PHP 4.0 and Apache 1.3.20 on Digital Unix 4.0E, DEC ALPHA. I've only bulid and installed them on RedHat 6.x and 7.x, few times without any problems :-))) . Is there any problems on Digital Unix. Thank You for Your any advice or comments. Krzysztof Kocjan

Re: [PHP] How to call a member from the base class?

2001-09-03 Thread Alexander Deruwe
On Monday 03 September 2001 09:47, A. op de Weegh wrote: How do I make sure in the something() member of class B, that the parent class member something() is also called? Can I do this: Hello there, person with the same name as self, :) class B extends A { function something() {

RE: [PHP] How to call a member from the base class?

2001-09-03 Thread Neil Kimber
No! This won't work. There are two ways in which you can get an overridden method to call the method in its super-class, these are by using the following constructs: 1) parent:: 2) classname:: So, you could do the following: 1) class B extends A { function something() {

[PHP] Search capability to my intranet?

2001-09-03 Thread Phil Labonte
What does everyone suggest I use as a search engine for my Intranet. Out Intranet has grown to a size where a search engine is needed. I use PHP on Linux and I also use MySQL as my database. Any suggestions? Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] Search capability to my intranet?

2001-09-03 Thread Miles Thompson
Check this, but didn't the latest stable release of MySQL add search capabilities to text fields, as in indexing key words? How is your database structured? What do you use for keys? A simple form may be all you need. For general indexing and searching of straight html there are htdig and

[PHP] Posting data through PHP scripts

2001-09-03 Thread Jean Madson
I have been thinking about a thing. If I have a PHP script (a) which receives some data by a POST method only -- GET method is track to not be accepted --, and if I have another PHP script (b) that takes initial input from the user's browser... Well, the question is: how can I, in the script b,

[PHP] I dont see whats wrong!

2001-09-03 Thread Kyle Smith
i get this error message Parse error: parse error in /web/sites/197/lk6/www.stupeedstudios.f2s.com/sendcam.php on line 53 for $message = $alias. \r\n.$name. \r\n. $email. \r\n. $site. \r\n. $cam. \r\n. $quote.; i honestly dont see whats wrong! -lk6- http://www.StupeedStudios.f2s.com Home of

Re: [PHP] I dont see whats wrong!

2001-09-03 Thread Kunal Jhunjhunwala
There is a dot at the end which is wrong : $message = $alias. \r\n.$name. \r\n. $email. \r\n. $site. \r\n. $cam. \r\n. $quote.; ^ see this?? it should be like this : $message = $alias. \r\n.$name. \r\n. $email. \r\n. $site. \r\n. $cam. \r\n. $quote; Regards, Kunal Jhunjhunwala - Original

Re: [PHP] I dont see whats wrong!

2001-09-03 Thread Kyle Smith
haha, it works, thanks 1 single dot can screw up a script phew! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: Kunal Jhunjhunwala [EMAIL PROTECTED] To: [EMAIL PROTECTED]

[PHP] Problem with PHP_SELF

2001-09-03 Thread David Otton
Hi, small problem : phpinfo() shows all kinds of useful variables like PHP_SELF, PATH_INFO, etc etc but I can't see them from my script. I get a error - Warning: Undefined variable: PATH_INFO in [scriptname] on line 13 Is there any situation where such variables would be available to

[PHP] Re: how to get all the records of a particular month....

2001-09-03 Thread Hugh Bothwell
Sagar [EMAIL PROTECTED] wrote in message 001b01c1347e$b58e2580$6dfb7ccb@ravella">news:001b01c1347e$b58e2580$6dfb7ccb@ravella... I hope some one will solve my problem. I have a table in which a field is of date type. i want a mysql query to get all the records of the table into an array of a

[PHP] MDB

2001-09-03 Thread Rogerio Coelho - Equipeweb - CompuLand ISP
Hi, Folks! Can I read from an mdb database direct from PHP like DBF, for example? []´s Rogerio Coelho. Equipeweb - CompuLand Design http://www.equipeweb.com.br Tel/Fax:(xx) 24 237-2088 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] Problem with PHP_SELF

2001-09-03 Thread David Otton
On Mon, 03 Sep 2001 15:11:04 -0700, you wrote: Following up my own post (in case someone finds this in the archives): Is there any situation where such variables would be available to phpinfo(), but not the rest of the script? You can't see $PHP_SELF within a function until you declare it

Re: [PHP] MDB

2001-09-03 Thread ignacio . estrada
Hi, you can see the ODBCSocketServer application driver. Check some related topics in the google.com search engine. Atte. Ignacio Estrada F. Centro Nacional de Control de Energia Area de Control Occidental 025+6463, 025+6464, 025+6469 -- PHP General Mailing List (http://www.php.net/) To

[PHP] hot Image on Image action

2001-09-03 Thread Mike Heald
Hi, I am creating an image made up of other images. How can i read in a gif and put it onto the image I am creating through php? Thanks, Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Re: EDI with PHP?

2001-09-03 Thread Hugh Bothwell
Jon Farmer [EMAIL PROTECTED] wrote in message 003f01c1345c$53e385e0$[EMAIL PROTECTED]">news:003f01c1345c$53e385e0$[EMAIL PROTECTED]... The company I work for is starting to lose contracts because they are not capable of EDI. As I seem to be the only person in the company who has heard of EDI

Re: [PHP] Problem with PHP_SELF

2001-09-03 Thread * RzE:
Original message From: David Otton [EMAIL PROTECTED] Date: Mon, Sep 03, 2001 at 03:21:00PM -0700 Message-ID: [EMAIL PROTECTED] Subject: Re: [PHP] Problem with PHP_SELF On Mon, 03 Sep 2001 15:11:04 -0700, you wrote: Following up my own post (in case someone finds this in the archives): Is

Fw: [PHP] Re: probs with exec, pls help (still again)

2001-09-03 Thread taz
Hi I've put the full path in for mysql, i've included -h -u -p and included the paths of the txt table files Still don't work. I'm logged in as root, working on my own box (linux) . I'm really struggling with this one. Has anyone out there done this ?? Many TIA Terry -

[PHP] Re: EDI with PHP?

2001-09-03 Thread Jon Farmer
No, we would have to spend around £24,000 sterling to get the modules. We already have modules that allow importing of order, etc from txt files. I could write a PHP XML parser to interface into this. What I am not sure is how acceptable it will be to our customers -- -- Jon Farmer Systems

Re: [PHP] I dont see whats wrong!

2001-09-03 Thread John Monfort
Try removing the last period(.) after $quote. Also, try this method: $nl = \r\n; $message = $alias$nl$name$email$...so on and so forth. Come to think of it, I think PHP has a constant for \r\. I think its NL or something like that, I can't remember. Look in the manual pages for some

Re: [PHP] Re: EDI with PHP?

2001-09-03 Thread Sean C. McCarthy
Hi, You can also try to use Java (the list is going to run over me with this comment). Xerces parser is quite good and amazinly fast, and opensource. We are validating XML document of 3Mb with it, and it is done in three seconds (creating a DOM object). It is just another idea if you haven't

Re[2]: [PHP] If PHP4 existed in 1995 we would of taken over the world by now

2001-09-03 Thread Maxim Derkachev
Hello Bob, Monday, September 03, 2001, 1:08:40 PM, you wrote: B If in 1995 you tell a project manager that I can program B hotmail.com in a couple weeks and that it would be a lot faster then cgi B then they would of been forced to use it and all the marketing would not B matter. Then (maybe)

[PHP] Re: Posting data through PHP scripts

2001-09-03 Thread Krzysztof Kocjan
I've never used method virtual but it seems to fit Your problem. Explanation below. Krzysztof Kocjan virtual (PHP 3, PHP 4 = 4.0b1) virtual -- Perform an Apache sub-request Description int virtual (string filename) virtual() is an Apache-specific function which is equivalent to !--#include

Re: [PHP] I dont see whats wrong!

2001-09-03 Thread Andy Woolley
You could also perhaps try this. $message = $alias $name $email $site $cam $quote ; Might not work in all cases though but it's certainly easier to read. It all very much depends on personal preference. Andy. - Original Message - From: John Monfort [EMAIL PROTECTED] To: Kyle Smith

Re: [PHP] probs with exec, pls pls help

2001-09-03 Thread Chris Hobbs
David Robley wrote: On Mon, 3 Sep 2001 17:00, taz wrote: ?php exec(mysqlimport -u root -ppasword test one.txt) ? Probably the user that your webserver, and hence your php script, runs as does not have permissions to execute mysqlimport. Or, mysqlimport is not in the path - try using the

Re: [PHP] MDB

2001-09-03 Thread Alfredo Yong
Man, this is a real value! I was in a trouble thinking how to publish data coming from the administration area. Thinking in programming visual basic interfaces, generate SQL inserts, etc. But now you can simply publish it and thats all! Browsing with google, I found this well written article

RE: [PHP] MDB

2001-09-03 Thread Mark Roedel
-Original Message- From: Alfredo Yong [mailto:[EMAIL PROTECTED]] Sent: Monday, September 03, 2001 11:05 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] MDB 2. The page at http://odbc.linuxave.net/, stated as the source for the ODBCSocketServer server, is not on-line now. Does

RE: [PHP] Problem with PHP_SELF

2001-09-03 Thread Joe Sheble \(Wizaerd\)
I couldn't help but frown at this message... This is typical of this and hundreds of other lists... instead of learning the language, people just jump in, try to write code, and then when something doesn't work, it's the language's fault... It absolutely amazes me that such a huge number of

Re: [PHP] Problem with PHP_SELF

2001-09-03 Thread David Otton
On Mon, 3 Sep 2001 09:16:00 -0700, you wrote: I couldn't help but frown at this message... This is typical of this and hundreds of other lists... instead of learning the language, people just jump in, try to write code, and then when something doesn't work, it's the language's fault... It

[PHP] Pulling a random image

2001-09-03 Thread Brad R. C.
Hello everyone... I have been working on this random function for awhile now.. and it is close to being complete. It works as for a random function. But what my goal was is to make it where it goes through all the images before showing a random twice. Kind of like you put all the images in a

[PHP] Help on e-mail attachments retrieval adn ZIP uncompression.

2001-09-03 Thread Carlos Fernando Scheidecker Antunes
Hello Everybody, I have a software writen in Delphi which I am migrating to Kylix but I would like to do it in PHP instead. What the software does is to access an e-mail address and retrieve the messages saving the files ending with .zip to a local directory. After that, it decompresses the

RE: [PHP] Help on e-mail attachments retrieval adn ZIP uncompression.

2001-09-03 Thread Richard Heyes
1) How to retrieve messages from a POP3 mailbox and save only the ZIP files attachments? A couple of ways. 1. Use the imap (it does pop3 too) extension to connect to the mail server, parse the mails and extract the zip files. 2. Use mime decoding php scripts. There's one I've just committed

[PHP] Re: Error trapping

2001-09-03 Thread Moody
Try writing a custom error handler. Chech out http://www.zend.com/zend/spotlight/error.php for a good article on the subject. Pay particular attention to the bit at the end about output buffering since I assume that what you would want to do is send a redirect header to the browser if the script

[PHP] separate files?

2001-09-03 Thread Michael Kimsal
Honestly, that seems like one damn big file to me. Are you using all those functions in every single file? If not, you're loading and (re)compiling a hell of a lot of code on every page request. If you're done developing, it may be time to split that up into more logical files (all db

[PHP] detection of relevance

2001-09-03 Thread BRACK
I have made a detetor of relevance in found results in form of colored ine od length depended on relevance. I did it this way: In query I inserted match (...,...,...) against ('%$var%') as relevance in while loop I inserted $relevance = $row[relevance]; $rel = round($relevance); print img

[PHP] FULLTEXT search sorting results

2001-09-03 Thread BRACK
Hi, I asked recently to help with the selection for FULLTEXT search and now with your help I found how to do that but I still have problem with advansed search. This is what I have right now: $result = mysql_query(SELECT skits.*,category.* from skits,category where (skits.title like

[PHP] Re: database searching

2001-09-03 Thread Hugh Bothwell
Melih Onvural [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... i want to randomly choose a column in a database with a quote in it, by the number of the column. i have a random seed working, but it won't pull only one column, but all columns. How can I choose

Re: [PHP] session_encode doesn't work....

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001, Dhaval Desai wrote: session_encode($dhaval); ... when I check out the c:\tmp\ directory and check out the session data I can still read the same as dhaval=trythisout and it's not encoded...is it coz the session_encode() returns a string for you to use in a PHP script.

[PHP] Re: Pulling a random image

2001-09-03 Thread Hugh Bothwell
Brad R. C. [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... But what my goal was is to make it where it goes through all the images before showing a random twice. ... if you actually want to do this, you will have to keep track of which items you have seen in

Re: [PHP] newbie : how to access functions in seperate files???

2001-09-03 Thread web-dev
speedboy wrote: What do people do with required files? I have a file called config.php which contains all my functions. It is 329526 bytes. Should I split this up into other files? I don't think so, but what do others think? I too am curious about a recommended or best practice. I create a

RE: [PHP] newbie : how to access functions in seperate files???

2001-09-03 Thread Lukas Smith
What do people do with required files? I have a file called config.php which contains all my functions. It is 329526 bytes. Should I split this up into other files? I don't think so, but what do others think? I too am curious about a recommended or best practice. what you want todo is

[PHP] RE: Current status of things

2001-09-03 Thread Harald Radi
Yeah. Now that I understand more about COM and IDispatch things are going smoothly. Question: how do I close a connection to the COM object? in general you simply call -release() on the component. if you call release() as often as addref() (note that addref() is called implicitly on

[PHP] ob_start()

2001-09-03 Thread Jeroen Olthof
Can I increase speed by using this to buffer output ? kind regards Jeroen Olthof -- 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 PROTECTED]

Re: [PHP] MDB

2001-09-03 Thread ignacio . estrada
Respecto al punto 1 la respuesta es SI, ya que no es necesario involucrar PHP en este lado. Atte. Ignacio Estrada F. Centro Nacional de Control de Energia Area de Control Occidental 025+6463, 025+6464, 025+6469

[PHP] Recursivly Updating Files

2001-09-03 Thread skater
help!!! I'm recursivley reading and editing every .htm and .html file in a 1000 page website and upgrading it to contain linked CSS, Javascript includes and PHP includes. the script works fine and all, trouble is that PHP doesn't. Sometimes the script will run fine, other times PHP will decide

Re: [PHP] Recursivly Updating Files

2001-09-03 Thread Rasmus Lerdorf
Why not just configure your server to use an auto_prepend_file ? On Mon, 3 Sep 2001, skater wrote: help!!! I'm recursivley reading and editing every .htm and .html file in a 1000 page website and upgrading it to contain linked CSS, Javascript includes and PHP includes. the script works

Re: [PHP] Recursivly Updating Files

2001-09-03 Thread skater
what does that entail? Rasmus Lerdorf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Why not just configure your server to use an auto_prepend_file ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP] Re: Pulling a random image

2001-09-03 Thread Brad R. C.
You know what.. that might just work the way I need it to... will try it out tonight, thanks!!! :) Brad C. -Original Message- From: Hugh Bothwell [mailto:[EMAIL PROTECTED]] Sent: Monday, September 03, 2001 1:05 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Pulling a random image Brad

[PHP] replacing a carriage return with an html break

2001-09-03 Thread nate
Hi all, I am filling out a form text area, and submitting it to the next page which just prints what I submitted, but it doesnt print any returns, i used when i filled out the previous text area I found on php.net there is a ereg_replace funtion and a trim function but I am unsure if either

[PHP] Re: Problem with PHP_SELF

2001-09-03 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (David Otton) wrote: I get a error - Warning: Undefined variable: PATH_INFO in [scriptname] on line 13 Is there any situation where such variables would be available to phpinfo(), but not the rest of the script? Yes, where $PATH_INFO is

Re: [PHP] replacing a carriage return with an html break

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001 [EMAIL PROTECTED] wrote: I am filling out a form text area, and submitting it to the next page which just prints what I submitted, but it doesnt print any returns, i used when i filled out the previous text area Try using nl2br() in the output script (page).

Re: [PHP] Recursivly Updating Files

2001-09-03 Thread Franklin van Velthuizen
Skater wrote: what does that entail? Rasmus Lerdorf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Why not just configure your server to use an auto_prepend_file ? Reading the manual every now and then wouldn't hurt... really, it wouldn't :). snip

Re: [PHP] Re: Pulling a random image

2001-09-03 Thread Mark Charette
what does that entail? Rasmus Lerdorf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Why not just configure your server to use an auto_prepend_file ? Reading the documentation that's easily available. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Recursivly Updating Files

2001-09-03 Thread skater
okay, sorry, had a blonde moment!!! it's more than just having a prepend and appending file onto it, i'm changing existing CSS into linked ones, existing Javascripts into includes, and taking the whole thing out of frames by using PHP includes in a table. each page needs to be edited and have

Re: [PHP] replacing a carriage return with an html break

2001-09-03 Thread Chris Hobbs
[EMAIL PROTECTED] wrote: I am filling out a form text area, and submitting it to the next page which just prints what I submitted, but it doesnt print any returns, i used when i filled out the previous text area I found on php.net there is a ereg_replace funtion and a trim function but I

[PHP] PHP Authentication on Apache

2001-09-03 Thread Lynn Holt
Hi all, Trying PHP for the first time. Snached the authentication code from the docs and put it in phpauth.php. When I surf to it, it just asks for my user and password again and again If I hit Cancel, it prints the little message just fine. Here's the code in case I'm the only one to

Re: [PHP] If PHP4 existed in 1995 we would of taken over the world by now

2001-09-03 Thread Bob
Hi Maxim, Hotmail was hot because nobody had ever seen free webmail and it spread by word of mouth. I don't know but did anyone see a hotmail commerical??? What I am saying is that if php is always following or copying the technology that happened a couple years ago then what's the point? php

Re: [PHP] If PHP4 existed in 1995 we would of taken over the worldby now

2001-09-03 Thread Rasmus Lerdorf
What I am saying is that if php is always following or copying the technology that happened a couple years ago then what's the point? php will then always be known as the low cost option and project managers won't even give it a second look. What I am looking for is the cool factor. I know

Re: [PHP] If PHP4 existed in 1995 we would of taken over the worldby now

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001, Bob wrote: look. What I am looking for is the cool factor. I know technology needs time to improve but what's going to be cool in PHP5??? It's like a race that never finishes and who is winning? ASP or PHP? PHP5 will still run on your Free OS, your CLI OS, your Pay

Re: [PHP] I dont see whats wrong!

2001-09-03 Thread Alexander Skwar
So sprach »Kyle Smith« am 2001-09-03 um 14:50:49 -0700 : i get this error message Parse error: parse error in /web/sites/197/lk6/www.stupeedstudios.f2s.com/sendcam.php on line 53 for $message = $alias. \r\n.$name. \r\n. $email. \r\n. $site. \r\n. $cam. \r\n. $quote.; After the $quote,

Re: [PHP] I dont see whats wrong!

2001-09-03 Thread Alexander Skwar
So sprach »Andy Woolley« am 2001-09-03 um 16:37:08 +0100 : Might not work in all cases though but it's certainly easier to read. Also easy to read: $msg = array( $foo, $bar, $blah, $blub ); echo implode(\r\n, $msg); Alexander Skwar -- How to quote:

[PHP] php4 and apache 1.3.20

2001-09-03 Thread Christian Darsow
hi! i'm trying to install php4 and apache 1.3.20. so, installing apache works and installing php4 works, too. but when i'm now trying to build a new apache with the php4 module it gives up: ./config.status --activate-module=src/modules/php4/libphp4.a make --- leaving directory

Re: [PHP] Disbale function in certain virtual host

2001-09-03 Thread Nicolas Ross
I tried that one, and it didn't work... Nicolas VirtualHost foo php_admin_value disable_functions strlen /VirtualHost On Fri, 31 Aug 2001, Nicolas Ross wrote: I am searching a way of disabling certain functions in a particular Virtual Host. I search through the archive of this

[PHP] PHP and OLE objects

2001-09-03 Thread Joshua Ecklund
Hi all, I am having a problem with a PHP script, in which I am using a self-written OLE object to provide data to the script. I have two other OLE DLLs that I also use in PHP scripts which work fine. I wrote all of the DLLs in Borland Delphi, btw. (I am running PHP 4.0.6 and Apache 1.3.20 on

[PHP] Am I right or wrong?

2001-09-03 Thread Seb Frost
My ISP has a limit on my site of 10,000MB of data transfer per month. 4 days into september and I'm already at 2,500MB. It would seem they're including requests by their own PHP server. I have a folder of ~80kb images that are dynamically resized using PHP into ~1.4kb thumbnails. Now for each

[PHP] insert into problems.

2001-09-03 Thread Martin
Can someone tell me whats wrong with this... im getting a Syntax error in INSERT INTO statement ... but i cant find anything wrong with the sql code., or have i missed something..? ? $text = yadayada; $date= today...; $connectionstring = odbc_connect(MYSKODB, Sa, );

[PHP] Am I doing this right? (PHP3/Login system)

2001-09-03 Thread Joel Ricker
I'm tring to get a login system going using PHP3 and MySQL. I'll have two tables -- one containing the username and passwords of each user plus a variable called Access which will hold what other parts of the scripts they'll have access to and another containing the actual logged in sessions.

Re: [PHP] Am I right or wrong?

2001-09-03 Thread Stig-Ørjan Smelror
My ISP has a limit on my site of 10,000MB of data transfer per month. 4 days into september and I'm already at 2,500MB. It would seem they're including requests by their own PHP server. I have a folder of ~80kb images that are dynamically resized using PHP into ~1.4kb thumbnails. Now

RE: [PHP] Am I right or wrong?

2001-09-03 Thread Cristopher Daniluk
It's wrong of them?!?! Not to sound irrational here, but you're DOWNLOADING the file every time, even if you are downloading it every time. Why are you opening it through HTTP? Why not directly via the FS? If you're local to the machine, that seems more intelligent. If you're not local to the

[PHP] Re: PHP Authentication on Apache

2001-09-03 Thread Alfredo Yong
Yes. It works. It is great. if(!isset($PHP_AUTH_USER) or $PHP_AUTH_USER != myuser or $PHP_AUTH_PW != mypassword) { Header(WWW-Authenticate: Basic realm=\Only authorizeds web\); Header(HTTP/1.0 401 Unauthorized); echo ha!\n; exit; } Lynn Holt wrote: Hi all,

Re: [PHP] Am I right or wrong?

2001-09-03 Thread Christopher William Wesley
On Tue, 4 Sep 2001, Seb Frost wrote: I have a folder of ~80kb images that are dynamically resized using PHP into ~1.4kb thumbnails. Now for each one the PHP server sends an HTTP request for the 80kb image, and this is being counted against my 10,000MB. Should it? Am I in the right in

Re: [PHP] Re: probs with exec, pls help (still)

2001-09-03 Thread David Robley
On Mon, 3 Sep 2001 19:36, taz wrote: Hi I've put the full path in for mysql, i've included -h -u -p and included the paths of the txt table files Still don't work. I'm logged in as root, working on my own box (linux) . I'm really struggling with this one. Has anyone out there done

[PHP] Thankyou, whoever

2001-09-03 Thread Seb Frost
Someone on this list yesterday exposed a large hole on one of my php scripts. Dunno who you are but thankyou. I could have lost sales in that loophole :-) I know it was off of this list because that's the only place I made that link public. Some lucky guy on BT openworld - wish I could get

  1   2   >