[PHP] Scheduler, Staff Directory, Work tracker

2002-08-12 Thread Paul Dionne
Good morning everyone! Our organization is in need of a Scheduling program for meeting rooms. The program doesn't need to be very complicated...five or six rooms, outputs a list of rooms available for the time the user enters. We would put it on our intranet. We could also use a basic staff

[PHP] Installin PHP as a module

2002-08-12 Thread Carl Brandenburg
Hello everyone, First off, I've tried every option to get this working I could find in the past few days. I am trying to use the php4apache2.dll as a module in apache. I've tried changing the quotations and the direction of the slashes on the LoadModule line in the httpd.conf file. I've also trie

RE: [PHP] Installin PHP as a module

2002-08-12 Thread RPS Internet
I have had the sam problem in the past and have found out that it was a space in the path to the file. Try renameing the folder to apache_groups and see if that helps. My problem wasen't exactly the same as yours it did deal with another module that I was installing. Josh Thomas RPS Internet Serv

[PHP] Form variables not passed: register_globals = On

2002-08-12 Thread Petre Agenbag
Hi I have posted here about session problems etc, but I think I found the problem: My Form variables are not passed at all! Look at this: index.php page2.php "; echo " POST_VARS: ".$_POST["test"].""; echo " normal test :".$test.""; ?> I have installed a "everything" RedHat 7.3 installa

[PHP] Form variables not passing: globals IS on

2002-08-12 Thread Petre Agenbag
Sorry, posted with the wrong address, here it is again: I have RH 7.3 with "everything" install, and I didn't make ANY changes to the default php.ini, and have checked it and register_global = On Now, when I make a simple form and action page combo, the variables are not passed: You can see from

Re: [PHP] Scheduler, Staff Directory, Work tracker

2002-08-12 Thread Justin French
on 12/08/02 5:59 PM, Paul Dionne ([EMAIL PROTECTED]) wrote: > Good morning everyone! > > Our organization is in need of a Scheduling program for meeting rooms. The > program doesn't need to be very complicated...five or six rooms, outputs a > list of rooms available for the time the user enters

php-general Digest 12 Aug 2002 09:21:24 -0000 Issue 1520

2002-08-12 Thread php-general-digest-help
php-general Digest 12 Aug 2002 09:21:24 - Issue 1520 Topics (messages 112050 through 112103): Re: Pictures and sound in MySQL and access via PHP 112050 by: danny 112056 by: David Freeman 112058 by: RPS Internet 112061 by: danny Re: Cookie array 11205

[PHP] add options to select in ather page

2002-08-12 Thread Wakan
Hi, I've listbox with some categories in a page. When I find that there isn't the category I want, clicking on a link, I enter in the category managment page. After adding new categories, whenI close that window, I'd like to dinamically reload the select on the opener page, without reload all the

[PHP] Can PHP convert word to PDF

2002-08-12 Thread Jack
Dear all Can PHP be able to convert a Word Document to PDF? -- Thx a lot! Jack [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can PHP convert word to PDF

2002-08-12 Thread Justin French
on 12/08/02 7:36 PM, Jack ([EMAIL PROTECTED]) wrote: > Dear all > Can PHP be able to convert a Word Document to PDF? With enough work :) Although I wouldn't want to have to dig into Word's document structure! But since Adobe Acrobat can do it, and there are web-based tools available on adobe.c

[PHP] Loading Extension...

2002-08-12 Thread Brian McGarvie
OK Help I always seem to have trouble installing extensions... what am I doing wrong? (trying to get PDFLib working). I copied the DLL to c:\php\extensions\php_pdf.dll However when I try to run a simple example I get: Fatal error: Call to undefined function: pdf_new() in C:\Inetpub\wwweloa

[PHP] postgresql - image - php

2002-08-12 Thread Hafiz Malik
anyone know how to store an image to postgresql and load it back using php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] progress bar

2002-08-12 Thread Serdar Sokmen
Hi, I would like to add a progress bar to an installtion program I'm writing in PHP. I basically have one function that I call, it takes about 30 seconds or so to finish executing... I haven't done such a thing before. Can anyone plese suggest me some ideas... Many Thanks Serdar -- PHP Gene

[PHP] Re: Loading Extension...

2002-08-12 Thread lallous
;extension=php_pdf.dll you have to uncomment that line above inside php.ini Elias "Brian McGarvie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > OK Help > > I always seem to have trouble installing extensions... what am I doing > wrong? (trying to get P

[PHP] Re: add options to select in ather page

2002-08-12 Thread lallous
oh well, it is done via javascript: existingSelectBox[existingSelectBox.length] = new Option("display text", "item value", false); replace the "display text" , "item value" from the popup's selected field value/text good luck, "Wakan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">

[PHP] CURL's different Options values and their format

2002-08-12 Thread lallous
As you can see that every Option (parameter) when calling curl_Setopt requires a different mixed value format. where can i find a full description of how to use each of curl's options ? I mainly want to login to a page via curl have curl maintain the cookies post some fields while logged in the

Re: [PHP] progress bar

2002-08-12 Thread Justin French
Unless you can break the process up into a series of smaller process' (and use meta refresh's or javascript redirects to step through each process), you're out of luck... because the browser can't possibly know what's happening in the background on the server. For a cheap and nasty solution, how

RE: [PHP] progress bar

2002-08-12 Thread Tom Kohnen
Hi! Well i suppose flush() is useful in your case, flush out the output whenever it is called, and not when the page is fully generated (the usual case)! Sou you might to sth like this: - Print 1/4 of the progress bar - flush - wait some time - print 2/4 of the progress bar - flush i don't

Re: [PHP] can i use --with-unixODBC instead of --with-ibm-db2?

2002-08-12 Thread Doug Smith
Dan, thank you for asking, i can actually connect to db2 via command line no problem, i can even connect to the database via TCP/IP using the IBM DB2 Run-Time Client on a Win32 machine. Just having a problem with PHP seemingly. it's possible that i can't connect because it doesn't seem t

RE: [PHP] progress bar

2002-08-12 Thread Dan Hardiker
To make it look that little bit nicer, you could use flash to display the bar... but I think that make take a little longer than you'd like for development. > Hi! > Well i suppose flush() is useful in your case, flush out the output > whenever it is called, and not when the page is fully generate

Re: [PHP] progress bar

2002-08-12 Thread lallous
I agree with the flush() solution. In addition, output a javascript code to update the display in the browser... for example: documeny.theform.progressPercent.value++ Elias "Tom Kohnen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi! > Well i suppose flush

[PHP] image function

2002-08-12 Thread NoWhErEMan
I want to use the image functions listed in www.php.net to manipulate images. My server is Apache 2.0.x.x with PHP 4.2.2 , built on windows platform. Is it uncomment the ;extension=php_gd.dll in php.ini enough to enable such functions? NoWhErEMaN -- PHP General Mailing List (http://www.php.ne

RE: [PHP] image function

2002-08-12 Thread Jay Blanchard
[snip] I want to use the image functions listed in www.php.net to manipulate images. My server is Apache 2.0.x.x with PHP 4.2.2 , built on windows platform. Is it uncomment the ;extension=php_gd.dll in php.ini enough to enable such functions? [/snip] Not on Apache. You will need to compile/instal

RE: [PHP] image function

2002-08-12 Thread Tom Kohnen
Hi! Well you have to uncomment it AND restart apache afterwards! Plus, i assume that your extensions dir in the php.ini is correct, if not, apache will give you an error message ;) Have a nice day, - Tom -Original Message- From: NoWhErEMan [mailto:[EMAIL PROTECTED]] Sent: Monday, August

Re: [PHP] image function

2002-08-12 Thread NoWhErEMan
Thanks Jay, I known i need to install a lot of staffs to get all the functions works(GD Lib, FreeType Lib, libjpeg, libpng, zlibetc etc). But i only need a few of them, so if i just load the php_gd.dll, what functions included?? I canr found any information about that. And one more, does p

RE: [PHP] image function

2002-08-12 Thread Jay Blanchard
[snip] I known i need to install a lot of staffs to get all the functions works(GD Lib, FreeType Lib, libjpeg, libpng, zlibetc etc). But i only need a few of them, so if i just load the php_gd.dll, what functions included?? I canr found any information about that. And one more, does php_gd

Re: [PHP] image function

2002-08-12 Thread NoWhErEMan
Thank you Jay, Yup my apache is on Windows : ) Let's me try first. "Jay Blanchard" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D :002301c24201$b28caf00$[EMAIL PROTECTED] > [snip] > I known i need to install a lot of staffs to get all the functions works(GD > Lib, FreeType Lib, libjpeg, libpng, zlibet

[PHP] Re: including a php file in an html doc

2002-08-12 Thread Alexander Ross
I still seem to be missing something. I guess the easiest thing for me to do is just show you my code. All I want is to be able to reference the $hotspots array from any .html page oon my site. I thought I could include hotspot.php and then reference the array using syntax. What should I do?

[PHP] problem with array and session

2002-08-12 Thread Ricky
Hello everybody I'd like to make a page in which the results shown can be bookmarked by clicking a button aside each of them. Actually first it should check if the session is open already ... Then if that item(that comes from a query to a MySQL table) has been registered already, finally it reg

Re: [PHP] Newbie question about UNIX command-line directives

2002-08-12 Thread Al
I wasn't clear before. The problem I'm having, and most of the others folks who commented, with include is really with "include_path". A good bit of the problem seems to be my virtual host's environment. Most things I've tried with directives in an htaccess don't work and the error log says

RE: [PHP] Re: including a php file in an html doc

2002-08-12 Thread Alexander Ross
So is there any way to accomplish what I want to using php without naming the files *.php?? -Original Message- From: Brian V Bonini [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 10:11 AM To: Alexander Ross; [EMAIL PROTECTED] Subject: RE: [PHP] Re: including a php file in an ht

[PHP] SQL ?

2002-08-12 Thread Tyler Durdin
SELECT *, IF (answer = 'a', TRUE, FALSE) AS Answer-A What does the As Answer-A mean and what does it do? _ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- PHP General Mailing List (http://w

RE: [PHP] Re: including a php file in an html doc

2002-08-12 Thread Brian V Bonini
Because your trying to put PHP directives in an html file. Your web server does not know to parse html files as php files unless you tell it to do so. > -Original Message- > From: Alexander Ross [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 12, 2002 9:50 AM > To: [EMAIL PROTECTED] >

RE: [PHP] Re: including a php file in an html doc

2002-08-12 Thread Jay Blanchard
[snip] So is there any way to accomplish what I want to using php without naming the files *.php?? [/snip] in your httpd.conf file (Apache); # And for PHP 4.x, use: # AddType application/x-httpd-php .php AddType application/x-httpd-php .html This will cause html files to be treated as PH

RE: [PHP] SQL ?

2002-08-12 Thread Jay Blanchard
[snip] SELECT *, IF (answer = 'a', TRUE, FALSE) AS Answer-A [/snip] Answer-A is a handle for the data which you can use later when trying to display the results via PHP, as in an object line; print($data->Answer-A); HTH! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Pairing algorithm?

2002-08-12 Thread Chad Day
Has anyone written any sort of pairing algorithm for a round robin sports schedule, or something similar? I couldn't find anything in the archives surprisingly, and I'm looking around google and not turning up much except some PDFs and white papers addressing the mathmatical complications of it.

Re: [PHP] SQL ?

2002-08-12 Thread Analysis & Solutions
On Mon, Aug 12, 2002 at 02:15:23PM +, Tyler Durdin wrote: > SELECT *, IF (answer = 'a', TRUE, FALSE) AS Answer-A > What does the As Answer-A mean and what does it do? Why not examine the manual for the answer to such a basic question, especially one that is off topic for the list you posted

RE: [PHP] Re: including a php file in an html doc

2002-08-12 Thread vic
You must have a space between you can also write which might be easier to follow. And you have to include ALL your php code between these tags (you may use as many pairs as you wish in your page). And don't forget to name you file .php not .htm or .html - Vic -Original Message- From:

[PHP] Maximum in SQL query?

2002-08-12 Thread Tim Stoop
Hi people, It seems that MySQL only accepts queries that are 470 characters or smaller when I use PHP. Is this a known thing? Can I change it somehow? I printed the query: Query: REPLACE INTO foto (ID, titel, fotograaf, origineel_formaat_x, origineel_formaat_y, datum_invoering, datum_wijzigin

RE: [PHP] Re: including a php file in an html doc

2002-08-12 Thread Brian V Bonini
Yes, you need to tell your web server to parse html files for PHP directives. How you accomplish this will depend on your webserver and version. I think something along the lines of AddType application/x-httpd-php .php .html should work in an .htaccess file if your using Apache. > -Original

Re: [PHP] SQL ?

2002-08-12 Thread Tyler Durdin
Why not just let such a simple question go then? Especially since your reply is also off topic? Also, the question I asked was part of a reply from a previous topic. Thanks to all who answered my "simple" question. It is greatly appreciated. >From: Analysis & Solutions <[EMAIL PROTECTED]> >To

RE: [PHP] Maximum in SQL query?

2002-08-12 Thread Jay Blanchard
[snip] It seems that MySQL only accepts queries that are 470 characters or smaller when I use PHP. Is this a known thing? Can I change it somehow? I printed the query: Query: REPLACE INTO foto (ID, titel, fotograaf, origineel_formaat_x, origineel_formaat_y, datum_invoering, datum_wijziging, plaat

[PHP] Re: problem with array and session

2002-08-12 Thread B.C. Lance
try this instead: session_start(); . . . if (mysql_num_rows($_query)) { $_rec = mysql_fetch_array($_query); if (!isset($_SESSION["bkmks"]) || !in_array($_rec, $_SESSION["bkmks"]) { $_SESSION["bkmks"][] = $_rec; } else { echo "Already exist."; } } to test: echo

RE: [PHP] Re: including a php file in an html doc

2002-08-12 Thread Paul Colcutt
you could make a Flash movie that just contains a text field and fills it with the output of your php page by using Flash's loadvariables() function >[snip] >So is there any way to accomplish what I want to using php without >naming the files *.php?? >[/snip] -- === Paul Co

Re: [PHP] Newbie question about UNIX command-line directives

2002-08-12 Thread Rasmus Lerdorf
As mentioned a couple of times on that include page, you can just use ini_set() directly in your application to set include_path. eg. That will run through each directory listed in your include path. That is, it will check for: ./foo.inc ../foo.inc ../../foo.inc /usr/local/lib/php/foo.i

Re: [PHP] SQL ?

2002-08-12 Thread DL Neil
Now then, let's all play nicely together! Dan: relevance It is a PHP question because whereas the SQL query SELECT fred FROM tbl produces an array element back in PHP such as $row[ "fred" ], this convention/mapping comes well unstuck if you submit something like SELECT IF ( answer = 'a', TRUE, FA

[PHP] e-mail to mysql database?

2002-08-12 Thread Frank Schellenberg
In Short: What I need is a php script that reads an email file and split its data to a mysql file. A bit longer if you are still interested For the following project: http://www.crossing-africa.com, a journey I am going to make on a bike. What are the plans: I am taking a satilite phone and

Re: [PHP] checkbox => POST => array??

2002-08-12 Thread Brent Baisley
I'm doing something very similar on a project I'm working on, except I'm using radio buttons. I'm not quite sure what are using the ID for (for style sheets or a data ID). If you are using it as a data ID, then you can make it part of the topic[] array. So it would look like this: Then to pro

[PHP] Re: e-mail to mysql database?

2002-08-12 Thread Jome
> In Short: What I need is a php script that reads an email file and split its > data to a mysql file. > A bit longer if you are still interested > > For the following project: > http://www.crossing-africa.com, a journey I am going to make on a bike. > What are the plans: > > I am taking a sat

[PHP] security login

2002-08-12 Thread Pag
Well, first off sory for a very basic question, but i really dont know where else to look for the answer. Heres my dilemma: I need to code a backend for this site i am building, the backend will manage the news for the front page. The database stuff is pretty straight forward

[PHP] Re: Form variables not passing: globals IS on

2002-08-12 Thread Steve Clay
Monday, August 12, 2002, 4:57:36 AM, Petre wrote: PA> to the default php.ini, and have checked it and register_global = On PHP settings can be altered outside of php.ini (using Apache .htaccess files for example) Add this line to page2.php to see the run-time setting: echo " register_globals is

Re: [PHP] SQL ?

2002-08-12 Thread Tyler Durdin
My question as to what the AS statement did was just that, a question. It works perfectly, but I was curious if I was not completely understanding of what it did or if I could make better use of it. As for my reply i feel it was completely justified in that my post was on topic. I understand th

[PHP] How to post from a php script

2002-08-12 Thread Rick Horrix
I want to POST variables from one php page to another without any user interaction. I can achieve this using header( "Location ...?var1=xx&var2=yy" ) passing the vars like a GET, but I don't want the vars to be visible to the user in the browser address field. Is it possible to do this. TIA smart

RE: [PHP] Maximum in SQL query?

2002-08-12 Thread Tim Stoop
Hi Jay, Jay Blanchard wrote: > I believe the error is a space prior to 'var' > > "Brunssum", , "/ var/ > > try > > "Brunssum", , "/var/ Nope, that wasn't the error, but the error was in there... it's the ", ," in there :) An empty value... Thanks for the quick reply! -- Kind regards, Tim

[PHP] exec / mkdir question

2002-08-12 Thread Javier Montserat
i'm using the following code to create a directory :- $temp = exec("mkdir $path"); it doesn't work... i've validated the $path var which is correct. i suspect it is a permissions issue. what should i look for to resolve this? thanks, javier __

RE: [PHP] exec / mkdir question

2002-08-12 Thread Daniel Kushner
Try using the mkdir function: http://www.php.net/manual/en/function.mkdir.php Daniel Kushner [EMAIL PROTECTED] Need hosting? http://www.thehostingcompany.us/ > -Original Message- > From: Javier Montserat [mailto:[EMAIL PROTECTED]] > Sent: Monday, Aug

RE: [PHP] security login

2002-08-12 Thread Cal Evans
If it's simple security then you might want to use an .htaccess file instead of coding something. More complex solutions involve asking the user for credentials, validating those credentials and then storing something in the $_SESSION that indicates that this user has been validated. It can be s

[PHP] Re: How to post from a php script

2002-08-12 Thread Kai Hinkelmann
Create a form only with hidden-fields (your values) and no visible fields or buttons. The "action=" is set to the next file, the method ist set to POST (of course). Don't use php-header to redirect but javasript. If you want to redirect immediately you can write "onLoad=document.forms[0].submit()"

[PHP] Executing a file with rtf-extension

2002-08-12 Thread Kai Hinkelmann
Hi, I want to execute a php-script, which file-extension ist .rtf. Though I entered .rtf in the mmc->iis-configuration as a fileextension for "php.exe %s %s" (and restarted the service) the server doesn't start php but sending the script uninterpreted back to client (in this case: ms-word). When

Re: [PHP] Executing a file with rtf-extension

2002-08-12 Thread Adam Voigt
My guess would be that this is a browser issue, with the browser associating .rtf with a word doc (or Rich Text to be more accurate) and if this is the case, there's not much you can do except not name your PHP files .rtf. Since, each person who comes to your site will most likely have .rtf set as

Re: [PHP] SQL ?

2002-08-12 Thread Analysis & Solutions
Hi Tyler: On Mon, Aug 12, 2002 at 02:32:57PM +, Tyler Durdin wrote: > > Why not just let such a simple question go then? I was being helpful by pointing you to the manual where you could find the answer to this particular question AND a means of figuring out answers to future questions. I w

Re: [PHP] Executing a file with rtf-extension

2002-08-12 Thread Phil Driscoll
On Monday 12 August 2002 3:52 pm, Adam Voigt wrote: > My guess would be that this is a browser issue, with the > browser associating .rtf with a word doc (or Rich Text to be > more accurate) and if this is the case, there's not much you > can do except not name your PHP files .rtf. Since, each per

Re: [PHP] Executing a file with rtf-extension

2002-08-12 Thread Kai Hinkelmann
Yes, that is the intention! The browser SHOULD open WORD (or Wordpad or what else) and the script should generate the content on the server, independent from the client. The problem must lie within IIS- oder PHP-Configuration. But I don't know, where. "Adam Voigt" <[EMAIL PROTECTED]> schrieb im

Re: [PHP] Executing a file with rtf-extension

2002-08-12 Thread Kai Hinkelmann
Thanks but since this one is a testserver there is only one webnode and the script runs (or runs not :-( ) in this node. Bye Kai "Phil Driscoll" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Monday 12 August 2002 3:52 pm, Adam Voigt wrote: > My gues

Re: [PHP] SQL ?

2002-08-12 Thread Rasmus Lerdorf
I know many people hate top-posts, but when you get 1400+ emails every day and answer 50+, it sure does speed things up. Having the relevant text right up front means I don't have to scroll down to find it. If I don't understand the reply and need more context, that's when I scroll down to see w

Re: [PHP] Executing a file with rtf-extension

2002-08-12 Thread Adam Voigt
Oh, I think see what your saying now. Why not try leaving it named a .php file and simply setting the content disposition to "word/rtf" or whatever the appropriate type is? I do that with PDF's, so that the page you goto is named .php but it auto-loads the PDF plugin because it see's the content d

[PHP] dates greater than 2002-01-18 create error

2002-08-12 Thread Cirkit Braker
Anytime I try to add a day to the date 2002-01-18, I get a Warning: unexpected error in date() error. Can anyone shed some light on this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] dates greater than 2002-01-18 create error

2002-08-12 Thread Jay Blanchard
[snip] Anytime I try to add a day to the date 2002-01-18, I get a Warning: unexpected error in date() error. Can anyone shed some light on this. [/snip] If you'll shed some code on this, we'll shed some help :^] Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] In version 4.2.1 ereg_replace break Apache

2002-08-12 Thread Marcello Lupo
Hi to all, i have version 4.1.2 installed on linux slackware 8.0 with kernel 2.2.19. If i use this function : ## A simple function to remove consonant ## $temp="thisisatry"; $temp=ereg_replace("[BCDFGHJKLMNPQRSTVWXYZ]","",$temp); echo $temp; I get : [Mon Aug 12 18:13:29 2002] [notice] chi

[PHP] Thanks - got it

2002-08-12 Thread Kai Hinkelmann
Hi, Phil, Excuse me, you was right. I changed the mapping for the server but not for the directory. Now everything works fine. Thanks again. Bye Kai "Phil Driscoll" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Monday 12 August 2002 3:52 pm, Adam V

[PHP] Php lib?

2002-08-12 Thread John Wards
Anyone got any handy hints on how to convert scripts running on PHP3 and PHPlib? Its doing my head in! John Wards SportNetwork.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-WIN] PDF Files...

2002-08-12 Thread Chris Boget
> Any advice as to which of the above is possible/not possible and if > not any ways to *mimic* anything. One thing you can look into is HTMLDoc. It turns any (well formed) HTML into a PDF file. We've been using it for about 6 months and it works for exactly what we needed it to do. Chris -

RE: [PHP] dates greater than 2002-01-18 create error

2002-08-12 Thread Jay Blanchard
[snip] [/snip] I take out '+1' and the result is 1969-12-31 I put in the '+1' and the result is 1970-01-01 I change '2038-01-19' to '2002-01-19' and it works. Which is what the subject of your message was, not [PHP] dates greater than 2038-01-18 create error HTH! Jay -- PHP General Maili

RE: [PHP] dates greater than 2002-01-18 create error

2002-08-12 Thread Adam Voigt
Dude, did you read the PHP Date manual page? I quote: Note: The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the dates that correspond to the minimum and maximum values for a 32-bit signed integer). On windows this range

Re: [PHP] dates greater than 2002-01-18 create error

2002-08-12 Thread John Wards
right am i missing something or is that not just an other Y2K "bug" waiting to happen? Not that I plan to be coding php in 2038 but my kids might be.:-P John - Original Message - From: "Adam Voigt" <[EMAIL PROTECTED]> To: "Jay Blanchard" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Se

[PHP] Simple date question

2002-08-12 Thread Dave Leather
I hope this is a simple date question I am using an MSSQL database, and have a datetime field called start_date and end_date. When I use query analyser and do a SELECT start_date from CF_#orders The format is 2002-08-11 12:13:44.000 In Php - my code is start_date; ?> The format is now Aug 1

[PHP] html parser

2002-08-12 Thread Curtis A. Weyant
Does anyone know of a good PHP HTML parser out there that I can use? Thanks, Curtis. Is your boss reading your email? Probably Keep your messages private by using Lycos Mail. Sign up today at http://mail.lycos.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

[PHP] Compiling External Modules

2002-08-12 Thread MET
Does anyone know how to build the first_module example shown at Zend (http://www.zend.com/apidoc/) ? I'd like to start coding extensions (preferably not directly into the PHP binary because of my hosting situation) but just don't understand the explanation of compiling them. Any one know how? ~

[PHP] picture upload error!

2002-08-12 Thread Djurovski Dejan
I can't upload picture to MySQL database: What is wrong with my script: I use PHP & MySQL database. After submiting form my script says that everything is OK, but in database I see that a picture is not uploaded.(date, size, name, type are inputed, but data is not!). Table: CREATE TABLE pictures

[PHP] proba

2002-08-12 Thread Djurovski Dejan
proba -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to post from a php script

2002-08-12 Thread Rick Horrix
Thanks for your reply, but I can see a couple of potential problems with this ;- 1) This relies on the user having javascript enabled in their browser settings. 2) The page has to be fully loaded in the client browser before the redirect takes place, this means it will perform more slowly than a s

RE: [PHP] Php lib?

2002-08-12 Thread Johnson, Kirk
> Anyone got any handy hints on how to convert scripts running > on PHP3 and > PHPlib? 1. Roughly speaking, page_open() goes to session_start(): Old: page_open(array("sess" => "my_web_Session")); New: session_start(); 2. page_close() goes away; if you don't have time to remove all those calls

RE: [PHP] Pairing algorithm?

2002-08-12 Thread Chad Day
I found a pairing algorithm finally via Google in C that I've been trying to translate over into PHP, with no success (seemingly creates an infinite loop). I'm also surprised I haven't seen it in PHP yet.. thought someone would have done it by now. http://www.devenezia.com/downloads/round-robin/

[PHP] Strip PHP tags

2002-08-12 Thread Remy Dufour
Hi all, Is there an easy way to remove tag from a string ? Ive got this script and i want it to output only html... I know i can do this with regular expression but i wonder if there are some native function to do the job. Test Hello !!! Regards ! Rémy Dufour -- PHP General Mailing

Re: [PHP] Re: How to post from a php script

2002-08-12 Thread Jason Wong
On Tuesday 13 August 2002 01:11, Rick Horrix wrote: > Thanks for your reply, but I can see a couple of potential problems with > this ;- > 1) This relies on the user having javascript enabled in their browser > settings. > 2) The page has to be fully loaded in the client browser before the > redir

[PHP] Some questions.

2002-08-12 Thread mintbaggio
Hello I'm a Chinese university student,I want to ask some questions about session. These days I'm build a website for my university with PHP, But I meet a question when I develop the part of User Management: After I have log out from a user page(I use "session_unset()" and "session_destroy()

Re: [PHP] SQL ?

2002-08-12 Thread Jason Wong
On Monday 12 August 2002 23:53, Analysis & Solutions wrote: > Hi Tyler: > > On Mon, Aug 12, 2002 at 02:32:57PM +, Tyler Durdin wrote: > > Why not just let such a simple question go then? It was clearly a question that had nowt to do with PHP. Even your subsequent posts defending your positio

Re: [PHP] SQL ?

2002-08-12 Thread Jason Wong
On Tuesday 13 August 2002 00:03, Rasmus Lerdorf wrote: > I know many people hate top-posts, but when you get 1400+ emails every day > and answer 50+, it sure does speed things up. It probably depends. > Having the relevant text > right up front means I don't have to scroll down to find it.

Re: [PHP] SQL ?

2002-08-12 Thread Rasmus Lerdorf
If I have to do that for every reply then I will only reply to half as many messages each day. On Tue, 13 Aug 2002, Jason Wong wrote: > On Tuesday 13 August 2002 00:03, Rasmus Lerdorf wrote: > > I know many people hate top-posts, but when you get 1400+ emails every day > > and answer 50+, it sur

RE: [PHP] exec / mkdir question

2002-08-12 Thread Simon Ritchie
> > i'm using the following code to create a directory :- > > > > $temp = exec("mkdir $path"); > > > > it doesn't work... > > > > i've validated the $path var which is correct. i suspect it is a > > permissions issue. > > > > what should i look for to resolve this? > > Try using the mkdir functi

[PHP] Whois...

2002-08-12 Thread Christian Ista
Hello, I'd like to implement on my web site an "whois" to know the information about a domain name (.com, org, ) Could you tell me how to do that ? Bye -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] exec / mkdir question

2002-08-12 Thread Brian V Bonini
Just curious, any reason you don't use the mkdir function/ mkdir ("/path/to/my/dir", 0700); -Brian > -Original Message- > From: Simon Ritchie [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 12, 2002 2:50 PM > To: [EMAIL PROTECTED] > Subject: RE: [PHP] exec / mkdir question > > > > > i

Re: [PHP] Some questions.

2002-08-12 Thread Daniel Massón
hi there 1=> session_unset ans session_destroy do destroy all data of a session but they do not destroy the cookie stored in the browser, you have two chioces: -alter the option session.cookie_lifetime en php.ini the default is '0' seconds. -after using session_unset(); and session_destroy();

[PHP] $HTTP_SESSION_VARS vs $_SESSION

2002-08-12 Thread Petre Agenbag
Hi Me again Still having problems with forms not sending variables, and session variables dissapearing. I have 2 systems, one older 4.0.3 PHP which is my main webserver, so all scripts must comply with it... And the other my development server with the latest 4.1.2 So, I'm trying to write scrip

Re: [PHP] Whois...

2002-08-12 Thread Peter J. Schoenster
On 12 Aug 2002 at 20:48, Christian Ista wrote: > Hello, > > I'd like to implement on my web site an "whois" to know the information > about a domain name (.com, org, ) > > Could you tell me how to do that ? http://promoxy.mirrors.phpclasses.org/search.html?words=whois&go_search=1 http://

Re: [PHP] $HTTP_SESSION_VARS vs $_SESSION

2002-08-12 Thread Rasmus Lerdorf
If register_globals is known to be on, why are you worrying about the $HTTP_* arrays? On 12 Aug 2002, Petre Agenbag wrote: > Hi > Me again > > Still having problems with forms not sending variables, and session > variables dissapearing. > > I have 2 systems, one older 4.0.3 PHP which is my main

[PHP] erwt

2002-08-12 Thread Djurovski Dejan
trerter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Whois...

2002-08-12 Thread Steven
The tutorial at DevShed should provide the answers your looking for http://www.devshed.com/Server_Side/PHP/whois/page1.html -Original Message- From: Christian Ista [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 12:08 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Whois... > http

Re: [PHP] $HTTP_SESSION_VARS vs $_SESSION

2002-08-12 Thread Petre Agenbag
You lost me there... Are you saying I don't need to access those variable in that way? Can I simply use $variable in successive pages then? Surely I MUST use that notation to assign values then right?, specially to the session vars, right? But, just out of curiosity, why does it work fine on my n

Re: [PHP] $HTTP_SESSION_VARS vs $_SESSION

2002-08-12 Thread Petre Agenbag
Oh, almost forgot, I *think* the reason why I'm still worrying about the $HTTP_* arrays are because I *think* that it is the correct way to work with the vars once register_globals is turned off ( which is where things are moving to right?), and I don't want to re-code my scripts... Am I making s

  1   2   >