Re: [PHP] multiselects and arrays

2001-05-11 Thread elias
How can i access names with '[]' w/o eval() or seeking in form's element? -elias Rouvas Stathis [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Actually, you *can* use brackets ([]) in names and javascript can handle them just fine. -Stathis. Max Vysotskiy

[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);

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]] Sent:

[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: ? blah blah echo hello . . basically i need something in

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 pick up data

[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

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

[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 after

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. Grishick.

[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

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 need

[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

[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,

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

[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

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 stripslashes

[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);

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]

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 br Response.write file.size next You'll have to use the FileSystemObject in order to get data from a text file,

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 and asp

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 IN

[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)

[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

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 : htmlbodyform input type="text" name="aaa[1]" input type="text" name="aaa[2]" /form/body/html the first input text can be

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 to

[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

[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

[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,

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

[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

[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

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 matching

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 version

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

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 other

[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 the

[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

[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

[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. Sounds

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 you! -- Nick

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

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

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

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 : script language=javascript var ref=?echo $HTTP_REFERRER;? /script in the top frame : script language =javascript document.write(refferrer is+parent.frame2.ref) /script

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

[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

[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

[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

[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

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

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

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

[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

[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

[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:

[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

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=DIR checking

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 with

[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

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 to

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 10,

[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:

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 i only

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] Free

[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 and

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

[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

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,

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

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 to

[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 --- If

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 a

[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

[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

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=103single=1 Regards, Sean -- PHP General Mailing List

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

[PHP] protecting video files

2001-05-11 Thread Tim Schulte
Hi there - I am having some weird problems here. I am try to write a script that will check to see where a movie file is being called from. I want to define which web page I will allow a movie to be called from, and block all others. The script so far looks like this: The file gets called

Re: [PHP] protecting video files

2001-05-11 Thread Michael Kimsal
Check for extraneous spaces in your script. Tim Schulte wrote: Hi there - I am having some weird problems here. I am try to write a script that will check to see where a movie file is being called from. I want to define which web page I will allow a movie to be called from, and block

Re: [PHP] protecting video files

2001-05-11 Thread WebMaster
I did :( went character by character and could find not extra spaces. At 06:16 PM 5/11/01 -0400, Michael Kimsal wrote: Check for extraneous spaces in your script. Tim Schulte wrote: Hi there - I am having some weird problems here. I am try to write a script that will check to see

Re: [PHP] mysql: UPDATE statment

2001-05-11 Thread Christian Dechery
At 21:40 10/5/2001 -0400, [EMAIL PROTECTED] wrote: why isnt this working i need to get 5 values updated in a table called 'user_polls' how do I do this? i have UPDATE user_polls WHERE id = '$id' VALUES($1, $2. and so on your statement is incorrect... the correct UPDATE syntax is: UPDATE

Re: [PHP] protecting video files

2001-05-11 Thread Mark Maggelet
On Fri, 11 May 2001 17:28:25 -0500, WebMaster ([EMAIL PROTECTED]) wrote: I did :( went character by character and could find not extra spaces. At 06:16 PM 5/11/01 -0400, Michael Kimsal wrote: Check for extraneous spaces in your script. Tim Schulte wrote: Hi there - I am having some

[PHP] verify phone number

2001-05-11 Thread Claudia Smith
I am looking for code to verify a phone number has been entered correctly on a form field. Requirements would include the area code: xxx-xxx-. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] Multiple ASP 2 PHP conversion

2001-05-11 Thread Brandon Orther
Hello, I found asp2php to be a great tool. Does anyone know of a way to make it convert a whole directory or more than one file at a time? Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [PHP] verify phone number

2001-05-11 Thread Johnson, Kirk
One way: $phone = ereg_replace([^0-9], , $phone); if(!ereg(^[0-9]{10}$,$phoneHome)) { echo error; } You could also check the string length after removing all non-numbers. Kirk -Original Message- From: Claudia Smith [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 4:52 PM

[PHP] Hidden Input and Quotes?

2001-05-11 Thread Jason Caldwell
If I have a text box and enter data into that text box with quotes around some of the text... and I want to throw that text into a HTML Hidden Input Field (on my next screen for example) -- the quotes will somehow jackup or truncate that text... because HTML uses quotes within in the Hidden Input

Re: [PHP] protecting video files

2001-05-11 Thread Sean Cazzell
which works fine until I add this at the top if($HTTP_REFERER != http://www.hardcorehosting.com/video/test.html;) { exit(); } Check to make sure $HTTP_REFERER is being set. Just create another script that has something like: ?php print Referer: $HTTP_REFERER\n; ? Then create

  1   2   >