Re: [PHP] Help: Constants

2002-07-02 Thread Richard Lynch
>Except in a production environment, where you really never want your >users to see PHP error messages that you haven't coded yourself for the >user's benefit. It could reveal just a bit too much about your setup... >even filenames are valuable to maleficants. > >I recommend setting your php.i

Re: [PHP] Re: Beginner Sessions Question

2002-07-02 Thread Richard Lynch
>But once I had moved most of my code into object methods and functions >(and therefore out of the global namespace/scope/whatever), I realized >this really didn't matter as much. In fact, for consistency and >neatness, it was better that I use only $sql or $result, since there was >only ever

Re: [PHP] securing an 'includes' dir

2002-07-02 Thread Richard Lynch
>>> "Justin French" <[EMAIL PROTECTED]> wrote in message >>> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 1. Name all included files .inc >>> >>> If you name them *.php then put anything in them inside a function, then >>> when the user browses to that file he/she won't see anything at all.

RE: [PHP] RegEx question

2002-07-02 Thread Henning Sittler
$string = 'somethingphp'; $pat = 'php$'; $hasphp = ereg($pat, $string); Henning Sittler www.inscriber.com -Original Message- From: David Busby [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 4:49 PM To: php-general Subject: [PHP] RegEx question List, How can I regex

Re: [PHP] RegEx question

2002-07-02 Thread Kevin Stone
Actually for a job like this look to substr() to extract the last three chars as a string and compare them in an if() statment. http://www.php.net/manual/en/function.substr.php -Kevin - Original Message - From: "David Busby" <[EMAIL PROTECTED]> To: "php-general" <[EMAIL PROTECTED]> Sent:

[PHP] RegEx question

2002-07-02 Thread David Busby
List, How can I regex to compare the last three chars of a string to "php"? /B -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] FW: Help please!

2002-07-02 Thread Lazor, Ed
What load are you talking about? This is just an issue of telling the web browser the image's dimensions. It's not like the image is being processed to convert it to that image size. -Original Message- No, I did think of it, but the page may end up with quite a few pics, and I

Fw: [PHP] Have you seen this host?

2002-07-02 Thread Kevin Stone
I suppose you haven't looked around much. Those features are fairly typical. Besides what really matters is that the host has what you need at the lowest price. I spend $10/mo for 350MB space, 20GB/mo transfer, PHP, 10 MySQL dbs, anon FTP, CGI/Perl, SSL, SSI, SSH login, unlimited email, and mor

RE: [PHP] FW: Help please!

2002-07-02 Thread Steve Vernon
No, I did think of it, but the page may end up with quite a few pics, and I download of a modem... Prefer if server has the load... Steve |-Original Message- |From: Lazor, Ed [mailto:[EMAIL PROTECTED]] |Sent: 02 July 2002 21:34 |To: '[EMAIL PROTECTED]'; [EMAIL

RE: [PHP] upload problems - "unable to open 'none'

2002-07-02 Thread Lazor, Ed
Send us a copy of your script so that we can help. Odds are that you didn't specify the proper field name in your upload form. -Original Message- Now I'm getting this error each time I upload a file... Warning: Unable to open 'none' for reading: No such file or directory in /home/.../u

RE: [PHP] Re: Have you seen this host?

2002-07-02 Thread Lazor, Ed
In that case, go with CWIHosting.com. They are the best I've seen yet. -Original Message- He is looking for a web hosting company that has what he has listed below... This message is intended for the sole use

RE: [PHP] Alpha Channel Question

2002-07-02 Thread Lazor, Ed
I don't understand alpha channel well enough to explain it, but I know you can find more information over at Adobe.com and by running a Google search for "alpha channel tutorial". -Original Message- The idea is to create a simple glare effect by taking a white circle and making it more t

Re: [PHP] php and apache path...

2002-07-02 Thread Nightshade
Analysis & Solutions wrote: > On Tue, Jul 02, 2002 at 03:47:20PM +0200, Nightshade wrote: >> is there a unix like ~/ , to access to root directory of my site > > Does $_SERVER['DOCUMENT_ROOT'] help? > > Whenever you have a question like this, run phpinfo() and see what's there > which produces

RE: [PHP] FW: Help please!

2002-07-02 Thread Lazor, Ed
Why would it be quicker on the client-side? I would think you'd go with the first option. That way the layout of your web page is maintained while the image downloads. -Original Message- Do not want WHat I want WHich will be a lot quicker on the client side. I cannot m

Re: [PHP] Test if URL is alive before including a remote JS

2002-07-02 Thread Kevin Stone
It's good programming ediquite but not required. All fclose does is destroy the handle which will be lost when the script terminates.. same difference. -Kevin - Original Message - From: "Verdon Vaillancourt" <[EMAIL PROTECTED]> To: "Kevin Stone" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> S

Re: [PHP] Re: Have you seen this host?

2002-07-02 Thread B i g D o g
He is looking for a web hosting company that has what he has listed below... B i g D o g - Original Message - From: "Lazor, Ed" <[EMAIL PROTECTED]> To: "'Tony Harrison'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 02, 2002 2:29 PM Subject: RE: [PHP] Re: Have you seen th

RE: [PHP] Re: Have you seen this host?

2002-07-02 Thread Lazor, Ed
Are you not promoting a hosting service? What is your inquiry? -Original Message- I think calling it spam is a bit harsh! Offtopic maybe, but it is a genuine enquiry > > Hi, if you can find a web host that offers ALL these services, i will eat > my > > hat on my webcam to the whole clu

Re: [PHP] php and apache path...

2002-07-02 Thread Analysis & Solutions
On Tue, Jul 02, 2002 at 09:55:13PM +0200, Nightshade wrote: > > Do you advice me to use > $_SERVER['DOCUMENT_ROOT'] . remaining_path/ > in all my files? I use relative paths in most circumstances. Makes things easier to move between my development machine and the actual web servers. Enjoy, -

[PHP] NEVERMIND MY LAST POST ABOUT UPLOAD ERRORS

2002-07-02 Thread Phil Schwarzmann
Sorry about thatI beefed.

[PHP] upload problems - "unable to open 'none'

2002-07-02 Thread Phil Schwarzmann
Now I'm getting this error each time I upload a file... Warning: Unable to open 'none' for reading: No such file or directory in /home/.../upload3.php on line 7 why is it saying 'none' ??

Re: [PHP] pdf_show_boxed

2002-07-02 Thread Miguel Cruz
On Tue, 2 Jul 2002, Hugo Wetterberg wrote: > I have a problem with pdf_show_boxed(), it doesn't output anything. > Everything else shows up just fine. Is there something that I have > overlooked in this code? > > pdf_show_boxed ( > $pdf,//Object > $issuedesc, //text > 70,//left > 700

[PHP] synchronizing php functions

2002-07-02 Thread Philip MacIver
Does anyone know anyway to synchronize calls to php functions. I was thinking of writting a hack that uses a lock file on the server put if there is a proper way to do it then I would rather use that. Any suggestions would be good. |---|

Re: [PHP] Have you seen this host?

2002-07-02 Thread Erik Price
On Tuesday, July 2, 2002, at 03:50 PM, Tony Harrison wrote: > Hi, if you can find a web host that offers ALL these services, i will > eat my > hat on my webcam to the whole club: Do you know the origin of that expression? It refers to a period when sugar was sold in paper cones, known as "h

[PHP] Re: Have you seen this host?

2002-07-02 Thread Tony Harrison
I think calling it spam is a bit harsh! Offtopic maybe, but it is a genuine enquiry to an audience i think can help with the matter. So, I stand by my post! "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > This is a newsgroup for PHP discussion.

[PHP] Re: blank

2002-07-02 Thread Scott Fletcher
This is a PHP newsgroup, it is for PHP discussion. This is not a PHP discussion, so it is a spam mail. Please refrain from using it. "Matthew" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > subscribe [EMAIL PROTECTED] > > matthew de Jongh > president > the s

Re: [PHP] php and apache path...

2002-07-02 Thread Nightshade
Analysis & Solutions wrote: > On Tue, Jul 02, 2002 at 03:47:20PM +0200, Nightshade wrote: >> is there a unix like ~/ , to access to root directory of my site > > Does $_SERVER['DOCUMENT_ROOT'] help? > > Whenever you have a question like this, run phpinfo() and see what's there > which produces

[PHP] Re: Have you seen this host?

2002-07-02 Thread Scott Fletcher
This is a newsgroup for PHP discussion. This is not a PHP discussion, so it is a spam mail. Please refrain from using it. "Tony Harrison" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, if you can find a web host that offers ALL these services, i will eat

Re: [PHP] Test if URL is alive before including a remote JS

2002-07-02 Thread Verdon Vaillancourt
Thanks Kevin, Do I need to include 'fclose ($fp);' in there somewhere in this case? On 7/2/02 3:41 PM, "Kevin Stone" <[EMAIL PROTECTED]> wrote: > Or just fopen() would work fine. > -Kevin > > - Original Message - >> Hi :) >> >> Given I have some content embedded on my page by calling

[PHP] blank

2002-07-02 Thread matthew
subscribe [EMAIL PROTECTED] matthew de Jongh president the spa! internet voice (413) 539-9818 www.the-spa.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Have you seen this host?

2002-07-02 Thread Tony Harrison
Hi, if you can find a web host that offers ALL these services, i will eat my hat on my webcam to the whole club: Usenet Newsgroup. at least 200MB space Perl/CGI support (optional) PHP - note: must have GD library installed! MySQL SHOUTcast web radio Reseller account option at least 300MB per mont

[PHP] FW: Help please!

2002-07-02 Thread Steve Vernon
Hello, I have a PHP script which gets data from a MySQL database and returns an image. So returns the image of id 3 from the database. What I really want is to state width is 100 and height is 100 for example so I do not have to downlaod the entire picture and specify the width and height

[PHP] PHP-PDB: Create files for PALM Pilot

2002-07-02 Thread LeTortorec, Jean-Louis
Hi all: I'm trying to write files for PDAs (pdb type) from a PHP script. I've tried to use PHP-PDB from SourceForge but can only give a name to the database, I cannot add any record (pretty bad for a database, no?). Is someone could help with, that'd be fantastic! Either with that library or w

Re: [PHP] Test if URL is alive before including a remote JS

2002-07-02 Thread Kevin Stone
Or just fopen() would work fine. -Kevin - Original Message - From: "Verdon Vaillancourt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 02, 2002 1:37 PM Subject: [PHP] Test if URL is alive before including a remote JS > Hi :) > > Given I have some content embedded on my

[PHP] Test if URL is alive before including a remote JS

2002-07-02 Thread Verdon Vaillancourt
Hi :) Given I have some content embedded on my page by calling a remote JS and occasionally the URL for the remote script is down causing my page to be slow or fail, can I use the following example as a means to test and timeout the remote server and skip the embedded JS, if the remote server isn

[PHP] ...

2002-07-02 Thread matthew de Jongh
subscribe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] DBX Functions

2002-07-02 Thread B i g D o g
Has anyone tested the dbx functions with huge results 1+ records returned? How does the performance handle? Thanks, B i g D o g -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fw: [PHP] $_SESSION

2002-07-02 Thread Kevin Stone
Unless you have your php.ini file configured differently, simply adding session_start(); at the top of each page will make the session available without having to pass the SID through the URL string. Not that there is anything wrong or insecure by passing the session id through the URL string. -K

[PHP] Re: upgrading php...

2002-07-02 Thread Scott Fletcher
You will need to upgrade Apache to 1.3.26 due to security hole. As we all know, Windows is very vulerable to virus like worms, so with the Apache's hole, it make it easier for hte virus to get in. So, better upgrade to 1.3.26 as soon as possible, this is where hte hole had been fixed. FletchSOD

[PHP] Alpha Channel Question

2002-07-02 Thread Anzak Wolf
I'm having a small problem understanding Alpha channels. I thought that the Alpha Channel was the level of transparency but the following code does not seem to work. $DI = 50; $MOD = 127/$DI; ImageAlphaBlending($im, true); for ($x=0; $x<$DI; $x++) { $AL = 127-$MOD*$x; $GLColor=

RE: [PHP] $name = "My $row['name']" not longer possible?

2002-07-02 Thread Matt Schroebel
> -Original Message- > From: Hugo Wetterberg [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 02, 2002 1:12 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] $name = "My $row['name']" not longer possible? > It is possible to use arrays within strings, just skip ''. > Write > $name="My $

[PHP] $_SESSION

2002-07-02 Thread Scott Fletcher
Hi Again! I missed part of the past responses to the past posting over the last few days because I had it cleaned from MS-Outlook folder. So, feel free to provide some feedback on the transformation from the script with register global turned on to off. Need some feedback on hiding the $SID fro

Re: [PHP] $name = "My $row['name']" not longer possible?

2002-07-02 Thread Uwe Birkenhain
Hallo Matt, thank you for the explanation and for the manual-link! But - correct if I'm wrong - that has been possible before! Or not? Uwe Matt Schroebel schrieb in Nachricht <4B08FD7DB3CBD4119F560002A508C453015B3851@hsus3>... >> "Parse error: parse error, unexpected >> T_ENCAPSED_AND_WHITESPA

Re: [PHP] find and replace in php

2002-07-02 Thread Henry
Perfect Thankyou Henry "Erik Price" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Tuesday, July 2, 2002, at 01:52 PM, Henry wrote: > > > Imagine I have a piece of text > > > > "Dear [firstname] > > > > Thankyou for purchasing [product] on [date]. > >

Re: [PHP] find and replace in php

2002-07-02 Thread Erik Price
On Tuesday, July 2, 2002, at 01:52 PM, Henry wrote: > Imagine I have a piece of text > > "Dear [firstname] > > Thankyou for purchasing [product] on [date]. > > We're sure you'll be very [expectation]. > > Ta Very much." > > Whats the easiest way to replace all the things in square brackets with

Re: [PHP] Re: odbc_fetch_into ??

2002-07-02 Thread Scott Fletcher
php 4.2.1. On the php.net website, the odbc_fetch_array webpage, it stated that it become unavailable with around php 4.1.1. Some of the other odbc functions became unavailable also. "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Tu

Re: [PHP] Regular Expression Problem

2002-07-02 Thread Jason Wong
On Wednesday 03 July 2002 01:59, Martin Clifford wrote: > Even this: > > $output = preg_replace("/^[\$]{1,2}[a-zA-Z][0-9]+$/", "\\1", $var); > echo $output; > > Doesn't work. It just takes whatever you put into $var, then puts it into > $output, and outputs it to the screen. > > I want to change

RE: [PHP] Re: Copy of Ed Lazor's response : find and replace in php

2002-07-02 Thread Lazor, Ed
It sounds like you need to use templates. I haven't played with them much so I can't give specifics, but I hope that points you in the right direction =) -Original Message- I would like to do that, but I'm not hard coding the letters myself. I'm trying to provide a way for others (to pro

Re: [PHP] upgrading php...

2002-07-02 Thread Julie Meloni
PS> Currently I'm using php 4.0.5 on Win98/apachedo you think it's worth PS> my time and trouble to upgrade to a newer version of PHP? yes. It should take about 15 minutes, unless your download connection is slow. :) PS> Is this hard to do? No. Download zip file. Extract contents. Move a

RE: [PHP] upgrading php...

2002-07-02 Thread Lazor, Ed
I think there were security updates in the newer version that you'll benefit from, so it's worth your time. Check the README file for the new download. There are notes on upgrading. -Original Message- Currently I'm using php 4.0.5 on Win98/apachedo you think it's worth my time and tr

[PHP] Re: Copy of Ed Lazor's response : find and replace in php

2002-07-02 Thread Henry
Thanks Ed, I would like to do that, but I'm not hard coding the letters myself. I'm trying to provide a way for others (to provide the text, who know nothing about the underlying processes) and do the search and replaces on the fly. Henry "Henry" <[EMAIL PROTECTED]> wrote in message [EMAIL PROT

Re: [PHP] upgrading php...

2002-07-02 Thread Jason Wong
On Wednesday 03 July 2002 02:10, Phil Schwarzmann wrote: > Currently I'm using php 4.0.5 on Win98/apachedo you think it's worth I was going to say php 4.0.5 has a vulnerability, but then you're using Win98 :) > my time and trouble to upgrade to a newer version of PHP? Before you upgrade

[PHP] Copy of Ed Lazor's response : find and replace in php

2002-07-02 Thread Henry
Nothing will be inserted if the variable is empty, so you could just use $firstname, $product, $date, etc. inside your "letter". The main problem is adding logic to your "letter" to respond appropriately based on the value of different variables. For example: $MailBody = ""; if (empty($firstnam

Re: [PHP] upgrading php...

2002-07-02 Thread Andrew Brampton
Takes the time of the download + 5minutes Download the full version of php... extract the zip file to where php is currently... then copy the new versions of php.ini and php4ts.dll into your c:\windows\ directory... Then make any minor changes you need to to the php.ini and voila all done (don't f

Re: [PHP] Regular Expression Problem

2002-07-02 Thread Erik Price
On Tuesday, July 2, 2002, at 01:40 PM, Martin Clifford wrote: > I'm trying to get this darn eregi_replace() to work, but it doesn't > produce any results at all. > > I want it to find all occurances of PHP variables. Here is the regexp > > $output = eregi_replace("^[\$]{1,2}[a-zA-Z][0-9]+$",

[PHP] upgrading php...

2002-07-02 Thread Phil Schwarzmann
Currently I'm using php 4.0.5 on Win98/apachedo you think it's worth my time and trouble to upgrade to a newer version of PHP? Is this hard to do? Any links to info on how to upgrade ?? Thanks!

Re: [PHP] PHP and Apache

2002-07-02 Thread B i g D o g
Sorry bro...doing to many things at once. Apache 1.3.23 Linux 7.2 PHP 4.1.2 Configuration: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-sybase-ct=/sybase --with-mysql' '--enable-exif --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/local/lib --with-

RE: [PHP] find and replace in php

2002-07-02 Thread Lazor, Ed
Nothing will be inserted if the variable is empty, so you could just use $firstname, $product, $date, etc. inside your "letter". The main problem is adding logic to your "letter" to respond appropriately based on the value of different variables. For example: $MailBody = ""; if (empty($firstnam

Re: [PHP] Regular Expression Problem

2002-07-02 Thread Martin Clifford
Even this: $output = preg_replace("/^[\$]{1,2}[a-zA-Z][0-9]+$/", "\\1", $var); echo $output; Doesn't work. It just takes whatever you put into $var, then puts it into $output, and outputs it to the screen. I want to change anything resembling a PHP variable, i.e. $var, $$var or &$var to $var

Re: [PHP] PHP and Apache

2002-07-02 Thread Michael Sweeney
No. Only you. :-) Platform? Environment? Configuration information? ..mike.. On Tue, 2002-07-02 at 11:01, B i g D o g wrote: > Has anyone had a problem where PHP created to many open files and crashed > apache? > > B i g D o g > > -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] exec() function giving me fits

2002-07-02 Thread Jay Blanchard
Yesterday I could do this (all on one line); exec("curl -d \"name=myname&password=mypassword&btnsubmit=submit\" -s -o cdrlist.html https://theserver.com/list.html";); This is the one that worked, not the other one with the variables. Now this one does not work and I don't insert any variables in

[PHP] PHP and Apache

2002-07-02 Thread B i g D o g
Has anyone had a problem where PHP created to many open files and crashed apache? B i g D o g -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Frames JavaScript and PHP

2002-07-02 Thread Lazor, Ed
PHP is server-side. You're discussing client-side issues. You'll need to find a way of submitting the information to the server and then PHP can process it from there. -Original Message- I am trying to get the value of a frames path into a PHP variable. Is it possible to access DOM valu

[PHP] find and replace in php

2002-07-02 Thread Henry
Imagine I have a piece of text "Dear [firstname] Thankyou for purchasing [product] on [date]. We're sure you'll be very [expectation]. Ta Very much." Whats the easiest way to replace all the things in square brackets with variables of the same name. i.e. $firstname, $product, $date, $expecta

[PHP] Frames JavaScript and PHP

2002-07-02 Thread Beeman
I am trying to get the value of a frames path into a PHP variable. Is it possible to access DOM values from PHP?? If not how do I set a PHP variable to the value of the window.frame.path that I get in javascript? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP] Regular Expression Problem

2002-07-02 Thread Jason Wong
On Wednesday 03 July 2002 01:40, Martin Clifford wrote: > Hey all! > > I'm trying to get this darn eregi_replace() to work, but it doesn't produce > any results at all. > > I want it to find all occurances of PHP variables. Here is the regexp > > $output = eregi_replace("^[\$]{1,2}[a-zA-Z][0-9]+$

Re: [PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Henry
I'm having to learning new languages faster than I'm having hot dinners. When I say learn I don't mean become some sort of guru, just enough to get by. If I wanted to do it in perl (and I know this isn't the right newsgroup, but please excuse me), how would I access a mysql server? Besides that,

[PHP] Regular Expression Problem

2002-07-02 Thread Martin Clifford
Hey all! I'm trying to get this darn eregi_replace() to work, but it doesn't produce any results at all. I want it to find all occurances of PHP variables. Here is the regexp $output = eregi_replace("^[\$]{1,2}[a-zA-Z][0-9]+$", "\\1", $var); As you might guess this is for a syntax highlighti

RE: [PHP] Re: odbc_fetch_into ??

2002-07-02 Thread Dan Vande More
Did you remember to compile ODBC into PHP? ./configure --help shows these odbc options: --with-iodbc[=DIR] Include iODBC support. DIR is the iODBC base install directory, defaults to /usr/local. --with-unixODBC[=DIR] Include unixODBC support. DIR is the uni

[PHP] Emalloc Fatal Error

2002-07-02 Thread Brian Paulson
Well after searching around I have found nothing really but a bunch of questions about this problem. I can run php 4.1.2 just fine with no troubles When I install 4.2.1 I started getting Emalloc() errors on some pages. The pages that seem to cause errors are pages that access the database, but n

Re: [PHP] $name = "My $row['name']" not longer possible?

2002-07-02 Thread Hugo Wetterberg
It is possible to use arrays within strings, just skip ''. Write $name="My $name[name]"; instead Hugo "Matt Williams" <[EMAIL PROTECTED]> skrev i meddelandet [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Tuesday 02 July 2002 13:49, Uwe Birkenhain wrote: > > > Hi, > > I upgraded to 4.2

Re: [PHP] Mail() function problem

2002-07-02 Thread Jason Wong
On Wednesday 03 July 2002 00:52, Balaji Ankem wrote: > I am using the SMTP server which needs authentication. I don't think the built-in mail command handles authentication. Google > php smtp auth that should point you in the right direction. -- Jason Wong -> Gremlins Associates -> www.grem

Re: [PHP] does a form submit from a http page to a https ensure securedata?

2002-07-02 Thread B.C. Lance
thanks for the insights. :) basically the 2 files are from 2 different domains saving to the same database server. the 2 sites share the same userbase. and when the registration form is submitted to the 2nd site, upon successful registration, it will redirect back to the 1st site and display

Re: [PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Erik Price
On Tuesday, July 2, 2002, at 01:00 PM, Henry wrote: > Only one concern. Are there any security issues. > And I suppose more > importantly, if there are; is there a way to get the php-script to > ensure > that is is being invoked by my cron deamon. Should I put the page in a > directory and use

RE: [PHP] Re: Email error (Was: Hi Jason)

2002-07-02 Thread Balaji Ankem
Hi jason, Thankyou for the prompt reply.:-) here is the code. Actually line number 18 and 22 are having mail functions..that why I didn't send source code. Here is the source code.. == just visited your site and submitted the form at www.auburn.edu/helpd

Re: [PHP] does a form submit from a http page to a https ensuresecure data?

2002-07-02 Thread Michael Sweeney
Your form action parameter has an absolute url specifying an https protocol. When the browser submits the form, it uses the url you specify which is https. So the request is going to be encrypted. You might consider serving the form page from https as well to kind of tighten things up a little, bu

Re: [PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Chris Hewitt
Henry, lynx --dump http://www.domain.com/myfile.php "man lynx" for details. You can run it from cron. HTH Chris Henry wrote: >PS. I cannot compile as a binary etc. This configuration is the confi of the >shared server I am using which is hosted by a third part. > >Henry > > > -- PHP Genera

[PHP] Re: Email error (Was: Hi Jason)

2002-07-02 Thread Jason Wong
On Wednesday 03 July 2002 00:24, you wrote: > Hi Jason, > when I am trying to send email through email.php > I have got following errors. > > = > Warning: Server Error in c:\www\imac\email.php on line 18 > > Warning: Server Error in c:\www\imac\email.php on line 22 >

Re: [PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Henry
Thanks, Only one concern. Are there any security issues. And I suppose more importantly, if there are; is there a way to get the php-script to ensure that is is being invoked by my cron deamon. Should I put the page in a directory and use .htaccess to control security. Or can I check the referrer

Re: [PHP] User Enviroment Vars

2002-07-02 Thread Michael Sweeney
Ask them. Seriously, PHP is a server-side platform. The only information about the client that you're possibly going to be able to get is what is passed to you either through the headers of a request (basically just the remote address and some browser information), or what the user tells you thr

[PHP] Mail() function problem

2002-07-02 Thread Balaji Ankem
Hi friend, I am using the SMTP server which needs authentication. When I use mail([EMAIL PROTECTED],"Thanks for visiting","From:[EMAIL PROTECTED]"); I am getting server error on the line which is having this mail function. How can I resolve this problem? Php.ini settings =

Re: [PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Erik Price
On Tuesday, July 2, 2002, at 12:25 PM, Henry wrote: > PS. I cannot compile as a binary etc. This configuration is the confi > of the > shared server I am using which is hosted by a third part. If your PHP is not compiled as a CGI interpreter, then you can't do commandline PHP commands. But

Re: [PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Jason Wong
On Wednesday 03 July 2002 00:25, Henry wrote: > PS. I cannot compile as a binary etc. This configuration is the confi of > the shared server I am using which is hosted by a third part. This has been covered many times in the past as a quick search of the archives would reveal. If you don't have

Re: [PHP] Re: odbc_fetch_into ??

2002-07-02 Thread Analysis & Solutions
On Tue, Jul 02, 2002 at 11:59:59AM -0400, Scott Fletcher wrote: > That function, odbc_fetch_array() does not work. PHP spit out the error, > undefined function. Huh? Which version of PHP are you using? It's available in 4.0.2 or greater. Did you misspell the function name? --Dan --

[PHP] Re: Feedback please

2002-07-02 Thread Chris Earle
You misspelled "Location" in the job search under preferences of a found person. "Bret L Conard" <[EMAIL PROTECTED]> wrote in message 001701c221dc$a4713700$02fea8c0@BretLConard">news:001701c221dc$a4713700$02fea8c0@BretLConard... Hi All.. I have recently completed work on a PHP, MySQL driven j

[PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Henry
PS. I cannot compile as a binary etc. This configuration is the confi of the shared server I am using which is hosted by a third part. Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: odbc_fetch_into ??

2002-07-02 Thread Scott Fletcher
That function, odbc_fetch_array() does not work. PHP spit out the error, undefined function. "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Scott: > > On Tue, Jul 02, 2002 at 10:05:31AM -0400, Scott Fletcher wrote: > > I tried this scri

Re: [PHP] forms and files

2002-07-02 Thread Jason Wong
On Tuesday 02 July 2002 23:54, Tyler Longren wrote: > that worked. I had to use _FILES instead of _POST > > I still get these errors though: > "Warning: fopen("", "r") - Success in > /usr/local/apache/htdocs/cj/aanr/admin/passcode_admin.php on line 151 > > Warning: stat failed for (errno=2 - No

[PHP] Executing a php script periodically using crond

2002-07-02 Thread Henry
Hi All I need to execute a php script every hour. I am expecting to do this using a cron job. The question is what command line do I use to execute a php script. Bearing in mind that my configuration is as shown below Thanks in advance Henry My Configuration is as follows: PHP Version 4.0.4pl

[PHP] PHP crypt() now adding $1$ to password

2002-07-02 Thread Brett Hay
Hello, I've upgraded to Mandrake 8.2 and installed a couple of apps that I later un-installed. Somewhere along the line I have hosed myself because while running php-nuke I have noticed that all of the new passwords that are getting added to the database (mysql) have a $1$ in front of them.

[PHP] PHP crypt now adding $1$ to password

2002-07-02 Thread Brett Hay
Hello, I've upgraded to Mandrake 8.2 and installed a couple of apps that later un-installed. Somewhere along the line I have hosed myself because while running php-nuke I have noticed that all of the new passwords that are getting added to the database (mysql) have a $1$ in front of them. Th

[PHP] Php mail() function is not working for me

2002-07-02 Thread Balaji Ankem
Hi friend, I am getting the following problem from last 6 months..still I couldn't solve this problem. >>Warning: Failed to Connect in c:\www\imac\email.php on line 18 >>Warning: Failed to Connect in c:\www\imac\email.php on line 22 Email.php just visited your site and submitted

Re: [PHP] forms and files

2002-07-02 Thread Tyler Longren
On Tue, 2 Jul 2002 23:45:56 +0800 Jason Wong <[EMAIL PROTECTED]> wrote: > On Tuesday 02 July 2002 23:34, Tyler Longren wrote: > > Hi, > > > > I have a form kinda like this: > > > enctype=multipart/form-data> > > > > You really should use "" around your tag values. What you have is > invalid HT

[PHP] Setting a cookie and redirecting

2002-07-02 Thread Cord Schneider
Hi all! Since I am new to PHP, I need the help of someone who is very familiar with the way PHP handles the setting of cookies and page redirection - in other words, an expert! Here is an outline of the problem: 1) client browser hits myPage.php 2) myPage.php does a few checks & recognises that

Re: [PHP] open_base_dir apache directive and symlink directories

2002-07-02 Thread Jason Wong
On Tuesday 02 July 2002 23:44, Dave wrote: > am I correct in assumnig the following will not work; > > user directory > /usr/home/joeuser > symlink to document directory > /usr/home/joeuser/www -> /usr/local/www/data/joeuser > document directory > /usr/local/www/data/joeuser > >

Re: [PHP] forms and files

2002-07-02 Thread Jason Wong
On Tuesday 02 July 2002 23:34, Tyler Longren wrote: > Hi, > > I have a form kinda like this: > enctype=multipart/form-data> > You really should use "" around your tag values. What you have is invalid HTML. > the rest of the form is there too. And $PHP_SELF is set to $PHP_SELF = > $_SERVER[PH

[PHP] open_base_dir apache directive and symlink directories

2002-07-02 Thread Dave
am I correct in assumnig the following will not work; user directory /usr/home/joeuser symlink to document directory /usr/home/joeuser/www -> /usr/local/www/data/joeuser document directory /usr/local/www/data/joeuser in httpd.conf php_admin_value open_base_dir /usr/home/j

[PHP] forms and files

2002-07-02 Thread Tyler Longren
Hi, I have a form kinda like this: the rest of the form is there too. And $PHP_SELF is set to $PHP_SELF = $_SERVER[PHP_SELF] at the top of the page. When I select a passcodeFile file to upload and click the "upload" button, I am presented with this on the next page: "You need to specify a fi

Re: [PHP] php and apache path...

2002-07-02 Thread Analysis & Solutions
On Tue, Jul 02, 2002 at 03:47:20PM +0200, Nightshade wrote: > is there a unix like ~/ , to access to root directory of my site Does $_SERVER['DOCUMENT_ROOT'] help? Whenever you have a question like this, run phpinfo() and see what's there which produces the variable you're looking for. --Dan

Re: [PHP] DOCUMENT_ROOT disappeared on me!

2002-07-02 Thread Jason Wong
On Tuesday 02 July 2002 22:58, David E. Weekly wrote: > > IMHO you're better off > > I agree and understand why, but... > > > but yes, if you set register_globals = on then > > you shouldn't need to have retooled your scripts. > > I agree. =) > > > Did you restart your > > webserver after you adju

[PHP] Feedback please

2002-07-02 Thread Bret L Conard
Hi All.. I have recently completed work on a PHP, MySQL driven job site for Technical employment. Geared toward independent contractors and the people who hire them. If any one has the time, could you look at: www.tech-temp.com and give feedback either on the list or privately? I *think* I h

<    1   2   3   >