Re: [PHP] ftp and www

2003-01-06 Thread Jason k Larson
Sounds vague. Here's the reference page for starters. http://www.php.net/manual/en/ref.ftp.php HTH, Jason k Larson Mukta Telang wrote: Hi, I am told to " merge ftp and www " ! I cant understand what it means.. May be it means that it should be possible to browse ftp directory from a browser?

[PHP] ftp and www

2003-01-06 Thread Mukta Telang
Hi, I am told to " merge ftp and www " ! I cant understand what it means.. May be it means that it should be possible to browse ftp directory from a browser? What is php's support for ftp? Mukta -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

Re: [PHP] populate a list menu

2003-01-06 Thread Justin French
on 07/01/03 5:13 PM, Bruce Levick ([EMAIL PROTECTED]) wrote: > That's sweet. Can you just satisfy my curiosity and explain the 86400?? > I am thinking this might be minutes?? 60 seconds * 60 minutes * 24 hours = 86400 seconds per day we're increasing $stamp by 1 day each iteration of the while lo

[PHP] Text editors

2003-01-06 Thread Karl James
Hello guys, Right now im using dreamweaver mx I was wondering if anyone knew of any good free text editors that has line counts And is good for php…. Thanks karl --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Dat

[PHP] Using VS.NET for PHP Projects - Revisit

2003-01-06 Thread Sean Malloy
Hi. I kind of got PHP syntax highlighting working within Visual Studio.NET I've created a page, which mentions the steps you need to take to get it working, as well as a screen shot. Everyone loves screen shots. http://www.quake-au.net/php/php_and_vsdotnet.htm Hope someone finds it useful apart

Re: [PHP] populate a list menu

2003-01-06 Thread Jean-Christian Imbeault
Bruce Levick wrote: That's sweet. Can you just satisfy my curiosity and explain the 86400?? I am thinking this might be minutes?? It the number of seconds in a day. But that solution doesn't take into account Daylight Savings Time. The one I posted does, I think ... Jc -- PHP General Mailin

RE: [PHP] populate a list menu

2003-01-06 Thread Bruce Levick
That's sweet. Can you just satisfy my curiosity and explain the 86400?? I am thinking this might be minutes?? -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 4:12 PM To: Bruce Levick; [EMAIL PROTECTED] Subject: Re: [PHP] populate a list me

Re: [PHP] populate a list menu

2003-01-06 Thread Justin French
I'm *positive* there is a better way, but this should work (untested): 0) { $stamp = $stamp + 86400; } $date = date('d-m-Y',$stamp); echo "{$date}"; $i++; } ?> Cheers, Justin on 07/01/03 4:39 PM, Bruce Levick ([EMAIL PROTECTED]) wrote: > Howdy, > I am looking to populate

[PHP] Re: populate a list menu

2003-01-06 Thread Jean-Christian Imbeault
Bruce Levick wrote: I am looking to populate a list menu with the current date and then the 30days after that current date. Is there a small snippet of code that achieves this?? Hvae a look at date(), mktime() in the manual. Here something that should help you get started, it is untested. fun

[PHP] populate a list menu

2003-01-06 Thread Bruce Levick
Howdy, I am looking to populate a list menu with the current date and then the 30days after that current date. Is there a small snippet of code that achieves this?? Cheers -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Access page via user & password

2003-01-06 Thread Peter Houchin
yep look at sites like phpbeginner.com, phpwizard.com,zend.com, phpbuilder.com and browse ya way thru the tutorials there are plently of sites out there such as the ones mentioned that will give you a great helping hand :) > -Original Message- > From: Ezequiel Sapoznik [mailto:[EMAIL PROTE

[PHP] Access page via user & password

2003-01-06 Thread Ezequiel Sapoznik
Hi! I am teacher on a University and I want that our page only be access by specific people. Anyone has or knows where to find any php to administrate a base of user and passwords (made in mysql)? Thanks in advance, Ezequiel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] MySQL field to maintain formatting

2003-01-06 Thread Jason Sheets
Assuming you are using a to allow your users to input their text you need to either use the nl2br (converts new lines to ) or use tags, following are short examples: print nl2br($data); or print ''; print $data print ''; You can find out more about the nl2br function at http://www.php.net/man

[PHP] MySQL field to maintain formatting

2003-01-06 Thread Vernon
I'm having users post messages to a MySQL database records and want to retain the formatting (such as carriage returns and so forth). I have everything actually working all except that the formatting. Messages are being posted but when they are returned they lack the carriage returns. I'd like to

[PHP] Using VS.NET for PHP Projects

2003-01-06 Thread Sean Malloy
I know I can use Visual Studio to edit PHP files as plain text, but has anyone seen any way of creating some sort of add-in, or macro or whatever, which would do syntax highlighting on PHP files? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

RE: [PHP] mmmmm SELECT

2003-01-06 Thread Bruce Levick
Yes that works.me newbie php skills falling down again...;0) -Original Message- From: Wee Keat (VisualDensity] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 10:25 AM To: Bruce Levick Subject: Re: [PHP] m SELECT >###

Re: [PHP] mmmmm SELECT

2003-01-06 Thread Jason k Larson
Your SQL statement is selecting from two tables, it doesn't know which table the 'active' column belongs to. Try one of the following as appropriate to your schema: tasks.active="yes" or users.active="yes" HTH, Jason k Larson Bruce Levick wrote: I have this silly problem. This select query

[PHP] Re: Parse source for braces

2003-01-06 Thread Greg Beaver
Hi Shawn, check out phpDocumentor, it has a class named Parser that does exactly what you need. You can get the latest release at http://sourceforge.net/projects/phpdocu nightly cvs builds are at http://developer.phpdoc.org/downloads In CVS, there are 2 parsers to choose from, and both are very

RE: [PHP] PHP sendmail configuration

2003-01-06 Thread Peter Houchin
richard check your php.ini & the mail stuff in there .. it's most likely using the address either there or ur web server config file > -Original Message- > From: Richard Baskett [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 7 January 2003 10:49 AM > To: PHP General > Subject: [PHP] PHP sendm

Re: [PHP] mmmmm SELECT

2003-01-06 Thread Steve Edberg
At 04:27 PM 1/6/03 , Bruce Levick wrote: I have this silly problem. This select query works fine. $query_retrievetasks = "SELECT * FROM tasks, users WHERE tasks.UID = users.User_id ORDER by tasks.ID"; #

RE: [PHP] Dreaded Return-Path and mail()

2003-01-06 Thread Timothy Hitchens \(HiTCHO\)
Hmm... I would expect that your sendmail.cf (if you are using sendmail) hasn't got your webserver (running as eg www or apache etc) in it's trusted users file / listing. HiTCHO has Spoken! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] > -Original Message- > From: David T-G [mailto:[EMAI

Re: [PHP] Dreaded Return-Path and mail()

2003-01-06 Thread David T-G
Monty -- ...and then Monty said... % % Okay, I've read just about everything on the Internet about how the change % the Return-Path header in an e-mail sent using mail(), but, I STILL can't % get it to work. All e-mail sent via PHP says Return-Path: [EMAIL PROTECTED] % and Received: (from nobody@

[PHP] mmmmm SELECT

2003-01-06 Thread Bruce Levick
I have this silly problem. This select query works fine. $query_retrievetasks = "SELECT * FROM tasks, users WHERE tasks.UID = users.User_id ORDER by tasks.ID"; But when I add a further filt

[PHP] Double entry into MySQL..

2003-01-06 Thread Altug Sahin
Hi here, I am sending a file to user's browser and logging the downloaded file into MySQL but everytime this script works, I see double entry in the MySQL table... Why is this happening? Any ideas? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

[PHP] PHP sendmail configuration

2003-01-06 Thread Richard Baskett
Ok I know it's off topic, but I've been working on this for over 5 hours now and I almost have it configured, but something is definitely wrong! Basically I can send email using sendmail by this command: echo "Just a test" | mail -s "test" [EMAIL PROTECTED] Now [EMAIL PROTECTED] receives the emai

Re: [PHP] Defaults in drop down list...

2003-01-06 Thread Rick Widmer
At 11:54 AM 1/6/03 -0600, Steven Kallstrom wrote: Alabama Alaska Arizona . $stateselected['$state'] is an array that stores the state that was selected on the prior form. is there an easier way, to have a default state picked out of this drop do

Re: [PHP] Re: mail() not working on Win2k

2003-01-06 Thread Manuel Lemos
Hello, On 01/06/2003 08:46 PM, Rad Craig wrote: I can't use that as the program that I need for the email to work with, I don't have access to it's mail() function...yet. As I explained, the class comes with a wrapper function named smtp_mail() that emulates mail() function (but without the bu

Re: [PHP] Defaults in drop down list...

2003-01-06 Thread Justin French
What I would do, and this is one of those "write it once, use it a 1000 times" things, is store all your states in an array. 'Alabama', 'AK' => 'Alaska', 'AZ' => 'Arizona' ); ?> Then, you can loop through that array to build your form element: '; foreach($sta

Re: [PHP] time stamp screwing up

2003-01-06 Thread Justin French
A MySQL timestamp is different to a MySQL timestamp. $time = time(); will produce a unix timestamp what you want is $time = date('Y-m-d'); to give a value in the format -MM-DD I think you can also use NOW(): $query = "INSERT INTO contacts (id, name, pass, email, dateAdded) VALUES (NULL, '

[PHP] Parse source for braces

2003-01-06 Thread Shawn McKenzie
I need to parse some source code to find the contents of a specific function. The only way I can think of is to load the source file into a string find the function by name and parse the text in the string and find the end brace of the function, made difficult by the existence of all the other bra

[PHP] Empty messages from PHP General...

2003-01-06 Thread Richard Baskett
Any idea why Im getting these empty messages? Rick "Freedom and immorality can not co-exist because freedom requires personal responsibility." - Unknown -- Forwarded Message From: [EMAIL PROTECTED] Date: Mon, 6 Jan 2003 17:41:19 -0500 (EST) -- End of Forwarded Message -- PHP Genera

[PHP] Directory Listing with php on unix boxes

2003-01-06 Thread Joe Jeffcoat
I have 3 SunOS boxes, all running the same version of OS, apache and php. I have a page on all three servers that will allow a user to select a directory from a drop down box and upon selecting the directory, be able to select a file to view from a drop down box. When the user selects the directo

RE: [PHP] Re: mail() not working on Win2k

2003-01-06 Thread Rad Craig
I can't use that as the program that I need for the email to work with, I don't have access to it's mail() function...yet. Rad... > -Original Message- > From: Manuel Lemos [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 06, 2003 4:28 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: mail

Re: [PHP] MySQL vs PostgreSQL

2003-01-06 Thread Jeffrey B. Ferland
> Not to cause a flame war, but, MySQL and PostgreSQL are both excellent > choices, MySQL tends to be a lighter less feature rich database while > PostgreSQL tends to have more features, perform better under load, etc. Under differing types of load, yes. MySQL is more hit-based, while PostgreSQL d

[PHP] re> Save Image?

2003-01-06 Thread greg R
If it were possible, it would likely be a javascript function, rather than PHP, because it would be controlled by the browser. Check the JavaScript navigator or window objects. # # # Hi all, I have a PHP page that returns products. My client wants to have a button beside each product that says

[PHP] Directory Listing with php on unix boxes

2003-01-06 Thread Joe Jeffcoat
I have 3 SunOS boxes, all running the same version of OS, apache and php. I have a page on all three servers that will allow a user to select a directory from a drop down box and upon selecting the directory, be able to select a file to view from a drop down box. When the user selects the directo

[PHP] Re: mail() not working on Win2k

2003-01-06 Thread Manuel Lemos
Hello, On 01/06/2003 01:21 PM, Rad Craig wrote: I'm running under Win2k, new install of PHP(last week), I have been trying to test the mail() function, but it doesn't seem to work. I host my own mail server on the same machine and I know it works, has been for months, all other mail come/goes ju

[PHP] my Datepicker in PHP, please comment :-)

2003-01-06 Thread Oliver Spiesshofer
# Here is a datepicker that I wrote in PHP. Comments welcome ! # It's supposed to give you an endless calender and a link with the # resulting timestamp when a day is clicked. I might add a time-field # later. I know the code is not perfect, since I am not :-) If you have # suggestions, please

[PHP] Directory Listing with php on unix boxes

2003-01-06 Thread Joe Jeffcoat
I have 3 SunOS boxes, all running the same version of OS, apache and php. I have a page on all three servers that will allow a user to select a directory from a drop down box and upon selecting the directory, be able to select a file to view from a drop down box. When the user selects the directo

RE: [PHP] frustrating problem

2003-01-06 Thread Larry Brown
I'm not sure what syntax would work for you with one query. You might try the mysql list. I personally make two queries. One would be a query to the foo table to get the name and the second would be a loop to iterate through each contact info entry. For each iteration you will get the array wit

[PHP] Opening DOS with PHP commands

2003-01-06 Thread Tony Tzankoff
Does anybody know if a MS-DOS window (running a BAT file) can be opened using a PHP command? Right now, I have Windows using the Task Scheduler to open the MS-DOS window (which creates a file used later by PHP), while a PHP webpage loops every few minutes and does whatever it needs to with the file

Re: [PHP] Force file download with header

2003-01-06 Thread Altug Sahin
Thanks Chris, I will check it out.. "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > --- Altug Sahin <[EMAIL PROTECTED]> wrote: > > > $file = $_POST[fileID]; > > $files_folder = "C:\\temp\\"; > > $dlfile = $files_folder.$file; > > > > header("Co

Re: [PHP] Force file download with header

2003-01-06 Thread Chris Shiflett
--- Altug Sahin <[EMAIL PROTECTED]> wrote: > $file = $_POST[fileID]; > $files_folder = "C:\\temp\\"; > $dlfile = $files_folder.$file; > > header("Content-type: application/pdf"); > readfile("$dlfile"); > ?> > > I get this... > "Warning: readfile("C:\temp\test.pdf") - No such file or > directory

Re: [PHP] Get your *own* IP...?!

2003-01-06 Thread Michael Ott
Hallo Charles > Does anyone know a way to fetch your own IP-adress? I need it because I run > a web server on my computer with a dynamic-IP so I need it to change all the > URLs it creates dynamically... > Look at dyndns.org. Here you can get your own dns-entry CU Michael

Re: [PHP] Re: Get your *own* IP...?!

2003-01-06 Thread [-^-!-%-
Have you tried $PHP_SELF? A combination of $PHP_SELF, $REQUEST_URI, and phpinfo(), should give you the information you're looking for. -j =P e p i e D e s i g n s www.pepiedesigns.com Providing Solutions That Increase Productivity Web Developement. Database. Hosting. Multimedia. On Mon,

Re: [PHP] Re: Get your *own* IP...?!

2003-01-06 Thread Stephen
Try echoin out this: getenv("SERVER_ADDR"); - Original Message - From: "Charles likes PHP" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 06, 2003 4:33 PM Subject: [PHP] Re: Get your *own* IP...?! : No, it has to be an absolute path... : : $_SERVER["SERVER_ADDR"]

[PHP] Force file download with header

2003-01-06 Thread Altug Sahin
Hi, Here is the simple script with which I am trying to have the user to download a file when the file name is posted from the user agreement page. dlQ_safe.php When a file submitted I get this... "Warning: readfile("C:\temp\test.pdf") - No such file or directory in c:\inetpub\wwwroot\dlQ_safe

Re: [PHP] frustrating problem

2003-01-06 Thread Chris Shiflett
--- "Matthew K. Gold" <[EMAIL PROTECTED]> wrote: > SELECT FooLName, FooPhone, FooEmail > FROM foo, foocontact > WHERE foocontact.FooID=$FooID and foo.FooID=$FooID; You might try this instead: select foolname, foophone, fooemail from foo, foocontact where foo.fooid='$fooid' and foo.fooid=foocon

[PHP] Re: Get your *own* IP...?!

2003-01-06 Thread Charles likes PHP
No, it has to be an absolute path... $_SERVER["SERVER_ADDR"] seems to be empty on my system and I couldn't find anything about that variable in the manual either... Aaargghhh! "Charles Likes Php" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Does anyone kn

[PHP] frustrating problem

2003-01-06 Thread Matthew K. Gold
I hope that I can explain this problem in a logical and clear way. In MySQL, I have two tables for information:: foo, which contains FooID, FooLName, FooFName and foocontact, which contains FooID, FooContactID, FooEmail, FooPhone, FooAddress1, etc. Honestly, I can't remember why I split up the

Re: [PHP] Get your *own* IP...?!

2003-01-06 Thread Tracy Finifter Rotton
Use the super-global variable $_SERVER['SERVER_ADDR'] (or another solution might be to generate relative, rather than absolute, URLs: /somedir/somepage.php instead of http://192.168.1.1/somedir/somepage.php) On 1/6/03 12:45 PM, "Charles likes PHP" <[EMAIL PROTECTED]> wrote: > Does anyone know a

Fw: [PHP] Get your *own* IP...?!

2003-01-06 Thread Kevin Stone
In Apache it's $_SERVER['SERVER_ADDR'] But I don't know if this applies to IIS as well. -Kevin - Original Message - From: "Charles likes PHP" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 06, 2003 1:45 PM Subject: [PHP] Get your *own* IP...?! > Does anyone know a wa

[PHP] Re: Get your *own* IP...?!

2003-01-06 Thread Charles likes PHP
I use Windows XP Pro...:-S "Charles Likes Php" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Does anyone know a way to fetch your own IP-adress? I need it because I run > a web server on my computer with a dynamic-IP so I need it to change all the > URLs it

Re: [PHP] progress page

2003-01-06 Thread Matt Vos
Is bandwidth an issue? If not, you could have a at the top of your page, flush it before beginning your data parsing, and update it with a table with two columns, 1 with a bgcolor of some color, the other with no bgcolor, and have the width of the columns change as the javascript updates it. i.e

[PHP] Get your *own* IP...?!

2003-01-06 Thread Charles likes PHP
Does anyone know a way to fetch your own IP-adress? I need it because I run a web server on my computer with a dynamic-IP so I need it to change all the URLs it creates dynamically... Thanks! -Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

[PHP] Save Image?

2003-01-06 Thread Doug Coning
Hi all, I have a PHP page that returns products. My client wants to have a button beside each product that says "Download". When you click download, he wants the "Save Picture" Window box to automatically open and allow the viewer to select the location to save the image that he clicked "DownLoa

[PHP] Re: PHP and MySQL bug

2003-01-06 Thread Jennifer Goodie
It would be helpful if you posted that error. You can get it by changing the die to $queryr = mysql_query($query) or die(mysql_error()); Without knowing the error, you problem will be harder for everyone to debug. -Original Message- From: Nuno Lopes [mailto:[EMAIL PROTECTED]] Sent: Mon

Re: [PHP] Case Matching

2003-01-06 Thread Michael J. Pawlowsky
What field type did you make the usernames? TEXT types are case incensitives use VARCHAR *** REPLY SEPARATOR *** On 06/01/2003 at 2:09 PM [EMAIL PROTECTED] wrote: >Not really sure if this would be a PHP or a MySQL issue. I'm using a >database to store username for authenti

[PHP] Sybase result index invalid

2003-01-06 Thread Matt Cummings
I am having trouble retrieving any type of result using Sybase and PHP. Regardless of function call, I receive the following error: Warning: 1 is not a Sybase result index in /var/apache/ I have successfully executed and retrieved results using the same queries using isql from the command lin

[PHP] Re: PHP vs. ASP

2003-01-06 Thread David Eisenhart
this is addressed in quite a few dedicated articles in php sites. For me some of the big pros of PHP: - the active community behind it - associated open source products (such as phpMyAdmin and the Smarty template engine) - the ease and power behind coupling it with MySQL databases (ASP has of cour

[PHP] Re: session_start() in php.ini does not work on Microsoft IIS

2003-01-06 Thread Scott Fletcher
Actually, the problem is not the session_start() or hte php.ini. For some reason, IIS had started to forget that this php.ini is there. So, any changes to the php.ini I made does not affect the website after stopping, starting and rebooting IIS. "Christoph Grottolo" <[EMAIL PROTECTED]> wrote in

[PHP] Case Matching

2003-01-06 Thread ed
Not really sure if this would be a PHP or a MySQL issue. I'm using a database to store username for authentication purposes. Is there a way to make the user entry match case in the mysql database? Right now I have some users with all uppercase usernames that are able to login typing their usernam

Re: [PHP] No Idea - Comparing Lines

2003-01-06 Thread Marco Tabini
Hi Chris-- Try this: 0) { $kbitsout = float) $data['OctetsOut'] - $olddata['OctetsOut']) / ($data['UnixTime'] - $olddata['UnixTime'])) * 8 ) / 1000; print str_pad ($i, 2, ' ', STR_PAD_LEFT) . ' -- ' . number_format ($kbitsout, 2) . " kbits/s\n";

Re: [PHP] emulate Post with redirect

2003-01-06 Thread Chris Shiflett
--- Bobby Patel <[EMAIL PROTECTED]> wrote: > I was trying to do it without cURL, since it's not on our > server. You can do it manually. There is probably a lot of good information on this topic if you search through the archives on automating a post. To give you a quick idea, you can check out th

[PHP] Problem with make test

2003-01-06 Thread Pierre-Luc Soucy
Hi, I just configured and make'd PHP with no problem, but when I run make test, I get the following output: - = CWD : /home/programs/php/php-4.3.0 PHP : /home/programs/php/php-4.3.0/sapi/cl

[PHP] Designing in PHP4 with PHP5 in mind...

2003-01-06 Thread John Wells
I'm preparing for a project in which I'll be porting and redesigning a large, ugly Visual Basic/Sql Server app to a PHP/Mysql or Postgresql based web application. I'd like to code in a way that will be at the same time easily ported to PHP5 and that will take advantage of PHP5's new object handlin

[PHP] No input file specified. Please help.

2003-01-06 Thread David Scott
I am running this file from a tutorial: Something Useful Tutorial When this file is run from my webserver (IIS) I get a page that says: No input file specified. What can I do to get this working? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

[PHP] Re: Unable to run any PHP script with WinXP/IIS. Please help.

2003-01-06 Thread David Scott
Eh, nevermind on this one. I uninstalled PHP and then reinstalled it. I am no longer getting this error. I have another problem now that I will mention in a new post. "David Scott" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > When attempting to run any PHP sc

RE: [PHP] No Idea - Comparing Lines

2003-01-06 Thread Ford, Mike [LSS]
> -Original Message- > From: Christopher J. Crane [mailto:[EMAIL PROTECTED]] > Sent: 06 January 2003 17:12 > > Ok here is what I did but it does not do anything. > I verified that is opening the file ok and everything, but it > shows nothing. > It doesn't even produce an error. I am sure

[PHP] Unable to run any PHP script with WinXP/IIS. Please help.

2003-01-06 Thread David Scott
When attempting to run any PHP script, I get the message: Unknown(): Cannot open 'C:\WINDOWS\system32\inetsrv' for reading And then I get the windows error message: PHP Script Interpreter has encountered a problem and needs to close. We are sorry for the inconvenience. Any ideas here? -- PHP

[PHP] Far out!!!! More IIS problems.....

2003-01-06 Thread Scott Fletcher
I tried various methods on IIS after configuring hte PHP.INI. Such as shutting down IIS, restarting IIS and rebooting hte machine. Here's one latest addition that I found to be very far out!! What I did was I renamed the php.ini to php1.ini and goes throught the procedures. Guess what the

[PHP] Fw: Session ID changes

2003-01-06 Thread Scott Fletcher
"[-^-!-%-" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>. .. > > Hello all, > > I need some clarification. To my understanding, each visit to php site > creates a UNIQUE Session ID (SID). And, that ID stays constants until the > browser is shutdown, or the session is specificall

[PHP] Re: PHP and MySQL bug

2003-01-06 Thread Nuno Lopes
The problem is if I close the connection and reopen it the query is done, but if I remain with the same connection has the previous query, mysql returns an error. - Original Message - From: "Larry Brown" <[EMAIL PROTECTED]> To: "MySQL List" <[EMAIL PROTECTED]> Sent: Sunday, January 05, 20

Re: [PHP] Re: PHP and MySQL bug

2003-01-06 Thread Nuno Lopes
I done a echo of Mysql_error and it returned: 'Nenhum banco de dados foi selecionado' (I have the mysql server in portuguese, but the translation is something like 'no db was selected') - Original Message - From: "David Freeman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, J

Fw: [PHP] time stamp screwing up

2003-01-06 Thread Rick Emery
show us your database table structure (the whole thing). the NOW() will always work with a "date" or "timestamp" field - Original Message - From: "- [ Paul Ferrie ] -" <[EMAIL PROTECTED]> To: <> Sent: Monday, January 06, 2003 11:28 AM Subject: Re: [PHP] time stamp screwing up Well i am

[PHP] Defaults in drop down list...

2003-01-06 Thread Steven Kallstrom
I have a drop down list with all fifty states. very common. I conjured up a way to store the value when you return to edit the form, but there most be an easier way either in html, or in php. Here is what I currently have. Alabama Alaska Arizona

[PHP] Re: Creating an extra library

2003-01-06 Thread J Smith
Since there's no PHP XSLT extension RPM from Red Hat (as far as I can tell), the easiest way to build it would probably be... 1. download the PHP source code. 2. in the ext/xslt directory, run phpize. This is assuming the Red Hat RPM installed PEAR and it's utilities. 3. Run ./configure, mak

[PHP] Session ID changes

2003-01-06 Thread [-^-!-%-
Hello all, I need some clarification. To my understanding, each visit to php site creates a UNIQUE Session ID (SID). And, that ID stays constants until the browser is shutdown, or the session is specifically destroyed. Is this correct? If not, then please advise. I'm trying to develop a cookie-l

[PHP] Dictionary File

2003-01-06 Thread Adam Voigt
Anyone know where I can download an easily parse-able (with PHP) dictionary file? Thanks. -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc signature.asc Description: This is a digitally signed message part

Re: [PHP] time stamp screwing up

2003-01-06 Thread - \[ Paul Ferrie \] -
Well i am still getting all the zero's : ( : ( "- Edwin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > "- [ Paul Ferrie ] -" <[EMAIL PROTECTED]> wrote: > > So > > > > Is NOW() a mysql function? > > Well, you can check for yourself ;) > > It should

[PHP] Re: php.ini - changes aren't taking?

2003-01-06 Thread Scott Fletcher
Yep! I changed the working email address on my php.ini to a different email address, then stopped, started the IIS and test send myself an email. It doesn't go to the new email address and it stuck to the old email address. It is a IIS problem, not php.ini problem because it's not updating itself

Re: [PHP] time stamp screwing up

2003-01-06 Thread - Edwin
"- [ Paul Ferrie ] -" <[EMAIL PROTECTED]> wrote: > So > > Is NOW() a mysql function? Well, you can check for yourself ;) It should be somewhere around here: http://www.mysql.com/doc/en/Date_and_time_functions.html - E ...[snip]... __

Re: [PHP] No Idea - Comparing Lines

2003-01-06 Thread Jason Wong
On Tuesday 07 January 2003 01:12, Christopher J. Crane wrote: > Ok here is what I did but it does not do anything. > I verified that is opening the file ok and everything, but it shows > nothing. It doesn't even produce an error. I am sure there is an easier way > than looping twice, but this is ho

Re: [PHP] Need help detecting attached files

2003-01-06 Thread Jason Wong
On Tuesday 07 January 2003 03:26, Don wrote: > Hi, > > I'm using a mailer class that allows for external file attachments. I was > using the test: > > if ($HTTP_POST_FILES[$val]['size']) { > > Which worked fine. However, I wanted something more generic that works for > POST or GET How do you me

Re: [PHP] No Idea - Comparing Lines

2003-01-06 Thread Christopher J. Crane
Ok here is what I did but it does not do anything. I verified that is opening the file ok and everything, but it shows nothing. It doesn't even produce an error. I am sure there is an easier way than looping twice, but this is how I have it for now. $Lines = array(); $TempDir = "tempdata"; $DataFr

RE: [PHP] mail() not working on Win2k

2003-01-06 Thread - Edwin
"Rad Craig" <[EMAIL PROTECTED]> wrote: [snip] > I don't have another outside SMTP server to check it on. Will yahoo > and others like that work for testing this? [/snip] Yes and no. I think this depends on the server. With Yahoo? No, it wouldn't/shouldn't work... - E __

Re: [PHP] time stamp screwing up

2003-01-06 Thread - \[ Paul Ferrie \] -
So Is NOW() a mysql function? "Stephan Seidt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > yep i guess that, so NOW() is a mysql function. > > - [ Paul Ferrie ] - wrote: > > So Jason what your saying is this > > > > $query = "INSERT INTO contacts

Re: [PHP] php.ini - changes aren't taking?

2003-01-06 Thread Scott Fletcher
The funny thing is that when IIS is freshly installed on a new O/S. It is very simple to make PHP work. Then 6 months later, IIS lose itself and have harder time working with PHP.INI. "Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Rad Cra

Re: [PHP] php.ini - changes aren't taking?

2003-01-06 Thread Scott Fletcher
That is correct, there's no PHP fault. It's is just IIS that aren't doing what it is suppose to be doing. I'm still working on it. "Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Rad Craig wrote: > > Yes, I restart my WebServer (IIS 5) ea

Re: [PHP] php.ini - changes aren't taking?

2003-01-06 Thread Christoph Grottolo
Rad Craig wrote: > Yes, I restart my WebServer (IIS 5) each time. > > Yes, I am editing the .ini file the phpinfo() reports it is using. > >>> I have been trying to get my email working. I have made some >>> changes in the php.ini file in the Windoze directory, but when I >>> run phpinfo() the cha

RE: [PHP] php.ini - changes aren't taking?

2003-01-06 Thread Rad Craig
> -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 06, 2003 10:55 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] php.ini - changes aren't taking? > > > On Tuesday 07 January 2003 00:43, Rad Craig wrote: > > Yes, I restart my WebServer (IIS 5) eac

Re: [PHP] time stamp screwing up

2003-01-06 Thread Jason Wong
On Tuesday 07 January 2003 00:49, - \[ Paul Ferrie \] - wrote: > So Jason what your saying is this > > $query = "INSERT INTO contacts (id, name, pass, email, dateAdded) VALUES > > > (NULL, '$name', '$pass', '$email', '$time')"; > > Should be > > $query = "INSERT INTO contacts (id, name, pass, email

Re: [PHP] time stamp screwing up

2003-01-06 Thread Stephan Seidt
yep i guess that, so NOW() is a mysql function. - [ Paul Ferrie ] - wrote: So Jason what your saying is this $query = "INSERT INTO contacts (id, name, pass, email, dateAdded) VALUES (NULL, '$name', '$pass', '$email', '$time')"; Should be $query = "INSERT INTO contacts (id, name, pass, email

Re: [PHP] php.ini - changes aren't taking?

2003-01-06 Thread Jason Wong
On Tuesday 07 January 2003 00:43, Rad Craig wrote: > Yes, I restart my WebServer (IIS 5) each time. > > Yes, I am editing the .ini file the phpinfo() reports it is using. Gawd, I hate it when people top-post. > > -Original Message- > > From: Jason Wong [mailto:[EMAIL PROTECTED]] > > Sent:

[PHP] Re: session_start() in php.ini does not work on Microsoft IIS

2003-01-06 Thread Christoph Grottolo
Scott Fletcher wrote: > $salt="C4155DDAF13A529594FB7C2541F4D4C7"; > session_start($salt); >> > > This is the error messages > > --clip-- > Warning: open(/tmp\sess_C4155DDAF13A529594FB7C2541F4D4C7, O_RDWR) > failed: m (2) in D:\DealPack\... on line 24 > > Warning: open(/tmp\sess_C4155D

Re: [PHP] time stamp screwing up

2003-01-06 Thread - \[ Paul Ferrie \] -
So Jason what your saying is this $query = "INSERT INTO contacts (id, name, pass, email, dateAdded) VALUES > (NULL, '$name', '$pass', '$email', '$time')"; Should be $query = "INSERT INTO contacts (id, name, pass, email, dateAdded) VALUES > (NULL, '$name', '$pass', '$email', NOW())"; ?? cheers

Re: [PHP] progress page

2003-01-06 Thread Jason Wong
On Tuesday 07 January 2003 00:33, Edward Peloke wrote: > I am working on an application that will take data from the user and run > then check through all the data to find matches. Instead of the user > seeing a blank screen while the page is loading, I would like to pop up a > page that says, pro

Re: [PHP] time stamp screwing up

2003-01-06 Thread Jason Wong
On Tuesday 07 January 2003 00:19, - \[ Paul Ferrie \] - wrote: > hey guys could someone help me > I have created a user login register system in flash with PHP and Mysql. > Everthing Now works fine aprt from the time stamp of when the user > registered. > > Code ---

[PHP] Re: php.ini - changes aren't taking?

2003-01-06 Thread Scott Fletcher
I'm having the same problem with II5 as you do. So, we're in the same boat. I only have one php.ini on Windows and I'm using hte same file path. I even rebooted the machine. I don't see how was I able to make it work before but not now Scott F. "Rad Craig" <[EMAIL PROTECTED]> wrote in mess

[PHP] Creating an extra library

2003-01-06 Thread Tom Vandeplas
Hi all, this question may have been asked a couple of times already, unfortunately I can't find the answer. I have a complete PHP-webserver system up and running, based on a standard redhat PHP distribution. The only thing that is missing are the XSLT funtions. I managed to build php on a differe

  1   2   >