Re: [PHP] PHP Mail (SMTP)

2001-05-23 Thread Dan Lowe
Previously, Jason Caldwell said: There's a setting in the PHP.INI file called [Mail Function] - SMTP Can I programmatically set this? Or, am I for now restricted to this .INI entry? ini_set(SMTP, smtp.server.name); ini_set(sendmail_from, [EMAIL PROTECTED]); -d -- What was the best thing

[PHP] Funky PHP Stuff

2001-05-23 Thread Chris Aitken
Just wondering if anyone has come across a collection of weird and wonderful stuff done with PHP. I have a site which people have the option to display strange things whenever they log in, and currently I have a random quote generated from the fortune script on FreeBSD, plus a weird script

Re: [PHP] ssh

2001-05-23 Thread Dan Lowe
Previously, Dennis Gearon said: ***AND*** getting the certificate to work for it? My provider that runs php/mysql/etc only lets people use SSH connections for telnet, which I agree with. As others have mentioned, PuTTY is the way to go. You can use key files with it, or passwords (or

Re: [PHP] installing PHP on a sun box

2001-05-23 Thread Dan Lowe
Previously, Joseph Bannon said: I'm installing PHP on a sun box and when type in make and i get not found. How can I run make if it's not found? make is usually in /usr/ccs/bin/ However, you probably have no compiler (unless you bought one from Sun). Try typing cc - if you get the software

[PHP] ff

2001-05-23 Thread Jon Yaggie
f

[PHP] cookies

2001-05-23 Thread Jon Yaggie
Sorry. My emails is acting wierd. This is a repost. The suggestion was there is a clock problem. My clock is right. Could it be cause by a time zone difference? original message - I have set up a user login so that it will assign a cookie for one hour - setcookie(cookie_id, $id,

Re: [PHP] cookies

2001-05-23 Thread Zak Greant
Hi Jon, Dealing with expiry dates and cookies is often a PITA! Rasmus suggested a way around this a few weeks ago - here is a rehash of what he said: Do this: setcookie ('expiry', time ()); This call will have created a session cookie - this means that the session will expire when the browser

Re: [PHP] still not friends with RegExps..

2001-05-23 Thread Dan Lowe
Previously, Zef Hemel said: $string = preg_replace(/[\\\*\+\-;]/s,,$string); I think, you might have to escape the ; too You don't need to escape * or + inside a character class since they don't have a special meaning inside a character class. You will need to use '' to match a

Re: [PHP] OT PHP Manuals

2001-05-23 Thread Joseph Blythe
Jason Lotito wrote: Joseph, I was actually about to type back in response explaining to everyone that you asked WHAT was use to make the .chm files. You must forgive my colleagues, they sometimes forget to actually read the email, rather than just scan the email for common key words and

[PHP] file download

2001-05-23 Thread Aleksey Yarilovets
Hi everyone! I need user to dowload a file from my server ( Apache ), what i do is: ? header(Content-Type: application/download); header(Content-Disposition: attachment; filename='report.txt'); echo file contents; ? It was working till now but sudenly i start recieve the message from

[PHP] Inoltra: Re2: [PHP] problem getting oracle to work with php4

2001-05-23 Thread louigi600
Starting httpd: Syntax error on line 872 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/lib/apache/libphp4.so into server: libclntsh.so.1.0: cannot open shared object file: No such file or directory [FAILED] libclntsh.so.1.0 is not in your library path /etc/ld.so.conf btw,

Re: [PHP] sessions without trans_id

2001-05-23 Thread Dalyyla
hi, You could use an .htaccess file to disable the session.use_trans_sid flag in the php.ini file, like this: php_flag session.use_trans_sid off Kirk *** what I meant if i publish it on another server and which is used by lots of clients I suppose that some of them made their application

[PHP] Apache+suEXEC+php+dbase

2001-05-23 Thread JUANG
hi... how do i use dbf_open() function or other dbf functions in php with apache+suexec? my php script is ? $dbfile=kasbon.dbf; $db =dbase_open($dbfile, 0); $rec = dbase_get_record($db, 2); $nf = dbase_numfields($db); for ($i=0; $i $nf; $i++) { print $rec[$i].br\n; } ? it

Re: [PHP] Inoltra: Re2: [PHP] problem getting oracle to work with php4

2001-05-23 Thread David Robley
On Wed, 23 May 2001 17:21, [EMAIL PROTECTED] wrote: Starting httpd: Syntax error on line 872 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/lib/apache/libphp4.so into server: libclntsh.so.1.0: cannot open shared object file: No such file or directory [FAILED]

Re: [PHP] Inoltra: Re2: [PHP] problem getting oracle to work with php4

2001-05-23 Thread louigi600
Starting httpd: Syntax error on line 872 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/lib/apache/libphp4.so into server: libclntsh.so.1.0: cannot open shared object file: No such file or directory [FAILED] libclntsh.so.1.0 is not in your library path

[PHP] Passing variables

2001-05-23 Thread Tarrant Costelloe
Is there any other way of passing variables other than submitting them through a form and passing them using a URL? E.G. Currently I am passing them though a url which is not the safest means in anyway. Suggestions would be appreciated. Thanks in advance. Tarrant Costelloe Web Developer

[PHP] Re: Passing variables

2001-05-23 Thread Jon Yaggie
I dont know any other way. best is if you ssl available to use it on the forms that pass these variable but using a form all variables are passed this way either post or get through the url. Jon

Re: [PHP] generating thumbnails

2001-05-23 Thread Dave
So how does the GD2 work.? Does it work with gifs and jpgs? Is the GD Library supposed be installed by the hosting provider? Rasmus Lerdorf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... is there any way to resize images in php and save them to a new file?

[PHP] getimagesize (Bug? or error in PhP?)

2001-05-23 Thread bram
Hi, I want to have the width and the height of an image, if I place the image on my server then it works buth if i want to load the image from another server then I have errors, is this a bug in PHP, or is there another solution. Because in the php.net manual they use Getimagesize() too for

[PHP] Searching a MYSQL DB

2001-05-23 Thread YoBro
Hi, Any ideas, or any code that will allow a search of specific keywords in a mysql database. Feilds in a Table called: Name Description What I am after is if somebody types the word 'hammer', then I want it to return the results in a list if the word hammer is picked up under the name of

[PHP] PHP AND SSI

2001-05-23 Thread Shashwat
How can I run SSI commands like !--#include file=desk.htm-- etc. in PHP files... as ASP supports it.. I have Apache on Linux Server with PHP 4 installed Shashwat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] session problem

2001-05-23 Thread Robert Schaller
Hi Chris, thanks for your fast reply. I tried your advice, checking if a variable is already registered before registering it again, the problem remains. The thing that bugs me is that I am getting no error message whatsoever, session_register is returning true and there is nothing in the log

Re: [PHP] PHP AND SSI

2001-05-23 Thread Zak Greant
Use PHP's include() function. See the online manual for details. --zak - Original Message - From: Shashwat [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 23, 2001 4:07 AM Subject: [PHP] PHP AND SSI How can I run SSI commands like !--#include file=desk.htm-- etc. in PHP

Re: [PHP] PHP AND SSI

2001-05-23 Thread John Monfort
You should be able to just print it. The code won't matter to php, but the browser will process it. ?php echo !--#include file='desk.htm' --; __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com The

Re: [PHP] PHP AND SSI

2001-05-23 Thread Shashwat Nagpal
Thanks alot! i'll sure do that Cheers! Shash - Original Message - From: Zak Greant [EMAIL PROTECTED] To: Shashwat [EMAIL PROTECTED] Cc: Php-General [EMAIL PROTECTED] Sent: Wednesday, May 23, 2001 3:41 PM Subject: Re: [PHP] PHP AND SSI Use PHP's include() function. See the online

Re: [PHP] Searching a MYSQL DB

2001-05-23 Thread James Holloway
Hey, Simple solution: ? $search = hammer; $connection = // Connection to the database details. $query = @mysql_query(SELECT * FROM table WHERE Name LIKE '%$search%' OR Description LIKE '%$search%' ORDER BY Name ASC, $connection) or die (mysql_error()); while($row =

Re: [PHP] getimagesize (Bug? or error in PhP?)

2001-05-23 Thread bram
I' have version Version 4.0.4pl1 Hi, I want to have the width and the height of an image, if I place the image on my server then it works buth if i want to load the image from another server then I have errors, is this a bug in PHP, or is there another solution. Because in the php.net

Re: [PHP] Searching a MYSQL DB

2001-05-23 Thread Miles Thompson
Yes, it's easy and you already have at least one answer. If you are going to be doing any database programming, a basic familiarity with SQL (Structured Query Language) and relational databases is pretty essential. A book like SQL for Dummies is an excellent place to start, you could probably

Re: [PHP] OT PHP Manuals

2001-05-23 Thread Miles Thompson
My apologies to Joseph, and to the group at large. I didn't read his question carefully, and in retrospect, gave him a pretty asinine answer. Braaay! - Miles Thompson At 10:22 PM 5/22/01 -0300, Miles Thompson wrote: Why? We have the manuals in two truly portable formats, HTML and PDF, not

RE: [PHP] Whitespace

2001-05-23 Thread Don Read
On 23-May-01 Wade Halsey wrote: Hey How can I add a certain number of whitespace chars to a text file? I write variables to a text file and I want to seperate them by certain numbers of whitespace chars eg : $var(40 whitespace)$var2(10 whitespace) $str=sprintf('%40s%10s', $var,

Re: [PHP] getimagesize (Bug? or error in PhP?)

2001-05-23 Thread Bert
On 23 May 2001 04:15:09 -0700, [EMAIL PROTECTED] (bram) wrote: I' have version Version 4.0.4pl1 URL support was added in PHP 4.0.5 ! So it won't work with 4.04... Bert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Converting MySQL Date (2001-05-21) to Friendly Date (21 May 2001)

2001-05-23 Thread Matthew Ralston
I've got a date stored in a MySQL database in a DATE field, so it is stored as 2001-05-21. How do I convert that into a more friendly date like 21 May 2001 or even 21st May 2001 for display on a web page? I've tried print date(jS F Y, $dbtable[date]); but I always get 1st January 1970 because

Re: [PHP] file download

2001-05-23 Thread py
Hello, I had the same problem as you for months! until someone post this a couple of weeks ago: header(Content-Type: application/octet-stream); header(Content-Disposition: attachment; filename=file.txt); include(file.txt); py - Original Message - From: Aleksey Yarilovets [EMAIL

[PHP] Help !!

2001-05-23 Thread John Monfort
I'm trying to configure PHP on IRIx 6.5, with NS FastTrack. PHP works in the shell, but not thru the server. I checked the log file and noticed it (server) had a fatal error, because it could not find redirect_php.so . That file was not included in the distribution and is no where to be

Re: [PHP] Converting MySQL Date (2001-05-21) to Friendly Date (21 May 2001)

2001-05-23 Thread Miles Thompson
Mathew, Great that they're backwards from one another, isn't it? The regular expression wizards probably have some marvellous trick up their sleeve, and Manuel Lemos probably has a class that will do this. You can do it yourself by using substring functions to extract the parts of the date,

Re: [PHP] Converting MySQL Date (2001-05-21) to Friendly Date (21 May 2001)

2001-05-23 Thread Pavel Jartsev
Matthew Ralston wrote: I've got a date stored in a MySQL database in a DATE field, so it is stored as 2001-05-21. How do I convert that into a more friendly date like 21 May 2001 or even 21st May 2001 for display on a web page? I've tried print date(jS F Y, $dbtable[date]); but I

[PHP] advice on 'Nusphere Mysql Package' appreciated

2001-05-23 Thread Johnny Smith
I'm building a machine that will never be used on the internet. I only plan to use it to build a database. Later I will upload the database to another PHP/MYsql server which will be on the net. What I want is the simplest possible way to quickly build a basic functional PHP/MYsql machine. And

Re: [PHP] Converting MySQL Date (2001-05-21) to Friendly Date (21 May 2001)

2001-05-23 Thread Matthew Ralston
Thanks Papi, That works fine. Matt [EMAIL PROTECTED] www.mralston.co.uk / Pavel Jartsev [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Matthew Ralston wrote: I've got a date stored in a MySQL database in a DATE field, so it is stored as 2001-05-21. How

[PHP] MySQL Select

2001-05-23 Thread Jamie Thompson
ok...sorry to ask a stupid question but $result = mysql_query(SELECT jazz FROM funk WHERE foo='bar') but where do you go from there. How would you iterate through the array a row at a time, doing your thing as you go along? thanks, jamie -- PHP General Mailing List

Re: [PHP] include!!!!!

2001-05-23 Thread mheumann
Hi, that sounds like your Web server doesn't interpret PHP at all. Are you sure you enabled it correctly? What platform are you working on? Greetings, Michael. I'm new to php (having converted from the evil ASP) and i'm having some trouble with includes this is what i'm doing... ?php

Re: [PHP] Converting MySQL Date (2001-05-21) to Friendly Date (21 May 2001)

2001-05-23 Thread Ethan Schroeder
You could shorten it by having mysql convert the date into a timestamp: $result = mysql_query(SELECT UNIX_TIMESTAMP(date) as somedate FROM dates); $row = mysql_fetch_array($result); echo date(jS F Y, $row[somedate]); Ethan - Original Message - From: Pavel Jartsev [EMAIL PROTECTED]

RE: [PHP] Passwords?

2001-05-23 Thread Boget, Chris
I have some field error checking going on ... and when a user (say) doesn't fill in a field correctly, my error page comes up telling them. They then must click on their browsers back button and make the changes. Now -- I have a password field, and when they click back, they are forced

[PHP] how can i get local script name?

2001-05-23 Thread elias
hello! I can use $PHP_SELF to get it's name. how can i get it's name and location on the hard drive? -elias -- 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,

[PHP] Re:[PHP] MySQL Select

2001-05-23 Thread Jon Yaggie
think this is what you want $i = 0; $result = mysql_query(SELECT jazz FROM funk WHERE foo='bar') while($music = mysql_fetch_array($result)) { $funk_music[$i] = $music[0]; $I++; } ok...sorry to ask a stupid question but $result = mysql_query(SELECT jazz FROM funk WHERE

RE: [PHP] MySQL Select

2001-05-23 Thread Jon Haworth
Something like: if ($array_result = mysql_fetch_array($result)) { do { // do your thing here } while ($array_result = mysql_fetch_array($result)); } HTH Jon -Original Message- From: Jamie Thompson [mailto:[EMAIL PROTECTED]] Sent: 23 May 2001 14:33 To:

Re: [PHP] files

2001-05-23 Thread Brian Clark
Hi Jon, @ 10:25:43 AM on 5/23/2001, Jon Yaggie wrote: --(snip)-- I need to find the last update of one of any file in clients/$username. With out specificly knowing any of the filenames. As i can see there is no way for my script to list the files in this directory and there is no function

Re: Re: [PHP] files

2001-05-23 Thread Jon Yaggie
What i need is the function that allows me to read the files in the directory. This is what i can'g find. To be honest I am lazy and was hoping there may be a secret function out there like filetime() that worked on the whole directory. but all i really need is what function will read the

[PHP] About Commit..

2001-05-23 Thread Hassan Arteaga
Hi all!! I wants to implements transacctions with this code...What can I do ? $Conn=mysql_connect(myserver,myroot,mypass); $Query_ID1=mysql_db_query (App, update FamiliPic set pic_code=4 , $Conn); //only example $Query_ID2=mysql_db_query (App, update DesFam set pic_code=4 , $Conn); //only

Re: [PHP] how can i get local script name?

2001-05-23 Thread Wieger Uffink
Hi $path = $HTTP_SERVER_VARS[SCRIPT_FILENAME]; wieger elias wrote: hello! I can use $PHP_SELF to get it's name. how can i get it's name and location on the hard drive? -elias -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] how can i get local script name?

2001-05-23 Thread Brian Clark
Hi Elias, @ 7:51:25 PM on 5/23/2001, elias wrote: --(snip)-- I can use $PHP_SELF to get it's name. how can i get it's name and location on the hard drive? Try $SCRIPT_FILENAME If that doesn't produce anything, stick this in a file and view it in your browser. One, or more, of the vars

Re: [PHP] files

2001-05-23 Thread Brian Clark
Hi Jon, @ 10:55:03 AM on 5/23/2001, Jon Yaggie wrote: What i need is the function that allows me to read the files in the directory. This is what i can'g find. --(snip)-- readdir() http://us.php.net/manual/en/function.readdir.php -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT

[PHP] re: files

2001-05-23 Thread Jon Yaggie
Okay thanks perhaps i am using an old manual. I think i downloaded it about three months ago but this function is not present there . .. Jon

[PHP] How to select rows from Mysql with case senstive ??

2001-05-23 Thread Bass¨Ð¦õªv
Hi , By defualt , select rows from Mysql is case insenstive . For exmaple , select * from foo where name = 'PHP' select * from foo where name = 'php' is the same how can i do a queny which select * from foo where name = 'PHP' is success but select * from foo where name = 'php' fail ?? given

RE: Re: [PHP] files

2001-05-23 Thread Rudolf Visagie
Hi function GetFiles ($DataPath, $files, $nfiles) { // Reads a directory and puts filenames into a sorted array $handle=opendir($DataPath); if ($handle) { $nfiles = -1; while (false!==($file = readdir($handle))) {

[PHP] Web Server processing question

2001-05-23 Thread RockMonkey
Hi all, I've been running some time trials on some of my PHP functions for a site I've been putting together, and noticed that the process time is SOMETIMES extremely high. Before I continue, let me say that I know that the times can be affected by other things running on the server, but the

[PHP] sorry correction

2001-05-23 Thread Jon Yaggie
it seems that some of my manual is just missing . . . maybe it was aliens. i have the link to the functions . ..

[PHP] Using html templates

2001-05-23 Thread Jamie Thompson
what is the best way of using html templates to display data from a database? -- 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]

[PHP] (pas d'objet)

2001-05-23 Thread Thomas Ferte
-- 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]

[PHP] Delphi and PHP : problem returning parameter to script

2001-05-23 Thread Gilles Koffmann
Hi, I' have implemented in Delphi part of the ZEND API for extensions based on the example in the document in http://www.zend.com/apidoc/p2.php. My problem is that I'm not getting back my value (2) in my php script : ... ? $param = 2; $return = first_module($param); print(We sent \$param\ and

RE: [PHP] How to select rows from Mysql with case senstive ??

2001-05-23 Thread Tiago Moitinho
Try SELECT * FROM foo WHERE strcmp('PHP', name) = 0; -Original Message- From: Bass¨Ð¦õªv [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 23 de Maio de 2001 14:55 To: [EMAIL PROTECTED] Subject: [PHP] How to select rows from Mysql with case senstive ?? Hi , By defualt ,

Re: [PHP] About Commit..

2001-05-23 Thread George E. Papadakis
Use Oracle if you want transactions. Yet, it's going to be slow. Mysql is said to support transactions soon. - Original Message - From: Hassan Arteaga [EMAIL PROTECTED] To: Php (E-mail) [EMAIL PROTECTED] Sent: Wednesday, May 23, 2001 4:55 PM Subject: [PHP] About Commit.. Hi all!! I

[PHP] notifier

2001-05-23 Thread Taline Makssabo
Can anyone suggest where i could find a simple PHP code so i could get notified whe users login into my site??? Mine seems to be bugged! thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

RE: [PHP] About Commit..

2001-05-23 Thread Jon Haworth
I thought MySQL already supported transactions, but only for Berkeley table types... http://www.mysql.com/doc/C/O/COMMIT.html Cheers Jon -Original Message- From: George E. Papadakis [mailto:[EMAIL PROTECTED]] Sent: 23 May 2001 15:17 To: Hassan Arteaga; Php (E-mail) Subject: Re: [PHP]

Re: [PHP] MySQL Select

2001-05-23 Thread Vanessa
Hi This is what I always do... 1. for one row (saved in array $reihe)... $bla = SELECT * FROM table WHERE id = '$something'''; // db is your database connection $test = mysql_query($bla, $db); // you dont have to use the if...i do that to check if anything was returned if

RE: [PHP] files

2001-05-23 Thread Don Read
On 23-May-01 Jon Yaggie wrote: Okay I am making a small script for a web design company. What it does so far is take info - name, email, username,, pasword - which as all inputted by the designer. Then it creates a directory clients/$username on the company's server for the temp home of

Re: [PHP] Passing variables

2001-05-23 Thread Peter Dudley
You can pass variables through the session mechanism. http://www.php.net/manual/en/ref.session.php This will require some additional work to get your sessions working properly, but you probably want to do that anyway at some point. I have found the session mechanism to be extremely useful so

Re: [PHP] PHP AND SSI

2001-05-23 Thread Christian Reiniger
On Wednesday 23 May 2001 12:12, John Monfort wrote: You should be able to just print it. The code won't matter to php, but the browser will process it. ?php echo !--#include file='desk.htm' --; the browser will process it What does SSI stand for? - Sis Sounds Interesting - Server

Re: [PHP] notifier

2001-05-23 Thread Chris Lee
notified, like an email ? look at the mail() function. when the user logs on, email yourself. -- Chris Lee [EMAIL PROTECTED] Taline Makssabo [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Can anyone suggest where i could find a simple PHP code so i

Re: [PHP] re: files

2001-05-23 Thread Christian Reiniger
On Wednesday 23 May 2001 17:03, Jon Yaggie wrote: Okay thanks perhaps i am using an old manual. I think i downloaded it about three months ago but this function is not present there . .. Bad excuse. That function has been in there since at least the early PHP3 versions. -- Christian

Re: [PHP] Web Server processing question

2001-05-23 Thread Christian Reiniger
In the following example, which is the one that I'm concerned about, the same function is called multiple times in a row (with nothing happening in between calls) for different categories. Basically, the function sorts an array and outputs the 10 elements with the highest value. I ran the

Re: [PHP] How to select rows from Mysql with case senstive ??

2001-05-23 Thread James Holloway
Hey try this, though there are probably better ways, SELECT * FROM foo WHERE name REGEXP '^[PHP]'; James Bass¨Ð¦õªv [EMAIL PROTECTED] wrote in message 9egfot$cfu$[EMAIL PROTECTED]">news:9egfot$cfu$[EMAIL PROTECTED]... Hi , By defualt , select rows from Mysql is case insenstive . For exmaple

[PHP] Can you help me with this: Bug #11055: segmentation fault core dump during make

2001-05-23 Thread louigi600
From: [EMAIL PROTECTED] Operating system: linux 2.2.14 (RH 6.2) PHP version: 4.0.5 PHP Bug Type: Sybase-ct (ctlib) related Bug description: segmentation fauld core dump during make downloaded free sybase-ct libs from link in faq from php site. unpacked in

[PHP] PHP4/IIS/WIN2: Cookies are not sent. HELP!!

2001-05-23 Thread Diego Fulgueira
Recently, I reinstalled Windows 2000 (IIS 5.0) and PHP 4.03pl1. Since then, no cookies are being sent to the clients. No error is being reported. I change the PHP installation to 4.04, but I still have the same problem. I can't do session handling or anything without cookies. HELP PLEASE. Any

RE: [PHP] How to select rows from Mysql with case senstive ??

2001-05-23 Thread Don Read
On 23-May-01 Bass¨Ð¦õªv wrote: Hi , By defualt , select rows from Mysql is case insenstive . For exmaple , select * from foo where name = 'PHP' select * from foo where name = 'php' is the same how can i do a queny which select * from foo where name = 'PHP' is success but select *

Re: [PHP] PHP4/IIS/WIN2: Cookies are not sent. HELP!!

2001-05-23 Thread Michael Kimsal
IIS running anything as a CGI doesn't support standard cookie specs - you need to search on the microsoft site about CGI, IIS and NPH (non parsed headers). They admit they don't support the CGI spec, and offer a workaround, but I can't attest to it working or not. Diego Fulgueira wrote:

[PHP] Problems with mail() function

2001-05-23 Thread Kevin Fogleman
The problems that I'm having with the mail function stem from the extra arguments that I'm trying to pass it. What I'm trying to do is write a script to mail links to interesting stories to other people. In doing this, I want to make the mail appear that it came from the e-mail address of the

Re: [PHP] Using html templates

2001-05-23 Thread Tolga \thorr\ Orhon
I am using libphp and quite satisfied with it. http://phplib.netuse.de/ -- Tolga 'thorr' Orhon Jamie Thompson [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... what is the best way of using html templates to display data from a database? -- PHP General Mailing

Re: [PHP] How to select rows from Mysql with case senstive ??

2001-05-23 Thread James Holloway
*Shrug* Don't have time to test at the moment... That was taken from Chapter 9.3.4.7 of the MySQL manual http://www.mysql.com/doc/P/a/Pattern_matching.html Prior to MySQL Version 3.23.4, REGEXP is case sensitive, and the previous query will return no rows. To match either lowercase or

RE: [PHP] sessions without trans_id

2001-05-23 Thread Johnson, Kirk
If the server has trans-sid enabled, you can disable it for your application using an .htaccess file, as given below. -Original Message- From: Dalyyla [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001 2:14 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] sessions without trans_id

[PHP] outputting lines from file(file.php)

2001-05-23 Thread Dennis Gearon
I have read in the lines from a php file into a $buff. Each line is set and the total corresponds to the number of lines in the file. But trying to ouput the lines results in blank lines. do I have to pass the lines through something like chop(), or html_spec_chars? How do you guys display

[PHP] writing to file quick and easy.

2001-05-23 Thread Christopher Allen
Hello: Lookin for a little advice here. I have a series of scripts that dynamically create web pages. The last page in the series I wish to be able to write out to a file. Is there a simple/quick way in which I can take the process(ing) script and write it to a file at the same time that it is

Re: [PHP] outputting lines from file(file.php)

2001-05-23 Thread George E. Papadakis
hm.. Is include () or require () what you are talking about or I am wrong? -- GP I have read in the lines from a php file into a $buff. Each line is set and the total corresponds to the number of lines in the file. But trying to ouput the lines results in blank lines. do I have to

Re: [PHP] Problems with mail() function

2001-05-23 Thread Tolga \thorr\ Orhon
I had smilar problems before and found out that I missed some \ns. It seems that you missed a \n at the end of headers. That might be a reason. Another solution might be replacing \ns with \r\n. I heard in newsgroups and in some documentations that this might be problem in some systems. I

[PHP] Virtual Host document directory.

2001-05-23 Thread Richard Quadling
Hi. I am using Sambar Server on Win98SE, PHP 4.0.5. All is well. The server supports virtual hosts. I am not sure of the terminology outside of Sambar, but effectively, I can go to my browser and enter ... local.site1.com local.site2.com etc. And get different sites. I have a set of PHP

[PHP] Virtual Hosts document root directory.

2001-05-23 Thread Richard Quadling
Hi. I am using Sambar Server on Win98SE, PHP 4.0.5. All is well. The server supports virtual hosts. I am not sure of the terminology outside of Sambar, but effectively, I can go to my browser and enter ... local.site1.com local.site2.com etc. And get different sites. I have a set of PHP

Re: [PHP] Web Server processing question

2001-05-23 Thread RockMonkey
Ok. A simplified version of the subroutines (still with the same problem though): function SimpleList($Data,$MaxStats = 10,$Heading = nbsp;) { if (is_array($Data)) { $Output = ; $Output .= SimpleItem($Heading,,2); foreach ($Data as $Player = $Qty) { $Output .=

Re: [PHP] PHP XML Parsing

2001-05-23 Thread Peter Dudley
Interesting.. So to be consistent with proper XML formatting, should the server hosting the XML file convert the into amp; ? It depends on the situation, I believe. The server that sends you XML should indeed provide you well-formed XML, which it's not doing. Probably what should happen

Re: [PHP] outputting lines from file(file.php)

2001-05-23 Thread Dennis Gearon
No, I am trying to make an online configuration/editor program. It reads in an XML formatted PHP file and ouputs the configuration of a state machine via a page on the web. With some simple mouse clicks, one will be able to program the desired behavior of the program. The XML formatting is

Re: [PHP] writing to file quick and easy.

2001-05-23 Thread Chris Lee
sure this is not complicated, this is easy :) ?php $filename = '/dl/filename.txt'; echo put some font size='+2'HTML/font in here, anything you put here, will goto the file too.br a href='$filename'Download/a ; $file = fopen($DOCUMENT_ROOT$filename, 'w+'); fwrite($file,

[PHP] ereg questions

2001-05-23 Thread Ker Ruben Ramos
How do i change all 'a href=anything/here.html' to 'a href=file.php?file=anythinghere.php' any help out there?

Re: [PHP] Web Server processing question

2001-05-23 Thread RockMonkey
Firstly, I narrowed it down to the following code: $Output = SimpleItem($Heading,,true); foreach ($TopList as $Player = $Qty) { nbsp; nbsp; $Output .= SimpleItem(WebLink(nbsp; $Player,csstats.php?id= . $PlayerStats[DETAILS][ID][$Player],bar' style='CURSOR:crosshair;),$Qty); } print $Output;

[PHP] MSSQL7

2001-05-23 Thread Daniel Guerrier
Is it possible to import one MSSQL7 DB to another if they were installed using different sort orders? If yes, how? __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ -- PHP General Mailing List

Re: [PHP] ereg questions

2001-05-23 Thread Ker Ruben Ramos
hmm, got a little question. 1. what's that \\1 and \\2? got any info on where u got that from? 2. what if it's just href=anything.html ? i mean.. something like it got lots of subdirectories or not. Thanks - Original Message - From: Mark Maggelet [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: [PHP] OT PHP Manuals

2001-05-23 Thread Yasuo Ohgaki
All forms of PHP Manuals are created from XML source. DocBook and DSSSL is used for that. (It is described at the beginning of the manual.) You can get XML source from CVS, if you want. Joseph Blythe wrote: Hey all, Just was wondering if anyone knew what was used to make the php manuals

[PHP] Re: Can you help me with this: Bug #11055: segmentation fault core dump during make

2001-05-23 Thread Markus Fischer
Sorry no, never touch sybase yet. - Markus On Wed, May 23, 2001 at 04:58:53PM +0200, [EMAIL PROTECTED] wrote : From: [EMAIL PROTECTED] Operating system: linux 2.2.14 (RH 6.2) PHP version: 4.0.5 PHP Bug Type: Sybase-ct (ctlib) related Bug description:

Re: [PHP] CVS problem

2001-05-23 Thread Yasuo Ohgaki
Nicholas wrote: whenever i try to run this cvs command i get this cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/best-board/devel init Protocol error: Root request missing wtf am i doing wrong what do i do .. thanks (note this is FOR a php program..) Why do you use init command? Unless you

[PHP] setting session.gc_probability

2001-05-23 Thread Johnson, Kirk
OK, we're having an argument in our shop. This is what the manual says about garbage collection: session.gc_probability specifies the probability that the gc (garbage collection) routine is started on each request in percent. Defaults to 1. Somebody here says that a value of 1 means 100%, i.e.,

Re: [PHP] session_unset() and session_destroy()

2001-05-23 Thread Yasuo Ohgaki
Arcady Genkin wrote: I don't think that I grasp the difference between session_unset() and session_destroy() functions. Would anyone explain? session_unset() frees session vars from memory. session_destroy() delete session from session storage. If you do session_unset(), it will results

RE: [PHP] advice on 'Nusphere Mysql Package' appreciated

2001-05-23 Thread scott [gts]
Linux Mandrake (8.0) is extremely easy to install, (it's a complete linux distrib, based off of RedHat, so you can install it onto a clean machine) the install is *very* interactive and it comes fully loaded with almost everything you could want, and is free get the ISO's at :

RE: [PHP] php 4.0/win 2000/sql server

2001-05-23 Thread scott [gts]
what else is running on the Win2k machine? what kind of HTTP server? if you're running IIS/MS-SQL server, i'd hazard a guess that it's probably *those* programs that are slowing the computer down. i use Win2000/PHP/MySQL for local development (after which i upload the scripts to a linux

  1   2   >