[PHP] e-mail list app

2002-03-25 Thread Michael A. Peters
Anyone know of a free app that allows users to submit- name, nickname, e-mail addy app sends a url confirm to e-mail addy. upon confirm, the info gets stored in a mysql database with the email encrypted. addresses should only be decryptable with a key that does not need to be stored on the

[PHP] Resume/recover uploads in PHP 4.2 ? WAS: RE: upload forms, how much was uploaded before upload fails..

2002-03-25 Thread Jimmy Lantz
Hi following up on the text below... Will there then be possible to recover uploads in 4.2? Maybe even resuming uploads? (wishfull thinking) ? Cheers Jimmy Rasmus Lerdorf wrote: Re: [PHP] upload forms, how much was uploaded before upload fails.. You'll probably need PHP 4.2 for uploads that big

Re: [PHP] From To to BCC in a Mail script

2002-03-25 Thread Justin French
on 25/03/02 6:31 PM, anti-blank ([EMAIL PROTECTED]) wrote: I've got this script here to send out a mail whenever I enter an update to my site to my mailing list. The problem is it wants to dump everyone's email into the To field, and since I don't want to give my users email addresses away

[PHP] Empty strings

2002-03-25 Thread Manuzhai
I have an array with elements of which a lot are empty strings (according to var_dump, string (0)). I try to unset() these elements from the array by checking for $p[$i] == , or strlen($p[$i]) 1, or !$p[$i], but it only deletes a few of them, not all. Anyone have an idea as to how this could be

[PHP] Re: Why?

2002-03-25 Thread Arve Bersvendsen
Gunter Ohrner wrote: The HTTP-based network protocol for controlling coffee machines was not bad, either. Which we seriously considered implementing here at my job. But: A webcam and a pair of legs suffices. -- Arve X-No-Archive? Never

Re: [PHP] Still REG EX

2002-03-25 Thread liljim
Have a look at this: function ValidateUrl($url) { // Check the syntax if (!preg_match(!((https?|ftp)://)(www\.)?([a-zA-Z0-9/\-]*)+\.([a-zA-Z0-9/\-]* )+([a-zA-Z0-9/\-\.]*)?!, $url)) { return false; } // If it's correct, then try and open it if (!@fopen($url, r)) { return false; }

[PHP] No php being built...

2002-03-25 Thread rjp
G'day. Problem: Following [b] install trail in INSTALL using php 4.1.2 source distro, and with the configure setup shown below [1]. Conditions: Using Mandrake 7 / updated bintools / kernel 2.4..95.214 / kde 2.2.2 gcc 2.95.2 Apache 1.3.23 already

[PHP] Re:[PHP] HELP ME PLEASE: php not run on IIS 4.0

2002-03-25 Thread Liam
25/03/2002 8:27:51 PM hehehe You could start with loosing IIS, it's bad news. The port of Apache for windows is good, if not, Xitami's also quite good. http://www.apache.org/dist/httpd/binaries/win32/ http://www.xitami.com/ But, no, sorry. I can't help you. Berlina [EMAIL PROTECTED] wrote

[PHP] [newbie] Something is messed up, anybody can help?

2002-03-25 Thread Mantas Kriauciunas
Hey PHP General List, Intro: I am creating small login script and few things doesn't work right. Code is hare: admin.php if(isset($subm_login)) { $session[logged]=0; $session[uzeriz]=; $result = mysql_query(select * from uzer where user='$uzr_name' and

[PHP] Uploading files without an HTML form

2002-03-25 Thread Sam Rose
Hi there, I was wondering if it is possible to upload an known file without having to use an HTML form with the post command? If so, could you point me in the right direction? Thanks alot Sam Rose p.s. I'm only on the digest list, so it would be really handy if you could send any replies

[PHP] php 4.1.2 XSLT on solaris

2002-03-25 Thread ghislain MUKOKA
Hi I m under SOLRIS 8 on Sparc My question is How fixe this errors on APACHE start whith php module. Apache ERROR MSG on start Syntax error on line 205 of /opt/local/apachessl/conf/httpd.conf: Cannot load /opt/local/apachessl/libexec/libphp4.so into server: ld.so.1:

[PHP] MS Access data = mySQL database

2002-03-25 Thread Thomas Edison Jr.
Can anyone tell me how to convert/send data stored in an MS Access database to a mySQL table through PHP?? T. Edison Jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage : http://www.abraxastech.com Email : [EMAIL PROTECTED] Tel :

[PHP] HELP ME PLEASE: php not run on IIS 4.0

2002-03-25 Thread Berlina
Hi, Im trying to install PHP 4.1.2 under Windows 2000 Server and IIS 4.0 * If I configure PHP as a MODULE, all run but SESSIONS DON'T WORK * If I configure PHP as a CGI, SESSIONS WORK but ORACLE MODULE for PHP not load Any ideas? Anybody can help me? Advanced thanks, Berli -- PHP General

[PHP] File Upload

2002-03-25 Thread David McInnis
I wrote s script to upload a file. The script works, but when I point my browser to the file it downloads, but I can no longer open the file in MS Word. What is happening to my file? My client is Windows and the server is Linux. David McInnis -- PHP General Mailing List

[PHP] reg-ex

2002-03-25 Thread John Fishworld
How can I change this to accept spaces as well ? (ereg(^[A-Za-zÀ-ÖØ-öø-ÿ]*$, $str)) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general Digest 25 Mar 2002 12:40:27 -0000 Issue 1247

2002-03-25 Thread php-general-digest-help
php-general Digest 25 Mar 2002 12:40:27 - Issue 1247 Topics (messages 89952 through 90011): Re: what's undefined index ? 89952 by: Martin Towell 89970 by: Jason Wong Re: [PHP-DEV] Resume of my problem 89953 by: Zak Greant mcrypt kills Apache children 89954

Re: [PHP] Image Displayed From Database

2002-03-25 Thread Kai Schaetzl
Also when I right-click and choose Save As it only lets me save as a bmp. Again, it displays fine, I would just like to make it work like a real image. Clear your IE cache (TIF (Temporary Internet Files)). If that doesn't help, follow Miguel's advice. Kai -- Kai Schätzl, Berlin, Germany

[PHP] Creating forums in php

2002-03-25 Thread Denis L. Menezes
Hello friends, I am running a website having php and mysql support on which I want to set up a discussions forum. Can someone advise me any web resources for building a php-mysql forum? Thanks denis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: reg-ex

2002-03-25 Thread liljim
John Fishworld [EMAIL PROTECTED] wrote in message 002301c1d3fa$b2c2f350$04010a0a@fishworld">news:002301c1d3fa$b2c2f350$04010a0a@fishworld... How can I change this to accept spaces as well ? (ereg(^[A-Za-zÀ-ÖØ-öø-ÿ]*$, $str)) Put a space in the character class. ~James -- PHP General

[PHP] GIF support in PHP

2002-03-25 Thread Todor Stoyanov
Is there a way to add GIF support in PHP without recompiling? Just adding as an extension. Tanks a lot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] [newbie] Something is messed up, anybody can help?

2002-03-25 Thread Rick Emery
1. Just pass uzeriz to the function, not session(uzeriz); 2. FYI: you don't need this construct: while($row = mysql_fetch_row($result)){ Based upon the previous tests, there is ONLY 1 entry. Therefore, go with: $row = mysql_fetch_row($result); -Original Message- From: Mantas

Re: [PHP] GIF support in PHP

2002-03-25 Thread Andrey Hristov
This is the way under windows. Hmm, possibly you want GD extension but GIF format was excluded from the supported in the past but you can apply a crack over the GD and then recompile. For *nix : Get the sources, compile GD as a module and edit php.ini so PHP (possibly libphp4.so) will load the

[PHP] Re: Creating forums in php

2002-03-25 Thread Jason Sheets
Why build one when someone else already has built something that will work? Take a look at www.hotscripts.com, http://php.resourceindex.com and www.zend.com they all have libraries of scripts for PHP. Jason Denis L. Menezes [EMAIL PROTECTED] wrote in message

[PHP] date (j) not working on Unix - any ideas

2002-03-25 Thread geoff
Any ideas why date (j) doesn't appear to work when I use it on my ISP that has a Unix Server, but on my Windows ISP , it works fine ? The other date() functions Y,m,d etc all work fine on both systems. (I'm using PHP3 by the way.) Any help would be very much appreciated. Thanks Geoff

[PHP] Why using this? When....

2002-03-25 Thread ...::: Rober2.com :::...
Hey! What's really the meaning with whatever.php?page=1 when you are NOT using a db? Just cuz it looks cool? Or is there a better reason? -Cuz you could do a href=whatever.htm instead of blabla.php?page=1 (having include('blabla.htm'); in a script in blabla.php...of course) Thanks

Re: [PHP] Why using this? When....

2002-03-25 Thread Erik Price
On Monday, March 25, 2002, at 09:31 AM, ...::: Rober2.com :::... wrote: What's really the meaning with whatever.php?page=1 when you are NOT using a db? Just cuz it looks cool? Or is there a better reason? -Cuz you could do a href=whatever.htm instead of blabla.php?page=1 (having

RE: [PHP] Re:[PHP] Why?

2002-03-25 Thread Rick Emery
I'm ex-USAF. FUBAR means Fucked-Up Beyond All Repair -Original Message- From: Liam [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 9:02 AM To: [EMAIL PROTECTED] Subject: [PHP] Re:[PHP] Why? 25/03/2002 3:01:36 PM FBAR was a term used in the second world war. It turned into

Re: [PHP] Why using this? When....

2002-03-25 Thread ...::: Rober2.com :::...
Ok, I get it. Exepet passing information there isn't other meaning right? ... Erik Price [EMAIL PROTECTED] escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Monday, March 25, 2002, at 09:31 AM, ...::: Rober2.com :::... wrote: What's really the meaning

[PHP] newbyie - date conversion to human readable form

2002-03-25 Thread ROBERT MCPEAK
I've dug around for a while but I can't find a direct answer on how to convert a date in this format: 2002-03-25 to a human readable format such as March 25, 2002, or even better, Monday, March 25, 2002. Can anybody help me with this, or point me to some clear directions on how to do this?

[PHP] User validation and Session management

2002-03-25 Thread javier
Hi, I'm new to the newsgroup. I would like to know how can I do with php to keep user track and let him or not access to specified pages. I thought about validating (u/p) first and then giving a session variable. And then on each script I would check sessionID with a permissions table.

Re: [PHP] Why using this? When....

2002-03-25 Thread Erik Price
On Monday, March 25, 2002, at 09:49 AM, ...::: Rober2.com :::... wrote: Ok, I get it. Exepet passing information there isn't other meaning right? Hm? Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List

[PHP] Another Session Question

2002-03-25 Thread John Fishworld
I've seen various tutorials on sessions where they specify the session id instead of just using one generated by php ! Why ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] newbyie - date conversion to human readable form

2002-03-25 Thread Dan Vande More
Straight from my code: $value = date(m/d/Y, strtotime($value)); If you want it otherwise, modify the paramters in the 'date' command to your liking. Dan -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 7:55 AM To: [EMAIL PROTECTED]

RE: [PHP] newbyie - date conversion to human readable form

2002-03-25 Thread Rick Emery
In PHP, you look at the date() function. If retrieving this from a mysql database, mysql will do it for you: SELECT DATE( mydate, %W, %M %d, %Y) AS thedate FROM mytable; -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 8:55 AM To: [EMAIL

[PHP] localization - internationalization

2002-03-25 Thread Matt Friedman
Hi, Just wondering how many folks are working on localization issues. I am building an application and have built in support for multi-languages, but I do not yet have anything set up for handling different monetary and date formatting. What other issues should I consider? Any pointers to help

Re: [PHP] localization - internationalization

2002-03-25 Thread Andrey Hristov
use setlocale() to set locale in every script. then the output from different functions - number_format(), strftime(), etc. will be according to the locale. I've not tried this but it have to work. Best regards, Andrey - Original Message - From: Matt Friedman [EMAIL PROTECTED] To:

[PHP] fatal: /opt/local/apachessl/libexec/libphp4.so

2002-03-25 Thread ghislain MUKOKA
Hi I m under SOLRIS 8 on Sparc My question is How fixe this errors on APACHE start whith php module. Apache ERROR MSG on start Syntax error on line 205 of /opt/local/apachessl/conf/httpd.conf: Cannot load /opt/local/apachessl/libexec/libphp4.so into server: ld.so.1: /o=

Re: [PHP] MS Access data = mySQL database

2002-03-25 Thread Jon Farmer
Can anyone tell me how to convert/send data stored in an MS Access database to a mySQL table through PHP?? 3 Ways of doing this come to mind. Only one uses PHP though. 1. From PHP use ODBC to extract from access and send to MySQL through PHP functions. 2. Export to csv from Access and use

[PHP] Confused About Classes

2002-03-25 Thread arti
I am getting the error Undefined variable this in my class. I am new to PHP and presume I am just doing something wrong. But, I don't understand what it could be as the code looks straightforward to me. Note that I trimmed out some code to keep this listing from being huge, but the relevant

RE: [PHP] Confused About Classes

2002-03-25 Thread Rick Emery
if ($this-private==FALSE) // Undefined variable this return; } $this is relevant ONLY within the scope of the class definition. The above snippet is located OUTSIDE of the class definition. You must use an object pointer. That is: $newobj = new

Re: [PHP] Confused About Classes

2002-03-25 Thread arti
No, the only thing I supplied is the class. The startElementHandler IS a function in the class. Rick Emery [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... if ($this-private==FALSE) // Undefined variable this return; } $this is

RE: [PHP] header and session?

2002-03-25 Thread Johnson, Kirk
Do you have register_globals turned on or off in php.ini? What values are $a and $b being set to? Kirk -Original Message- From: bob [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 24, 2002 4:21 PM To: [EMAIL PROTECTED] Subject: [PHP] header and session? 1.php?

RE: [PHP] Confused About Classes

2002-03-25 Thread Rick Emery
However, startElementHandler() is not be called in a class context. According to the manual for xml_set_element_handler(): There is currently no support for object/method handlers. -Original Message- From: arti [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 9:43 AM To: [EMAIL

[PHP] Echo Informative Text will Script Runs - how ?

2002-03-25 Thread Chris
Hi, How can I echo some text such as Processing, please wait... whilst the PHP script runs. Rather than displaying a blank screen with the results being echoed once the script has fully completed. Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Confused About Classes

2002-03-25 Thread Cirstoiu Aurel Sorin
I am sorry but your code works just fine. What server do you have?And what configuration? -- --- Cirstoiu Aurel Sorin Interakt Online Support http://www.interakt.ro/ Arti [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am getting

RE: [PHP] newbyie - date conversion to human readableform-CORRECTION

2002-03-25 Thread ROBERT MCPEAK
Rick Emery [EMAIL PROTECTED] 03/25/02 11:04AM CORRECTION: SELECT DATE_FORMAT( mydate, %W, %M %d, %Y) AS thedate FROM mytable; -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 9:58 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] newbyie -

[PHP] Login displays the pass and user in url

2002-03-25 Thread David Orn Johannsson
Can I some how prevent the browser from displayin index.php?passwd=passuser=user in the url when I use this script I wrote. ?php if(!IsSet($stage)){ print(form name=\login\ action=\$PHP_SELF\);

Re: [PHP] Echo Informative Text will Script Runs - how ?

2002-03-25 Thread Jon Farmer
How can I echo some text such as Processing, please wait... whilst the PHP script runs. Rather than displaying a blank screen with the results being echoed once the script has fully completed. echo (\Processing, please wait...\); flush(); //processing code here... -- Jon Farmer Systems

Re: [PHP] Login displays the pass and user in url

2002-03-25 Thread R'twick Niceorgaw
change the first line to if(!IsSet($stage)){ print(form name=\login\ action=\$PHP_SELF\ method=\POST\); HTH - Original Message - From: David Orn Johannsson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 25, 2002 11:16 AM Subject: [PHP] Login displays the pass and user

RE: [PHP] Login displays the pass and user in url

2002-03-25 Thread Rick Emery
where are they being displayed? -Original Message- From: David Orn Johannsson [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 10:17 AM To: [EMAIL PROTECTED] Subject: [PHP] Login displays the pass and user in url Can I some how prevent the browser from displayin

[PHP] XML Comparison?

2002-03-25 Thread Chris Hilbert
I was wondering if anyone would know how I could go about checking two XML files for differences, similar to the diff command in *nix. I'm having a heck of a time getting a function written to achieve this task. Thanks, Chris Hilbert -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] what's undefined index ?

2002-03-25 Thread Kai Schaetzl
Your message of Mon, 25 Mar 2002 11:35:57 +1100: undefined variable is when you try to use a variable before you set it, eg $foobar undefined index is when you try to reference an array index before you set it, eg $foobar[10] Hi, thank you both for the explanation. It's clear why I get the

[PHP] HTTP, Sockets, and CRLF

2002-03-25 Thread Erik Price
The standard way to end lines when communicating via HTTP is the CRLF (ASCII 13 ASCII 10). But I write my PHP scripts using only LF (ASCII 10) for line endings. Why am I still able to write instructions to a socket -- does PHP automatically translate my line endings to CRLF, or is HTTP

Re: [PHP] Echo Informative Text will Script Runs - how ?

2002-03-25 Thread Erik Price
On Monday, March 25, 2002, at 10:39 AM, Chris wrote: How can I echo some text such as Processing, please wait... whilst the PHP script runs. Rather than displaying a blank screen with the results being echoed once the script has fully completed. A hackish and inelegant way to do it

RE: [PHP] localization - internationalization

2002-03-25 Thread Matt Friedman
Looking for some more detailed information on this subject. Any experts out there? Thanks, Matt Friedman -Original Message- From: Andrey Hristov [mailto:[EMAIL PROTECTED]] Sent: Monday March 25, 2002 10:04 AM To: Matt Friedman Cc: [EMAIL PROTECTED] Subject: Re: [PHP] localization -

RE: [PHP] what's undefined index ?

2002-03-25 Thread Darren Gamble
Good day, The error message refers to the KundeRemark in $val[KundeRemark], not $KundeRemark which you are trying to assign the result to. The former is (if it existed) an index, the latter is a variable. Darren Gamble Planner, Regional Services Shaw Cablesystems

RE: [PHP] localization - internationalization

2002-03-25 Thread Rasmus Lerdorf
See http://php.net/gettext On Mon, 25 Mar 2002, Matt Friedman wrote: Looking for some more detailed information on this subject. Any experts out there? Thanks, Matt Friedman -Original Message- From: Andrey Hristov [mailto:[EMAIL PROTECTED]] Sent: Monday March 25, 2002 10:04

[PHP] semi-OT: moving PWS to Apache on NT

2002-03-25 Thread Steve Clay
Hello, I run Personal Web Server on NT just for local testing but I'm considering installing Apache. Would this allow me to run mod_php instead of the CGI? Ideally I'd like to configure Apache so that only local requests are served - Is this easily done? Anyone on NT/win2k have anything good

RE: [PHP] semi-OT: moving PWS to Apache on NT

2002-03-25 Thread SHEETS,JASON (Non-HP-Boise,ex1)
I'm currently running the SAPI module for apache on Windows NT and 2000, works fine. You can configure apache to only bind to the 127.0.0.1 IP address, this will prevent requests being served over the network. Jason -Original Message- From: Steve Clay [mailto:[EMAIL PROTECTED]] Sent:

[PHP] list(), each()

2002-03-25 Thread Chris Boget
Ok, I've got to be doing something wrong here. I've been beating my head up against the wall for some time and I just cannot figure out what it is. Before I say it's a bug with list(), could someone tell me what I'm doing wrong? ? $policy = 1016726726--1--1016643856; // problematic list(

Re: [PHP] list(), each()

2002-03-25 Thread Rasmus Lerdorf
Why do you put each(explode()) ? Just list() = explode() is what you want. -Rasmus On Mon, 25 Mar 2002, Chris Boget wrote: Ok, I've got to be doing something wrong here. I've been beating my head up against the wall for some time and I just cannot figure out what it is. Before I say it's

[PHP] undefined variable when using if ($var) {}

2002-03-25 Thread Martha S
I'm rather new to PHP, so this should be fairly easy to answer. I checked the manual and FAQ already. I'm using the following code, and I get the following message if $id has nothing in the var (i have it set to a default of type int, not null in mysql). Is there a way around this or something

Re: [PHP] list(), each()

2002-03-25 Thread Chris Boget
Why do you put each(explode()) ? Just list() = explode() is what you want. I did that because I thought they were complimentary functions? Just about every example I've seen of list() uses each(). Just using explode() makes it work. Obviously I'm going to have to go back and read more

Re: [PHP] e-mail list app

2002-03-25 Thread Dan Harrelson
Check out Ciao EmailList Manager: http://www.technobreeze.com/php/emaillist/ -Dan --- Michael A. Peters [EMAIL PROTECTED] wrote: Anyone know of a free app that allows users to submit- name, nickname, e-mail addy app sends a url confirm to e-mail addy. upon confirm, the info gets

RE: [PHP] list(), each()

2002-03-25 Thread Rick Emery
change to: list( $policy_num, $policy_year, $application_reference ) = explode( --, $policy ); -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 11:22 AM To: PHP General Subject: [PHP] list(), each() Ok, I've got to be doing something wrong

[PHP] getenv and ISAPI: solution?

2002-03-25 Thread Kai Schaetzl
I transferred an application from Linux/Apache to .NET/IIS6 and it appeared to be working fine, first. A bit later I found that it wouldn't switch to most functions derived from a GET variable. The reason being that $query seems to be empty, so it always defaults to this action: $query =

RE: [PHP] undefined variable when using if ($var) {}

2002-03-25 Thread Darren Gamble
Good day. What is this message that you get, that you don't want? A cursory glance of the code reveals two else statements attached to the same if statement. You should address that. Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW

[PHP] Bad Email Addresses

2002-03-25 Thread Steven Walker
Hi, I have PHP automated emails sent from my website. Does anybody know a good way to filter returned mail? What I want to do is extract the bad email addresses from returned mail and delete them from my database. For now I have the return path sent to me, and I manually weed the bad ones

[PHP] mimeexplode counterpart in php?

2002-03-25 Thread Jimmy Lantz
Hi! I wonder if there's such a thing as a counterpart in PHP for MimeExplode in PERL? MimeExplode takes a email and splits the attachments and text so that you can save it automatically to a certain dir by using .forward files. Or something alike to it in PHP. I've been looking at IMAP

Re: [PHP] getenv and ISAPI: solution?

2002-03-25 Thread Rasmus Lerdorf
if(count($HTTP_GET_VARS)) On Mon, 25 Mar 2002, Kai Schaetzl wrote: I transferred an application from Linux/Apache to .NET/IIS6 and it appeared to be working fine, first. A bit later I found that it wouldn't switch to most functions derived from a GET variable. The reason being that $query

[PHP] Re: Login displays the pass and user in url

2002-03-25 Thread Martha S
You have to add an extra tag into the form tag (method=post), it should read as follows: (form name=\login\ action=\$PHP_SELF\ method=post David Orn Johannsson [EMAIL PROTECTED] wrote in message 003001c1d418$7126b3f0$6500640a@gandalf">news:003001c1d418$7126b3f0$6500640a@gandalf... Can I some

Re: [PHP] date (j) not working on Unix - any ideas

2002-03-25 Thread Rasmus Lerdorf
Because 'j' was probably added somewhere in between the two versions... On Mon, 25 Mar 2002, geoff wrote: Any ideas why date (j) doesn't appear to work when I use it on my ISP that has a Unix Server, but on my Windows ISP , it works fine ? The other date() functions Y,m,d etc all work

[PHP] Debugging tool

2002-03-25 Thread Morten Nielsen
Hi, Can anybody tell me if it is possible to use a debugger with PHP? And what is the name of it? Regards, Morten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] GIF support in PHP

2002-03-25 Thread Rasmus Lerdorf
Depends on whether you have GD without GIF enabled already built into your PHP already. Check with phpinfo(). If you don't you have build a shared gd extension against a version of GD that has GD support and add that dynamically without recompiling PHP. If you do have GD in there already you

Re: [PHP] reg-ex

2002-03-25 Thread Rasmus Lerdorf
^[ A-Za-z---]*$ On Mon, 25 Mar 2002, John Fishworld wrote: How can I change this to accept spaces as well ? (ereg(^[A-Za-zÀ-ÖØ-öø-ÿ]*$, $str)) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List

[PHP] Re: Debugging tool

2002-03-25 Thread Julio Nobrega Trabalhando
http://www.google.com/search?q=php+debuggersourceid=operanum=0ie=utf-8oe =utf-8 Google good! ;-) -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Morten

[PHP] Session Variables

2002-03-25 Thread Chad Gilmer
Hi There, I am a beginner to PHP and I am tring to use session variables on my site. I am trying to use Session Variables in PHP on the iPLANIT.tv site When I use the following code: ?php $ses_counter++; session_register(ses_counter); ? I get the following error Warning: Cannot send

RE: [PHP] Session Variables

2002-03-25 Thread Rick Emery
it means you've already output some HTML or a blank line -Original Message- From: Chad Gilmer [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 12:19 PM To: [EMAIL PROTECTED] Subject: [PHP] Session Variables Hi There, I am a beginner to PHP and I am tring to use session

[PHP] RE: [PHP-WIN] How to Pass the Username which from Windows Login

2002-03-25 Thread Vail, Warren
Are you referring to the userid on the machine where your web application runs (your server) or the userid of the user who connects to your website with his browser? I suspect you mean the latter and would be very interested in how this could be done as well. Warren Vail Tools, Metrics Quality

[PHP] Regular Expressions? Help!

2002-03-25 Thread Walker, Roy
I am trying to do a match for an expression and it to a variable from the output of a command: ?php $lines = file ($file); while (list ($line_num, $line) = each ($lines)) { $trimline = trim ($line); $output = shell_exec ($prog $cmdline $trimline ); } ? How can look through $output to

RE: [PHP] Regular Expressions? Help!

2002-03-25 Thread Rick Emery
With there be a specifc number of variables returne? Or can the number of variables vary? -Original Message- From: Walker, Roy [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 1:26 PM To: '[EMAIL PROTECTED]' Subject: [PHP] Regular Expressions? Help! I am trying to do a match

Re: [PHP] upload forms, how much was uploaded before upload fails..

2002-03-25 Thread Gerhard Hoogterp
On Sunday 24 March 2002 23:14, Rasmus Lerdorf wrote: You'll probably need PHP 4.2 for uploads that big to work well. Before 4.2 uploads were buffered in ram, so no, you have no way to recover a broken upload. But what, in that case, is the use or purpose of upload_tmp_dir ?? Moving from

[PHP] Mime type prepeded at file upload

2002-03-25 Thread David McInnis
When I save a file that has been uploaded through PHP it prepends (adds to the beginning of the file) the mime type. This renders the file unusable when it is downloaded as MS Word cannot open the file and tries to install some kind of converter. Any ideas for me? David McInnis -- PHP

[PHP] HTTP_REFERER

2002-03-25 Thread tom hilton
Hi, I am using the $HTTP_REFERER variable to ensure that users of a website are getting to a certain page through a link from the index.html page, and not going straight to the page through a bookmark. $page=$HTTP_REFERER; if ($page!=http://www.somedomain.com/index.html;) { echo h3Please log

[PHP] PHP and Oracle

2002-03-25 Thread Scarbrough, Jeb (ISS Atlanta)
Is it possible to create a transaction the involves multiple pages using PHP and oracle. For example, can I log onto oracle using OCIPLogon on one page named master, insert information, go to the next page named detail, insert information and commit both transactions at the same time? -- PHP

RE: [PHP] Regular Expressions? Help!

2002-03-25 Thread Walker, Roy
There will be a specific number of variables returned. I just wanted to set all the output to a string and just run through it to grab the variables. Thanx -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 1:28 PM To: 'Walker, Roy';

RE: [PHP] Regular Expressions? Help!

2002-03-25 Thread Walker, Roy
I just realized why nothing I was trying for the regular expressions wasn't working. The command I am running is a C program on the command line of a Linux box. I can't capture the output, it just gets output onto the screen. I just echo'd $output after the command was run and it was empty.

Re: [PHP] HTTP_REFERER

2002-03-25 Thread Dan Harrelson
Have you checked that your user is indeed coming from http://www.somedomain.com/index.html;? There are lots of other ways to load your homepage: http://xxx.xxx.xxx.xxx/index.html; (ip address, not domain) http://www.somedomain.com/; http://www.somedomain.com; http://xxx.xxx.xxx.xxx;

Re: [PHP] HTTP_REFERER

2002-03-25 Thread Erik Price
On Monday, March 25, 2002, at 02:52 PM, tom hilton wrote: This is working fine for most users, but one user is telling me that even though she is following the link from the index page, she's still getting the error message, and are being bounced back to the index page. She is

RE: [PHP] Regular Expressions? Help!

2002-03-25 Thread Rick Emery
exec() -Original Message- From: Walker, Roy [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 2:05 PM To: '[EMAIL PROTECTED]' Subject: RE: [PHP] Regular Expressions? Help! I just realized why nothing I was trying for the regular expressions wasn't working. The command I am

[PHP] oracle exec

2002-03-25 Thread matthew clay shultz
hi.. is there any way to use the php oracle function to check to see if there are any records in the selected set before calling ora_fetch? ora_exec doesn't error if ther are no records, and ora_num_rows doesn't return the numbe of rows in the set., thanks! matt -- PHP General Mailing List

RE: [PHP] Regular Expressions? Help!

2002-03-25 Thread Walker, Roy
Perhaps it is how I am calling the $lines in a while loop.? I have tried `$cmd`, exec(), exec($cmd, $ouput) (to capture the output as an array), system(), shell_exec(). None of them let me capture the STDOUT from the program. There has to be a way to do this. Anyone? Thanx -Original

[PHP] New Chat interface on weberdev to the #PHP channel

2002-03-25 Thread Boaz Yahav
Hi One of the ways to get PHP support is from IRC channels that exist for this purpose (you can see them listed on http://www.php.net). If you don't have a way to connect to the IRC servers for any reason, or just prefer a web based client, try the ActiveX client (assuming you are using IE) on

RE: [PHP] Regular Expressions? Help!

2002-03-25 Thread Rick Emery
exec() works for me. Remember, though, it returns only the LAST line. Have you tried the following to ensure it's constructing the command you think it is: $mycmd = $prog $cmdline $trimline ; print $mycmd; $output = exec($mycmd); -Original Message- From: Walker, Roy [mailto:[EMAIL

RE: [PHP] Regular Expressions? Help!

2002-03-25 Thread Walker, Roy
The cmd is running running correctly as I see the output on the screen (this is being run from a command line). The command output is seen on the screen and nothing gets set to $output. -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002

[PHP] Program control question

2002-03-25 Thread Brad Harriger
I'm trying to debug a program written by someone else. There are two files that I'm having problems with. File A uses require_once to call file B. Near the beginning of File B is a Header(Location:) that calls File A. Can anyone tell me if the part of file B that comes after the

Re[2]: [PHP] [newbie] Something is messed up, anybody can help?

2002-03-25 Thread Mantas Kriauciunas
Hey PHP General List, Well thanks for helping but still i get nothing and i have no idea why. I changed the line as you said to: if( $session[logged]==1 ) { draw_admin_menu($uzeriz); } and took out that while. It shows the box but the $uzeriz that i pass doesn't show up :/ maybe anybody see

RE: [PHP] Regular Expressions? Help!

2002-03-25 Thread Rick Emery
Again, I ask: Does $mycmd contain the command you expect to see $mycmd = $prog $cmdline $trimline ; print $mycmd; $output = exec($mycmd); -Original Message- From: Walker, Roy [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 2:56 PM To: 'Rick Emery'; '[EMAIL PROTECTED]'

RE: [PHP] Regular Expressions? Help!

2002-03-25 Thread Walker, Roy
Sorry. Yes. It looks exactly like it should. And I see the ouput from the command like it should on the screen, I just can't capture it in the script. -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 2:59 PM To: 'Walker, Roy';

Re: [PHP] oracle exec

2002-03-25 Thread heinisch
At 25.03.2002 15:10, you wrote: hi.. is there any way to use the php oracle function to check to see if there are any records in the selected set before calling ora_fetch? ora_exec doesn't error if ther are no records, and ora_num_rows doesn't return the numbe of rows in the set., thanks!

  1   2   >