[PHP] grabbing file number from article042.html?

2001-05-11 Thread Andrew Rowe
I'm trying to get the number of a file where the filename= article00x.html. The dir looks like: 2001/article001.html, article002.html... Currently I'm grabbing it using the following code: $path_info = preg_split("/\//i", $PHP_SELF,-1, PREG_SPLIT_NO_EMPTY); $current_file = end($path_info); $curre

RE: [PHP] split string

2001-05-11 Thread Taylor, Stewart
$test = "1,2,3"; $arrTest = explode(",",$test); foreach($arrTest as $k=>$v) { $vname = "test".(!$k?"":$k); // global for use later global $$vname; $GLOBALS[$vname] = $v; } // now global $test, $test1, $test2 exist etc -Original Message- From: Jacky [mailto:[EMAIL PROTECTED

[PHP] Site Search Engine

2001-05-11 Thread elias
Hello. I'm looking for a good Site Searching program or script.. I'm currently using http://WebGlimpse.org But it is looking inside my PHP files and showing their source! ie: i search for: echo "Hello" and WebGlimpse show search result as: http://www.eassoft.cjb.net -- PHP General Mailing L

Re: [PHP] Passing Objects Vol II

2001-05-11 Thread Pavel Kalian
In index2.php change the line $myInstance=urldecode ( unserialize($passedClass) ); to $myInstance=unserialize ( urldecode($passedClass) ); and you should be happy... I also assume you have register_globals turned on in php.ini. Pavel - Original Message - From: <[EMAIL PROTECTED]> To:

Re: [PHP] Posted earlier no reply

2001-05-11 Thread elias
Hi, It would be my pleasure to help! but can you please lessen your source code and give code+question same time in a short way? ""Adrian D'Costa"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi, > > I am trying to write a php and javascript that will pic

[PHP] Hi!

2001-05-11 Thread Johan Vikerskog (ECS)
with the variable HTTP_REFERER you go to the previous page. That means one page back in time. But how do go two pages back? Anyone have suggestions. Thanks for all the help you can give. //Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

RE: [PHP] Hi!

2001-05-11 Thread Ben Cairns
You can so this with JavaScript: Go back Two Pages -- Ben Cairns - Head Of Technical Operations intasept.COM Tel: 01332 365333 Fax: 01332 346010 E-Mail: [EMAIL PROTECTED] Web: http://www.intasept.com "MAKING sense of the INFORMATION TECHNOLOGY age @ WORK.." -- PHP General Mailing List (

RE: [PHP] Hi!

2001-05-11 Thread Johan Vikerskog (ECS)
Hi Ben. I need the URL for two pages back to be saved as a variable. I am going to format the adress for two pages back and redirect the user to the formatted URL. Sounds weird but i really nead it. -Original Message- From: Ben Cairns [mailto:[EMAIL PROTECTED]] Sent: den 11 maj 2001 10:

[PHP] preview function with upload

2001-05-11 Thread Mark Lo \(3\)
Hi, Does anyone know how to implement a preview function. That preview function is work after selecting the specific picture to upload in php upload function, when people click the preview function, the the selected upload product will show up on the screen. Hope, I am clear enough. Thank

RE: [PHP] preview function with upload

2001-05-11 Thread Jason Lotito
> -Original Message- > From: Mark Lo (3) [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 11, 2001 4:39 AM > To: ListPHP Mailing > Subject: [PHP] preview function with upload > > > Hi, > > Does anyone know how to implement a preview function. > That preview function is work afte

Re: [PHP] Has anyone tried to make telnet client with php?

2001-05-11 Thread Thies C. Arntzen
On Thu, May 10, 2001 at 08:28:59PM -0700, Grishick wrote: > Has anyone ever tried to make a telnet client with PHP? Any ideas how to > make it? > Tried to make it with socket, fsockopen, fputs, freads - does not work for > telnet. > Probably cURL will help? > Deadly need an advice. > Thanks. > Gri

[PHP] weird problems with file uploads

2001-05-11 Thread Revista Electrónica de Visión porComputador
Hi all! This is my first intervention in this list. This is probably a tyipical problem but I have scoured the web for a solution and I haven't found one. I'm trying to implement a file upload on a website so people can send us files of their work and I'm having a fantastic success with text f

Re: [PHP] Re: Reliability of Window-version of PHP

2001-05-11 Thread Phil Driscoll
>I'm planning to use PHP for Windows on Windows 2000 Advanced Server as CGI. >Wondering if Php on Windows is stable/robust enough for a 1 million hits per >month site ? Yes it is. Assuming everything is well set up and the crackers don't have a go at your machine you should have no worries on the

RE: [PHP] Hi!

2001-05-11 Thread Tom Carter
If you know what page(s) are being used to load the end page then on these pages you could pass the $HTTP_REFERER value from the middle page to the end one and use that in the redirect Tom Carter Web Architect roundcorners ltd. On Fri, 11 May 2001, Johan Vikerskog (ECS) wrote: > Hi Ben. > I nee

[PHP] Demonstration of Passing Objects

2001-05-11 Thread tcuhost
Thanks for your help in the Vol I and Vol II of passing variables. I have put up a quick little page to show the passing of variables and the correction suggested here by Pevel. Kalian http://24.11.192.82/objects/ sometimes seeing the solution is the best way to learn. I am only going to leave i

[PHP] Re: PHP + GD + FreeBSD

2001-05-11 Thread Daniel BI
Take a look into the GD makefile. I had once a problem like yours and there was the solution. Daniel BI - When i compile PHP on my FreeBSD with the following confgoptions, i don't get png support. Whats wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] Can PHP send MSmail????

2001-05-11 Thread badmanhk
Would you tell me more detail ? Are there any reference source? Do you mean what I need to do is to point the smtp server setting to the ip of my exchange server and let it do the rest? Thanks for advice!!! Alan. "Don Read" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó [EMAIL PROTECTED]">news:[EMAIL PROTECTED

Re: [PHP] PHP Editor

2001-05-11 Thread Dave Mateer
I'm using ColdFusion Studio which makes life very easy - good colour co-ordination of the code, and only takes 1 button the do an FTP upload up to the web-server (I'm using a Windows box to do editing, then a Linux box as webserver). We've been using Dreamweaver as well to bring the design elemen

[PHP] Php.ini style change

2001-05-11 Thread Jonatan Bagge
Can anyone tell me why they checnged the style of the php.ini file. I feel it's hardly readable anymore. Finding stuff was a lot easier when all the comments where on the right side instead of between the different directives. Anyone disagree? -- PHP General Mailing List (http://www.php.net/)

[PHP] Multiple select forms on same page

2001-05-11 Thread Fates
Need an example of multiple select forms on the same page using PHP, Javascript, and MySQL. Can someone point me to a link. I have a Javascript that does this but I need to see the MySQL and PHP part. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] Multiple select forms on same page

2001-05-11 Thread elias
.html file: List box tests (multiple): Item1 Item2 Item3 Item4 .php file: while (list(, $value) = each($ListBox2) { echo $value; } -elias http://www.eassoft.cjb.net "Fates" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Need an example of mult

Re: [PHP] StripSlashes

2001-05-11 Thread Christian Reiniger
On Thursday 10 May 2001 22:11, Sterling wrote: > H- > > I'd like to be able to strip the slashes from all the imported > HTTP_POST_VARS. > > I found the $string = stripslashes($string); command. > > But this becomes very tedious if I have 20 vars and I need to code each > one with its own stripsla

[PHP] include("../file.inc");

2001-05-11 Thread Matthew Ralston
How do you include or require a file that is above the current script in the directory hierarchy? For example how would I include or require a file whose path is "../file.inc" relative to the current script? I tried all of: include("../file.inc"); require("../file.inc"); include("/file.inc"); req

RE: [PHP] include("../file.inc");

2001-05-11 Thread Taylor, Stewart
Either of the first two should work under linux. I have done similar many times myself e.g. require_once "../common/localvars.php"; -Stewart -Original Message- From: Matthew Ralston [mailto:[EMAIL PROTECTED]] Sent: 11 May 2001 11:40 To: [EMAIL PROTECTED] Subject: [PHP] include("../file

Re: [PHP] php and asp

2001-05-11 Thread Luiz Vitor
You can use this code: set fso = Server.CreateObject("Scripting.FileSystemObject") set fs = fso.GetFolder("Server.MapPath("/images")) for each file in fs.Files Response.write file.name & "" Response.write file.size next You'll have to use the FileSystemObject in order to get data from a text

Re: [PHP] php and asp

2001-05-11 Thread Luiz Vitor
I forgot to tell you... you don't need to install any component in your server. The FileSystemObject already comes with IIS 5.0. []'s Luiz Vitor - Original Message - From: "todd kennedy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 11, 2001 12:42 AM Subject: [PHP] php an

Re: [PHP] update statement

2001-05-11 Thread Johannes Janson
Hi, >I got a series of string value in this format ie: 1,2,3, say pretend that these are telephone number, which is one feild >in user table. >I need to update this telephone number field, I got 3 user ID in series like this too, ie: 3,4,5 and normally it is like > >update set where userID I

[PHP] problem forcing download

2001-05-11 Thread Bert
Hi, I'm having some problems with forcing a file download. I want to use the script to force the download of .doc,.pdf and .txt files so they don't get opened in the current browser window. I already have a script that works on most browsers (ie5.01, netsc4.07, netsc6.01, opera4.01 all on PC) exc

[PHP] stumped

2001-05-11 Thread Adrian D'Costa
Hi, I need to find a solution to this. I am lost. To see what I talk about check vvmm.net/search.php3. I am using php 4 offline. Based on whatever the viewer select I get the below script to build the select statements accordingly. Everything is working fine now. I want to add another featu

Re: [PHP] multiselects and arrays

2001-05-11 Thread Rouvas Stathis
you can have access to everything, using the following construct: window.document.forms[i].elements[j].name and window.document.forms[i].elements[j].value so, for example : the first input text can be accessed as window.document.forms[0].element[1] while the second can be accessed as windo

Re: [PHP] OT-Please bare with me :)

2001-05-11 Thread stan
Check out http://www.dhtmlab.com for javascript code to create drop-down menus. On Thu, 3 May 2001 10:05:48 -0700 Brandon Orther <[EMAIL PROTECTED]> wrote: > Hello, > > I am making a suite of php tolls that I want to have all incorporated in one > management website. What I would like

[PHP] Redirect With Authentication Question

2001-05-11 Thread stan
Authentication Question... My company subscribes to several pay-to-view e-commerce sites that require htaccess-type authentication. To keep things simple for our users and to ensure that our users don't use these accounts w/out our permission, we would like to keep the account IDs and pas

[PHP] Redirect With Authentication Question

2001-05-11 Thread stan
Authentication Question... My company subscribes to several pay-to-view e-commerce sites that require htaccess-type authentication. To keep things simple for our users and to ensure that our users don't use these accounts w/out our permission, we would like to keep the account IDs and pas

[PHP] Phorum and IBM DB2

2001-05-11 Thread Kian On
Anyone have experience that deploy phorum with IBM DB2 as backend database ? Or, can this be done? The webserver is still apache. Any hints on how to do this? Thanks! Yong -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re[2]: [PHP] PHP Editor

2001-05-11 Thread Adaran (Marc E. Brinkmann)
Hi Grishick, Grishick> Nothing is better then HomeSite Agreed ;-) --- EnjoY, Adaran ([EMAIL PROTECTED]) check http://www.adaran.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[PHP] Question re: JOIN statement PHP/MySQL

2001-05-11 Thread John E. Haag
Hi, Can anyone tell me how to properly execute a JOIN from PHP to MySQL?? I just want to JOIN two tables, both of which have 'user_id' in common, and then get all of the fields from the matching records. Can anyone tell me where to find some info on this or cut-n'-paste a little helpful code

[PHP] php4 & phplib problems

2001-05-11 Thread Colm Rafferty
is anyone using phplib with php4? I seem to be unable to get it working on a win98 machine with php4.0.5 It seems unable to use phplib. Error is: Warning: Undefined variable: sid in C:\Inetpub\scripts\lib\phplib\session.inc on line 393 Warning: Cannot add header information - headers already s

[PHP] Slightly OT - PHP Mileage from Zip Code Calculator

2001-05-11 Thread Todd Pillars
I found a site that had a commercial PHP version of a zip code mileage calculator, but the site owners have not responded to my request. Does anyone know of a calculator written in PHP that will allow users to enter their zip code and select the amount of miles radius of their home? Commercial v

[PHP] Installation problem

2001-05-11 Thread Maxer
Hi, It's probably a simple problem but never the less I spent the last 3 days trying to figure it out. Here it is, I hope you can help. I configure apache with php and when I "make apache" I get the following error: "... /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function 'my_uncom

Re: [PHP] Question re: JOIN statement PHP/MySQL

2001-05-11 Thread bill
SELECT * FROM table1, table2 WHERE table1.user_id = table2.user_id "John E. Haag" wrote: > Hi, > > Can anyone tell me how to properly execute a JOIN from PHP to > MySQL?? > > I just want to JOIN two tables, both of which have 'user_id' in > common, and then get all of the fields from the match

Re: [PHP] Slightly OT - PHP Mileage from Zip Code Calculator

2001-05-11 Thread bill
Not sure what you're asking exactly, but I have a "Find a Dealer" page where a person puts in their zip code and selects how far they want to look. http://earthcomfort.com/find_a_dealer.html Is that what you're looking for? Todd Pillars wrote: > I found a site that had a commercial PHP versio

Re: [PHP] Slightly OT - PHP Mileage from Zip Code Calculator

2001-05-11 Thread Joe Rice
I've also been interested in knowing how this is done. If you are willing to share, please post the source to your page. Thanks, joe bill([EMAIL PROTECTED])@Fri, May 11, 2001 at 09:07:26AM -0400: > Not sure what you're asking exactly, but I have a "Find a Dealer" page where > a person puts in t

Re: [PHP] weird problems with file uploads

2001-05-11 Thread Mpeglitis Nikos
> I'm trying to implement a file upload on a website so people can send us > files of their work and I'm having a fantastic success with text files. > The problem comes when I try to upload binary files such as zip or mp3, > when I get the typical file attack error mesage from the script, in > oth

[PHP] PHP 4.0.5 - segmentation fault when using OCI8

2001-05-11 Thread Robert Mena
Hi, I have a development machine with 4.0.4pl1 which has been used for creating a set of scripts to access oracle (using stored procedures). It seems to be working fine (the problems that I've encountered seems to be related to the oracle/procedure itself). Last night I moved the scripts to the

Re[2]: [PHP] weird problems with file uploads

2001-05-11 Thread Adaran (Marc E. Brinkmann)
Hi Mpeglitis, >> I'm trying to implement a file upload on a website so people can send us >> files of their work and I'm having a fantastic success with text files. >> The problem comes when I try to upload binary files such as zip or mp3, >> when I get the typical file attack error mesage from t

[PHP] Is this still true?

2001-05-11 Thread Richard McLean
From the PHP FAQ ... " The last method is to use PHP as a plug-in for a multithreaded web server. Currently this is only theoretical -- PHP does not yet work as a plug-in for any multithreaded web servers. Work is progressing on support for ISAPI, WSAPI, and NSAPI (on Windows), which will all

[PHP] Sending mail from a Unix

2001-05-11 Thread Jaime Torres
I'm running a couple of web scripts in a Unix system with Apache. I need to send an email message with some info but I have to do it using a SMTP running in another server on my network. How can I do this? I've tried setting the SMTP parameter in the php.ini file, but it'd only work if I'm runnin

Re: [PHP] Is this still true?

2001-05-11 Thread Richard McLean
Hi All, Apologies for the repost php-dev guys, I didn't think it had gotten through. cheers, Richard -- 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, e-mail: [EMA

[PHP] Getting referrer from another frame

2001-05-11 Thread Tobias Talltorp
I would like to tweek the getenv("REMOTE_ADDRESS") a little. -- 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, e-mail: [EMAIL PROTECTED]

Re: [PHP] Is this still true?

2001-05-11 Thread Michael Kimsal
Our personal experience is that the ISAPI version, running under IIS, is not stable. Last version I tried was 4.0.4pl1. Perhaps 4.0.5 is better now, but I don't think so. I've read reports of people using PHP ISAPI under Apache on Windows, but I've not tried that myself. Richard McLean wrote

[PHP] Getting referrer from other frame.

2001-05-11 Thread Tobias Talltorp
Sorry about the post before (if there was one)... It was sent by accident. Here is the complete question: I would like to tweek the getenv("REMOTE_ADDRESS"); a little. I want my top frame to print the referrer for the frame below. I'm not sure if this should be done with PHP or javascript. Sound

Re: Re[2]: [PHP] weird problems with file uploads

2001-05-11 Thread Mpeglitis Nikos
> well, is your form enctype="multipart/mixed" and method="post" ? > > did you use open($file, "rb"); (b is important 4 binary) > > did you use addslashes when storing the file in mysql ? > > well, you ought to specify the problem more exactly... > Well, it was that addslashes() stuff :) Thank

RE: [PHP] RE: [PHP-DEV] RE: [PHP] RE: [PHP-DEV] WEIRD, WEIRD problem with u pgrade to 4.0.5

2001-05-11 Thread Maxim Maletsky
right, that is what I though to do at first, but somehow our sysadmin denied the idea. The server is now being tested by him, and I will continue playing with PHP on Monday (it is 5.30 here in Tokyo, he will leave soon and I am not allowed the root-pass. The server belongs to another company we a

Re: [PHP] Is the CGI-only Win32 binary compiled with --enable-sockets?

2001-05-11 Thread Todd
This is what it says on top of the page: System: Windows NT 5.0 build 2195 Build Date: Apr 30 2001 Server API: CGI Virtual Directory Support: enabled Configuration File (php.ini) Path: C:\WINNT\php.ini ZEND_DEBUG: disabled Thread Safety: enabled I've searched the rest of the page but all I saw w

Re: [PHP] preview function with upload

2001-05-11 Thread bill
Do you capture the actual Client side Machine path before they hit the submit button or after? If before, I'm guessing you use javascript. If after, I have no guess. I didn't think that information was passed with the POST. kind regards, bill hollett Jason Lotito wrote: > > -Original M

Re: [PHP] Getting referrer from other frame.

2001-05-11 Thread Jean-Arthur Silve
if you have two frames, for example : frame1 : the top frame frame2 : the bottom frame. in the bottom frame : var ref= in the top frame : document.write("refferrer is"+parent.frame2.ref) Well, something like that I guess... Problem could be the top fr

Re: [PHP] PostgreSQL vs. Interbase

2001-05-11 Thread Geoff Caplan
Hi > Please discuss as to your point of view the advantage of PostgreSQL over > Interbase and/or vise versa. I'm considering three (3) important points > I'm just evaluating Interbase and there is an important point that did not come out in the thread. It seems that Borland went back on key com

[PHP] How good is the Interbase/Firebird API?

2001-05-11 Thread Geoff Caplan
Hi I am hoping that someone can save me some testing time. I am considering using Interbase/Firebird, but notice that there is no facility to set the maximim number of connections in php.ini - the API seems to be a bit basic. Last time I tested an RDBMS without a maximum setting, I found that t

[PHP] How good is the Interbase/Firebird API?

2001-05-11 Thread Geoff Caplan
Hi I am hoping that someone can save me some testing time. I am considering using Interbase/Firebird, but notice that there is no facility to set the maximim number of connections in php.ini - the API seems to be a bit basic. Last time I tested an RDBMS without a maximum setting, I found that t

[PHP] How good is the Interbase/Firebird API?

2001-05-11 Thread Geoff Caplan
Hi I am hoping that someone can save me some testing time. I am considering using Interbase/Firebird, but notice that there is no facility to set the maximim number of connections in php.ini - the API seems to be a bit basic. Last time I tested an RDBMS without a maximum setting, I found that t

[PHP] How good is the Interbase/Firebird API?

2001-05-11 Thread Geoff Caplan
Hi I am hoping that someone can save me some testing time. I am considering using Interbase/Firebird, but notice that there is no facility to set the maximim number of connections in php.ini - the API seems to be a bit basic. Last time I tested an RDBMS without a maximum setting, I found that t

RE: [PHP] How good is the Interbase/Firebird API?

2001-05-11 Thread Altunergil, Oktay
Following the links you provided I came accross this. (Installing, Configuring and Using Apache, PHP3 and Interbase on Linux.) http://www.synectics.co.za/php3/tutorial/tutorial.html oktay -Original Message- From: Geoff Caplan [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 11:4

Re: [PHP] Php.ini style change

2001-05-11 Thread Jakob Kruse
Yup. I disagree totally. In the old style the file was totally unreadable unless you happened to have an editor with the same concept of tab-width as the editor of the person who wrote the file, plus the file was too wide to read it all. Much easier this way. And quite frankly, my eyes have no pr

Re: [PHP] include("../file.inc");

2001-05-11 Thread Jakob Kruse
You may need to set your include_path to "." in php.ini. Than again maybe not. Try it. Then include "../file.inc" should work (on Unix or Linux, use "\" on Windows). Regards, Jakob Kruse ""Matthew Ralston"" <[EMAIL PROTECTED]> wrote in message 9dgfbo$kom$[EMAIL PROTECTED]">news:9dgfbo$kom$[EMAIL

[PHP] Book PHP4 Professional WROX & Mail over SMTP

2001-05-11 Thread Andreas Pucko
Hi there, I bought this book tryed it for 2 days now to bring the Mail over SMTP example to work. It doesn' t work at all. Does anybody have a class for sending E-Mails over SMTP? This really drives me mad. It should not be so complicated to send E-Mails over the net. Can anybody please help m

[PHP] IIS and PHP4.0.5 give me some problems?

2001-05-11 Thread Brandon Orther
Hello, I recently installed ISS with SQL server because of a database our company had installed. I installed PHP 4.0.5 to IIS and now get soem weird errors when i run these script I made that worked perfectly before. Error1: Undefined variable Error2: Undefined offset Has anyone else had the

[PHP] Upload time vs. script execution time

2001-05-11 Thread SED
Hi, Before I try it, can anyone tell if the execution-time of the script start when upload finish or when it starts? (I referring to the script that receives the uploaded file and handles it). It its the later one, what can I do when I want to upload files that take longer time to upload (but wit

[PHP] Documentation

2001-05-11 Thread Don Pro
Does anyone know alternative sites for PHP documentation? www.php.net seems to be down. Thankls, Don -- 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, e-mail: [EMAI

[PHP] Update statement sent by PHP to MySQL

2001-05-11 Thread Andreas Pucko
Hi there, I am trying to update a row in my MySQL database (I am an newbie) It does not work, but the DB does not return an error. Is there an error in the syntax?? // Create the user record //-- -

RE: [PHP] Book PHP4 Professional WROX & Mail over SMTP

2001-05-11 Thread Altunergil, Oktay
I remember there was somebody who had a mail class and when I asked him to he had added a similar functionality to his class that made it possible to use another smtp domain to send email. I'm very sorry that the above is the only info I have now. It was months ago. Just wanted to let you know th

Re: [PHP] Documentation

2001-05-11 Thread Philip Olson
http://uk.php.net/mirrors.php regards, philip On Fri, 11 May 2001, Don Pro wrote: > Does anyone know alternative sites for PHP documentation? > > www.php.net seems to be down. > > Thankls, > Don > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL

[PHP] gdImageCreateFromJpeg in -lgd... no

2001-05-11 Thread Markus Held
Can do what i want. I need gif and jpeg habe installed jpeg-6b , gd-1.8.4gif.tar.gz checking for libjpeg (needed by gd-1.8+)... yes checking for jpeg_read_header in -ljpeg... yes checking for libXpm (needed by gd-1.8+)... no configure: warning: If configure fails try --with-xpm-dir= checking whe

RE: [PHP] Documentation

2001-05-11 Thread Altunergil, Oktay
I hate the fact that php.net, phpbuilder.com are down very frequently and mysql.com is slow usually.. It's too bad for our image. Oktay Altunergil -Original Message- From: Philip Olson [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 1:26 PM To: Don Pro Cc: php list Subject: Re: [

Re: [PHP] Has anyone tried to make telnet client with php?

2001-05-11 Thread Gregory
Thanks! This works. And this give me a clue how to work on it. Grishick. - Original Message - From: "Thies C. Arntzen" <[EMAIL PROTECTED]> To: "Grishick" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, May 11, 2001 1:39 AM Subject: Re: [PHP] Has anyone tried to make telnet client

[PHP] Setting extensions for IIS and PHP4.0.5

2001-05-11 Thread Brandon Orther
Hello, Does anyone know the proper way to setup the extension_dir when i try to set it up it says it can't find the extensions in that dir even though when i go to that dir it is right there. Can someone let give me an example of what they have for extension_dir and then give me the path to whe

Re: [PHP] Update statement sent by PHP to MySQL

2001-05-11 Thread Johannes Janson
Hi, > update $T1 set caption = $caption where name = $name put single quotes aroud the variables: caption='$caption'. You can do this aswell: $result = mysql_query("UPDATE $T1 SET caption='$caption WHERE name='$name'", $DB) or die(mysql_error()); if (! $result) { send the haeder... } hope it

Re: [PHP] PHP 4.0.5 - segmentation fault when using OCI8

2001-05-11 Thread Thies C. Arntzen
On Fri, May 11, 2001 at 06:51:35AM -0700, Robert Mena wrote: > Hi, I have a development machine with 4.0.4pl1 which > has been used for creating a set of scripts to access > oracle (using stored procedures). > > It seems to be working fine (the problems that I've > encountered seems to be related

RE: [PHP] if $index=1 how can I create a variable named $column_1

2001-05-11 Thread Arne Borkowski \(borko.net\)
and that's pretty cool ... do you also have a solution to access the name of this "dynamic" variable if I'd like to use it also (e.g. with WDDX functions)? That' would be great! TIA, Arne > -Original Message- > From: ..s.c.o.t.t.. [gts] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 1

[PHP] phpjobs.com

2001-05-11 Thread Jack Dempsey
anyone know what the deal with it is? i'm trying to find some work for the summer (been REAL hard) and noticed that the site is "there", although not really... -jack -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Re: [PHP] Does the array parameter of ereg actually return strings matched?

2001-05-11 Thread Jason Stechschulte
On Wed, May 09, 2001 at 06:13:17PM -0700, Dexter wrote: > Does the array parameter of ereg actually return strings matched? I > tried to read a file looking for a string using ereg and wanted to put > the matched strings found in an array. Doesn't seem to be happening > with the following. > >

Re: [PHP] array limits????

2001-05-11 Thread Jason Stechschulte
On Thu, May 10, 2001 at 10:27:55AM -0400, shaun wrote: > is there a limit to the number of fields one can put in an array?? > heres the code im using to create the array > > $arrResIDs = explode(",",$RESID,300); > now $RESID has at least 100 different values in it but when i print out the > array

RE: [PHP] "Free" Database Design Program

2001-05-11 Thread scott [gts]
phpMyAdmin and phpMyEdit are two free PHP MySQL thingies. check out http://www.phpwizard.net/ > -Original Message- > From: Anuradha Ratnaweera [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 10, 2001 11:52 PM > To: Augusto Cesar Castoldi > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] "F

Re: [PHP] fopen() and persmissions

2001-05-11 Thread Jason Stechschulte
On Thu, May 10, 2001 at 10:42:10PM -0300, Christian Dechery wrote: > as I've seen PHP running as Apache module cannot create or update files... > it gives me 'permission denied'... > so I've tried these solutions: > > * fopen("ftp://user:[EMAIL PROTECTED]/directory/newfile.ext","w";); > this actu

[PHP] profit xxx

2001-05-11 Thread lucy-lucytopgirl
Could YOU use an EXTRA $5000 per month? - OR MORE! We can offer you the "OPPORTUNITY OF A LIFETIME". YOU could make THOUSANDS OF DOLLARS each month without any selling experience, stock, investment or phone calls EVER again. All you need is a PC with Internet access and the desire to be rich.

Re: [PHP] split string

2001-05-11 Thread Jason Stechschulte
On Fri, May 11, 2001 at 10:24:02AM -0500, Jacky wrote: > I got series of string value like this 1,2,3. And the seires are > dynamic dynamaic, which means it is not always 1,2,3 but could be > more, but always in this format that is separated by "," . How do I > pick each of value in the series a

RE: [PHP] phpjobs.com

2001-05-11 Thread Altunergil, Oktay
I'm looking for a site like that too.. Is there a php-employment kind mailing list? Oktay Altunergil -Original Message- From: Jack Dempsey [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 2:40 PM To: [EMAIL PROTECTED] Subject: [PHP] phpjobs.com anyone know what the deal with it is

[PHP] Web Hosting That Supports PostgreSQL?

2001-05-11 Thread Jason
Hi, I am looking for a cheap hosting plan that supports PostgreSQL (hopefully 7.1) with PHP4 on a unix platform (BSD prefered, Linux would be OK though). It would be nice if phpPgAdmin was already configured with the account. But if not, that's ok, I can set it up myself. This is only for the dev

RE: [PHP] "Free" Database Design Program

2001-05-11 Thread Altunergil, Oktay
There's also the free version of Mascon ( www.scibit.com ) and a free application MySQLFront (www.mysqlfront.de) . The former has some report generation functionality like Crystal Reports. Oktay Altunergil -Original Message- From: scott [gts] [mailto:[EMAIL PROTECTED]] Sent: Friday, May

Re: [PHP] Is the CGI-only Win32 binary compiled with --enable-sockets?

2001-05-11 Thread Fabian Raygosa
I am not sure but i think you have to find a dll extension out there for sockets Unfortuantely i don't know any sites, google would be your best bet - Original Message - From: "Todd" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 11, 2001 8:16 AM Subject: Re: [PHP] Is the

[PHP] Sending attachments via mail()

2001-05-11 Thread Matt Adams
Hello I have some jpgs I'd like to send as attachments with automatically generated (via PHP) e-mails. Does anyone have any suggestions as to how I might go about this? Thanks Matt -- Matt Adams <[EMAIL PROTECTED]> Service Technician, Altair Electronics Voice <613.384.3876> FreeBSD/OpenBSD/

Re: [PHP] phpjobs.com

2001-05-11 Thread Stewart McCullough
I reserved this domain a while back, but I still haven't put up a site. One of these days I'll make it into a useful tool, but I just haven't had the time. This is the closest thing out there right now that I know of: http://phpbuilder.com/people/ Stewart ==

Re: [PHP] Upload time vs. script execution time

2001-05-11 Thread Jason Stechschulte
On Fri, May 11, 2001 at 05:07:57PM -, SED wrote: > Before I try it, can anyone tell if the execution-time of the script start > when upload finish or when it starts? (I referring to the script that > receives the uploaded file and handles it). It its the later one, what can I > do when I want

[PHP] **BUG** / wierd problem concatenating global string vars

2001-05-11 Thread Dennis Gearon
If I do echo($HTTP_SERVER_VARS["SERVER_ADDR"]) I get the expected server address ***WITHOUT A SLASH AT THE END*** eg. "my.server.address" --- If I do echo($PHP_SELF) I get the expeted URL relative the the server ***WITH O-N-E SLASH** at beginning. eg. "/expected/url/relative/doc_name" -

Re: [PHP] phpjobs.com

2001-05-11 Thread Michael Kimsal
There is a list on yahoo groups for PHP employees. It's primarily intended to be a place for employers looking for PHP people to post listings too. Spare pickings so far, but it's not been publicized much yet. http://groups.yahoo.com/group/phpjobs "Altunergil, Oktay" wrote: > I'm looking for

[PHP] Encode/Decode Problem

2001-05-11 Thread Augusto Cesar Castoldi
I'm using encode/decode with PHP to crypt my database. Until now was OK, but I one string, and the MySQL return the string this (without the []...): [Oõ#M¼ô«~àý~Ô"bëÿ9S" Z ] The fact is I can't insert this encode string into MySQL table! My select: select decode("Oõ#M¼ô«~àý~Ô"bëÿ9S" Z ", "lP

[PHP] OT SQL SERVER

2001-05-11 Thread Brandon Orther
Hello, I am woking in PHP an recently got a SQL2000 database that I need to work with. What my question is ... is does anyone know how to make a printable data model so I have something to look at while I program. Thanks Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscrib

[PHP] Only have one session per user?

2001-05-11 Thread Christian Marschalek
Hi all! Can I only have one session per user / internet explorer? Or is it possible to seperate sessions let's say from script to script? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact t

[PHP] PATH_INFO at document root

2001-05-11 Thread Simon Kimber
Hi all, I want to set up one virtual server with many domains pointing to it which serves pages depending on the domain name. Here is how i see it: 1) 3 domains pointing to 1 virtual server, eg. www.foo.com www.bar.com and www.blah.com 2) If user visits http://www.foo.com/contact.phtml then th

Re: [PHP] Sending attachments via mail()

2001-05-11 Thread Sean Cazzell
> I have some jpgs I'd like to send as attachments with automatically > generated (via PHP) e-mails. Does anyone have any suggestions as to how > I might go about this? Check this out: http://www.zend.com/codex.php?id=103&single=1 Regards, Sean -- PHP General Mailing List (http://www.php.n

Re: [PHP] Encode/Decode Problem

2001-05-11 Thread Sean Cazzell
> I have a " in the middle of the encoded string. How can I solve this > problem? You need to use addslashes(). http://www.zend.com/manual/function.addslashes.php Regards, Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

  1   2   >