Re: [PHP] Apache

2002-03-21 Thread scott furt
Errmm... i don't know any apache groups, but if you want to do what you ask, just read the documentation, it's easy :-) jtjohnston wrote: Anyone know of a good apache group? I want to hide the structure of a directory when there is no idex.html present g J -- PHP General Mailing

Re: [PHP] Apache

2002-03-21 Thread jtjohnston
Scott , I am. :) I'm looking at IndexIgnore but not sure if it's what I want? John Errmm... i don't know any apache groups, but if you want to do what you ask, just read the documentation, it's easy :-) jtjohnston wrote: Anyone know of a good apache group? I want to hide the structure

Re: [PHP] Apache

2002-03-21 Thread jtjohnston
I'm also looking at this in my .conf. I know putting something here is the answer, but what :) Directory / Options FollowSymLinks AllowOverride All /Directory J Scott Furt wrote: Errmm... i don't know any apache groups, but if you want to do what you ask, just read the

[PHP] Re: [PHP-DEV] - Looking for good php-editor

2002-03-21 Thread Andrey Hristov
Komodo by ASPN - commercial. Code completion, debugging, syntaxt highlighting, syntaxt checking. AnyEdit - Editor. Crashes on my Win2k but may work on yours. On http://sourceforge.net UltraEdit - Commercial. Syntaxt highlighting with a additional info in a text file. The additional info about

Re: [PHP] Apache

2002-03-21 Thread Jan Rademaker
On Thu, 21 Mar 2002, jtjohnston wrote: I'm also looking at this in my .conf. I know putting something here is the answer, but what :) I believe it was something like the NoIndex option, but I'm not sure... Directory / Options FollowSymLinks AllowOverride All /Directory J

RE: [PHP] Is there any Possible Way to get data from Excel File?

2002-03-21 Thread Feroze Md. Arif
How about using COM? http://www.php.net/manual/en/ref.com.php I haven't used this personally but perhaps it could be a useful solution. However there may be issues like running a copy of EXCEL on the server. Best Regards Feroze Jar Jar Binks will be Jedi!! -Original

RE: [PHP] Making a simple borderless pop up window with a Close button

2002-03-21 Thread Stampe, Lars
Hi, I have a script that might do what you want, I don't have time to explain but have a look at: http://www.epson.co.uk/product/printers/inkjet/styc80/flash/index.html and launch the site! ** SCRIPT /* CHROMELESS WINDOWS v.31.0 [ 4.50K ] (c) Gabriel

Re: [PHP] Apache

2002-03-21 Thread heinisch
At 21.03.2002 03:18, you wrote: Errmm... i don't know any apache groups, but if you want to do what you ask, just read the documentation, it's easy :-) jtjohnston wrote: Anyone know of a good apache group? I want to hide the structure of a directory when there is no idex.html present g J

Re: [PHP] Apache

2002-03-21 Thread Matt Williams
On Thursday 21 March 2002 08:28, jtjohnston wrote: I'm also looking at this in my .conf. I know putting something here is the answer, but what :) Directory /     Options FollowSymLinks     AllowOverride All /Directory J Options -Indexes matt -- PHP General Mailing List

Re: [PHP] Re: [PHP-DEV] - Looking for good php-editor

2002-03-21 Thread Jason Wong
On Thursday 21 March 2002 16:25, Andrey Hristov wrote: Komodo by ASPN - commercial. Code completion, debugging, syntaxt highlighting, syntaxt checking. AnyEdit - Editor. Crashes on my Win2k but may work on yours. On http://sourceforge.net UltraEdit - Commercial. Syntaxt highlighting with a

Re: [PHP] Making a simple borderless pop up window with a Close button

2002-03-21 Thread Underbrush
Very attractive site. Is that the script from WebFX, http://webfx.eae.net/ ? Anyone looking for lots of javascript / dhtml stuff should check that site. It is pretty incredible and it looks as though their scripts are easily modified, ie pluggable. Their borderless windows are even

[PHP] Object reference

2002-03-21 Thread Lucijan
I can't understand why this works like it does. class MyObj { var $Name; function MyObj($Name) { $this-Name = $Name; } } $a = new MyObj('MyObjName'); $b = $a; $b-Name = 'NoName'; echo $a-Name; Last line will output 'MyObjName' instead of 'NoName' (like I was expecting) I'd expect $a

RE: [PHP] Object reference

2002-03-21 Thread Stampe, Lars
Hi, Use to reference one variable to another! $b = $a; Lars -Original Message- From: Lucijan [mailto:[EMAIL PROTECTED]] Sent: 21 March 2002 10:20 To: [EMAIL PROTECTED] Subject: [PHP] Object reference I can't understand why this works like it does. class MyObj { var $Name;

[PHP] Fails to log in on some computers...?

2002-03-21 Thread David Orn Johannsson
Could any one tell me why this script fails, only on some computers. It works fine on all computers at work, but some clients seem to have a promblem with loging in, and it is not the passcheck that is failing I’m quite sure of that, so it must be the check for session that is failing so could

[PHP] session problem?

2002-03-21 Thread bob
1.php?2.php session_start(); session_start(); .. .. $_SESSION['a'] =$a;echo $_SESSION['a']; $_SESSION['b'] =$b;

Re: [PHP] Returning mutliple matches of a regex with preg_match()

2002-03-21 Thread liljim
Also, make sure that you make the match ungreedy with the U modifier, or use: (.*?) James Niklas lampén wrote in message 000501c1d0aa$4a5d97f0$ba93c5c3@Niklas">news:000501c1d0aa$4a5d97f0$ba93c5c3@Niklas... preg_match_all(); Niklas -Original Message- From: Stefen Lars

Re: [PHP] Perl NewsGroup?

2002-03-21 Thread Scott St. John
Not really a bad question as both are great tools. If you are new to Perl check out the Perl Beginners group. Wonderful group of people and very patient with newbies. Make sure you read up on things you are trying to do before you ask the how do I do this question. -Scott On Wed, 20

[PHP] Modulo

2002-03-21 Thread Jérome Moisy
Hy, I would like to know if I do a mistak : $i % 3 == ? If $i is a multiple of 3 the result is 0, yes or no ? If yes so what is wrong in this script For ($i = $val; $i ($val+9); $i++) { For ($j = 1; $j 10; $j++) { If ($serie == Blue) { If($i = 18) { If ($j = 9) { print "td

[PHP] MODULO + OK

2002-03-21 Thread Jérome Moisy
Oups, I find my mistak. Thank you -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Object reference

2002-03-21 Thread Lucijan
Use to reference one variable to another! $b = $a; Thanks. Lucijan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php code generator

2002-03-21 Thread Cameron Bales .:.
We are trying to find a php code generator like Macromedia Ultradelv to develope a web base app. Can someone recommend a few. the new GoLive does it, and has the Zend debugger integrated in it. I don't know how good it is. http://www.adobe.com/products/golive/movie_qt9.html the scary part

Re: [PHP] Seek server hardware recommendation

2002-03-21 Thread Miles Thompson
Is that: Local usage ... 1000/8 = 125 hits/hr or roughly 2 hits/min Continental usage ... 1000/12 = 83 hits/hr or 1.4 hits/min World usage ... 1000/24 = or 1 hit every minute and half. Unless you have really heavy duty hits on the database (complex queries)

[PHP] Urgent: Apache sometimes displays PHP source code

2002-03-21 Thread Sam Jordan
Hello all I'm working for an ISP and some weeks ago we noticed a problem with PHP we never had before. Since then quite often the PHP code is not interpreted, but displayed as plain text in the browser window. The behavior is not reproduceable and not predictable. We are running out of ideas

RE: [PHP] [newman] This don't work, if else if

2002-03-21 Thread Rick Emery
if (mysql_num_rows($sql_result) 0) { FYI: thank you for providing full code and what the algorithm is supposed to accomplish. Most posters do not. -Original Message- From: Philip J. Newman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 6:37 PM To: [EMAIL PROTECTED]

Re: [PHP] Form Value Validation

2002-03-21 Thread C. Cormier - Ormetal Inc.
On 21 Mar 2002, at 0:54, David Johansen wrote: I was wondering if there was a way to do validation of the values in forms. Sure, in your Form tag, you can have an statement like: onsubmit=return validate() Where validate() will be a javascript function. Claude Cormier Ormetal Inc.

[PHP] variable test

2002-03-21 Thread atu
Hi, I'm asking me, what is the difference of the two ifs. if($x) echo $x; if(!empty($x)) echo $x; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] variable test

2002-03-21 Thread Andrey Hristov
if($x) echo $x; if $x is not defined you will get a warning but that depends on error settings in php.ini. This construction checks whether $x is defined or $x is true. if(!empty($x)) echo $x; $x must be defined. -- PHP General Mailing List (http://www.php.net/) To

[PHP] testing for blank var

2002-03-21 Thread ROBERT MCPEAK
if $img_url has a value, then I'd like to show the image, if it doesn't, then I'd like to show a message. What's wrong with my code? Am I incorrectly testing for the value? The else works fine, but not the if. Thanks! if (!$img_url) { echo bNo Image URL Entered/bbr;

RE: [PHP] testing for blank var

2002-03-21 Thread Rick Emery
if ( ! ISSET($img_url) ) -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 8:18 AM To: [EMAIL PROTECTED] Subject: [PHP] testing for blank var if $img_url has a value, then I'd like to show the image, if it doesn't, then I'd like

RE: [PHP] testing for blank var

2002-03-21 Thread ROBERT MCPEAK
Beautiful! Rick Emery [EMAIL PROTECTED] 03/21/02 09:19AM if ( ! ISSET($img_url) ) -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 8:18 AM To: [EMAIL PROTECTED] Subject: [PHP] testing for blank var if $img_url has a value,

[PHP] Re: testing for blank var

2002-03-21 Thread Julio Nobrega Trabalhando
if (ereg(^[[:blank:]]*$,$img_url)) { // $img_url is blank } -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Robert McPeak [EMAIL PROTECTED] wrote in

[PHP] How to clear variables?

2002-03-21 Thread C. Cormier - Ormetal Inc.
Hi everybody, I am having a problem with variables. Basically I have not found a way to clear them so they are reset to if the user reload the page or move to another page Here is the speudo code: ?php session_start(); If ($Faction==Add to Data) { Add_to_data(); } html...

[PHP] Parse from a Text file

2002-03-21 Thread Gerard
Hi all, I'm newbiee into php and I need some help. I would like to parse some data from a Text file after some character. For example I have this text file: 1st line Broomfield / Jeffco, CO, United States (KBJC) 39-55N 105-07W 2nd line Jun 04, 2000 - 02:45 PM EST / 2002.03.04 1945 UTC 3rd

[PHP] compile PHP without threads

2002-03-21 Thread LF
hi ALL, could please anybody tell me what argument i should use for compiling, that PHP4 runs without threads (pthreads)?? i need to recompile php because i receive the error from httpd. dl-close.c:123 ...assertion failed.. thanks for any help lothar -- PHP General Mailing List

Re: [PHP] Perl NewsGroup?

2002-03-21 Thread bvr
Why not try www.perl.com ??? I found: http://www.perl.com/cs/user/query/q/6?id_topic=50 bvr. David Duong wrote: This may be the worst place to put this but here goes: Does anyone know of a Perl NewsGroup? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: testing for blank var

2002-03-21 Thread Marcel Besancon
Hi Robert, maybe your variable doesn't exist. Try using if(!isset($variable)) { missing-message } else { show $variable } I hope this helps. Bye, Marcel -- registered Fli4l-User #0388 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Parse from a Text file

2002-03-21 Thread Rick Emery
As you read each line into a variable, $chrText, apply this test: ereg(Visibility: ([0-9]*.*), $chrText,$regs); EXAMPLE: ?php $chrText = Visibility: 30 mile(s):0; ereg(Visibility: ([0-9]*.*), $chrText,$regs); print #.$regs[0].#.$regs[1].#\n; $regs= NULL; $chrText = Wind: from the NE (050

Re: [PHP] Returning mutliple matches of a regex with preg_match()

2002-03-21 Thread Stefen Lars
Thank you James and Niklas. Here is the code that I need: ?PHP // open file $fd = fopen (./text.htm, r); // load contents into a variable while (!feof ($fd)) { $content .= fgets($fd, 4096); } // close file fclose ($fd); // remove char returns and co $content =

[PHP] ecommerce solutions..

2002-03-21 Thread Kelly Meeks
Howdy folks, Anyone have recommendations for ecommerce packages for linux (pref. linux/mysql/php opensource..)? Thanks Kelly -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] search engine friendly urls

2002-03-21 Thread Kelly Meeks
Does anyone have any ideas/info (or can you point me to) regarding how to make dynamic php content more search engine friendly (losing the '?' when dealing with url variables)? As a Cold Fusion convert, you could do something like this: http://www.blabla.com/dynamicpage.cfm/205 were 205

RE: [PHP] Parse from a Text file

2002-03-21 Thread Rick Emery
You're welcome. we aims to please... -Original Message- From: Gerard [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 9:22 AM To: Rick Emery Subject: Re: [PHP] Parse from a Text file Many thanks Rick ! Much apreciated very fast :-) Gerard - Original Message - From:

[PHP] Re: search engine friendly urls

2002-03-21 Thread Henrik Hansen
[EMAIL PROTECTED] (Kelly Meeks) wrote: Does anyone have any ideas/info (or can you point me to) regarding how to make dynamic php content more search engine friendly (losing the '?' when dealing with url variables)? As a Cold Fusion convert, you could do something like this:

[PHP] checking if a link is still alive

2002-03-21 Thread Christoph Starkmann
Hi there! I would like to implement a feature to a website I'm working at right now but don't know where to start (searching), so maybe one of you can give me a hint. The Links page is dynamically created out of a database. Now what I want is to have a function that checks (each time) if all

[PHP] RE: checking if a link is still alive

2002-03-21 Thread Christoph Starkmann
Outsch, sorry, I just found what I wanted... Is there any posibility to check if there is actually a website behind a link or just, let's say a 404? http://www.hotscripts.com/PHP/Scripts_and_Programs/Link_Checking/ Have a nice day ;) Kiko - It's not a bug, it's a feature. christoph

[PHP] Re: checking if a link is still alive

2002-03-21 Thread Julio Nobrega Trabalhando
Open a connection? Maybe fopen, dns search, ip search, anything. I just don't know which way is faster (I think it's fopen). -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] session_start() and headers

2002-03-21 Thread Chris Boget
Are there any headers sent to the browser in session_start()? I ask because I have a script that sends data as a PDF document to the browser. Before I'm outputting the data, I'm sending the header: header( Content-Type: application/pdf ); to tell the browser that it's a PDF and to load as

[PHP] eating mySQL result rows 1 by 1.. a better way?

2002-03-21 Thread Steve Clay
Hello, On my site I paginate query results by limiting rows output to a value, say LIMIT, and then the 2nd, 3rd pages run the same query with $skip=LIMIT, $skip=(LIMIT*2) value posted back. I use the following code to skip these result rows, which is just fetching the next row to an unused

Re: [PHP] search engine friendly urls

2002-03-21 Thread Rasmus Lerdorf
You can do exactly the same thing with PHP. The 205 would show up in the $PATH_INFO variable. -Rasmus On Thu, 21 Mar 2002, Kelly Meeks wrote: Does anyone have any ideas/info (or can you point me to) regarding how to make dynamic php content more search engine friendly (losing the '?' when

Re: [PHP] How to clear variables?

2002-03-21 Thread Rasmus Lerdorf
The above speudo script work fine and when the user click 'Add to Data', the data is added to my database. Howver, the session_unregister and session_destroy do not clear the variable Faction and its value. Therefore if the user click Reload on the browser, the data gets added again. What

Re: [PHP] eating mySQL result rows 1 by 1.. a better way?

2002-03-21 Thread Joffrey van Wageningen
- Original Message - From: Steve Clay [EMAIL PROTECTED] To: PHP-GENERAL [EMAIL PROTECTED] Sent: Thursday, March 21, 2002 4:54 PM Subject: [PHP] eating mySQL result rows 1 by 1.. a better way? On my site I paginate query results by limiting rows output to a value, say LIMIT, and then

Re: [PHP] Assignment operator proposal

2002-03-21 Thread Bogdan Stancescu
Egon Schmid wrote: From: Enrico Weigelt [EMAIL PROTECTED] Please note, there are many German PHP developers. Most of them are not so stupid ... I must say I fail to understand both the meaning and the reason for the harsness in your reply. Bogdan -- PHP General Mailing List

Re: [PHP] Assignment operator proposal

2002-03-21 Thread Bogdan Stancescu
[EMAIL PROTECTED] wrote: I think this is a nice idea for php8 (or some release, I´ll never have to use) The main thing in using php is that it is close to c. As there are so many new functions, some of them are not really necessary, I would not prefer shortcuts like these. Who should

Re: [PHP] Urgent: Apache sometimes displays PHP source code

2002-03-21 Thread Rasmus Lerdorf
Step 1 - upgrade to a recent version. Then report back. -Rasmus On Thu, 21 Mar 2002, Sam Jordan wrote: Hello all I'm working for an ISP and some weeks ago we noticed a problem with PHP we never had before. Since then quite often the PHP code is not interpreted, but displayed as plain

Re: [PHP] Assignment operator proposal

2002-03-21 Thread Rasmus Lerdorf
Please note, there are many German PHP developers. Most of them are not so stupid ... Oh, I don't know about that. I have met a bunch of them... ;) -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] eating mySQL result rows 1 by 1.. a better way?

2002-03-21 Thread Maris Kalnins
Hmm.. but if it's not MySql .. but Sybase for instance? What then?.. there is no such thing like LIMIT in SQL Joffrey Van Wageningen [EMAIL PROTECTED] wrote in message 014801c1d0f2$fd59ac20$[EMAIL PROTECTED]">news:014801c1d0f2$fd59ac20$[EMAIL PROTECTED]... - Original Message - From:

[PHP] Error compiling PHP with native MySql

2002-03-21 Thread Richard Fox
When I try to configure PHP 4.1.1 I get the following error: checking whether to include ming support... no checking for mnoGoSearch support... yes checking for mnoGoSearch version... 3.1.19 checking for mSQL support... no checking for Muscat support... no checking for MySQL support... yes

Re: [PHP] How to clear variables?

2002-03-21 Thread C. Cormier - Ormetal Inc.
On 21 Mar 2002, at 8:03, Rasmus Lerdorf wrote: This Faction variable comes from the browser. Thanks for answering Rasmus. But is it possible to clear this variable. Is this what is called a global variable? If not, does this means that the scope of POST variables is as long as the life of

[PHP] Append to the beginning of a file...

2002-03-21 Thread Mauricio Sthandier
I guess thist must be really silly... but how can I append text to the beginning of a file ??? I've been trying since a while... but all I get is overwriting !. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to clear variables?

2002-03-21 Thread C. Cormier - Ormetal Inc.
Thanks for your help. Well, you could prevent the user from cacheing the page by sending the appropriate cache control headers. Then when they click back it would say that the page is expired. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] How to adress pictures stored outside of the http server root?

2002-03-21 Thread andy
Hi there, I am trying to put my images outside the http server root. Anywhere else on my system to make it inpossible to steal those files and images with wget. My problem is how to access the files myself :-) I tryed img src=/home/user/test/images/22.jpg But the server understands :

Re: [PHP] How to clear variables?

2002-03-21 Thread Rasmus Lerdorf
On 21 Mar 2002, at 8:03, Rasmus Lerdorf wrote: This Faction variable comes from the browser. Thanks for answering Rasmus. But is it possible to clear this variable. Is this what is called a global variable? If not, does this means that the scope of POST variables is as long as the life

[PHP] Function Not Accepting Variable Values From a Form

2002-03-21 Thread Dr. Shim
Alas, more problems with forms =) Well now, here is my problem. I have a form, method is set to post, and action is set to the same page. I also have a hidden field named form_post and it's value is 1. Underneath this form is my PHP script. ?php if (isset($form_post)) { echo Function

Re: [PHP] Apache

2002-03-21 Thread Erik Price
Isn't it just a matter of setting the permissions? apache can't have read access to this directory, that's all. Erik On Thursday, March 21, 2002, at 03:28 AM, jtjohnston wrote: I'm also looking at this in my .conf. I know putting something here is the answer, but what :) Directory

Re: [PHP] Append to the beginning of a file...

2002-03-21 Thread Mauricio Sthandier
I already seen it... I used r+ and aw. I saw and example in www.php.net, in the fopen function description, but it is incomplete... this is taking me hours !!!. Well, if I can preappend... how can I read, for example, the first 8 chars of the last line I inserted ?. They have no fixed length. I'm

[PHP] Re: Function Not Accepting Variable Values From a Form

2002-03-21 Thread Julio Nobrega Trabalhando
Scope. Try to pass the values as the function reference (inside the ()), 'global' them, or use $_POST[''], from 4.1 and beyond. If you don't know what's a 'scope', there's an entry on the manual that can explain better. -- Julio Nobrega. Um dia eu chego lá:

Re: [PHP] How to adress pictures stored outside of the http serverroot?

2002-03-21 Thread Rasmus Lerdorf
Think about what you are doing a bit here. You want to store the pictures outside of your document_root, yet you want to reference them directly from a web page. That makes absolutely no sense. By definition, something that can be accessed directly through your web server must be accessible

[PHP] T_STRING, T_VARIABLE, and T_NUM_STRING

2002-03-21 Thread Joshua E Minnie
I keep getting the following error message and I am just wondering what T_STRING, T_VARIABLE, and T_NUM_STRING mean. Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/www/process.php on line 20 -- Joshua E Minnie CIO [EMAIL PROTECTED] Don't work for

Re: [PHP] Oracle ORA_ functions and blobs / clobs

2002-03-21 Thread Thies C. Arntzen
On Thu, Mar 21, 2002 at 12:33:13PM +1100, Bradley Goldsmith wrote: Hi All, Is it possible to store/fetch blobs/clobs with the oracle (ORA not OCI8) functions? no tc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] T_STRING, T_VARIABLE, and T_NUM_STRING

2002-03-21 Thread Rick Emery
you just have to double check your code, as you did -Original Message- From: Joshua E Minnie [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 11:07 AM To: Rick Emery Subject: Re: [PHP] T_STRING, T_VARIABLE, and T_NUM_STRING I had already fixed the error, I just wondered what

[PHP] Re: Function Not Accepting Variable Values From a Form

2002-03-21 Thread Dr. Shim
I will try $_POST[] first. I do that under the value parameter for each form element? input type=text name=author value=?php $_POST['author'] ? Right? -- Julio Nobrega Trabalhando [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] bigendian vs littleendian

2002-03-21 Thread Mika Tuupola
How can I make $double = pack(d, $val); to produce same value when run on bigendian host as what it would result when running in a littleendian host? -- Mika Tuupola http://www.appelsiini.net/~tuupola/ -- PHP General Mailing

Re: [PHP] Seek server hardware recommendation

2002-03-21 Thread Miguel Cruz
On Thu, 21 Mar 2002, Aras Kucinskas wrote: LINUX Apache PHP mySQL Server purpose: One site (PHP+mySQL ) hosting, max 1000 visitors per day. What is recommendet hardware requiremnts (CPU, RAM,...)? Unless you expect most of those hits to be concentrated in a short period, for that sort

RE: [PHP] Re: Function Not Accepting Variable Values From a Form

2002-03-21 Thread Rick Emery
you still need to declare the values as GLOBAL -Original Message- From: Dr. Shim [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 11:12 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: Function Not Accepting Variable Values From a Form I will try $_POST[] first. I do that under the

Re: [PHP] Append to the beginning of a file...

2002-03-21 Thread Miguel Cruz
On Thu, 21 Mar 2002, Mauricio Sthandier wrote: I guess thist must be really silly... but how can I append text to the beginning of a file ??? I've been trying since a while... but all I get is overwriting !. Open a temporary file, write your new data to it, copy the old file on to the end of

Re: [PHP] How to adress pictures stored outside of the http server root?

2002-03-21 Thread andy
hmm sounds logical. The idea was to protect the image directory from people who would like to download all the image files. Somebody told me to place the dir outside the document root. So this seems to be wrong. What would you suggest to prevent people from downloading all the image files?

[PHP] Session Varaible Problem

2002-03-21 Thread Randy Phillips
Hi, I have tried every example of creating a session variable I could find on php.net and have had the same results with all of them. The session variables get set on the initial page but that's the only place I can access them. I am new to php so I'm sure I have just overlooked something.

Re: [PHP] Apache

2002-03-21 Thread Jason Wong
On Friday 22 March 2002 00:54, Erik Price wrote: Isn't it just a matter of setting the permissions? apache can't have read access to this directory, that's all. No, he doesn't want apache to *list* files in that directory but still to be able to serve files *from* that directory. --

Re: [PHP] Apache

2002-03-21 Thread Mika Tuupola
On Fri, 22 Mar 2002, Jason Wong wrote: No, he doesn't want apache to *list* files in that directory but still to be able to serve files *from* that directory. Just add an empty index file? -- Mika Tuupola http://www.appelsiini.net/~tuupola/ -- PHP General

Re: [PHP] How to adress pictures stored outside of the http serverroot?

2002-03-21 Thread Miguel Cruz
On Thu, 21 Mar 2002, andy wrote: Rasmus Lerdorf [EMAIL PROTECTED] schrieb: The way to do this is to write a little PHP wrapper script that you stick in your document_root that does a readfile() on the file stored outside of the document_root. What would you suggest to prevent people from

Re: [PHP] Error compiling PHP with native MySql

2002-03-21 Thread Jason Wong
On Friday 22 March 2002 00:29, Richard Fox wrote: When I try to configure PHP 4.1.1 I get the following error: configure: error: Cannot find header files under /usr/include/mysql The command line I'm using to configure: ./configure --with-mysql=/usr/include/mysql ./configure

Re: [PHP] Session Varaible Problem

2002-03-21 Thread Rasmus Lerdorf
Are you calling session_start() on the subsequent pages you want to be part of the session? On Thu, 21 Mar 2002, Randy Phillips wrote: Hi, I have tried every example of creating a session variable I could find on php.net and have had the same results with all of them. The session variables

Re: [PHP] Apache

2002-03-21 Thread Rasmus Lerdorf
So either turn off the DirectoryIndex or put an index.html in the dir. On Fri, 22 Mar 2002, Jason Wong wrote: On Friday 22 March 2002 00:54, Erik Price wrote: Isn't it just a matter of setting the permissions? apache can't have read access to this directory, that's all. No, he doesn't

Re: [PHP] Apache

2002-03-21 Thread Jason Wong
On Friday 22 March 2002 01:38, Mika Tuupola wrote: On Fri, 22 Mar 2002, Jason Wong wrote: No, he doesn't want apache to *list* files in that directory but still to be able to serve files *from* that directory. Just add an empty index file? But that's a kludge. Anyway someone has

[PHP] Re: Function Not Accepting Variable Values From a Form

2002-03-21 Thread Dr. Shim
function verify() { echo Verify called. Values are...br\n Title: . $_POST['title'] . br\n# This works! Author: $authorbr\n Lead Actors: $actorsbr\n Poster: $posterbr\n Summ.: $summerybrbr\n\n Rev.: $reviewbrbr\n\n; } -- PHP General

Re: [PHP] Session Varaible Problem

2002-03-21 Thread Erik Price
Have you made sure that the correct values are even being loaded into the session variable containers? IOW, try echo $id; echo $first_name; to make sure that there is actually any value in those variables. Erik On Thursday, March 21, 2002, at 12:22 PM, Randy Phillips wrote: Hi, I

Re: [PHP] Apache

2002-03-21 Thread Erik Price
On Thursday, March 21, 2002, at 12:22 PM, Jason Wong wrote: On Friday 22 March 2002 00:54, Erik Price wrote: Isn't it just a matter of setting the permissions? apache can't have read access to this directory, that's all. No, he doesn't want apache to *list* files in that directory but

Re: [PHP] Append to the beginning of a file...

2002-03-21 Thread Jason Wong
On Friday 22 March 2002 00:40, Mauricio Sthandier wrote: I already seen it... I used r+ and aw. I saw and example in www.php.net, in the fopen function description, but it is incomplete... this is taking me hours !!!. Well, if I can preappend... how can I read, for example, the first 8 chars

Re: [PHP] Apache

2002-03-21 Thread Jason Wong
On Friday 22 March 2002 01:39, Erik Price wrote: On Thursday, March 21, 2002, at 12:22 PM, Jason Wong wrote: On Friday 22 March 2002 00:54, Erik Price wrote: Isn't it just a matter of setting the permissions? apache can't have read access to this directory, that's all. No, he doesn't

[PHP] $HTTP_POST_VARS

2002-03-21 Thread Joshua E Minnie
I need to access a variable on a form that allows multiples. I have to use $HTTP_POST_VARS so I need to know how to display the information obtained from the form. This is what I am using right now: ? reset($HTTP_POST_VARS[interest]); while(current($HTTP_POST_VARS[interest])) { echo

RE: [PHP] $HTTP_POST_VARS

2002-03-21 Thread Rick Emery
$interest = $HTTP_POST_VARS['interest']; or (if using PHP 4.1) $interest = $_POST['interest']; then reference $interest[0], $interest[1], $interest[2],... -Original Message- From: Joshua E Minnie [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 11:54 AM To: [EMAIL PROTECTED]

Re: [PHP] Seek server hardware recommendation

2002-03-21 Thread Miles Thompson
You're right Michael, but those are getting hard to find. g M. At 11:13 AM 3/21/2002 -0600, Miguel Cruz wrote: On Thu, 21 Mar 2002, Aras Kucinskas wrote: LINUX Apache PHP mySQL Server purpose: One site (PHP+mySQL ) hosting, max 1000 visitors per day. What is recommendet

AW: [PHP] Apache

2002-03-21 Thread Andres Petralli
Here's the solution, quick and dirty: You must have Options Indexes somewhere in your Apache conf files. Remove the Expression Indexes from there and no more lists should be generated. Maybe it's also Options ALL, then just limit the options to what you need. Greets, Andres

Re: [PHP] $HTTP_POST_VARS

2002-03-21 Thread Miguel Cruz
On Thu, 21 Mar 2002, Joshua E Minnie wrote: I need to access a variable on a form that allows multiples. I have to use $HTTP_POST_VARS so I need to know how to display the information obtained from the form. This is what I am using right now: ? reset($HTTP_POST_VARS[interest]);

[PHP] Browser Detection without use of browsecap.ini file

2002-03-21 Thread R'twick Niceorgaw
Hi all, is there any way, I can detect the browser without using browsecap.ini file ? I'm simply interested to know if the user using netscape 4.x or earlier. I tried get_browser() function but it returns blank! after checking my server's configuration i found browsecap file setting in

[PHP] ereg_replace Help

2002-03-21 Thread lists
Hi all, I have a large file that I am trying to parse. I have a many lines that look like this \\text1 I need an expression that will change \\text1 to text1= so if I have something like this \\text1 asdfkjaslkfj asdlfkjasljkf asdlkfjasldfkj asldkfjalskfj \\text2 erweiurwoeir werqwer

[PHP] Control Panel

2002-03-21 Thread karthikeyan
Hi Everybody, Is there any control panel like Webmin in PHP. Regards, karthikeyan.

Re: [PHP] Append to the beginning of a file...

2002-03-21 Thread Mauricio Sthandier
I guess I should do that. I need the plain file because is just a log of users registering in a Club, in a csv format. Using a database is just too much and not intended for this page... even when I would prefer using mysql. At least, I can handle that rather than the fopen and fwrite !. I could

Re: [PHP] cannot see LDAP userPassword and createTimestamp attr

2002-03-21 Thread Stig Venaas
On Tue, Feb 26, 2002 at 07:42:15PM -0800, tim tom wrote: why can't i see the createTimestamp and userPassword bcos i did an *authenticated bind* ! the script: This depends on the LDAP server. createTimestamp is an operational attribute and is not returned by default. You can specify

Re: [PHP] Append to the beginning of a file...

2002-03-21 Thread Miguel Cruz
On Thu, 21 Mar 2002, Mauricio Sthandier wrote: I could append but then I need to read the first 8 chars of the last line I appended... neither something I know how to do. Seek to the end of the file minus typical record length, read, look for the penultimate end-of-record delimiter (\n,

[PHP] Execute AppleScript

2002-03-21 Thread Henrik Johansson
Is this possible from php? Regards, Henrik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >