RE: [PHP] Login verification

2001-11-12 Thread Jack Dempsey
i would think you could just use crypt() to check the pass against what you read in from the file -Original Message- From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]] Sent: Monday, November 12, 2001 2:27 AM To: PHP-General List Subject: [PHP] Login verification I want to make a

[PHP] Re: mail() w/ mailing lists

2001-11-12 Thread Henrik Hansen
[EMAIL PROTECTED] (_lallous) wrote: Hello, Is is advisable that I mail lots of users from a database via one call to mail() ? why not make a loop and send to one email at a time. if you have over 1000 I would use something else than mail(), ex direct to smtp with sockets. Is there is

RE: [PHP] Everything between something becomes an array element

2001-11-12 Thread ArsenKirillov
U question was : Everything __between something___ becomes an array element What is wrong with answer : tag[1]= tdtabletrtdfoo/tdtdbar/td/tr/table tag[2]= tdfoo/tdtdbar/td :-))) AK-Original Message- AKFrom: Andrey Hristov [mailto:[EMAIL PROTECTED]] AKSent: Tuesday, November 06, 2001

[PHP] imap_mail_compose correct?

2001-11-12 Thread Martin Gutbrod
Hello, does anybody have experience with function imap_mail_compose() ?? There is an example in the documentation but in my script the description doesn't work. So the filename of the attachement is not avaliable. And why starts the $body-Array with $body[1] and not with body[0] ? Martin The

[PHP] Unix timestamp ?

2001-11-12 Thread De Necker Henri
What is the max. size of a timestamp in vanchar value ? I have seen it varies between 9 10.Will it be bigger than 10 or not ? -- 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

Re: [PHP] Save to Desktop

2001-11-12 Thread Matt McClanahan
On Mon, Nov 12, 2001 at 11:14:04AM +0530, Sharat Hegde wrote: Hello, I need to capture the contents of a Form into a text file format and automatically allow the user to Save the file to his desktop. Here is what I am intending to do: * Capture the form contents and save to a temporary

[PHP] Re: Unix timestamp ?

2001-11-12 Thread _lallous
timestamp is an integer. you can convert it to hex string via sprintf(%x, timestamp) and store it. so if timestamp is a 32bit integer than it's hexadecimal representation will take 8 characters. De Necker Henri [EMAIL PROTECTED] wrote in message

[PHP] Login Verification - snag!

2001-11-12 Thread Ashley M. Kirchner
I just realized I jumped the gun on myself with my question earlier. /etc/shadow isn't accessible by anyone but root. With that said, how can I build a login page in PHP, running as the web server daemon process, that can validate the user against the system's shadow file? I hate to have

Re: [PHP] Login Verification - snag!

2001-11-12 Thread Morten Winkler Jørgensen
I hate to have to duplicate the file with different permissions AMK just so that the process can read it when it needs to. How about persorm a exec(su username password) grabbing the output? Or something like that... -- Kind regards, Morten Winkler -- PHP General Mailing List

[PHP] PHP/MySQL

2001-11-12 Thread phantom
New to this, trying to insert record into DB $Query = INSERT INTO table_name (Obj,Descrip) VALUES (keyboard,Device to pound on when frustrated.); $Results = mysql_query($Query) or die (Query FAILED); I keep getting Failed Query messages here, any idea why? PHP/MySQL manuals do not have

Re: [PHP] PHP/MySQL

2001-11-12 Thread Morten Winkler Jørgensen
p $Query = INSERT INTO table_name (Obj,Descrip) VALUES (keyboard,Device p to pound on when frustrated.); p $Results = mysql_query($Query) p or die (Query FAILED); need to embed your strings in like $Query = INSERT INTO table_name (Obj,Descrip) VALUES (\keyboard\,\Device to pound on when

RE: [PHP] PHP/MySQL

2001-11-12 Thread Richard Black
Try putting single quotes around the strings: $Query = INSERT INTO table_name (Obj,Descrip) VALUES ('keyboard','Device to pound on when frustrated.'); Another thing that would be useful is to use the mysql_error() function in your die, which will give a better indication of the problem

RE: [PHP] Save to Desktop

2001-11-12 Thread Sharat Hegde
Hi Matt, Thanks. That was very useful and it worked like a gem! Three cheers to HTTP headers. Where do you get a simplified version of the HTTP Header documentation - The W3C specs do not look like interesting reading. Regards, Sharat Hegde Phone: 6560360 Ext 4680 -Original Message-

[PHP] apache + ftp!

2001-11-12 Thread Benjamin
hey group! i have apache installed on an win2000 machine and now i need an good and stable ftp server! which one does i take! thank you, ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Classes Question

2001-11-12 Thread Paul - Zenith Tech Inc
Thanks for the help Pierre Paul Pierre-Yves [EMAIL PROTECTED] wrote in message 00c001c16940$47db1c90$0100a8c0@py">news:00c001c16940$47db1c90$0100a8c0@py... Hello, what I would do is build the instance of your mysql class in the constructor of the user class class User{ var $db; //

Re: [PHP] Classes Question

2001-11-12 Thread Paul - Zenith Tech Inc
I did have a look in the manual, but I got lost half way through! I always think it's a good idea to describe the problem well :) Thanks, Paul Andreas Landmark [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... On Sun, Nov 11, 2001 at 06:09:40PM -, PaulC wrote: I'm hoping

Re: [PHP] Classes Question

2001-11-12 Thread Paul - Zenith Tech Inc
Thanks Andrew... I basically tried that, but without the ampersand symbols. I'll give that a try Many thanks, Paul Andrew Kirilenko [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hello! Try to declare CheckBannedUser as function CheckBannedUser ($foo, $db) and call it

[PHP] Lotus Domino PHP

2001-11-12 Thread Richard Black
Hi, Can anyone tell me the latest on whether or not PHP can talk tirectly to Lotus Domino/Notes??? I've had a look through the archive, and as far as I can see there was a project to do this which was going to be made available at the start of the year, but I've not seen any mention of this

Re: [PHP] Re: mail() w/ mailing lists

2001-11-12 Thread DL Neil
Is is advisable that I mail lots of users from a database via one call to mail() ? why not make a loop and send to one email at a time. if you have over 1000 I would use something else than mail(), ex direct to smtp with sockets. Henrik, It is my opinion (too?) that mail() is

[PHP] Re: apache + ftp!

2001-11-12 Thread Daniel Masur
on win32 i like g6ftp server Benjamin [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hey group! i have apache installed on an win2000 machine and now i need an good and stable ftp server! which one does i take! thank you, ben -- PHP General

Re: [PHP] Re: mail() w/ mailing lists

2001-11-12 Thread PHPGalaxy.com
I just finished making a bulk emailer script with the mail() function. I would probably recommend doing a loop, sending one email at a time. Seems that way you're not putting too much pressure on it at one time (if that makes any sense). If you can find a decently-written smtp-class that uses

Re: [PHP] Re: apache + ftp!

2001-11-12 Thread PHPGalaxy.com
I personally would recommend Serv-U. Latest version seems greatly stable, beautiful GUI, multiple domain support, I've been using Serv-U for quite a few years now, and it's just *never* let me down! It could seriously benefit from comand-line account creation, which I may invent on my own. =)

php-general Digest 12 Nov 2001 11:19:44 -0000 Issue 990

2001-11-12 Thread php-general-digest-help
php-general Digest 12 Nov 2001 11:19:44 - Issue 990 Topics (messages 74193 through 74256): Re: Help with array in class needed 74193 by: ArsenKirillov 74194 by: ArsenKirillov Re: putting the result of PHP code into a string 74195 by: Rasmus Lerdorf Stripping IMG

RE: [PHP] Re: apache + ftp!

2001-11-12 Thread Matt Williams
on win32 i like g6ftp server I go along with this recommendation. Had some problems on 2k with serv-u M: -- 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] Re: mail() w/ mailing lists

2001-11-12 Thread Henrik Hansen
[EMAIL PROTECTED] (Dl Neil) wrote: It is my opinion (too?) that mail() is difficult to use in a non-trivial application. I have not used/investigated sockets. I have had good success with a 'wrapper class/function set' for mail(). I'm wondering if I should also look at what you have

[PHP] Attachments again

2001-11-12 Thread Oosten, Sjoerd van
Hi, When i send a dynamic HTML newletter, which contains newsitems in the database I now send the e-mail with a link to the image on the webserver. What i would like to do is instead of linking the image, send the image as a sort of attachment. So an internetconnection is not required when

Re: [PHP] Attachments again

2001-11-12 Thread PHPGalaxy.com
I've found a great SMTP class file that supports file attachments. Its just a few lines of code that base64_encode's the attachment, and sticks it at the end of the email. I guess just rip whatever code ya need out of this, for doing attachments, and insert it into your own. Maybe do a little RFC

Re: [PHP] Re: apache + ftp!

2001-11-12 Thread Benjamin
do you know about cerberus-ftp? how is it? -- 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] Help with DBM (dbmfetch)

2001-11-12 Thread PHP Rules
Hi!! I'm trying to visualize a .dbm file. It's hosted in the same directory as my .php file. With this test example: -//--- htmlheadtitlePHP Test/title/head body ?php $fn=myfile.mdb; $db=dbmopen($fn,r); $key = dbmfirstkey ($db); while ($key) { echo

RE: [PHP] Attachments again

2001-11-12 Thread Caspar Kennerdale
On the attachment subject, does anyone know how to specify multiple mime types? I have my attachment script, however people may be using it to send gifs, swfs, or text files I am specifyinmg the mime types like this $type = image/gif; $header .= Content-Type: $type; wuld I do something

[PHP] Re: #!/usr/local ignore option?

2001-11-12 Thread Steve Brett
why not just keep the module and drop the #!/usr/local/bin/php at the beginning of each script .. ? I've not heard of an ISP that asked for this b4 ... Steve Michael Rice [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi All, I have a kind of unique problem

[PHP] Url Length Limitations?

2001-11-12 Thread Valentin V. Petruchek
Hi everyone! Is there any limitation for length of url like this accept.php?set=qwerty... What is the maximum $set length i can pass to script as a parameter? Zliy Pes: http://zliypes.com.ua [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

RE: [PHP] Url Length Limitations?

2001-11-12 Thread Christoph Starkmann
Hi! Is there any limitation for length of url like this accept.php?set=qwerty... Depends on the OS/Server, but you'll have to consider one to exist... What is the maximum $set length i can pass to script as a parameter? Why don't you use POST? With POST, there is not limitation... Cheers,

[PHP] Re: emailing attachments

2001-11-12 Thread Steve Brett
you need: input type=file/input {can't remember the exact syntax but it's the file type you're looking for, opens the file open dialogue so they can choose local file} Steve Don [EMAIL PROTECTED] wrote in message

[PHP] Re: executing another php.script

2001-11-12 Thread Steve Brett
you don't need a sepaerate script. define two functions and then loop through calling the second function. much neater (and easier) Steve David Tod Sigafoos [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am sure that I am just .. missing this .. From one

Re: [PHP] Attachments again

2001-11-12 Thread DL Neil
Hi Sjoerd, When i send a dynamic HTML newletter, which contains newsitems in the database I now send the e-mail with a link to the image on the webserver. What i would like to do is instead of linking the image, send the image as a sort of attachment. So an internetconnection is not

[PHP] session

2001-11-12 Thread Brendon
I am using PHP 4.06, IE 6 and Win 2000. When i register a session like so: session_start(); session_register(SESSION_UserID); and on the next page refer to the session: session_start(); if(!session_is_registered(SESSION_UserID)) { header(Location: error.php?ec=1); exit; } ? It registers a

Re: [PHP] Re: mail() w/ mailing lists

2001-11-12 Thread _lallous
sending one by one will take ages no? Phpgalaxy.Com [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I just finished making a bulk emailer script with the mail() function. I would probably recommend doing a loop, sending one email at a time. Seems that way you're

Re2: [PHP] Url Length Limitations?

2001-11-12 Thread Valentin V. Petruchek
You see, I call for php script from Delphi program... I can do it with InternetOpen() so the only method available for me is GET - i can use page url only Or I'm mistaken and it's possible to use POST here? who knows? - Original Message - From: Christoph Starkmann [EMAIL PROTECTED] To:

[PHP] mail() with mailing lists problem

2001-11-12 Thread Rudolf Visagie
Hi All, While everybody is on this topic, here's a problem I have been having. I use mail() in a function in a loop to send e-mail with an attachment. The e-mails get sent out to the different recipients but only the last one gets sent correctly. The rest loses the 'From:' somewhere so that the

[PHP] Using PHP for directory indexing

2001-11-12 Thread Kevin Garrett
Hi All, I am wondering if anyone can help me with this. I want people accessing my site to see a list of HTML reports but I don't want to turn on Directory indexing on my Apache webserver, seeing as the directory path is present. What I'm looking to do, is to write a basic php

RE: [PHP] Using PHP for directory indexing

2001-11-12 Thread Oosten, Sjoerd van
? // print the current directory in unordered list print(UL\n); // open directory $myDirectory = dir(.); // get each entry while($entryName = $myDirectory-read()) { print(LI$entryName \n); } //

RE: [PHP] Using PHP for directory indexing

2001-11-12 Thread Rudolf Visagie
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))) { if

[PHP] Help me to win the battle with browser's cache

2001-11-12 Thread Olexandr Vynnychenko
Hello php-general, I have index.php, which has a href=index.php?logoutLog out/a. When I click it, I am logged out the site. But I type index.php in browser's address bar, press Enter and ... it shows non-logouted page. What should I write in php code to tell browser something like

Re: [PHP] apache + ftp!

2001-11-12 Thread Olexandr Vynnychenko
Hello Benjamin, Monday, November 12, 2001, 12:00:22 PM, you wrote: B hey group! B i have apache installed on an win2000 machine and now i need an good and B stable ftp server! which one does i take! B thank you, ben And what about W2k's built-in FTP server? Has someone used it? Is it so bad?

RE: [PHP] Using PHP for directory indexing

2001-11-12 Thread Kevin Garrett
Wow that was a quick response...Thanks alot! That those the listing part of my problem but is there a way of only showing a certain type of file such as only HTML? is there a way of somehow automatically making a link to access those pages? From: Oosten, Sjoerd van [EMAIL PROTECTED] To:

[PHP] Re: Help me to win the battle with browser's cache

2001-11-12 Thread Galkov Vladimir
Good time of a day! Hello Alex! META content=no-cache http-equiv=Pragma may be? but if you use $PHP_AUTH_USER, $PHP_AUTH_PW i don't see simple way if you check password every time page reqwesting... may be try to check password from temp file/table (just a miror of original). On login place

RE: [PHP] Re: Faking MS Access on MySQL linux box

2001-11-12 Thread Andrew Hill
John, OpenLink's Multi-Tier drivers can get you from Linux to MSAcess on Windows. Mweb, I'd just use ODBC against MySQL for testing. There isn't any way to actually run an Access DB on Linux. Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software

Re: [PHP] Help me to win the battle with browser's cache

2001-11-12 Thread Balaji Ankem
Hi, me also faced many probs last 3 months back and i overcome that. solution - use session variables.. register login info as session vars and during logout unregister... This is the solution to u'r problem.. - All the best -Balaji - Original

[PHP] Re: Using PHP for directory indexing

2001-11-12 Thread Galkov Vladimir
Hi! Kevin! Try this... :-) have a nica day! ? // this is qw.php // is incoming parametr $catalog; // there can be better way to protect filesystem // directory where operations aloved define(START_PATH, named); $catalog = eregi_replace('([/]{2,})|([./]{2,})|([/.]{2,})', '/',

Re: [PHP] Re: Faking MS Access on MySQL linux box

2001-11-12 Thread MrBaseball34
What I need is to write PHP pages which manipulate a MS Access DB via ODBC, because this is what the hosting company makes available (and it's not going to change because of several reasons) SNIP My suggestion would be to change hosting companies due to their stupidity of using Access as a

[PHP] Re: Using PHP for directory indexing

2001-11-12 Thread Galkov Vladimir
line print 'a href=qw.php?pather='.START_PATH.$catalog./.$filenames[$i].''.$filenames[$ i].'/a/td'; change on print 'a href='.START_PATH.$catalog./.$filenames[$i].''.$filenames[$i].'/a/td' ; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] Help me to win the battle with browser's cache

2001-11-12 Thread Girish Nath
Hi I've found some code which i put it into this function. I've never got the meta tag technique to work but this seems to do the trick. Call noCache() before outputting anything to the page. function noCache() { header (Expires: Mon, 26 Jul 1997 05:00:00 GMT);// Date in the past header

[PHP] Re: post variables to MySQL fields

2001-11-12 Thread Mike Harvey
This isn't the code you were talking about but it's something I wrote and use all the time. update_table() requires a where variable which is an array which needs to be declared before the function is called. The $where array is only 2 parts with the column name as [0] and the condition as [1].

[PHP] Re: Form Name Attribute

2001-11-12 Thread Mike Harvey
I would use a hidden field and look for that variable. -- Mike ~~~ MICHAEL R. HARVEY Sculptor Web Creation - http://vestudiohost.com Internet Business Tools - http://ibiz-tools.com Sculpture, Craft, Jewelry -

[PHP] Re: pass javascript variable to php without submit or reload

2001-11-12 Thread Mike Harvey
If you are trying to collect things like monitor size or other user data you could try putting the JS in the head and then put a meta refresh tag with time period of 0. I haven't actually tried this but it might work. -- Mike ~~~ MICHAEL R.

Re: [PHP] Url Length Limitations?

2001-11-12 Thread l0t3k
Valentin, actually if you use ICS (Francois Piettes components), you can POST as well. im doing that in a project im working on just this moment. you should be able to find his component set at Torry's ( www.torry.ru ) Valentin V. Petruchek [EMAIL PROTECTED] wrote in message

[PHP] Re: executing another php.script

2001-11-12 Thread Mike Harvey
Just include(script2.inc) in your loop. -- Mike ~~~ MICHAEL R. HARVEY Sculptor Web Creation - http://vestudiohost.com Internet Business Tools - http://ibiz-tools.com Sculpture, Craft, Jewelry - http://sculpture-by-mrh.com

Re: [PHP] Using PHP for directory indexing

2001-11-12 Thread Mike Harvey
Here's one from my function collection: ~~~ function list_dir($basedir,$type=,$filter=){ //echo $basedir; $handle=opendir($basedir); $filelisting=array(); while ($file = readdir($handle)) { if ($file!=. AND $file!=..){ switch($type){ case file:

Re: [PHP] apache + ftp!

2001-11-12 Thread Daniel Masur
never had it runnin, but i didnt heard bout hacking g6ftp. Olexandr Vynnychenko [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello Benjamin, Monday, November 12, 2001, 12:00:22 PM, you wrote: B hey group! B i have apache installed on an win2000

[PHP] parsing XML data with ampersands ()

2001-11-12 Thread bill
When parsing XML data, the CDATA sometimes contains an ampersand (). The XML parser sends this as two events, one before the ampersand and one after. That yields two data sections (when there is only one). Ideas on how to keep them together? Is this a bug? kind regards, bill hollett --

RE: [PHP] parsing XML data with ampersands ()

2001-11-12 Thread Jon Haworth
Change your CDATA so it contains amp; instead of HTH Jon -Original Message- From: bill [mailto:[EMAIL PROTECTED]] Sent: 12 November 2001 15:51 To: [EMAIL PROTECTED] Subject: [PHP] parsing XML data with ampersands () When parsing XML data, the CDATA sometimes contains an ampersand

[PHP] Chopping off extra characters from input

2001-11-12 Thread Rory O'Connor
I've got a problem where people are entering extra characters (due to an inonsistency in the tracking numbers they are being given) in a number they are entering in a form field. I have a PHP script querying a MySQL database. What's the easiest way to take the input and use only the first 8

Re: [PHP] Chopping off extra characters from input

2001-11-12 Thread Chris O'Brien
I've got a problem where people are entering extra characters (due to an inonsistency in the tracking numbers they are being given) in a number they are entering in a form field. I have a PHP script querying a MySQL database. What's the easiest way to take the input and use only the first

Re: [PHP] Chopping off extra characters from input

2001-11-12 Thread PHPGalaxy.com
The substr function's a good safeguard, as well as using the maxlength=8 param in the input tag for the text field (in the HTML) =) -- From PHPGalaxy.com, earn up to $10 per order selling our PHP Scripts and Software on your Site. http://www.phpgalaxy.com/aff/ Also, get a fast free POP3

[PHP] fopen and paths

2001-11-12 Thread PACKER, Steffan
I am trying to log particular information in an access log and I need it to be used on several pages all in different directories, I would like the actual log to be stored in a directory called data in the root directory of my web page. I using an include() on each page where I would like the

[PHP] Cookies, Sessions and Login Process

2001-11-12 Thread Joe Van Meer
Hi there, I'm new to php coming from an asp background and would like to know the easiest way to automate a login process. I have one page called 'index.php' and it contains a form with 2 elements, username and password. This page is posted to th 'login.php' and here I do a check against the

RE: [PHP] Url Length Limitations?

2001-11-12 Thread Daniel Kushner
You can try this class for POSTing: http://phpclasses.upperdesign.com/browse.html/package/375 --Daniel -Original Message- From: Valentin V. Petruchek [mailto:[EMAIL PROTECTED]] Sent: Monday, November 12, 2001 7:05 AM To: [EMAIL PROTECTED] Subject: [PHP] Url Length Limitations?

Re: [PHP] Cookies, Sessions and Login Proceess

2001-11-12 Thread Christopher William Wesley
Just do your authentication before you send any HTML (including any whitespace). I actually recommend not sending ANY HTML from your authentication script. Authenticate them, set your cookie, and redirect the visitor to an appropriate next page, based on whether or not they've successfully

Re: [PHP] Cookies, Sessions and Login Proceess

2001-11-12 Thread Joe Van Meer
Thx Christopher for replying. Ok, let me see if I understand you correctly... The user enters username and password on index.php, this is posted to login.php. On login.php after I verify the user is who he/she says they are I set a cookie called accessedbefore to yes and redirect them to the

[PHP] Serial Port Programing

2001-11-12 Thread Brian C. Doyle
Hello all, Does PHP have the ability to control a serial port? I see we can use the Printer but that was All I saw. -- 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

Re: [PHP] Cookies, Sessions and Login Proceess

2001-11-12 Thread Julio Nobrega Trabalhando
header(); function is fine. Another option is javascript which is dependent on the client software. But you get the picture about the login process. I just have to agree with Chris, something name 'is_logged' is better than 'accessedbefore'. -- Julio Nobrega A hora está chegando:

[PHP] Re: possible safe mode bug with opendir() ?

2001-11-12 Thread operator
Hi again, I believe it should disallow openning a directory in safe mode if the UID of the directory does not match the UID of the PHP script. That is exactly the behavior of fopen() in safe mode. Without that behavior, users are permitted to write a PHP script that lets them crawl around the

Re: [PHP] Cookies, Sessions and Login Proceess

2001-11-12 Thread Christopher William Wesley
On Mon, 12 Nov 2001, Joe Van Meer wrote: Thx Christopher for replying. Ok, let me see if I understand you correctly... The user enters username and password on index.php, this is posted to login.php. On login.php after I verify the user is who he/she says they are I set a cookie called

[PHP] XML DTD

2001-11-12 Thread Melih Onvural
I know this is a PHP news group, but i've seen some XML questions before and I was wondering if anyone knew how to apply a DTD, or where to find one. thanks for any help, Melih Onvural [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] url extracting

2001-11-12 Thread Matt McClanahan
On Mon, Nov 12, 2001 at 04:42:08PM -, Caspar Kennerdale wrote: I am yrying to read free urls from a moreover.com to a director app which will be a news reader without a browser 'm using php top extrat the headlines each headline looks similar to this

[PHP] Getting uploaded filename directory

2001-11-12 Thread Boget, Chris
In setting up a form to allow a user to upload a file, upon submission of that form, you can get the actual file name that is being uploaded by accessing the variable: $userfile_name (assuming the form element's name where the user specifies the file is $userfile). Is there a way to get the

Re: [PHP] XML DTD

2001-11-12 Thread Egon Schmid
From: Melih Onvural [EMAIL PROTECTED] I know this is a PHP news group, but i've seen some XML questions before and I was wondering if anyone knew how to apply a DTD, or where to find one. thanks for any help, This is not a newsgroup it is a mailing list. We use the DocBook XML DTD to

Re: [PHP] Cookies, Sessions and Login Proceess

2001-11-12 Thread Joe Van Meer
Thanx a bunch you guys! Got my login process going the way I wanted it. I appreciate your help, as I['m new to php. The first of many questions I suppose :) Cheers Joe Christopher William Wesley [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Mon, 12 Nov

Re: [PHP] Getting uploaded filename directory

2001-11-12 Thread Christopher William Wesley
If the path doesn't ride along in the _name variable (and I don't know of a case when it would), Nope. The value of the input element when the type = file isn't useable, except as an initial file name, so using JavaScript won't be helpful. I think the input element is implemented for type =

[PHP] Destroying Session Prob

2001-11-12 Thread Joe Van Meer
Hi again, I've just completed my logout process, everything is going great but after I log out (logout.php has session_start() followed by session_destroy(). ) I get two weird symbols printing out. One is like a box and the a B. My code is below. ?php session_start(); ? ?php

[PHP] PHPINTERNATIONAL.COM

2001-11-12 Thread Mark Segal
Dear Sir/Madam, PHPINTERNATIONAL.COM - $725 - includes 5 year registration (until 2006 worth up to $150*) I am a domain name broker and have been tracking PHPINTERNATIONAL.COM which expired and became available for a very short period today. I registered it on behalf of a client, however,

Re[2]: [PHP] Help me to win the battle with browser's cache

2001-11-12 Thread Olexandr Vynnychenko
Hello Girish, Monday, November 12, 2001, 4:29:55 PM, you wrote: GN Hi GN I've found some code which i put it into this function. I've never got the GN meta tag technique to work but this seems to do the trick. GN Call noCache() before outputting anything to the page. GN function noCache() {

[PHP] Re: Destroying Session Prob

2001-11-12 Thread dav
Try a more simple: ?php session_start(); session_destroy(); echo(You are now logged off br); ? Joe Van Meer [EMAIL PROTECTED] ha scritto nel messaggio [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi again, I've just completed my logout process, everything is going great but after I log out

[PHP] problems with php and jscript....

2001-11-12 Thread Silvia Mahiques
I have written an html page with jscript and php code, but I have some problems. The errors are in black letter: why is not correct this code? ?php include(configuration.php4); global $g_language; $lang = $g_language; ? HTML HEAD meta http-equiv=Content-Type content=text/html;

RE: [PHP] Getting uploaded filename directory

2001-11-12 Thread Luboslav Gabal ml.
In setting up a form to allow a user to upload a file, upon submission of that form, you can get the actual file name that is being uploaded by accessing the variable: $userfile_name (assuming the form element's name where the user specifies the file is $userfile). Is there a way to

[PHP] Re: session

2001-11-12 Thread Brendon
well i have a solution to my problem that makes no sense if i declare session_start(); on my login.html page which precedes these two pages it works and is now login.php this page creates the session and all is well if i create session_start(); on the next page and leave it off my login.php

Re: [PHP] PHPINTERNATIONAL.COM

2001-11-12 Thread Mark
It's not bad enough that you're squatting the domain, you have to spam the list on top of it? On Mon, 12 Nov 2001 11:37:32 -0800, Mark Segal wrote: Dear Sir/Madam, PHPINTERNATIONAL.COM - $725 - includes 5 year registration (until 2006 worth up to $150*) I am a domain name broker and have

Re: [PHP] Serial Port Programing

2001-11-12 Thread Mark
On Mon, 12 Nov 2001 12:36:07 -0500, Brian C. Doyle wrote: Hello all, Does PHP have the ability to control a serial port? I see we can use the Printer but that was All I saw. I don't know about windows but on linux I guess you would just fopen /dev/ttyS0 and read or write to it. -- PHP

PD: [PHP] javascript problems

2001-11-12 Thread Teqila MAN
Hi all, Could someone send me URL for JavaScript help list like this on php3.. ..or you could solve my problem ? --- Here is part of scriptand the problemat the end - function checkChoice(whichbox) { with

[PHP] GURU HELP: session_unset

2001-11-12 Thread John Taylor-Johnston
http://www.CollegeSherbrooke.qc.ca/~languesmodernes/course/test_session.phps I'm trying to session_unset() - it worked I thought. session_unset(postcard); unset($postcard); unset($MyImage); Go to: http://www.CollegeSherbrooke.qc.ca/~languesmodernes/course/test_session.php and click me. It

[PHP] using mail

2001-11-12 Thread Brandon Orther
Hello, I am using the mail() function right now to send e-mails. Is there a way I can dynamically change where it says the e-mail is from? Thanks Brandon

RE: [PHP] using mail

2001-11-12 Thread Martin Towell
the forst param to mail is the extra headers to send add in Reply-To: [EMAIL PROTECTED]\r\n and/or From: [EMAIL PROTECTED]\r\n ( I think this one's correct ) -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 9:41 AM To: PHP User Group

RE: [PHP] using mail

2001-11-12 Thread Martin Towell
oops, forst is meant to be forth -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 9:44 AM To: 'Brandon Orther'; PHP User Group Subject: RE: [PHP] using mail the forst param to mail is the extra headers to send add in Reply-To: [EMAIL

Re: [PHP] php slowdown under apache on win 2000 only under netscape

2001-11-12 Thread Steve Knipping
I've noticed this same problem on both of my computers, but have not yet found a solution. I've got Apache, Mysql, and php running on my personal computer. When I access it via http://localhost any screens that use a POST will timeout until I ALT-TAB to a non-Netscape window. Once I ALT-TAB,

Re: [PHP] using mail

2001-11-12 Thread Kurt Lieber
Did you RTFM? http://www.php.net/manual/en/function.mail.php Just create a variable and input it as an extra header. $from = from: [EMAIL PROTECTED]\r\n ; mail($to,$subject,$message,$from); On Monday 12 November 2001 02:41 pm, you wrote: Hello, I am using the mail() function right now to

RE: [PHP] using mail

2001-11-12 Thread Brandon Orther
YES I DID READ THE F...in MANUAL -Original Message- From: Kurt Lieber [mailto:[EMAIL PROTECTED]] Sent: Monday, November 12, 2001 2:56 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] using mail Did you RTFM? http://www.php.net/manual/en/function.mail.php Just create a variable and input

RE: [PHP] using mail

2001-11-12 Thread Jason Murray
Then why didn't you notice that in the additional headers you can specify the from header? mail([EMAIL PROTECTED], Whee, Whee! Mail Body, From: Jason Murray [EMAIL PROTECTED]\n); Jason -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT Work now, freak later! -Original

[PHP] Re: GURU HELP: session_unset

2001-11-12 Thread John Taylor-Johnston
Source is here: http://www.CollegeSherbrooke.qc.ca/~languesmodernes/course/test_session.phps -- 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

Re: [PHP] XML DTD

2001-11-12 Thread Brian White
Here's a DTD: !DOCTYPE stuff [ !ELEMENT stuff (thing+) !ELEMENT thing (#PCDATA) ] Whether it is of any USE to anyone is debatable.. At 12:41 12/11/2001 -0500, Melih Onvural wrote: I know this is a PHP news group, but i've seen some XML questions before and I was wondering if anyone

  1   2   >