[PHP] mcrypt!

2001-02-14 Thread Kevin Connolly
Hi, Does anyone know where I might get the mcrypt dll for windows nt or win 98?? Thanks, Kev

Re: [PHP] need better solution

2001-02-14 Thread Christian Dechery
>works for me, just call it. change it to better match yours if you like. > > function check_db($query = 'Unavailble') > { > global $store_db; > if ( mysql_errno() ) >{ > echo "Error: Problem with DataBase : $store_db\n"; > echo "Error: " . mysql_errno() . ':' . mysql_error() . "\n

[PHP] Database Connectivity Problems (Phorum)

2001-02-14 Thread Fang Li
Hi, All, When I am trying to get phorum version: 3.2.11 setup on my site, I keep getting the following error when I try to add a forum. Warning: MySQL: A link to the server could not be established in db/mysql.php on line 52 Warning: Failed opening 'admin/forums/.php' for inclusion (include_pat

Re: [PHP] PHP Editors

2001-02-14 Thread Michael McGlothlin
I write all my code in a normal plain-text editor, whatever is available on whatever OS I'm using - usually Linux. On MacOS I have a handy tool called BEdit (I think) that allows me to do a multiple-file search and replace. The only problem is it's a hassle to move a couple hundred makes of so

Re: [PHP] foreach OCIBindByName()

2001-02-14 Thread Thies C. Arntzen
On Wed, Feb 14, 2001 at 12:35:10PM +, Butler, Shaun wrote: > > So I want to bind multiple values that are in an associative array > > I have this code > > > foreach ($binds as $key=>$value) > { > OCIBindByName($this->m_cursor,":$ke

RE: [PHP] PHP Editors

2001-02-14 Thread Andrew
Actually, I find BBEdit quite nice for PHP - I keep two windows open, one to BBEdit and one to a telnet session on my linux server. The really cool part is I can cut and paste into vi using regular old command-c and command-v, since linux doesn't care about them :) So I drop the changes in, :w

Re: [PHP] PHP Editors

2001-02-14 Thread John Vanderbeck
I still strongly recommend UltraEdit. It is SO flexible its unbelievable. It also allows you to load from and save to files on an FTP server which saves me , god I can't even measure how much that saves me. - John Vanderbeck - Admin, GameDesign - Original Message - From: "Michael McGlot

[PHP] require('asdf')

2001-02-14 Thread Brandon Orther
Hello, I am using the require() function to open up the head of my pages. In the head.php file it requires something relative to its path. What I want to do is be able to require('head.php') without having to copy all the files head.php requires into the folder of the script using this head.php

[PHP] how do I do file maintenance with PHP?

2001-02-14 Thread Kenneth R Zink II
Ok here is the deal. I have a Linux server running PHP4 and MySQL and a directory full of images. The images that are currently being used should be listed in a table (members) in a column titled "pic1". What is the best way to pull the file names of the files and check them against the files

Re: [PHP] PHP globals aren't really globals

2001-02-14 Thread Michael McGlothlin
It's somewhat annoying to have to tell the function which variables are global sometimes but overall it makes it easier to avoid stupid mistakes. It is a good push to make me less prone to making things global. Usually I just avoid using globals and then pack what I do use into appropiate arra

[PHP] PDF Functions

2001-02-14 Thread Mike Tuller
I finally got everything to install on RedHat 7, but I can't do anything with pdflib like I had expected. I get back Fatal error: Call to undefined function: pdf_new() in /var/www/html/pdfclock.php on line 7. Line 7 is $pdf = PDF_new(); This is rather frustrating that every time I try to install

[PHP] Re: Access my script

2001-02-14 Thread Barry Fawthrop
- Original Message - From: "Barry Fawthrop" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 14, 2001 1:01 PM Subject: Access my script > I now have my .php3 script works well > How do I access / call this script automatically from a .html page > > or must it be s

Re: [PHP] Qoute problem

2001-02-14 Thread Tanya Brethour
Let says I strip the slashes.. so it goes back to just normal qoutes.. and then do the str_replace("\"","|", $describe); $describe = stripslashes($describe); str_replace("\"","|",$describe); It doesnt replace the qoutes.. -Tanya On Wed, 14 Feb 2001, Web master wrote: > My approach towards t

RE: [PHP] OOP in web development

2001-02-14 Thread Mark Maggelet
On Wed, 14 Feb 2001 19:21:20 +1030, Nold, Mark ([EMAIL PROTECTED]) wrote: >- >--- >- >Disclaimer: The information contained in this email is intended only >for the >use of the person(s) to whom it is addressed

[PHP] ereg problem

2001-02-14 Thread Janet Valade
I am using the following statement to check phone numbers. if (!ereg("^[0-9\-\+\.\ \)\(]{10,}$",$value)) { Can anyone tell me why this works for every character except the -. It doesn't see the hyphen as a valid part of the phone number, even though it recognizes the other characters, e.g. + o

Re: [PHP] Installation on win32

2001-02-14 Thread Sean Kennedy
I have done both of these things, as they are in the instructions. In the installation file, it lists the lines that need to be added to the htttpd.conf file for apache, and these are the lines. Anything else that needs to be done? (BTW, I appreciate the help) > You will also need to add this f

Re: [PHP] require('asdf')

2001-02-14 Thread Chris Lee
is this what you want ? somefile.php -- Chris Lee Mediawaveonline.com em. [EMAIL PROTECTED] ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 ""Brandon Orther"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I am using the require() functi

Re: [PHP] PDF Functions

2001-02-14 Thread Chris Lee
Ive never quite seen a config like that, everybody does things differently. check your configure's output to make sure that it sais checking whether to include Pdflib 3.x support... yes checking for PDF_show_boxed in -lpdf... yes my config script looks like this... configure \ --disable-debug

[PHP] File Upload equiv. with Java/JSP

2001-02-14 Thread jason cox
Does anyone know the difference between file upload handling in PHP and with Java/JSP? An example of the Java equiv. would be most appreciated. I already know how to do it with PHP and am trying to do a bit of conversion. I'm interested more in the backend processing. thx, jason ___

[PHP] uploading...

2001-02-14 Thread Miguel Loureiro
Hi, I have a problem when I'm making an upload of big images (see attach), even having,in first step, a function that checks the file size, but when images are bigger the message(attach) appears . Anyone have some problem ? How can I solv this one? T.Y. Best Regards Miguel Loureiro<[EMAIL PROTEC

Re: [PHP] @ Scope

2001-02-14 Thread Christian Reiniger
On Wednesday 14 February 2001 17:36, Karl J. Stubsjoen wrote: > When you @ "at" a command (supress error messaging) within a function, > is the scope of the @ within the function? > > Example: > > > CloseODBC(1); > > # is error message supressed here too? > > > function CloseODBC($connection_id) >

Re: [PHP] File Upload equiv. with Java/JSP

2001-02-14 Thread Michael Stearne
I'm not sure but I think that may be something still missing from JSP. I am not sure and believe I read about a class or something that handles it. Looking at java.sun.com would probably be your best bet. Michael jason cox wrote: > Does anyone know the difference between file upload > handlin

Re: [PHP] Qoute problem

2001-02-14 Thread Christian Reiniger
On Wednesday 14 February 2001 17:56, Tanya Brethour wrote: > Hi! I was hoping that someone could help me out. I am not positive if I > understand whats going on.. so let me try to explain. > > This is a process to modify news articles in a MySQL database. > > (From the point after picking the arti

Re: [PHP]

2001-02-14 Thread Christian Reiniger
On Wednesday 14 February 2001 18:13, Brandon Orther wrote: > I am trying to get the value for a file input field to have a starting > value I can't seem to get it to work when using Value=\"C:\test.gif\" Let me guess - You're printing this in some string enclosed with double quotes (print ("Va

Re: [PHP] need better solution

2001-02-14 Thread Christian Reiniger
On Wednesday 14 February 2001 18:43, Christian Dechery wrote: > that's kinda what I have here... but the line of code isn't being > shown... and that is the problem... I for one, think that in an error > message the line of code is crucial. Check the manual for set_error_handler () -- Christian

Re: [PHP] ereg problem

2001-02-14 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Janet Valade) wrote: > if (!ereg("^[0-9\-\+\.\ \)\(]{10,}$",$value)) { > > Can anyone tell me why this works for every character except the -. It > doesn't see the hyphen as a valid part of the phone number, even though it > recognizes the oth

Re: [PHP] foreach OCIBindByName()

2001-02-14 Thread Butler, Shaun
On Wednesday 14 February 2001 17:55, you wrote: > On Wed, Feb 14, 2001 at 12:35:10PM +, Butler, Shaun wrote: > > So I want to bind multiple values that are in an associative array > > > > I have this code > > > > > > foreach ($binds as $key=>$value) > > { > >

[PHP] Upload moves the file doesn't copy it..

2001-02-14 Thread Dhaval Desai
Hi! I have finally learned to upload file using php. But the problem is that When I upload a file, it disappears from it's place and moves to the location I have told it to go to. It's more like a cut & paste rather then copy and paste... My code is as follows: Index.html: **

RE: [PHP] Upload moves the file doesn't copy it..

2001-02-14 Thread Boget, Chris
> I have finally learned to upload file using php. > But the problem is that When I upload a file, it > disappears from it's place and moves to the location I > have told it to go to. It's more like a cut & paste > rather then copy and paste... > if (copy($userfile, "c:\\upload.txt")) This is co

Re: [PHP] HTTP Authentication not getting unset

2001-02-14 Thread Toby Miller
Chris, I was afraid of that. I do have a contingency plan that is very similar to what you suggested. Since this is all already interacting with the database I'm just going to set a timestamp in the database in that users record and use that to determine if someone is logged in or not. This wo

Re: [PHP] Oracle Web & Php

2001-02-14 Thread Adi Wibowo
On Wed, 14 Feb 2001, kaab kaoutar wrote: > Hi! > thanks but i'm talking of oracle server! i mean instead of using pws or IIS > or apache , may i use php with an oracle server > > thanks Yes, you could access oracle server using PHP without any web server. Just compile it as a CGI (without any

Re: [PHP] ereg problem

2001-02-14 Thread Charlie Llewellin
the - needs to be immediately after the [ to include that character. Otherwise it is a range indicator. Charlie - Original Message - From: "CC Zona" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 14, 2001 12:56 PM Subject: Re: [PHP] ereg problem > In article <[EMA

[PHP] concatenating strings and \n's for mail...

2001-02-14 Thread Larry Rosenman
Greetings, I was trying to build up a multi-line body to use with the mail command, using code similar to: $mailbody = $mailbody . '\n' . $HTTP_POST_VARS["somefield"]; when I sent the mail, the \n showed up, not as a new line, but a literal \n. How do I fix this? This is with 4.0.4p

Re: [PHP] concatenating strings and \n's for mail...

2001-02-14 Thread Christian Cresante
You need to use "\n" for interpolation. --- Larry Rosenman <[EMAIL PROTECTED]> wrote: > Greetings, > I was trying to build up a multi-line body to > use with the mail > command, using code similar to: > $mailbody = $mailbody . '\n' . > $HTTP_POST_VARS["somefield"]; > > when I sent the

Re: [PHP] ereg problem

2001-02-14 Thread CC Zona
[rearranging back to bottom-posting order, for clarity] In article <006d01c096b8$4b9cf3e0$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Charlie Llewellin") wrote: > - Original Message - > From: "CC Zona" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, February 14, 2001 12:56

Re: [PHP] concatenating strings and \n's for mail...

2001-02-14 Thread Larry Rosenman
* Christian Cresante <[EMAIL PROTECTED]> [010214 13:27]: > You need to use "\n" for interpolation. Tried that too... Didn't work for me... > > --- Larry Rosenman <[EMAIL PROTECTED]> wrote: > > Greetings, > > I was trying to build up a multi-line body to > > use with the mail > > command, usi

RE: [PHP] ereg problem

2001-02-14 Thread Janet Valade
Thank you. That was exactly the problem. Janet > -Original Message- > From: Charlie Llewellin [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, February 14, 2001 11:00 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PHP] ereg problem > > the - needs to be immediately aft

Re: [PHP] HTTP Authentication not getting unset

2001-02-14 Thread Martin A. Marques
El Mié 14 Feb 2001 12:37, Toby Miller escribió: > Hey all, Hi, This is far to long, so I'll strip a part of it. > Now if I try to read the $PHP_AUTH_USER or $PHP_AUTH_PW variables anyplace > on the site they don't exist, until I go back to one of the protected > pages. Then they miraculously re-

Re: [PHP] parse speed vs require speed

2001-02-14 Thread Michael McGlothlin
Wouldn't the PHP cache/optimizing add-ons make it so it doesn't matter after the first time you run the script anyway? So even if the first pass was a few milliseconds slower it wouldn't be on future executions? Maxim Maletsky wrote: > My advise to you is to care about the portability of softw

Re: [PHP] concatenating strings and \n's for mail...

2001-02-14 Thread Larry Rosenman
* Lewis Bergman <[EMAIL PROTECTED]> [010214 13:50]: > On Wed, 14 Feb 2001, you wrote: > > Greetings, > > I was trying to build up a multi-line body to use with the mail > > command, using code similar to: > > $mailbody = $mailbody . '\n' . $HTTP_POST_VARS["somefield"]; > > > > when I s

Re: [PHP] mcrypt!

2001-02-14 Thread Alexander Wagner
Kevin Connolly wrote: > Does anyone know where I might get the mcrypt dll for windows nt or > win 98?? I dunno, but you could try http://www.php4win.de regards Wagner -- Three may keep a secret, if two of them are dead. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP] PDF Functions

2001-02-14 Thread Chris Carbaugh
How about in /etc/ld.so.conf you make sure /usr/lib is in there. Then run /sbin/ldconfig. Also, why bother with the source RPM? I would rather just get the source tarball direct from PHP.net and run with it. Chris On Wed, 14 Feb 2001, Mike Tuller wrote: > Date: Wed, 14 Feb 2001 12:07:50 -060

Re: [PHP] Image in a Template

2001-02-14 Thread Gary
That is exactly what I ended up doing. Thanks to all. Gary Ankur Verma wrote: > keep the images in a folder on the file system and link the filename of the > picture to the product tuple in the dataabse. > > I would suggest you use the product ID as the filename for the picture in > the folder

[PHP] Structuring large PHP programs

2001-02-14 Thread John McCreesh
What is the best practice for structuring a PHP program which is becoming too large to manage as a single file? Should it be broken into a number of includes, e.g.: switch ($whatever) { case 0: include('case0.php'); break; case 1: include('case1.php'); brea

[PHP] gettimeofday() question

2001-02-14 Thread John Vanderbeck
Hello, I need to be able to create files with unique names. One thought I had was to use the date functions. In windows API you can call a function that returns the number of milliseconds since, I think its January 1, 1970. That number would pretty much be garunteed to be unuquie (although it

[PHP-CVS] cvs: php4 /ext/mnogosearch config.m4

2001-02-14 Thread Jon Parise
jon Wed Feb 14 12:10:15 2001 EDT Modified files: /php4/ext/mnogosearch config.m4 Log: Fix build. Index: php4/ext/mnogosearch/config.m4 diff -u php4/ext/mnogosearch/config.m4:1.5 php4/ext/mnogosearch/config.m4:1.6 --- php4/ext/mnogosearch/config.m4:

[PHP] Paging results

2001-02-14 Thread Randy Johnson
Can somebody give me a url of an example or an example of how to page results so they can be view by clicking page 1 page 2 or back and next? results obtained from mysql database. Thanks Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] converting a web page

2001-02-14 Thread Cybercandy Ltd
I've written a little program to carry out a process similar to that of the dialectizer at http://rinkworks.com/dialect/ it loads a web page and then runs through the page translating certain words and phrases I would appreciate any comments or advice on the the process I've used and whether anyo

[PHP] Environment Variables ???

2001-02-14 Thread Barry Fawthrop
Why do the Environment Variables REMOTE_IDENT REMOTE_USER HTTP_FROM HTTP_IDENT and others exists IF they don't return any information ??? Is there anyway to find out Who visit's your site. (1) I'm trying to determine between Search Engines and actual Visitors (2) I'm trying to see who is interest

php-general Digest 14 Feb 2001 20:53:16 -0000 Issue 512

2001-02-14 Thread php-general-digest-help
php-general Digest 14 Feb 2001 20:53:16 - Issue 512 Topics (messages 39601 through 39739): Re: OOP in web development 39601 by: Nold, Mark 39603 by: Tim Ward 39606 by: Phil Driscoll 39701 by: Mark Maggelet Re: SOAP 39602 by: Bogdan Morar Re: Image i

Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c dir.c php_dir.h

2001-02-14 Thread Andi Gutmans
Derick, You should not enable this function if ZEND_WIN32 is defined or ZTS=1 (Thread Safety). Andi At 10:48 AM 2/14/2001 +, Derick Rethans wrote: >derick Wed Feb 14 02:48:49 2001 EDT > > Modified files: > /php4/ext/standard basic_functions.c dir.c php_dir.h > Log: > -

RE: [PHP] gettimeofday() question

2001-02-14 Thread James Moore
> I need to be able to create files with unique names. One thought > I had was > to use the date functions. In windows API you can call a function that > returns the number of milliseconds since, I think its January 1, > 1970. That > number would pretty much be garunteed to be unuquie (althou

Re: [PHP] Structuring large PHP programs

2001-02-14 Thread Ben Peter
John, part of this is a matter of taste - I would personally rather split this into functions. BUT: even if you _are_ using functions, you should only include() the file with the function when you need it, IF this part of the code is getting large. This way, php will not need to parse code that

Re: [PHP] XML parsing without the PHP4 XML functions

2001-02-14 Thread Michael McGlothlin
I haven't done this in PHP as PHP comes w/ XML support but times past when I needed a fast way to parse something like that and knew the format would be simple I'd usually do something like make a function that knows all the possible splits w/in a layer (ie items are w/in the faq layer if they

Re: [PHP] Structuring large PHP programs

2001-02-14 Thread Michael McGlothlin
I'd go w/ functions. You can split the functions into as many files as needed but I wouldn't embed their inclusions in a switch statement. I'm not quite sure what you need the switch statement for so am assuming it's part of your applications logic. I'd never write a program as one giant clump

[PHP] PHP scripts in HTML

2001-02-14 Thread Don
I would like to know if there is a way to accomplish the following: In my HTML file, I have the following: In the testscript.php file, I have: When I run the html file, I do not see the PHP code but if I place the above code directly in my HTML file, it displays. -- PHP General Mailing L

Re: [PHP] Bad Practices

2001-02-14 Thread [EMAIL PROTECTED]
I told Apache to deny all .inc requets, ala .htaccess-style stuff in the httpd.conf -Szii - Original Message - From: Sebastian Stadtlich <[EMAIL PROTECTED]> To: 'Rick Hodger' <[EMAIL PROTECTED]>; 'Php-General (E-Mail) <[EMAIL PROTECTED]> Sent: Wednesday, February 14, 2001 4:45 AM Subject

[PHP] Up & Downloading

2001-02-14 Thread Steve Haemelinck
Dos anybody has an idea how I can monitor uploads (Time, Size) and Downloads to and From my server with PHP ? Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

[PHP] Security...

2001-02-14 Thread John Vanderbeck
Can someone point me to an url where I can read up and learn about how to be sure my back-end admin scripts will all be secure? My site isn't even open yet and I am already seeing access atempts to non-existant CGI scripts. A good friend of mine says it looks like the pattern hackers use to try

Re: [PHP] PHP scripts in HTML

2001-02-14 Thread Scott Mebberson
Hi Don, This wont work as PHP is a server side scripting language. So by the time your page gets displayed in a browser, php has already packed up and gone home. It has done it's job and exited your page. For your webserver to recognise php it must be incompessed in tags, or . This is so your w

[PHP] uploading files

2001-02-14 Thread Scott Mebberson
Hi Guys, >From your experiences, please answer my questions relating to uploading files. Can you get php to upload an image if you have the direct location of the file (ie. c:\bar\foo\bar\foobar.jpg), but the only thing is that I am not getting this from a form file input with the ENCTYPE of the

[PHP-CVS] cvs: php4 /pear/Mail RFC822.php

2001-02-14 Thread Chuck Hagenbuch
chagenbuWed Feb 14 13:24:47 2001 EDT Modified files: /php4/pear/Mail RFC822.php Log: current php4 cvs doesn't like having a limit of 0 specified in preg_split; it seems to take it as meaning no matches at all. Index: php4/pear/Mail/RFC822.php d

[PHP] email.. (check this one out!)

2001-02-14 Thread FredrikAT
Hi! I want to send a email usin' email() (plain text!), but I have a problem. What i want to send! $email_body = "This is just nothing, This is just nothing, This is just nothing, This is just nothing, This is just nothing, This is just nothing, This is just nothing, This is just nothing, This i

Re: [PHP] Structuring large PHP programs

2001-02-14 Thread Scott Mebberson
I would use a combination of both, Have all of your backend settings (including db info) in one include, and all of your user customisable settings (if you have any) in another include and finally another include for all your functions, so that any function is aviable at anytime. But this doesn

Re: [PHP] email.. (check this one out!)

2001-02-14 Thread FredrikAT
I explained my problem badly in the last message... What I want to send is written without and \n... I want to set like a column width or something but without using HTML in my email... Anyone? ""FredrikAT"" <[EMAIL PROTECTED]> skrev i melding 96eu04$uef$[EMAIL PROTECTED]">news:96eu04$uef$

RE: [PHP] email.. (check this one out!)

2001-02-14 Thread Balak, Frank
use a \n (newline character) in your string where you want the break. Frank -- Franklin J. Balak Jr. Quality Assurance Data Analyst Brown Printing Company Waseca Division Waseca, MN. 56093 Voice: 507-835-0253 Fax: 507-835-0293 -- -Orig

Re: [PHP] PDF Functions

2001-02-14 Thread Mike Tuller
The reason why I needed the RPM is because no matter what I tried, I couldn't get PHP to compile for the Apache rpm on Redhat 7. If at all possible, I like to use the rpms so that they can be easily updated. I have done everything everyone has suggested, and I still get an error. I have even comp

Re: [PHP] Environment Variables ???

2001-02-14 Thread Scott Mebberson
The HTTP_IDENT env. variable was depreciated due to its limited use. REMOTE_USER does have a value if the user has been authenticated. If the authentication was successfull then the users name is stored in here. Use HTTP_REFERER if you want to know where the visitors were before they came to your

[PHP] Remote Connection

2001-02-14 Thread John Monfort
Questions: I want to make an e-commerce like transaction with a remote file, similar to how a merchant account process a credit card. The concept is very similar. Basically, I have two servers in two different cities. I have a web interface on server A, and DB on server B. Server

Re: [PHP] email.. (check this one out!)

2001-02-14 Thread Scott Mebberson
Try to write some substr loop thats get the line and splits it up into 100 words then concenates all of the value you split with a \n in between ""FredrikAT"" <[EMAIL PROTECTED]> wrote in message 96eu04$uef$[EMAIL PROTECTED]">news:96eu04$uef$[EMAIL PROTECTED]... > Hi! > > I want to send a email

Re: [PHP] email.. (check this one out!)

2001-02-14 Thread CC Zona
In article <96euan$6g8$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("FredrikAT") wrote: > I want to set like a column width or something but without using HTML in > my email... There's a wordwrap() function--is that what you mean? -- CC -- PHP

RE: [PHP] PHP scripts in HTML

2001-02-14 Thread Brian V Bonini
Don, Why don't you just rename your .html file to .php and use 'include' to call an external php script. -brian * > -Original Message- > From: Scott Mebberson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 14, 2001 4:47 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] PHP

[PHP-CVS] cvs: php4 /ext/oci8 config.m4 /ext/oracle config.m4

2001-02-14 Thread Jani Taskinen
sniper Wed Feb 14 13:41:40 2001 EDT Modified files: /php4/ext/oci8 config.m4 /php4/ext/oracleconfig.m4 Log: This should make detecting the version of Oracle libs a bit more accurate to avoid the 'missing libcore4' errors. (e.g. on AIX) Bug repor

Re: [PHP] PHP Editors

2001-02-14 Thread John Hinsley
You could try Xemacs, which has colour syntax highlighting and a built in psychoanalist! (No, really!) But I prefer Gvim. You need (say) gvim 5.7 and the vim 5.7rt. If you're running a *nix, build it against Gtk. It's charityware, and looks and works the same on any platform. Menu driven and Grep

[PHP] help make less ugly?

2001-02-14 Thread Andrew
Hi, can anyone suggest how to make this less hackish - perhaps preserving the array across page iterations somehow? I'm storing image path info in MySQL and creating an array from the result set, so I can build hrefs to the other pics as well as populate the img tag. This page calls itself to pr

Re: Re: [PHP] PDF Functions

2001-02-14 Thread Chris Carbaugh
Here's the steps I would take: ditch all those configure options except the ones needed to keep PDF functions working. Maybe even just ./configure --with-pdflib=/usr/local/lib, and test it out as a stand alone exec. If that fails, ditch the RPMs. Get the source for apache, php, pdflib, and wh

[PHP] (roberto)Standar of modules of PHP3 ...how i can make a extension in C/c++ for this version?

2001-02-14 Thread Celestino Roberto Alejandro
Hello.. ..how i can make a extension for this version of PHP3? ..Thanks :-)

Re: [PHP] PDF Functions

2001-02-14 Thread Tim Livers
Here are the directions I used to configure PHP with pdflib. These worked for me. http://www.phpbuilder.net/columns/perugini20001026.php3?page=2 Tim Mike Tuller wrote: > I finally got everything to install on RedHat 7, but I can't do anything > with pdflib like I had expected. > > I get bac

[PHP] Passing vars

2001-02-14 Thread Tanya Brethour
Quick question.. If I have like 6 variables to pass to another PHP script... and some of the vars are actually multiple lines of text (lets say over 30 lines). What is the best way of doing this? I would like to avoid doing something like test.php?cheese=(30 lines of stuff) Thanks in advance!

[PHP] Re: [PHP-DB] Passing vars

2001-02-14 Thread Maureen
I may be totally wrong or missing something, (if so, someone please let me know) but ... 1. One way would be to use the variables and urlencode them before passing them. $var1=urlencode($var1) then you have test.php?cheese="" OR 2. Another way would be to use a form: and then add the 6 var

Re: [PHP] HTTP Authentication not getting unset

2001-02-14 Thread Martin A. Marques
El Mié 14 Feb 2001 13:44, Chris Lee escribió: > Ive found the same thing and currently do not have a workaround, it seems > that browsers cache this. one method Ive thought of and never tested is to > set a session variable, cross reference that SessionID, PHP_AUTH_PW, > PHP_AUTH_USER are all vali

[PHP] Forms

2001-02-14 Thread Brandon Feldhahn
how can i make somthing that nows if there are 6-12 chars in a password field. Also how do you make somthing the know is the password, and the password confermation is the same. And finnally i need a script that know if they filled all the form fields, and one that know if they put and "@" in ther

Re: [PHP] Forms

2001-02-14 Thread Augusto Cesar Castoldi
with the password you can use the funcio srtlen: $number_of_chars=strlen($password); Where are the right password? On a database?? In the site http://www.hotscripts.com you'll find a lot of script exemplos in PHP and JavaScript to verify if a e-mail typed is right. Augusto Cesar Castoldi On W

Re: [PHP] mcrypt!

2001-02-14 Thread Phillip Bow
The latest version should be at: ftp://argeas.cs-net.gr/pub/unix/mcrypt/win32/ -- phill > Kevin Connolly wrote: > > Does anyone know where I might get the mcrypt dll for windows nt or > > win 98?? > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: [PHP] PDF Functions

2001-02-14 Thread Michael Stearne
Chris Carbaugh wrote: > > > I have had problems in the past with RedHat's RPMs. They seem to put > things in weird places. And just removing them and starting fresh with > source always seems to work. Besides, once you have built from source > a few times, it's really a piece of cake, and mu

[PHP] list only checkbox-marked records on a new page

2001-02-14 Thread Helmut Ott
Hi, I need help from checkbox-specialists needed ! I have a list of records each carrying a checkbox. The source in this original page looks like this as for the checkbox - the value of "value" equals the ID of the record: ... ... ... The user shall mark interesting records and upon submit

[PHP] Restrict access per IP Address

2001-02-14 Thread Karl J. Stubsjoen
Okay, last one for the day! How do you query the clients IP address? We have a site in development, and I want to restrict access to people coming in from certain IP addresses. Really, all I need to do is query the IP address, I can code the rest of it. Thanks! Karl -- PHP General Mailing L

Re: [PHP] Restrict access per IP Address

2001-02-14 Thread Michael Stearne
Run on a page. You will be able to see all of the available environment variables avaliable to you, one will tell you the client IP address. Michael "Karl J. Stubsjoen" wrote: > Okay, last one for the day! How do you query the clients IP address? We > have a site in development, and I wan

[PHP] PHP 4 sessions and PHPLIB

2001-02-14 Thread Martin A. Marques
Hi, I've been using horde, IMP for a while with PHP4 pretty well, no problem at all (uses PHPLIB for session and database storage). But now I need to built some code and I'm using PHP4's native session functions. The problem was that when coding I got an error related with PHPLIB's session obje

Re: [PHP] Restrict access per IP Address

2001-02-14 Thread Mark Green
be Careful using the IPAddress as a primary security measure. If the client has accessed your site through a proxy, then the IP Address shown will be the IP Address of the proxy. While you can use X_FORWARDED_FOR (or something similar,c ant remember off the top of my head :p ) to determine the req

Re: [PHP] Restrict access per IP Address

2001-02-14 Thread Alexander Wagner
Karl J. Stubsjoen wrote: > Okay, last one for the day! How do you query the clients IP address? > We have a site in development, and I want to restrict access to > people coming in from certain IP addresses. > Really, all I need to do is query the IP address, I can code the rest > of it. $remot

Re: [PHP] PDF Functions

2001-02-14 Thread Mike Tuller
Exactly!!! I have gone back and redone everything 3 or 4 times, and am on day 3 of this. I watch while I configure, and it says that it is working, but when I go to check. I still get an error. > From: Michael Stearne <[EMAIL PROTECTED]> > Date: Wed, 14 Feb 2001 18:01:20 -0500 > To: [EMAIL PROTE

Re: [PHP] Paging results

2001-02-14 Thread David Robley
On Thu, 15 Feb 2001 07:12, Randy Johnson wrote: > Can somebody give me a url of an example or an example of how to page > results so they can be view by clicking page 1 page 2 or back and > next? > > results obtained from mysql database. > > Thanks > > Randy http://px.sklar.com/code.html?code

Re: [PHP] HTTP Authentication not getting unset

2001-02-14 Thread Martin A. Marques
El Mié 14 Feb 2001 13:04, Toby Miller escribió: > Sorry, I meant common header, not footer. > > Inside my common "header" on my site .. > (which also includes the same "header") ... Don't worry, I understood it. ;-) -- System Administration: It's a dirty job, but someone told I had to

Re: [PHP] PHP and Java (CVS version)

2001-02-14 Thread Alex Akilov
Evan, It sounds like your PATH doesn't contain the JDK/bin directory. What happens if you type "which jar" at a command shell? Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the li

Re: [PHP] re:linebreak

2001-02-14 Thread Steve Werby
"Jens Nedal" <[EMAIL PROTECTED]> wrote: > In case of displaying \n that are stored in a variable or com from a DB or > inptu field you can also use nl2br($var) which automatically converts those > linebreaks to and so get displayed correctly. Good call, Jens. > Though that will not work > for t

[PHP] Array question

2001-02-14 Thread Chris
Hi, How do I get the index,number of an array if reffering to an array via string? Ex: I have 100 arrays, and I want to know what # myarray["something"] is. I looked at Current, but how do I move the pointer to where "something" is in the array? Would this work: $null = myarray["something"]; $

Re: Re: [PHP] PDF Functions

2001-02-14 Thread Chris Carbaugh
Well, first let me say that I'm kind of surprised I'm the only one trying to help you guys out. It seems not many folk are into PHP/PDF? Any how, Redhat's *.0 releases are known to be problematic. They are usually pretty much bleading edge, meaning they're buggy. The last time I compiled PHP

Re: [PHP] need better solution

2001-02-14 Thread Christian Dechery
At 19:53 14/2/2001 +0100, Christian Reiniger wrote: >On Wednesday 14 February 2001 18:43, Christian Dechery wrote: > > that's kinda what I have here... but the line of code isn't being > > shown... and that is the problem... I for one, think that in an error > > message the line of code is crucial

[PHP] Re: [PHP-DB] Passing vars

2001-02-14 Thread Tanya Brethour
Yes.. the problem with the hidden method.. is the following. Let says I use the string "Testing the \"waters\" " Now.. if I do a the qoutes in my string do not escape correctly. So when you look at the source in netscape.. it ends the string at \ ... just before the first qoute. So.. is there

<    1   2   3   >