RE: [PHP] Mail()

2001-08-13 Thread Mahmoud Kassem
I have the arrows my code is : $headers .= Return-Path: [EMAIL PROTECTED]\n; $headers .= Errors-To: [EMAIL PROTECTED]\n; $headers .= X-Sender: Abkareno [EMAIL PROTECTED]\n; $headers .= From: \.$fname. .$lname.\ .$emailfrom.\n; $headers .= Reply-To: .$fname. .$lname. .$emailfrom.\n; $headers .=

[PHP] component library

2001-08-13 Thread lolodev news php
as cold fusion (custom tags), can i made some component to reuse in all my script ? is a function visible every where in PHP ? can i developp a script with a name, and call this script by an include function and passing parameters ? -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Mail()

2001-08-13 Thread Mahmoud Kassem
THe same .. did not make a difference .. for php.ini settings : I am on a virtual hosting .. so I do not have access to the php.ini file -Original Message- From: karthik [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 9:43 AM To: Mahmoud Kassem Subject: Re: [PHP] Mail() Hi Try

Re: [PHP] component library

2001-08-13 Thread Rasmus Lerdorf
as cold fusion (custom tags), can i made some component to reuse in all my script ? ?custom_tag()? is a function visible every where in PHP ? Yes can i developp a script with a name, and call this script by an include function and passing parameters ? You don't need to pass parameters

[PHP] variable $PATH_INFO

2001-08-13 Thread lolodev news php
why can i read PATH_INFO server variable with apache under windows server ? with IIS 5 it's OK how can i ? ? print $PATH_INFO ? - Warning: Undefined variable: PATH_INFO in e:\sitephp\php_edit\htdocs\var.php on line 3 -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Meta Tags and Regular Expressions

2001-08-13 Thread Renze Munnik
On Fri, Aug 10, 2001 at 01:29:26PM -0400, Kyle Mathews wrote: Hello: I'm looking for a good way to pull information from a static HTML file for dumping into a database. I need to pull the information from a META tag, and from within two comments in the HTML file. I know this can be done

Re: [PHP] Having my script login to a secure area of another site.....

2001-08-13 Thread Renze Munnik
On Fri, Aug 10, 2001 at 03:24:07PM -0700, Evan Nemerson wrote: Try messing with the query string, and emulate a GET request. For instance $uri = http://www.somewhere.com/secure.php?username=bobpassword=linuxrocks;; $theFile = implode(\n,file($uri)); echo $theFile; Using/emulating GET for

[PHP] Simple question (what's ISAPI ?)

2001-08-13 Thread Tribun
Hi folks. Can someone tell me what ISAPI is? I've requested how I could run PHP faster, if 20 USER's access my files at the same time. In my case, PHP run's the php.exe (ca. 5 MB) every time seperatly, and this eats my win-resources! Someone guides me to use it as an ISAPI module but

[PHP] php 4.0.6 and imap support

2001-08-13 Thread Jason Rennie
Hi all, I tried to find an answer to this but nothing seemed to work. I need to build php 4.0.6 with imap support. I'm running redhat 7.1 and have build and installed the imap-2000-9 rpm's (including devel), php will build correctly but complains about an undefined symbol mxdriver. Has the

[PHP] posix_getpwnam

2001-08-13 Thread Tom Kubi
Hi, I`m using function posix_getpwnam. Its works correctly. But The result for param passwd is only "x". I know why is it. Because i have save unix users passwords in shadow file,not in passwd file, there is only "x". Is there some function,which param is encrypted(MD5) password in PHP? I

Re: [PHP] posix_getpwnam

2001-08-13 Thread Daniel Rezny
Hello Tom, Monday, August 13, 2001, 10:23:16 AM, you wrote: TK Hi, TK I`m using function posix_getpwnam. Its works correctly. But The result for TK param passwd is only "x". I know why is it. Because i have save unix users TK passwords in shadow file,not in passwd file, there is only "x". TK

RE: [PHP] Re: Socket problem

2001-08-13 Thread Jon Farmer
Hmm well I has this problem on a FreeBSD box and as soon as I moved it to a RedHat7 box it worked. Jon Farmer Systems Programmer Entanet International Ltd www.enta.net Tel 01952 428969 Mob 07968 524175 -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED]] Sent: 12 August

Re: [PHP] plz check the warning message

2001-08-13 Thread Balaji Ankem
Hi! Renze, Thanks a lot for u'r help. I am in vacation up to now. Now i am trying with u'r solution. I am getting the following error. I am sending the file also. Warning: Cannot send session cache limiter - headers already sent in c:\www\authentication.php on line 34

Re: [PHP] Simple question (what's ISAPI ?)

2001-08-13 Thread Phil Driscoll
On Monday 13 August 2001 08:46, Tribun wrote: Hi folks. Can someone tell me what ISAPI is? It's microsoft's API for running software in IIS. I've requested how I could run PHP faster, if 20 USER's access my files at the same time. Using ISAPI means that php stays alive while the server is

Re: [PHP] plz check the warning message

2001-08-13 Thread Renze Munnik
On Mon, Aug 13, 2001 at 02:01:59PM +0530, Balaji Ankem wrote: Hi! Renze, Thanks a lot for u'r help. I am in vacation up to now. Now i am trying with u'r solution. I am getting the following error. I am sending the file also. Warning: Cannot send session cache limiter - headers

[PHP] RE: Reliable PHP web hosts

2001-08-13 Thread Pere Vineta
I'm quite happy with SiteTurn. You can check them out through www.siteturn.com Pere -- 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] something about the documentation

2001-08-13 Thread Yamin Prabudy
Hi there there is something missing in the documentation. in this case is about mysql here is the source that i paste from the website -- $link = mysql_connect(mysql_host, mysql_login, mysql_password) or die (Could not connect); print (Connected

Re: [PHP] something about the documentation

2001-08-13 Thread Rasmus Lerdorf
The $link argument is optional. If you don't specify one it will just use the last one created. -Rasmus On Mon, 13 Aug 2001, Yamin Prabudy wrote: Hi there there is something missing in the documentation. in this case is about mysql here is the source that i paste from the website

[PHP] IE Download twice from DB - MAJOR disaster to db users

2001-08-13 Thread Ben-Nes Michael
Hi - All db users read this !! I know it download it twice because in Netscape it take half of the time and also I see it start in the left bottom bar. I read that IE first read the headers fully ( including the file ) and then ask it again for opening. While Netscape read the file only once.

[PHP] Apache/PHP File Upload problems

2001-08-13 Thread Martin Laws
I have a server running SuSE Linux Pro V7.0 (with security patches) , Apache 1.3.19 , and PHP 3.0.17-dev. The database engine I am using is MySQL 3.22.32 (not relevant for this problem though). I am trying to get file uploads working to the server, I currently have a page which is written in PHP

[PHP] Re: it works at last!

2001-08-13 Thread Steve Brett
oh dear. Steve [EMAIL PROTECTED] [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Okay I got it working! http://www.futurebird.com/wordstream/index.php3 go on give it a try! Susan -- [EMAIL PROTECTED] http://futurebird.diaryland.com -- PHP General Mailing List

RE: [PHP] Mail()

2001-08-13 Thread Maxim Maletsky
Try using .htaccess or ini_set() - perhaps this will help you when on shared server. regards, Maxim Maletsky -Original Message- From: Mahmoud Kassem [mailto:[EMAIL PROTECTED]] Sent: Monday, August 13, 2001 4:12 PM To: karthik Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Mail() THe same

[PHP] PHP and SMS

2001-08-13 Thread ahmad varoqua
Hello everyone, Has anyone used php to implement SMS (short message service) on a site? I found something on simplewire.com but I was wondering what other options are available? I couldn't find anything in the archives or on php.net so I appreciate any help or leads in this area. --ahmad --

Re: [PHP] Using fsockopen()

2001-08-13 Thread David Ovens
Thought I would repost, does anyone have a solution ? I am using php, apache on a windows system. - Original Message - From: "David Ovens" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 13, 2001 1:26 AM Subject: [PHP] Using fsockopen() I am making a program, that uses

Re: [PHP] Using fsockopen()

2001-08-13 Thread Tim
Is the timeout coming from fsockopen() or from the program using too much time? I've used @fsockopen() before without any issues (at least on Linux and Solaris), but if your script is running for a long time, you may need to tweak the execution time limit:

[PHP] MySQL

2001-08-13 Thread Roman
Please help me. How can I run mysql daemon on RedHat Linux. I install db with script mysql_install_db. roman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

RE: [PHP] MySQL

2001-08-13 Thread Jon Farmer
if you mean how do you get mysqld to startup automatically then you need to call mysql.server start at bootup Regards Jon Jon Farmer Systems Programmer Entanet International Ltd www.enta.net Tel 01952 428969 Mob 07968 524175 -Original Message- From: Roman [mailto:[EMAIL PROTECTED]]

[PHP] prob with session start

2001-08-13 Thread Balaji Ankem
Hi! friend, I want to start session if authentication is succesfull means if he is a valid user. Then what i have to do Renze?? Thanks in advance. With warm regards -Balaji - Original Message - From: Renze Munnik To: Balaji Ankem Cc: [EMAIL PROTECTED] Sent:

[PHP] session_start() problem

2001-08-13 Thread Aniceto Lopez
lines in the acceso.php file: 27 session_name(primera); 28 session_start(); 29 session_register(sesionvar); 30 $HTTP_SESSION_VARS[sesionvar] = fulanito; what I get in the browser: Warning: Cannot send session cookie - headers already sent by (output started at

Re: [PHP] Using fsockopen()

2001-08-13 Thread David Ovens
this is my fsockopen satement it will check about 4/5 urls and then time out (exceed 30 second timeout error) on the 5/6 url, I have no idea, why my program wont continue checking all the urls in one go. $socket = @fsockopen($urlArray[host], $urlArray[port], $errnum, $errstr, 100); -

Re: [PHP] session_start() problem

2001-08-13 Thread Richard Baskett
Did you make sure everything below is BEFORE the html tag? Also you can just set the variable $sesionvar like this: $sesionvar = fulanito; instead of $HTTP_SESSION_VARS[sesionvar] = fulanito; lines in the acceso.php file: 27 session_name(primera); 28 session_start(); 29

Re: [PHP] Using fsockopen()

2001-08-13 Thread David Ovens
so far by increasing the set_tim_limit function it seems to have cured my problem. I shall see how it goes. Thanks Dave - Original Message - From: Tim [EMAIL PROTECTED] To: David Ovens [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, August 13, 2001 11:55 AM Subject: Re: [PHP]

Re: [PHP] Using fsockopen()

2001-08-13 Thread Tim
Try doing set_time_limit(0); at the start of your script and see if that makes a difference. - Tim On 13 Aug 2001 12:00:24 +0100, David Ovens wrote: this is my fsockopen satement it will check about 4/5 urls and then time out (exceed 30 second timeout error) on the 5/6 url, I have no

[PHP] Re: prob with session start

2001-08-13 Thread Renze Munnik
On Mon, Aug 13, 2001 at 04:33:49PM +0530, Balaji Ankem wrote: Hi! friend, I want to start session if authentication is succesfull means if he is a valid user. Then what i have to do Renze?? Thanks in advance. With warm regards -Balaji I think (haven't got time to test it) you

[PHP] Re: Form help

2001-08-13 Thread Johannes Janson
Hi, input type=checkbox name=sif_? echo $wponud[6]; ? value=1 I'd do it like this: inpuut type=checkbox name=magazines[] Value=?php echo $wpound[6]; ? Now you have an array containing all the checked magazines. To get and write them into the DB you could use implode() in combination with a

[PHP] thanks all sesion_start problem

2001-08-13 Thread Aniceto Lopez
Ok. Richard was right, the php code was placed in the middle of the html. I place it at the beguining oh the file (before html) and it works. Thanks Thanks also Daniel for your advice: first use session_start() and than session_name Did you make sure everything below is BEFORE the html tag?

Re: [PHP] Using fsockopen()

2001-08-13 Thread i_union
Hi All I'm new in this forum and this is a test message if you recived it please only reply this message . Thanks in advance _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List

[PHP] Test

2001-08-13 Thread i_union
hi all I'm new in this forum and this is a only test message if you recieved it please only reply this message thsnks in advance

RE: [PHP] IE Download twice from DB - MAJOR disaster to db users

2001-08-13 Thread Maxim Maletsky
why don't you do some testing first. write these two lines: ? mail( '[EMAIL PROTECTED]', 'visiting myself', Sucked off $PHP_SELF on $HTTP_USER_AGENT ); sleep(2); // just for the sake of it ? go to the page with several different browsers and catch your emails, see

[PHP] email newsletter with MySQL - help please!

2001-08-13 Thread Herman Pijpers
Being a rather new to php I find myself completely stuck on a script which is possibly a piece of cake for most of you: I want to set up a weekly ezine. Both email addresses and news articles will be retrieved from two separate MySQL tables called subscribers and newsarticles. I put together

[PHP] Results of survey I asked

2001-08-13 Thread Gerry Kirk
Earlier, I asked some questions about what you use in developing PHP applications. First, the questions, and then the answers: Questions 1. Code libraries used: a) Metabase (for database abstraction) b) PHPLib c) PEAR d) BinaryCloud e) other 2. What code editor do you use? 3. How many are

[PHP] Having trouble with PHP exec function calling CGI program

2001-08-13 Thread Tony Frasketi
Hello list members I'm a newbie and having trouble with the EXEC function call from a PHP script. I've submitted this problem to the list last week but so far no response. And I still haven't figured it out. So here goes again. PHP EXEC function seems to work ok for executing shell commands like

[PHP] How to get the query string?

2001-08-13 Thread Tamas Bucsu
hi guys, I'd like to get the query string the browser sends to the script. The problem is that since the $HTTP_POST_VARS (or $HTTP_GET_VARS ) is an associative array I can't use numbers to point to the elements of this array. This piece of code does not work: for

[PHP] Site Stats/Server Logs

2001-08-13 Thread ReDucTor
what are some good things for analyising server logs?!? I currently have Wusage, is there any better?!? :D - James ReDucTor Mitchell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] email newsletter with MySQL - help please!

2001-08-13 Thread Richard Baskett
Try something like: ?php $listquery = SELECT emailaddress FROM subscribers; $listresult = mysql_query($listquery); $newsquery = SELECT * FROM newsarticles; $newsresult = mysql_query($newsquery); while($listrow = mysql_fetch_array($listresult)) { $newsrow = mysql_fetch_array($newsresult))

[PHP] Interbase lob field on the web

2001-08-13 Thread alex.tesi
Hi i have a problem printing a lob field containing an image. The database i use is Interbase 6.0 I have a blob/lob field with a gif image inside an i like to print this image on the web. Can you help me? Bye Alessandro

Re: [PHP] Site Stats/Server Logs

2001-08-13 Thread Tim
I'm rather fond of Webalizer. - Tim On 13 Jul 2001 23:07:46 +1000, ReDucTor wrote: what are some good things for analyising server logs?!? I currently have Wusage, is there any better?!? :D - James ReDucTor Mitchell -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Mail()

2001-08-13 Thread Michael Geier, CDM Systems Admin
your MTA is setting the envelope, not your script. if you are using sendmail, look at the -f flag in the man sendmail page. then modify your php.ini file. Or possibly even set the variable (sendmail_path) inside of your script to include the -f flag. -Original Message- From:

Re: [PHP] How to get the query string?

2001-08-13 Thread Renze Munnik
On Mon, Aug 13, 2001 at 03:06:48PM +0200, Tamas Bucsu wrote: hi guys, I'd like to get the query string the browser sends to the script. The problem is that since the $HTTP_POST_VARS (or $HTTP_GET_VARS ) is an associative array I can't use numbers to point to the elements of this array. This

RE: [PHP] How to get the query string?

2001-08-13 Thread Taylor, Stewart
foreach ($HTTP_POST_VARS as $key=$value) { echo $key = $value; } -Stewart -Original Message- From: Tamas Bucsu [mailto:[EMAIL PROTECTED]] Sent: 13 August 2001 14:07 To: [EMAIL PROTECTED] Subject: [PHP] How to get the query string? hi guys, I'd like to get the query string the

[PHP] Question about grant user right to MySql

2001-08-13 Thread Jack
Sorry, all, but i couldn't fine any Mysql News group around, so i sent this message here, as i found php got a close relationship with mysql. could someone pls tell me how i can grant a user to logon to the database from any computer around the office? i had read a book and the book told me to

Re: [PHP] Having trouble with PHP exec function calling CGI program

2001-08-13 Thread Lara J. Fabans
Hi, Tony, I'm a middlebie, and I have the same problem. From the archives, I found the following suggestions from Richard Lynch: Does it work perfectly from the command line if you su to nobody (or whomever PHP runs as) before you execute it? Is it world executable? Does it access resources

Re: [PHP] new one is it ??

2001-08-13 Thread Tim
Boy that looks familiar...my (apache) logs are full of 'em. I wonder if we can make a PHP script called default.ida that sends back a big chunk of data and causes the worm to get a buffer overflow? :) :) - Tim (glad I don't run IIS :) On 13 Aug 2001 22:27:06 +0800, Mark Lo wrote:

[PHP] URL Rewrite Problems...

2001-08-13 Thread Brendan P. Caulfield
Hello Everyone, I have recently written a script to change htpasswd via a web interface. The script is running fine, but all of the variables (by default) are being sent in the url. I have not called any of the URL functions, so I am not exactly sure why this is happening. Is there

Re: [PHP] URL Rewrite Problems...

2001-08-13 Thread Tyler Longren
You forgot to add a method=POST into your form tag. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Mon, 13 Aug 2001 09:35:39 -0500 Brendan P. Caulfield [EMAIL PROTECTED] wrote: Hello Everyone, I have recently written a script to change htpasswd via a

RE: [PHP] Mail()

2001-08-13 Thread Mahmoud Kassem
I said before I do not have access to the php.ini I am on a virtual Hosting ... -Original Message- From: Michael Geier, CDM Systems Admin [mailto:[EMAIL PROTECTED]] Sent: Monday, August 13, 2001 4:43 PM To: Mahmoud Kassem; ReDucTor Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Mail() your

[PHP] The secrecy of PHP code

2001-08-13 Thread James Shaker
Greetings, How safe is the code written in PHP? For instance, if I have an equation or some algorithm with some constants for calculations and I code them in PHP for use on a website are they safe from being viewed or taken? Thanks James -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Question about grant user right to MySql

2001-08-13 Thread René Moonen
Try these links for MySQL news: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) Best Regards René Jack wrote: Sorry, all, but i couldn't fine any Mysql News group around, so i sent this message here, as i found php got a close

Re: [PHP] The secrecy of PHP code

2001-08-13 Thread Tyler Longren
The only real way to see the php code is if you don't have the webserver set to parse the code...then it will just be displayed on the page (or downloaded). If you're really paranoid, you can get a tool to encrypt your php code. There's some free ones, but here's a costly one that I know of:

RE: [PHP] new one is it ??

2001-08-13 Thread scott [gts]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 what about something like this ? (just configure apache to have PHP handle *.ida files) ? // this is so our script won't time out set_time_limit(0); // how many bytes of junk to generate $jsize = 1024 * 10; // how many times to print $junk $jout

RE: [PHP] The secrecy of PHP code

2001-08-13 Thread scott [gts]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 they are kinda safe if the webserver is the only way that your files can be viewed if people can log into the machine, they could just view the plaintext of your PHP script. hint: security thru obscurity is not secure. -Original

RE: [PHP] Having trouble with PHP exec function calling CGI program

2001-08-13 Thread scott [gts]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 it could be that the webserver chroot()'s to some secure path, and thus your script cannot find `date`. perhaps all you have to do is to copy the binaries that you need into the safe directory (if you can first find out where the server is

RE: [PHP] new one is it ??

2001-08-13 Thread Scott Brown
Unfortunately, you're punishing the infected person, rather than the instigator of the worm. I've read of people developing perl scriptlets that basically hold the connection open as long as possible by fooling the other side into thinking that it's got a host it's infecting... thereby slowing

[PHP] variable variables and eval

2001-08-13 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, i have come across a strange problem with variable variables. Basicly i'm doing the following and its not working: $section = 'data[SITE][0][NAME][0]'; $pData = 'My Site.'; ${sprintf('$%s', $section)}.=$pData; but it is not working. But if

RE: [PHP] new one is it ??

2001-08-13 Thread scott [gts]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 you could, of course, throw a few sleep() stmnts in there to get the script to output a few bytes every few seconds and keep the connection active... :-) -Original Message- From: Scott Brown [mailto:[EMAIL PROTECTED]] Subject: RE: [PHP]

[PHP] OOP message board

2001-08-13 Thread hassan el forkani
hi does anybody know of a message board written in OOP style? thanks for helping; regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] session_start() part II

2001-08-13 Thread Aniceto Lopez
ok, let's have this in the right place in a file named startsesion.php i.e. session_start(); session_name(mysesion); session_register(myvar); $myvar = whatever; a SID is generated autmaticaly I've been trying to echo the values of the var defined and the SID generated in another php file

Re: [PHP] session_start() part II

2001-08-13 Thread Renze Munnik
On Mon, Aug 13, 2001 at 04:57:08PM +0200, Aniceto Lopez wrote: ok, let's have this in the right place in a file named startsesion.php i.e. session_start(); session_name(mysesion); session_register(myvar); $myvar = whatever; a SID is generated autmaticaly I've been trying to echo

RE: [PHP] Mail()

2001-08-13 Thread Michael Geier, CDM Systems Admin
rather than be rude about it, try reading the whole message and then looking through the PHP documentation. http://www.php.net/manual/en/function.ini-set.php === ini_set (PHP 4 = 4.0RC1) ini_set -- Set the value of a configuration option

[PHP] RE: Reliable PHP web hosts

2001-08-13 Thread Dan Pierce
Does anyone have any experience with www.linuxwebhost.com or www.addr.com? Dan Pierce Web Developer Saturn Systems -Original Message- From: Pere Vineta [mailto:[EMAIL PROTECTED]] Sent: Monday, August 13, 2001 3:53 AM To: [EMAIL PROTECTED] Subject: RE: Reliable PHP web hosts I'm quite

RE: [PHP] new one is it ??

2001-08-13 Thread Mark Roedel
-Original Message- From: Tim [mailto:[EMAIL PROTECTED]] Sent: Monday, August 13, 2001 9:38 AM To: Mark Lo Cc: php general Subject: Re: [PHP] new one is it ?? Boy that looks familiar...my (apache) logs are full of 'em. I wonder if we can make a PHP script called default.ida

[PHP] re: IE double download

2001-08-13 Thread Bill Rausch
I read that IE first read the headers fully ( including the file ) and then ask it again for opening while Netscape read the file only once. This description matches what I've seen. Here's what I've come up with that seems to work for IE and Netscape on Windows and Mac. //$y is the full

[PHP] session_start() part III

2001-08-13 Thread Aniceto Lopez
I guess Renze, I have to use session_start() in the file where I want to output data from the session All this questions about session are generated because I want to control the acces to some of the web pages in a site so only accesible to registered visitors. Ok name user and password are

Re: [PHP] session_start() part II

2001-08-13 Thread Richard Baskett
On the second page before the html tag write: ? session_name(mysession); session_start(); ? and then go ahead and echo your $myvar; ok, let's have this in the right place in a file named startsesion.php i.e. session_start(); session_name(mysesion); session_register(myvar); $myvar

Re: [PHP] session_start() part III

2001-08-13 Thread Renze Munnik
On Mon, Aug 13, 2001 at 05:39:47PM +0200, Aniceto Lopez wrote: I guess Renze, I have to use session_start() in the file where I want to output data from the session All this questions about session are generated because I want to control the acces to some of the web pages in a site so only

[PHP] general digest unreadable

2001-08-13 Thread FOTOPROP International
Dear PHP friends I received the first general digest newsletters but am unable to read it properly. I receive an empty message with a txt file (index) and a big number of files with extension ezm attached. What I have to do to receive the digest in a proper format? Im using Microsoft Outlook

RE: [PHP] RE: Reliable PHP web hosts

2001-08-13 Thread Dan Pierce
They're one of the cheapest I've found so far. I'm looking for a host that will allow me to have multiple mySQL databases without charging me extra. linuxwebhost.com allows as many as your disk space allows. Dan Pierce Web Developer Saturn Systems -Original Message- From: Gonyou,

Re: [PHP] session_start() part III

2001-08-13 Thread Richard Baskett
When you named your session by using session_name(mysession) you renamed your session from PHPSESSID to mysession. You do not need to destroy each session when someone closes the browser out. If you do not, the persons session will be stored in a temp folder on the php server and once in awhile

[PHP] ucwords Except 'The' 'And' etc?

2001-08-13 Thread Jeff Oien
Is there a prewritten function for capitalizing the first letter of each word in a string except for the common words you wouldn't want to capitalize in a title? Like Come Learn the Facts From an Industry Leader Thanks. Jeff Oien -- PHP General Mailing List (http://www.php.net/) To

[PHP] session_questions() part IV

2001-08-13 Thread Aniceto Lopez
Renze asked: how would you detect whether or not someone has closed his browser? (session is over then) Do I realy need to know this to let or not a registered user navigate some restricted web pages? Aniceto Lopez -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

RE: [PHP] ucwords Except 'The' 'And' etc?

2001-08-13 Thread Boget, Chris
Is there a prewritten function for capitalizing the first letter of each word in a string except for the common words you wouldn't want to capitalize in a title? Like Come Learn the Facts From an Industry Leader None that I've seen. But it wouldn't be hard to write a function that takes a

[PHP] Using PHP to log into a site

2001-08-13 Thread Brandon Orther
Hello, I am looking for a way to have my script log into a site that use an html form to enter the username and password. Then after it has logged in I need to emulate a form ussing sockets or curl. If you have done this or have an idea how I could do this, thanks ahead of time for the

Re: [PHP] ucwords Except 'The' 'And' etc?

2001-08-13 Thread Richard Baskett
http://www.php.net/manual/en/function.ucwords.php You can read all about the limit of this function, but this is the closest thing to what you're looking for. Rick Is there a prewritten function for capitalizing the first letter of each word in a string except for the common words you

Re: [PHP] charset win1251

2001-08-13 Thread BRACK
Hi Maxim, You are probably only one in this mailing list with experiance of work with russian language in PHP, I have another qwestion concerning Opera and textarea - I can't make Opera to accept cyrillic text in textareas, I mean I can type in Russian but can't insert russian text (tried

Re[2]: [PHP] charset win1251

2001-08-13 Thread Maxim Derkachev
Hello BRACK, Monday, August 13, 2001, 8:12:42 PM, you wrote: B You are probably only one in this mailing list with experiance of B work with russian language in PHP, I have another qwestion B concerning Opera and textarea - I can't make Opera to accept B cyrillic text in textareas I'm sorry,

[PHP] ICMP Ping

2001-08-13 Thread James Crowley
Hi, Is there any way to send an ICMP ping (or packet) from PHP? (without using exec(ping)!!) Regards, - James Editor, VB Web == Web - http://www.vbweb.co.uk Email - [EMAIL PROTECTED] ICQ# - 60612011 Fax - +44(0)8707052859 == -- PHP General

Re: [PHP] RE: Reliable PHP web hosts

2001-08-13 Thread Jan Wilson
* Dan Pierce [EMAIL PROTECTED] [010813 09:24]: Does anyone have any experience with www.linuxwebhost.com or www.addr.com? I have been using linuxwebhost for most of my websites during the past year. I am generally satisfied, though I have been waiting for a reply from tech support on some

RE: [PHP] Mail()

2001-08-13 Thread Mahmoud Kassem
I tried using the ini_set() but did not affect .. Can you tell me the commands I should use? - for the .htaccess : I only few knowledge about using .htaccess, so can you tell me what to write in the .htaccess file ? Thanks Mahmoud -Original Message- From: Maxim Maletsky [mailto:[EMAIL

[PHP] new one is it ??

2001-08-13 Thread Mark Lo
208.251.146.123 - - [13/Aug/2001:22:24:27 +0800] GET /default.ida?NNN

Re: [PHP] new one is it ??

2001-08-13 Thread Tyler Longren
No, that's the rather old one. That would be CR1. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Mon, 13 Aug 2001 22:27:06 +0800 Mark Lo [EMAIL PROTECTED] wrote: 208.251.146.123 - - [13/Aug/2001:22:24:27 +0800] GET

Re: [PHP] IE Download twice from DB - MAJOR disaster to db users

2001-08-13 Thread Ben-Nes Michael
very amusing indeed. Go learn php and when youll have answer send it or stfu. you might start with your own site: www.PHPBeginner.com and then go to http://logos.uoregon.edu/explore/socioling/politeness.html to learn how to behave ! Its amazing how many people are rude ! - Original

[PHP] Re: new one is it ??

2001-08-13 Thread hari_bhr
get MS Patches from http://www.digitalisland.com/codered/ - Original Message - From: Mark Lo [EMAIL PROTECTED] To: [EMAIL PROTECTED]; php general [EMAIL PROTECTED] Sent: Monday, August 13, 2001 7:57 PM Subject: new one is it ?? 208.251.146.123 - - [13/Aug/2001:22:24:27 +0800] GET /d

[PHP] Re: new one is it ??

2001-08-13 Thread Ezra Nugroho
That's code red atack. Apache will be ok. At 10:27 PM 8/13/2001 +0800, Mark Lo wrote: 208.251.146.123 - - [13/Aug/2001:22:24:27 +0800] GET /default.ida?NNN

[PHP] autoconf bugs

2001-08-13 Thread Daniel Adams
Anyone know why I get this when I run buildconf for php or phpgtk on redhat 7.1? I have autoconf 2.13 autoconf: Undefined macros: ***BUG in Autoconf--please report*** AC_LANG_PUSH ***BUG in Autoconf--please report*** AC_LANG_POP ***BUG in Autoconf--please report*** AC_LANG_PUSH ***BUG in

RE: [PHP] new one is it ??

2001-08-13 Thread Tim
That's pretty cool. Alas, the 'whois' part of the code doesn't work properly (at least on my system). - Tim On 13 Aug 2001 10:21:45 -0500, Mark Roedel wrote: I rather liked this approach that I saw posted in another list: http://www.klippan.seths.se/default.phps (Does some

[PHP] Re: [PHP-GTK] autoconf bugs

2001-08-13 Thread Markus Fischer
What libtool version are you using ? libtool --version - Markus On Mon, Aug 13, 2001 at 12:57:42PM -0400, Daniel Adams wrote : Anyone know why I get this when I run buildconf for php or phpgtk on redhat 7.1? I have autoconf 2.13 autoconf: Undefined macros: ***BUG in Autoconf--please

[PHP] Re: [PHP-GTK] autoconf bugs

2001-08-13 Thread Daniel Adams
1.4b On Mon, 13 Aug 2001, Markus Fischer wrote: What libtool version are you using ? libtool --version - Markus On Mon, Aug 13, 2001 at 12:57:42PM -0400, Daniel Adams wrote : Anyone know why I get this when I run buildconf for php or phpgtk on redhat 7.1? I have autoconf 2.13

[PHP] Re: [PHP-GTK] autoconf bugs

2001-08-13 Thread Markus Fischer
There it is. You need 1.4 . No trailing a or b or whatsoever. - Markus On Mon, Aug 13, 2001 at 01:20:50PM -0400, Daniel Adams wrote : 1.4b On Mon, 13 Aug 2001, Markus Fischer wrote: What libtool version are you using ? libtool --version - Markus On Mon, Aug 13, 2001 at

RE: [PHP] Mail()

2001-08-13 Thread Mahmoud Kassem
Sorry .. I read the doc. and I tried sendmail_from and _path but did not affect also I tried to use a seperate function (directly through Sendmail) but did not work (I did not get any emails) -Original Message- From: Michael Geier, CDM Systems Admin [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] new one is it ??

2001-08-13 Thread billfarr
Way cool... with a bit of work, one could query ARIN, RIPE, and APNIC until an answer was received (that's what I'm modifying it to do) else die. With the timeout set to forever, what would we care if it takes a few extra seconds to go spy-out a potential

  1   2   >