[PHP] ! Please Help. Need webhost with socket support

2002-03-04 Thread Underbrush
Dear Group, Can anyone recomend a good webhost with socket support. I need to be able to use the socket_bind(), socket_create(), etc. . . functions. Any and all suggestions are greatly appreciated, - Underbrush

Re: [PHP] phpAdsNew

2002-03-04 Thread DL Neil
Georgie, I'm getting loads of undefined variable errors with this script. any1 know why? You're using a recent release of PHP aren't you? Check out http://www.php.net/manual/en/security.registerglobals.php for an explanation of changes in 4.1.n. no, registerglobals has nothing

[PHP] Re: convert to lowercase

2002-03-04 Thread mojo jojo
$string = strtolower($string); [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]; What is the code to make a string into lower case? Regards, Joseph A. Bannon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How do I make the PHP script for fdisc?

2002-03-04 Thread Jason Wong
On Sunday 03 March 2002 22:09, GENESiS DESiGNS wrote: Hello, I have a web form that allows someone to fdisc there drive C:\ but how to I make the PHP script to run that? By the way, I'm not using this to make someone real mad, I'm just curious and I will NOT put this script on the net,

Re: [PHP] ips and mysql table.

2002-03-04 Thread DL Neil
Hey Kunal, I have a mysql table which stores the IP Address of my site visitors. When I try to sort these Ip address in the ascending or descending order the order is completely out of order. I am currently storing the IP addresses under a varchar column. An int column would not store the

[PHP] What is - mean in php?

2002-03-04 Thread Jack
Dear all There is one symbol in PHP that i always see is -, could anyone pls tell me what is this, and what does that do? Here is the statement i saw could some pls explain what it means? if (!empty($row-usd_period) Thx a lot Jack [EMAIL PROTECTED] -- PHP General Mailing List

php-general Digest 4 Mar 2002 09:45:37 -0000 Issue 1206

2002-03-04 Thread php-general-digest-help
php-general Digest 4 Mar 2002 09:45:37 - Issue 1206 Topics (messages 87005 through 87058): phpAdsNEW HELP 87005 by: Georgie Casey Re: phpAdsNew 87006 by: DL Neil 87013 by: Georgie Casey 87054 by: DL Neil Re: cursor focus 87007 by: Steven Walker

[PHP] keeping the dot

2002-03-04 Thread Websitecd
I have a file that is being uploaded, but I need to remove all the characters in the filename except letters, numbers, and the '' (dot) Example would be 'where_i_gomp3' removing the '_' to get 'whereigomp3' Below is what I have to remove the none letters and numbers, but it also takes away the

[PHP] stripslashes in web forms

2002-03-04 Thread Claudiu
Here is the ideea i have a string variable $test that contains let's say : 17 Normally the output on the screen of this string would be echo $test; --- 17 \ There is this function stripslashes which gives me the oportunity to output exactly what i want i mean 17 but this doesnt seem to work in

[PHP] keeping the dot

2002-03-04 Thread LuC .
Try thinking :? :? Just add a dot. $filename = ereg_replace([^a-zA-Z0-9.], ,$filename); = I have a file that is being uploaded, but I need to remove all the characters in the filename except letters, numbers, and the '.' (dot). Example would be

Re: [PHP] keeping the dot

2002-03-04 Thread Websitecd
Try thinking? Don't be a jerk Regards, Joseph A Bannon -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

Re: [PHP] exit status

2002-03-04 Thread David Apthorpe
Thanks. Is there any way to work around this at present? David Lars Torben Wilson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]; On Sun, 2002-03-03 at 04:16, David Apthorpe wrote: I'm using PHP on the command line. Is there any way to exit, whilst setting the exit status,

Re: [PHP] keeping the dot

2002-03-04 Thread Edward van Bilderbeek - Bean IT
Try thinking? Don't be a jerk. Don't be a programmer... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] stripslashes in web forms

2002-03-04 Thread Niklas Lampén
This should do it: ? $test = 17\ blah; $test = stripslashes($test); ? input type=text name=test value=?=htmlspecialchars($test)? Niklas -Original Message- From: Claudiu [mailto:[EMAIL PROTECTED]] Sent: 4. maaliskuuta 2002 11:56 To: [EMAIL PROTECTED] Subject: [PHP] stripslashes in

Re: [PHP] keeping the dot

2002-03-04 Thread Websitecd
Don't don't me Regards, Joseph A Bannon -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

RE: [PHP] keeping the dot

2002-03-04 Thread Niklas Lampén
Don't don't don't me.. ehehehehee... %P Niklas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 4. maaliskuuta 2002 12:20 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] keeping the dot Don't don't me. Regards, Joseph A. Bannon -- PHP

Re: [PHP] keeping the dot

2002-03-04 Thread bvr
I think he was trying to say you should take a look at the manual regarding regular expressions. Once you get to the part that explains what [^ ] actually does you see how obvious the answer is. However, the synical reply from LuC isn't correct. To match the dot character (.) you should use

Re: [PHP] keeping the dot

2002-03-04 Thread Websitecd
I did and do, but the manual some times does cover small things list this I wish they had a by example book for PHP Thanks for the help Regards, Joseph A Bannon -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

[PHP] Of Topic but urgently needed

2002-03-04 Thread Sven Jacobs
yow all I know this is an of topic question but with all the system admins here . Does anybody know a good tool where I can monitor Compaq Proline servers with that uses some kind of text file or csv. So I can inport that file in mysql and do some thing on it via PHP :( Maybe some of you

Re: [PHP] What is - mean in php?

2002-03-04 Thread S.Murali Krishna
If you have any Object Oriented Programming experience, then you may not had asked this. Its a operator to access methods, and variables inside a instance of a class , in which the variable before - is the instance of the class and the latter is a method or variable of that class. This is what

[PHP] how to use saxon.jar from php?

2002-03-04 Thread Jakob
Hi, I would like to use the Saxon XSL processor from within PHP. Saxon is written in Java (there is a saxon.jar; see http://saxon.sourceforge.net). Although PHP has an option to use Sablotron as XSL processor as a module, this is not supported with many hosting providers, and Sablotron is

[PHP] date calculations

2002-03-04 Thread Sven Jacobs
Yow I need to calculate the Time ( days hour minutes between 2 times ) I have something but I have an error margine of 10 % and that is to high Time one 2002/02/24 10:23:43 Time two 2002/02/02 12:43:12 this need to give me the correct time in days hours and minutes between the 2 dates

[PHP] how do I use php and mysql to print mailing lables

2002-03-04 Thread Ivan Carey
Hello and thanks for your help how do I use php and mysql to print mailing lables? I would like to be able to print mailing labels from an mySQL online database using php. Is it possible to do this as the same functionality as in an MSAccess offline database? Thanks, Ivan

Re: [PHP] date calculations

2002-03-04 Thread DL Neil
Yow Sven, I need to calculate the Time ( days hour minutes between 2 times ) I have something but I have an error margine of 10 % and that is to high Time one 2002/02/24 10:23:43 Time two 2002/02/02 12:43:12 this need to give me the correct time in days hours and minutes between the 2

[PHP] Hardware ?

2002-03-04 Thread Patrick
Hi, this is kinda a broad question i have been asked to host a website that recieves a high access rate i dont have exact numbers but does anyone here run a big site with php mysql and if so what are your stats os, and hardware i dont want to underestimate in the hardware department but i

Re: [PHP] how do I use php and mysql to print mailing lables

2002-03-04 Thread bvr
Hi, It all depends on what you want Ofcourse you could output the labels somehow and just print that For example by generating HTML or PDF Another option is to connect to MySQL through ODBC and use the data as you would using an MSAccess database I don't think there a builtin functions

[PHP] PHP 4.1.2 + GD 2.0.1 please help.

2002-03-04 Thread Alex Bloor
Hi, Thanks for reading this message. I am having great difficulty recompiling php 4.1.2 + apache 1.3.23 + gd 2.0.1. I need freetype support (and freetype 2 is installed). I have followed Rasmus' instructions to the letter (http://www.php.net/~rasmus/gd.html) and php appears to compile with

[PHP] Mail with php and w2k

2002-03-04 Thread Mike Schmid
Hi NG how you have configured your phpini (mail point) and your windws to mail? Thanks -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

[PHP] Is it correct having number of forms in the same html page?

2002-03-04 Thread Balaji Ankem
**Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed You are notified that any

RE: [PHP] how do I use php and mysql to print mailing lables

2002-03-04 Thread Cal Evans
Personally, I'm leaning towards generating a PDF, displaying that for the user and letting them click the print button. =C= * * Cal Evans * Journeyman Programmer * Techno-Mage * http://www.calevans.com * -Original Message- From: Ivan Carey [mailto:[EMAIL PROTECTED]] Sent: Monday,

[PHP] file uploading from browser

2002-03-04 Thread Robert MacCombe
Hi, I'm having trouble with a file upload php script I can upload a file, but when I try to transfer it from the temporary location to anywhere within my domain, permission is denied I had exactly the same problem with the same script on another server and tech support fixed it with the following

[PHP] time limit ?

2002-03-04 Thread Ác¬P
How can I set a time limit for a form made by PHP (iethe value will auto transfer after a certain time) -- Ác¬P¤u§@«Ç http://fansinghkst/ ACG¤¬°Ê°Ï°ì(¤j®a¦h¨Ç¨Ó¶K¹Ï§a!) http://acgzonehkst/ -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

[PHP] Need help ASAP

2002-03-04 Thread Francois Louw
I need the xslt_process function under the XSLT_functions to work under either php 4.1.1 or 4.1.2. I used to compile it with --sablot but that doesn't work anymore. Currently I'm using sablot 0.8 and compile it with the following lines: --enable-xslt --with-xslt-sablot This still doesn't give

[PHP] -loop question-

2002-03-04 Thread Richard Bradley
I want to run a loop inside of the body section of the mail() function // CODE SNIPPLET // mail ($to, $subj, for ($i = 0; $i $passengerNumber; ++$i) { $Name_Passenger_[$i] } , $header); // ***END CODE SNIPPLET *// I can't seem to run the loop inside a variable

RE: [PHP] -loop question-

2002-03-04 Thread Richard Black
I'm assuming you want to send a list of passengers as the body of the text. Surely you want to do something like: $body = ''; for ($i = 0; $i $passengerNumberl ++$i) { $body .= $Name_Passenger_[$i].'\n'; } mail ($to, $subj, $body, $header); IE Prepare the list of passengers first, and

[PHP] HELP SECOND TIME - header for download gzip file using IE and Netscape with HTTP and HTTPS

2002-03-04 Thread Krzysztof Kocjan
Hi I have big problem with headers which I send to www browser: IE 5.5 and Netscape 6.2. On my web site I have PHP script to download huge text files to client side. The text file is compressed by gzip program before it will be downloaded to client. My problem is how to send to www browser

RE: [PHP] -loop question-

2002-03-04 Thread Richard Black
Ooops... $i $passengerNumberl should of course read $i $passengerNumber; But you guessed that anyway, right??? Richy -Original Message- From: Richard Black [mailto:[EMAIL PROTECTED]] Sent: 04 March 2002 14:03 To: Richard Bradley; [EMAIL PROTECTED] Subject: RE: [PHP] -loop

Re: [PHP] -loop question-

2002-03-04 Thread bvr
Nope, you can't, use the loop to create a temp variable containing the message, or do this: mail($to, $subj, implode(\n, $Name_Passenger_), $header); bvr Richard Bradley wrote: I want to run a loop inside of the body section of the mail() function // CODE SNIPPLET //

[PHP] Real world regex

2002-03-04 Thread Craig Westerman
I'm trying to understand how to write a regex when the only pattern is table tags. For one I need to figure out how to match the opening table tag of the 4th html table on a page. For another I need to get the 3rd opening table row tr tag after the 7th opening table tag. Thanks Craig

Re: [PHP] HELP SECOND TIME - header for download gzip file using IE and Netscape with HTTP and HTTPS

2002-03-04 Thread bvr
First thing, do you want the visitor to receive the file as-is (gz encoded) ? Or should it be decoded automatically to text ? In the first case, the browser shouldn't be aware of the encoding type (Content-Encoding header). You should only send 1 Content-Type header. The Content-Disposition

Re: [PHP] Real world regex

2002-03-04 Thread Bas Jobsen
For another I need to get the 3rd opening table row tr tag after the 7th opening table tag. not tested: (table[^]+.*){6}(table[^]+)([ ]*)(tr[^]*)(.*){2}(tr[^]*)(.*) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ploblem with safe_mode_include_dir

2002-03-04 Thread Renato Lins
Some one can help me Why this is not working ? # apache conf Directory /myuser/public_html/ php_admin_flag safe_mode on php_admin_value safe_mode_include_dir /myuser/safe/ php_admin_value doc_root /myuser/public_html/ php_admin_value open_basedir /myuser/public_html/:/tmp/ /Directory #cat

[PHP] PHP Security Update

2002-03-04 Thread Xavier Paz
Hi, Is there any way to check in the Apache logs whether someone has tried this exploit? Regards, Xavier -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help me for unsubscribe

2002-03-04 Thread Michele Salerno
What unsubscribe at mailning list? -- Web Master di: http://www.coopmediante.it Web Administrator di: http://www.mediateca2000.net

[PHP] Multiple browser instances - is it possible to determine which browser?

2002-03-04 Thread Neil Kimber
We have an application framework that tidies up application session variables as you traverse from page to page. It works really nicely - until a user opens up 2 instances of a browser. Our code cannot distinguish between different browser instances, so browser instance 2 causes our application

Re: [PHP] empty() texarea

2002-03-04 Thread John Fulton
Thank you. This worked well. John On Fri, 1 Mar 2002, Richard Baskett wrote: This is a simple solution and it should work and you'll probably kick yourself when you hear it *grin* Use: textarea rows=8 cols=50 name=open_why_good_consult?echo $open_why_good_consult?/textarea Put

[PHP] Session variable scope - surprise!

2002-03-04 Thread Richard Fox
This is a behavior I have not found documented, in fact the books I have read indicated that this would not be the case given the script (with sessionsave_handler = files): ?php function reg() { $test = 13; session_register(test); echo in reg(), test=$testbr; } session_start();

RE: [PHP] Help me for unsubscribe

2002-03-04 Thread Dan Vande More
http://www.php.net/unsub.php Should be in the bottom of every email you receive. Dan -Original Message- From: Michele Salerno [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 7:53 AM To: php-general Subject: [PHP] Help me for unsubscribe What unsubscribe at mailning list? --

RE: [PHP] Session variable scope - surprise!

2002-03-04 Thread Richard Black
I think session_register registers the variable and its value as a global. In this case, $test's global value is nothing. nada. Because it doesn't exist globally. In the reg() function, what is being output is a LOCAL variable called $test. Not a global value. If you put the line global

Re: [PHP] Multiple browser instances - is it possible to determine which browser?

2002-03-04 Thread Dennis Moore
You may consider the use of Javascript to control the parent and child windows and frames of your application. /dkm - Original Message - From: Neil Kimber [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 04, 2002 9:51 AM Subject: [PHP] Multiple browser instances - is it

RE: [PHP] Session variable scope - surprise!

2002-03-04 Thread Richard Fox
OK, but then how do you explain: ?php function reg() { $test = 13; session_register(test); echo in reg(), test=$testbr; } global $HTTP_SESSION_VARS; session_start(); reg(); if (session_is_registered(test)) { $tt = $HTTP_SESSION_VARS[test]; echo session variable test=$ttbr;

Re: [PHP] CheckBoxes....

2002-03-04 Thread Erik Price
On Sunday, March 3, 2002, at 11:15 AM, bvr wrote: If you append '[]' to the name, an array will be returned after submit with the values of the checked checkboxes. Is there any other way of doing this? Using the brackets at the end of the input's name is super-convenient, making it

RE: [PHP] Multiple browser instances - is it possible to determine which browser?

2002-03-04 Thread Neil Kimber
We've considered using javascript but cannot think of a way that would work. Take a simple example, 2 browsers - opened separately, pointing at different pages. We thought that we could set some property of each instance of the browser to a unique value (i.e. the window name). We would only need

RE: [PHP] Session variable scope - surprise!

2002-03-04 Thread Richard Black
$HTTP_SESSION_VARS only gets populated when you load another page. Or refresh the current one. To use your example again... ?php function reg() { $test = 13; session_register(test); echo in reg(), test=$testbr; } global $HTTP_SESSION_VARS; session_start(); $test = 12; reg(); if

Re: [PHP] PHP Security Update

2002-03-04 Thread Tyler Longren
There's probably no real easy to tell. If there was, CERT would most likely have it on their website (www.cert.org). Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: Xavier Paz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

RE: [PHP] CheckBoxes....

2002-03-04 Thread Jon Haworth
Alternatively, is there any plans to change the DTD for XHTML Strict to allow brackets? IMO it's not something that cause problems if it were to be supported. Kind of lame that it's not, actually. Subscribe to the www-html list at w3.org and ask the guys who look after this sort of

RE: [PHP] Multiple browser instances - is it possible to determine which browser

2002-03-04 Thread LuC .
Create a frame set. if your page opens without frameset the did something wrong, at least not allowed. (like open in a new window) If the main page, containing the frameset is loaded, the page is opened in a new window or they pressed f5(reload). === We've considered using javascript

Re: [PHP] ID variable alsways set

2002-03-04 Thread Erik Price
On Monday, March 4, 2002, at 02:25 AM, Rasmus Lerdorf wrote: Do a phpinfo() and check to see if you perhaps have a cookie with the name id set with the value 1. If your look at variables_order in your php.ini file, you will see that cookie data will override get-method data. To force

Re: [PHP] keeping the dot

2002-03-04 Thread Erik Price
On Monday, March 4, 2002, at 05:28 AM, bvr wrote: To match the dot character (.) you should use escape it like this: \. Otherwise the dot will match any character for it's a 'wildcard' and the result of your replace will be empty. I thought that in this example (in this thread) the dot

Re: [PHP] CheckBoxes....

2002-03-04 Thread Erik Price
On Monday, March 4, 2002, at 10:37 AM, Jon Haworth wrote: Subscribe to the www-html list at w3.org and ask the guys who look after this sort of thing if it's a possibility. Realistically, no-one will be prepared to rework the DTDs that already exist, but it might be something that's

Re: [PHP] keeping the dot

2002-03-04 Thread Erik Price
On Monday, March 4, 2002, at 10:50 AM, Erik Price wrote: I thought that in this example (in this thread) the dot was being used inside of a character class -- and that it does not need to be escaped when it is inside of a character class (wouldn't make sense for match any character to

RE: [PHP] Session variable scope - surprise!

2002-03-04 Thread Richard Fox
Then, when session_register(); is called (even on a variable which is going out of scope) what actually happens? Where is the data actually stored? I know it isn't in the file yet (I have sessionsave_handler = files) because nothing is written to the file until the script exits So the

RE: [PHP] Multiple browser instances - is it possible to determine which browser

2002-03-04 Thread Neil Kimber
How would that help directly in PHP? PHP cannot interrogate framesets or other attributes of the browser. I could see this working if we had javascript that wanted to keep track of which browser instance is being handled. But from PHP I don't see how this could work. PHP can interrogate the

[PHP] mySQL back up

2002-03-04 Thread Wilbert Enserink
Hi all, I have a mySQL back up q: I have a textfile which is filled with statements as: -- DROP TABLE Clients\g CREATE TABLE Clients( ID INT, date BLOB, name BLOB, age BLOB, PRIMARY KEY (ID) )\g INSERT INTO Clients VALUES ('all record data')\g INSERT INTO

[PHP] Thank you for Ray Hunter help!

2002-03-04 Thread Raymond Mak
Dear Ray Hunter, Thank you for your help in 177. 2002-02-20 RE: [PHP] How to Config PHP to run snmp in php script php-gener Hunter, Ray Your solution is very helpful, it help me to do what i need to do.

Re: [PHP] mySQL back up

2002-03-04 Thread Scott St. John
1)Create the db in mysql: mysqladmin -u (your user name) -p (if you have a password) create (new database name) 2)mysql -D (the name you used above) (the text file) Works on Unix and 2000. Is that what you mean? -Scott On Mon, 4 Mar 2002, Wilbert Enserink wrote: Hi all, I have a

RE: [PHP] Session variable scope - surprise!

2002-03-04 Thread Richard Black
From the manual page for session_register on PHP.net: For each name, session_register() registers the global variable with that name in the current session. I tried your script below. The following was created in my session file: !test| Which I'm guessing means a variable which has not been

RE: [PHP] Session variable scope - surprise!

2002-03-04 Thread Richard Black
I just read further on the manual page for session_register. It also contains the following: Caution This registers a global variable. If you want to register a session variable inside a function, you need to make sure to make it global using global() or use the session arrays as noted below.

[PHP] Uploading files in Russian? (urgent)

2002-03-04 Thread Lauri Vain
Hello there, I'm having quite a few problems at the moment. The story is as follows. The designer created 14 HTML files. That includes two language versions (so basically there are only 7 different files... the rest are same files in a different language). One language is English, the second

Re: [PHP] ploblem with safe_mode_include_dir

2002-03-04 Thread Rasmus Lerdorf
open_basedir doesn't take a list of paths On Mon, 4 Mar 2002, Renato Lins wrote: Some one can help me Why this is not working ? # apache conf Directory /myuser/public_html/ php_admin_flag safe_mode on php_admin_value safe_mode_include_dir /myuser/safe/ php_admin_value doc_root

Re: [PHP] PHP 4.1.2 + GD 2.0.1 please help.

2002-03-04 Thread Rasmus Lerdorf
Which OS? If a Linux distro, are you sure you have both libpng and libpng-devel packages installed? And does your configure script detect PNG support? On Mon, 4 Mar 2002, Alex Bloor wrote: Hi, Thanks for reading this message. I am having great difficulty recompiling php 4.1.2 + apache

Re: [PHP] mySQL back up

2002-03-04 Thread Anas Mughal
Well, Run mysql with that file as input. I work on Linux and I do something like: mysql -ppassword DBNAME dump.sql Where DBNAME is the name of the database, dump.sql is the text file, password is my password. (I think I did something on Windows months and it worked.) --- Wilbert Enserink

Re: [PHP] PHP 4.1.2 + GD 2.0.1 please help.

2002-03-04 Thread Sebastian Wenleder
I am having the same problem, I can't compile the latest php-cvs with gd support on Linux It worked until last week or so Sebastian At 8:46 Uhr -0800 04032002, Rasmus Lerdorf wrote: Which OS? If a Linux distro, are you sure you have both libpng and libpng-devel packages installed? And does

Re: [PHP] PHP 4.1.2 + GD 2.0.1 please help.

2002-03-04 Thread Rasmus Lerdorf
Well, what is the error? On Mon, 4 Mar 2002, Sebastian Wenleder wrote: I am having the same problem, I can't compile the latest php-cvs with gd support on Linux It worked until last week or so Sebastian At 8:46 Uhr -0800 04032002, Rasmus Lerdorf wrote: Which OS? If a Linux distro, are

Re: [PHP] Uploading files in Russian? (urgent)

2002-03-04 Thread Maxim Derkachev
Hello Lauri, Monday, March 04, 2002, 7:25:27 PM, you wrote: LV Does anybody have any ideas? Do I need to install Russian language packs LV on my computer? Do I need to pass a header in PHP, which would define LV the charset to use? Anything else? Which encoding to use (currently: LV meta

[PHP] Question about fopen()

2002-03-04 Thread Scott Miller
Hi, Does fopen() work similar to open in CGI ? If the file doesn't exist will it create it? What is the best way to test if the file was created? TIA Scott -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

RE: [PHP] Real world regex

2002-03-04 Thread Craig Westerman
-Original Message- From: Bas Jobsen [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 8:55 AM To: Craig Westerman; php-general-list Subject: Re: [PHP] Real world regex For another I need to get the 3rd opening table row tr tag after the 7th opening table tag. not tested:

[PHP] How to use PHP to find hte presence or absent of the file???

2002-03-04 Thread Scott Fletcher
Hi ya all! I'm trying to figure out how to use the PHP script to detect the presence or absent of the file I'm using UNIX machine, so it is not a problem I do not want to use the fopen() to open the file since it is not a readable file, but a executable file I'm thinking of using the

[PHP] Re: Is there a way to put a scroll in a table ???

2002-03-04 Thread Grant Babb
all- sorry for the late reply, but the information is still timely. :) Anyone that needs Javascript code that works in all browsers should get it from http://dhtmlcentral.com [why reinvent the wheel when somebody offers you a free cadillac] something that might be of use to is the

[PHP] Re: How to use PHP to find hte presence or absent of the file???

2002-03-04 Thread Scott Fletcher
Here's the reply I got from someone out posting it to this outlook! The case is now closed! --clip begin-- How about: http://www.php.net/manual/en/function.file-exists.php ? -- clip end-- Thanks, Scott Scott Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]; Hi ya all!

[PHP] Re-Compiling PHP HELP

2002-03-04 Thread James Taylor
I'm trying to compile 412, and it just isn't happening I originally had 406 installed, I go to compile 412 and it just doesn't seem to be 'taking' the compile This is what I'm doing step by step: /configure --with-apache=/apache_1322 --with-mysql=/mysql/ --enable-track-vars

Re: [PHP] Re-Compiling PHP HELP

2002-03-04 Thread Rasmus Lerdorf
--with-apache builds the static library version of PHP which is linked into Apache If you use this switch you need to recompile Apache as well which you haven't done Please read the INSTALL file that came with PHP -Rasmus On Mon, 4 Mar 2002, James Taylor wrote: I'm trying to compile 412,

[PHP] PROBLEM WITH PHP 4.1.2 / MY SQL 3.22.32

2002-03-04 Thread Alexandra Aguiar
Hi, i need some help, We gotta here some database using mysql 3.22.32 and we integrate it with php.. in the webpages and stuffso now, we upgraded to PHP 4.1.2 and it's seems php it's not recognizin the data in the mysql database.. any ideas ? thnx in advance.. Alexandra Aguiar

[PHP] Upload a CSV file to MySQL

2002-03-04 Thread Ben C.
Is there an easy way to upload a CSV file into a MySQL table? Is there also a way to export the MySQL file into a CSV file? I would like to make a form using PHP to do import a CSV file into an existing table. Any advise would be appreciated. Ben -- PHP General Mailing List

RE: [PHP] Re-Compiling PHP HELP

2002-03-04 Thread Dan Vande More
Are you just compiling and installing php? Because you have to make clean,make, stop apache, and make install apache as well. No need to configure, your old conf will work just fine. This may not be entirely correct, but it has always worked for me. Dan -Original Message- From: James

[PHP] Re: time limit ?

2002-03-04 Thread George Whiffen
ÁC¬P wrote: How can I set a time limit for a form made by PHP (i.e.the value will auto transfer after a certain time) -- Ác¬P¤u§@«Ç http://fansing.hk.st/ ACG¤¬°Ê°Ï°ì(¤j®a¦h¨Ç¨Ó¶K¹Ï§a!) http://acgzone.hk.st/ HTML forms execute in the client's browser, which does not care at all whether

RE: [PHP] Upload a CSV file to MySQL

2002-03-04 Thread Dan Vande More
I'm not sure if you're talking just PHP, but this is the best database tool I've ever used: http://anse.de/mysqlfront/ /* Key-Features With MySQL-Front you can... create/drop databases create/drop tables edit/add/delete fields edit/insert/delete records edit BLOBs and MEMOs with

[PHP] php GD2

2002-03-04 Thread Duncan
Hi again, i just saw that others seem to have the same problem while trying to compile php with GD2. I saw the link to Rasmus's php GD2 install guide and tried it that way, but still get the same error as before. In file included from gd.c:36: php_gd.h:69: warning: static declaration for

RE: [PHP] Multiple browser instances - is it possible to determine which browser

2002-03-04 Thread Sumesh Nair
I am looking for exactly the same thing. There must be a way to handle this problem from php. Doing it from javascript makes sense only if you have a simple website. Besides I don't use frames, so even with javascript I can't solve the problem. Maybe there's a way to find a browser's unique id!

Re: [PHP] Upload a CSV file to MySQL

2002-03-04 Thread DL Neil
Ben, Is there an easy way to upload a CSV file into a MySQL table? Is there also a way to export the MySQL file into a CSV file? I would like to make a form using PHP to do import a CSV file into an existing table. Any advise would be appreciated. Manual: 6.4.9 LOAD DATA INFILE Syntax

RE: [PHP] Re: time limit ?

2002-03-04 Thread Darren Gamble
Good day, That won't submit the form, unfortunately. It'll just redirect the user to the page without submitting the contents of the form. If the browser supports it, one can use javascript to submit the form after a certain amount of seconds have elapsed. Darren

Re: [PHP] Upload a CSV file to MySQL

2002-03-04 Thread Philip J. Newman
- Original Message - From: DL Neil [EMAIL PROTECTED] To: Ben C. [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, March 05, 2002 8:04 AM Subject: Re: [PHP] Upload a CSV file to MySQL Ben, Is there an easy way to upload a CSV file into a MySQL table? Is there also a way to

Re: [PHP] Upload a CSV file to MySQL

2002-03-04 Thread Steven Deaton
You may want to take a look at phpmyadmin, as it has this functionality. - Original Message - From: Philip J. Newman [EMAIL PROTECTED] To: DL Neil [EMAIL PROTECTED]; Ben C. [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, March 04, 2002 11:15 AM Subject: Re: [PHP]

[PHP] session garbage collection save path

2002-03-04 Thread Kenneth Chau
So, it says in the manual that gc doesn't occur if the save path depth is more than 2. This is true in the manual at php.net, but not zend.com. I have tested this, and seems like there is no gc occurring if I DID have the save path elsewhere (i.e. where the directory depth is 2). Is there any

[PHP] MySQL Query

2002-03-04 Thread Jason Whitaker
OK, I need to know is there a place where i can find out how to pull information(TEXT) from a MySQL DB table and print where i place a variable in a php page? -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

[PHP] Re: MySQL Query

2002-03-04 Thread Kenneth Chau
Jason Whitaker wrote: OK, I need to know is there a place where i can find out how to pull information(TEXT) from a MySQL DB table and print where i place a variable in a php page? I have NO idea what your question is did you just want to echo something from your MySQL db table inside a PHP

Re: [PHP] A Small Bug Giving Me A Big Headache

2002-03-04 Thread Dr. Shim
Nope, all my values are strings. Markas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]; $SQLString = INSERT INTO Movies (Title, Actors, Review, Reviewer, Short) VALUES ('$Title','$Actors','$Review','$Reviewer','$Short'); As the manual says: Note: Unlike the two other syntaxes,

Re: [PHP] MySQL Query

2002-03-04 Thread Erik Price
On Monday, March 4, 2002, at 02:26 PM, Jason Whitaker wrote: OK, I need to know is there a place where i can find out how to pull information(TEXT) from a MySQL DB table and print where i place a variable in a php page? This tutorial was my introduction to the concept, but you can find

RE: [PHP] how to: variable = php parsed file include

2002-03-04 Thread Kearns, Terry
I'm not sure I understand you 100% but it sounds like you want to get the static HTML results of your dynamic PHP script and and do something with it. Happily, PHP is one of the few languages that can do this with ease :-) The feature you want is output buffering. Output buffering _traps_ the

Re: [PHP] ploblem with safe_mode_include_dir

2002-03-04 Thread Renato Lins
Sorry, I may not haven been clear What should I do to include from a safe area (/myuser/safe) when I have open_basedir set to other path (/myuser/public_html) ? Rasmus Lerdorf wrote: open_basedir doesn't take a list of paths On Mon, 4 Mar 2002, Renato Lins wrote: Some one can help me Why

  1   2   >