Re: [PHP] mcrypt module for Win32

2001-04-26 Thread Carsten Gehling
From: "Maxim Maletsky" <[EMAIL PROTECTED]> Sent: Friday, April 27, 2001 5:00 AM > I think PEAR has it. > > have you tried to look at it? Found it, thanks! It contains HCE_MD5, but AFAICT it does not utilize the other encryption modes found in mcrypt. But it doesn't matter - I think this is fin

Re: [PHP] Problem with the HTTP_REFERER

2001-04-26 Thread Rosen
Is anybody knows how can I redirect to another page and the REFERER to another page to be my page ? Thanks, Rosen Marinov ""Rosen"" <[EMAIL PROTECTED]> wrote in message 9c912a$had$[EMAIL PROTECTED]">news:9c912a$had$[EMAIL PROTECTED]... > Hi, > I have BIG problem using "HTTP_REFERER". > I have t

[PHP] RE: [PHP-DB] How can this be done?

2001-04-26 Thread Beau Lebens
you need to use the addslashes() command which will escape the quote mark for you, so something like $query="insert into trivia (trivia) values ('" . addslashes($line) . "')"; however, you will find that on a machine which is configured with magic_quotes_gpc turned on, you will end up with somet

[PHP] parse error is always on line 1 == error ?

2001-04-26 Thread Jimmy Lantz
Hi, I have a problem, that when I get a parse error it always says that it's on line 1 in this or that file. Where is the configuration option to set this right? I have on another server seen that it's possible to get it to state the actual error line. (it's PHP Version 3.0.15 on solaris) Plea

Re: [PHP] How can this be done?

2001-04-26 Thread Jack Dempsey
http://www.php.net/addslashes -jack Subodh Gupta wrote: > > Hi All, > > I created a table using the create command. > > create table trivia > ( > entry_id integer not null auto_increment, > trivia text null > ); > > Now I have a fle tvia.txt, the content of which are as follows:

[PHP] How can this be done?

2001-04-26 Thread Subodh Gupta
Hi All, I created a table using the create command. create table trivia ( entry_id integer not null auto_increment, trivia text null ); Now I have a fle tvia.txt, the content of which are as follows: The average person's left hand does 56% of the typing. The longest one-syllable wo

RE: [PHP] php4 on RedHat 7.1

2001-04-26 Thread Ralph Guzman
Your httpd.conf configuration should look something like this: AddType application/x-httpd-php .php .phtml .php3 .php4 AddType application/x-httpd-php-source .phps -Original Message- From: j2n tech [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 8:42 PM To: [EMAIL PROTECTED] Su

Re: [PHP] A newbie search site question

2001-04-26 Thread David Robley
On Fri, 27 Apr 2001 14:27, waro wrote: > Hello, > > I just learn PHP for a month now. It's hard for me > since I have no background in programming (I do HTML > but this is totally different). > Last few days I try to make a simple script so > visitors can search my site. I use a MySQL database > h

[PHP] Please send me som Semaphore and Shared Memory example...

2001-04-26 Thread ±èº´°Ç
i try to use Semaphore and Shared Memory ... but all... trying is failed @,@ please send some good example about using Semaphore and Shared Memory -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

[PHP] A newbie search site question

2001-04-26 Thread waro
Hello, I just learn PHP for a month now. It's hard for me since I have no background in programming (I do HTML but this is totally different). Last few days I try to make a simple script so visitors can search my site. I use a MySQL database here and there are some tables to handle my other PHP w

[PHP] Submiting two forms at the same time

2001-04-26 Thread Reuben D Budiardja
Hello, Is there any way I can send two forms at one time? What I want to do is to have two forms with different method (GET and POST), and then send them at one time, so that in the next page I get both $HTTP_POST_VARS and $HTTP_GET_VARS. To illustrate this:

[PHP] php dieing/apache or something!

2001-04-26 Thread Eric Peters
[root@blackwidow logs]# gdb /usr/local/apache/bin/httpd GNU gdb 19991004 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to s

Re: [PHP] math calculations query

2001-04-26 Thread Steve Werby
"Maxim Maletsky" <[EMAIL PROTECTED]> wrote: > SELECT > SUM(quantity)*SUM(total) As mySUM > FROM > table > WHERE Technically, this is correct based on what the original poster (below) stated he wanted, but that's not really what he wanted since there's no real world reason to calculate what he sta

Re: [PHP] *.php and the search engienes on the web

2001-04-26 Thread Steve Werby
"SED" <[EMAIL PROTECTED]> wrote: > If I make a whole website based on one PHP-navigation file with links like > "index.php?id=123", will all the search engines who crawl the websites be > able to follow it and index? A lot of them won't index pages with query strings (the part after the "?"). I p

[PHP] php4 on RedHat 7.1

2001-04-26 Thread j2n tech
I'm trying to get a webmail client to work under RH 7.1 with Apache 1.3.19. I downloaded php-4.0.4pl and configured and installed it. Now when I try to bring up a php page it trys to download it instead of execute. I added the "AddType" line for php4 in my httpd.conf but it made no difference.

Re: [PHP] *.php and the search engienes on the web

2001-04-26 Thread Philip Olson
some do, not sure which do and don't these days though. for related information, check out this tutorial : Building Dynamic Pages With Search Engines in Mind : http://phpbuilder.com/columns/tim2526.php3 regards, philip On Fri, 27

[PHP] *.php and the search engienes on the web

2001-04-26 Thread SED
Hi all, If I make a whole website based on one PHP-navigation file with links like "index.php?id=123", will all the search engines who crawl the websites be able to follow it and index? Regards, Sumarlidi Einar Dadason SED - Graphic Design -- Phone:

Re: [PHP] What's wrong with Apache + php + mysql on Windows?

2001-04-26 Thread Steve Maroney
I think the question should be what's wrong with Windows? :) Sorry, I can't give you more of an intelligent answer Steve On Thu, 26 Apr 2001, Mig wrote: > Hello, I can't understand the reason apache server running locally on my > Win98 machine delays so much to respond browser when accesi

RE: [PHP] Sizeof a multi-dimensional array??

2001-04-26 Thread Maxim Maletsky
it should. if(is_array($x[0])) $count = count($x[0]); else $count = 'not an array'; Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Chris Anderson [mailto:[E

RE: [PHP] Array & Javascript?

2001-04-26 Thread Maxim Maletsky
STRIPSLASHES(); use single quotes for the array. add the slashes in front each JS's single quote, when echoing use : echo stripslashes($js); Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original

RE: [PHP] check if an url is valid

2001-04-26 Thread Maxim Maletsky
no, sockets are not a bad solution at all. They are just as fast. And plus fsockopen has more functionality such as timing out, result messages, mess_num etc... what fopen doesn't have. I think fsockopen is better for this job. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginne

[PHP] printable output of array

2001-04-26 Thread Mike Tuller
I had what I thought was a great idea in creating a downloadable phone directory using PHP to connect to the LDAP server and gather the info for output. I originally wanted to have it create a PDF document, and still would, but I don't think that you can create multiple page documents with PHP and

[PHP] mkstemp()

2001-04-26 Thread Randy Johnson
I cannot find any documentation on mkstemp() . Can somebody point me in the right place? thanks randy -- 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: [E

RE: [PHP] in_array() function not supported on my server... anything else?

2001-04-26 Thread Maxim Maletsky
yeah.. the loop. see php.net/arrays most of the coolest array functions were introduced in PHP4 if you are trying to make a dynamic portable application you might want to look into phpversion(); this will tell you which version it runs, and based on that will select the best way to find the re

RE: [PHP] alter table name with php and mysql

2001-04-26 Thread Maxim Maletsky
it just as same as doing a query: $db->connect(); $db->query("ALTER TABLE table CHANGE field field ~ATTRIBUTES~"); well, that was with a DB abstraction layer. just use what you usually use to query your Db having your ALTER TABLE in the mysql_query. (no need to show the results up) Sincerely

RE: [PHP] mcrypt module for Win32

2001-04-26 Thread Maxim Maletsky
I think PEAR has it. have you tried to look at it? Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Carsten Gehling [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 5

RE: [PHP] math calculations query

2001-04-26 Thread Maxim Maletsky
SELECT SUM(quantity)*SUM(total) As mySUM FROM table WHERE ... Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECT

Re: [PHP] What is this??

2001-04-26 Thread Philip Olson
Have a look at this post : http://marc.theaimsgroup.com/?m=98571030029538 regards, philip On Thu, 26 Apr 2001, Manesh wrote: > Warning: Undefined variable > > > How do i get rid of this??? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTE

Re: [PHP] What is this??

2001-04-26 Thread Andrew Hill
You want to find the Error : Modify the error reporting section of you php.ini. You may combine different error settings with the symbols "~" (not) , "|" (or), and "&". to control the final error reporting level. As an example, the default setting "E_ALL & ~E_NOTICE" means "report all errors

[PHP] what is wrong with this login script?

2001-04-26 Thread Jacky
Hi all I tried to make a login function for my site using script below, but after I type user name and password, it asked me to type again and again and simply reject it, although I have made sure that the username and password I used to test is in the table for sure. No database connection pro

[PHP] error reporting/handling

2001-04-26 Thread Jack Dempsey
manesh, its in your php.ini file under error handling and logging... seek and ye shall find... -jack -- 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

[PHP] PHP+MS Access and/or MS SQL

2001-04-26 Thread kelvin
just point your browser to phpbuilder.net. Alternatively, just send me an email =) Date: Wed, 25 Apr 2001 19:02:12 -0700 (PDT) From: John Monfort <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: PHP

RE: [PHP] What is this??

2001-04-26 Thread Manesh
where is that? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jack Dempsey Sent: Thursday, April 26, 2001 10:38 PM To: Manesh Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] What is this?? Manesh wrote: > > Warning: Undefined variable > >

Re: [PHP] What is this??

2001-04-26 Thread Jack Dempsey
Manesh wrote: > > Warning: Undefined variable > > How do i get rid of this??? > > -- > 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]

[PHP] What is this??

2001-04-26 Thread Manesh
Warning: Undefined variable How do i get rid of this??? -- 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] line break

2001-04-26 Thread Alex Piaz
At 22:23 26/4/2001 -0400, Joao Prado Maia wrote: >Actually the correct sequence is \r\n on Windows platforms. Just a small >note. Yeah! You're right. I made a typo here:-) Nice to know I'm not alone. See you at php-pt;-) []'s Alex -- PHP General Mailing List (http://www.php.net/) To unsubsc

Re: [PHP] line break

2001-04-26 Thread Joao Prado Maia
On Thu, 26 Apr 2001, Alex Piaz wrote: > At 22:07 26/4/2001 -0400, you wrote: > >Hi all, > >I know how to get a line break in text. Is there a way to get a line break > >between the user agent string below? I would line to print in a column > >instead of a long row. > > Use \n\r concatening with

Re: [PHP] line break

2001-04-26 Thread Alex Piaz
At 22:07 26/4/2001 -0400, you wrote: >Hi all, >I know how to get a line break in text. Is there a way to get a line break >between the user agent string below? I would line to print in a column >instead of a long row. Use \n\r concatening with your actual string See below: >$newfile = fopen("

[PHP] line break

2001-04-26 Thread Gary
Hi all, I know how to get a line break in text. Is there a way to get a line break between the user agent string below? I would line to print in a column instead of a long row. TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: [PHP] Ultradev PHP Server Model

2001-04-26 Thread John Monfort
Thanks Andrew, but I found it. It's working pretty well, so far. Thanks for the help. __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com "The world is waiting, are you ready?" -+___

Re: [PHP] how to get var value

2001-04-26 Thread [EMAIL PROTECTED]
why don't you assign in next page like this? $newvar = $test; Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself" - Original Message - From: AJDIN BRANDIC <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 26, 2001 5:53 AM Sub

Re: [PHP] Ultradev PHP Server Model--found!

2001-04-26 Thread John Monfort
Since I posted the questions, I thought I'll post the solutions. For those interested, UDzone.com has a PHP Server Model for Macromedia Ultradev. It's a beta copy, but it seems to work pretty well for PHP-MySQL. You can find it at: http://www.udzone.com/showDetail.asp?TypeId=3&NewsId=505

Re: [PHP] Ultradev PHP Server Model

2001-04-26 Thread Andrew Hill
Check out www.interakt.ro It's beta... but functional. Best regards, Andrew On Thursday, April 26, 2001, at 06:46 PM, John Platte wrote: > John Monfort wrote: > >> I was wondering, is anyone aware of a PHP server model, for Ultradev? >> >> Or, any leads on how I can create one? >> >> I'm devel

[PHP] sending content-type header after session_start()

2001-04-26 Thread matt . wong
Hello, please correct me if I'm wrong, but it seems that in PHP 4, after calling session_start(), you are stuck with serving an HTML page. What if you want to call session_start(), but you want to send headers after the session has started? for example, I'd like to deliver a downloadable file,

[PHP] scripts execute as user nobody

2001-04-26 Thread Mr. Adam ALLEN.
I have a problem with my PHP scripts on my web-hot, all my php scripts are running as the user nobody (group nobody). Whenever I login via ftp/telnet I am logged in as the user asduk (group asdukgrp). The problem I have is that I cannot delete my files because the permissions on the directory is

Re: [PHP] (another) cms, but internationalized

2001-04-26 Thread Michael Kimsal
We've worked on similar, but somewhat less ambitious projects, and I will caution you on the 'easy' part of this. It will never be easy. Doesn't matter who your target audience is - you're biting off a huge project, and there will always be some people who find what you're doing too difficult or

[PHP] How to Crypt entire MySQL DataBase

2001-04-26 Thread Augusto Cesar Castoldi
I want to crypt all my database. I have in my scripts, a lot of mysql_querys, where I put and get data from the database. How can I insert crypt data in the database and then get the crypted data from database and decrypt? But I'd like to do some functions to do that. Because in case that I cha

[PHP] (SOLVED)Re: [PHP] setting the name of the file in Save As windows

2001-04-26 Thread Black Dragon
> I've tried unsuccesfully to print this header after the first header: > > header ("Content-Disposition: attachment; filename=\"WorkPlease.zip\""); > It works using: header("Content-Disposition: filename=\"WorkPlease.zip\""); I think my browser is a bit mad :) the rrf http://www.w3.org/Prot

[PHP] What's wrong with Apache + php + mysql on Windows?

2001-04-26 Thread Mig
Hello, I can't understand the reason apache server running locally on my Win98 machine delays so much to respond browser when accesing php scripts in the form http://localhost/myscript.php When I transfer php scripts to host server via FTP, script execution is immediate, even remote server being

RE: RE: RE: [PHP] cell iterations in loop

2001-04-26 Thread Jerry Lake
Ok, after a few hours of messing here and there I've got it to work. you can adjust for any number of columns, and the pictures and it makes solid tables. Thanks, for all of the help \n"; for ($x=1; $x<=$pictures; $x++) { echo "".$x."\n"; if ($x % $colum

Re: [PHP] Ultradev PHP Server Model

2001-04-26 Thread John Platte
John Monfort wrote: > I was wondering, is anyone aware of a PHP server model, for Ultradev? > > Or, any leads on how I can create one? > > I'm developing a site with PHP+MS Access+Ultradev. I wanted to use some > of the Ultradev server model features (and convenience), but > they only support A

[PHP] Sizeof a multi-dimensional array??

2001-04-26 Thread Chris Anderson
Alright, count($x) would give me the number of array elements in $x. But how can I get the count of a multi-dimensional array? Count($x[0]) doesn't seem to work. Thanks in advance Chris Anderson aka "Null" PHP Developer / Nulltech PHP-GTK Teste

php-general Digest 26 Apr 2001 22:33:39 -0000 Issue 651

2001-04-26 Thread php-general-digest-help
php-general Digest 26 Apr 2001 22:33:39 - Issue 651 Topics (messages 50443 through 50522): how to get var value 50443 by: AJDIN BRANDIC 50451 by: Johannes Janson 50457 by: PHPBeginner.com 50460 by: AJDIN BRANDIC form variables: back and forth 50444 b

Re: [PHP] Problem in sending mail with mail() function

2001-04-26 Thread nik
Sigitas Paulavicius wrote: > "Vishak K Tomy" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hello, > > I tried to send mail through the mail function but it is not > > working. I am using php version 3.0.12 under linux, following is the > > code I used t

Re: [PHP] alter table name with php and mysql

2001-04-26 Thread Andreas D. Landmark
At 26.04.2001 22:38, you wrote: >Hi, >check you've got a D/B connection, then use this, with the appropriate names >in the variables, or use the explicit table names if you wish. If an error >spews up, most likely the table name your trying to rename it to already >exists. Or the table you're tr

Re: [PHP] Can I install Lihnux on My Windows 95 machine ?

2001-04-26 Thread sono
Agreed:) hehe On Thu, 26 Apr 2001, B. van Ouwerkerk wrote: > At 13:47 26-4-01 -0600, [EMAIL PROTECTED] wrote: > > >I said be prepared. Not that it would happen. > >Considering the learning curve of linux..I think it is only fair to say > >that mistakes are likely to happen, in particular for a

Re: [PHP] File Transfer from non-browser client using POST??

2001-04-26 Thread nik
> If I wanted to use this utility to copy a file from a users (Windows) > workstation to my (Linux) webserver, how would I do this? The program on > the users workstation will create a file called "info.txt" and place it in > c:\wow. I want it to go to my server upload.mydomain.com. How do I

[PHP] xpath_eval causes Segmentation fault error

2001-04-26 Thread Grishick
I was trying the xpath expression like ancestor::* it always causes the Segmentation error by PHP (both in Apache static moduel and stand-alone executable). But expressions like ancestor::para work fine. Only when I try to get all the ancestors of the node PHP fails. Does anyone has any idea? Than

[PHP] setting the name of the file in Save As windows

2001-04-26 Thread Black Dragon
Hi! I've done a program that send a zip file to browser. I read it on server using fopen because I've it in a private area (I can't send it directly). Now I send it to browser in this way: header ("Content-type: application/x-zip-compressed"); $fd = fopen ($filename, "r"); $data = fread( $

[PHP] Ultradev PHP Server Model

2001-04-26 Thread John Monfort
Hello everyone, I was wondering, is anyone aware of a PHP server model, for Ultradev? Or, any leads on how I can create one? I'm developing a site with PHP+MS Access+Ultradev. I wanted to use some of the Ultradev server model features (and convenience), but they only support ASP/JSP/JScr

[PHP] check if an url is valid

2001-04-26 Thread Black Dragon
Hi! can you tell me how can I check if a remote files exists? I've tried with fopen, but I've a warning on STDOUT if file doesn't exists. I wouldn't redirect the STDERR to solve this problem. I could use fsockopen, but I feel that this is a bad solution. Can you tell me something that is easy?

Re: [PHP] alter table name with php and mysql

2001-04-26 Thread Kevin A Williams
Hi, check you've got a D/B connection, then use this, with the appropriate names in the variables, or use the explicit table names if you wish. If an error spews up, most likely the table name your trying to rename it to already exists. $sql = "RENAME TABLE $present_table_name TO $new_table_name

RE: [PHP] PHP+MS Access and/or MS SQL

2001-04-26 Thread John Monfort
Thanks, Andrew. The ODBC functions did the trick. __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com "The world is waiting, are you ready?" -+___+- On Thu, 26 Apr 2001, A

Re: [PHP] NEWBIE Mail()

2001-04-26 Thread Kevin A Williams
Hi, PHP has handling of MIME types and good support for handling any type of file. First off, check the syntax at http://www.php.net/manual/en/function.mail.php Then you need to set your mail_headers, and the MIME-version must come before other MIME headers. Hope this helps - Original Mes

[PHP] Array & Javascript?

2001-04-26 Thread Marcus Ouimet
I am trying to add a Javascript in array but it gives me an error unless certain characters are commented which makes sense, but then the Javascript won't run. Any ideas here is what I am trying: 'left', 'text' => ' '); of course the ' characters are a

[PHP] NEWBIE Mail()

2001-04-26 Thread Tym Rehm
I'm a newbie and I'm trying to write a program to send an email. Here is the kicker, I want to attach a Word document to the email. Could someone please help. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

[PHP] in_array() function not supported on my server... anything else?

2001-04-26 Thread Richard
Greetings.. This is how I currently check for instances of words and other: for ($i=0; $i < $total_lines; $i++){ $line_array = explode("|",$line[$i]); $swhat=strtolower($txtLinkname); $xos = array(strtolower($line_array[1]),strtolower($line_array[2]),strtolower($line _

Re: RE: RE: [PHP] cell iterations in loop

2001-04-26 Thread dempsejn
ah, i got it... ok, try this: $length is arbitrary... $x is your counter... do the loop as before, but each time through the loop, $loopcount++; So, if you do the loop 5 times, $loopcount == 5. Then, at the end, $length - ($loopcount*$x) gives you the amount of 's to echo. Put another for loo

RE: RE: [PHP] cell iterations in loop

2001-04-26 Thread Jerry Lake
Right, I understand that if I use it is blank space if I use   it is an empty cell right now $length is set at 42 (this is arbitrary) and there needs to be two empty cells at the end of the last row. if length is 41 I will need 3 and 40 will need 4. but if I don't know what the value of $length

[PHP] alter table name with php and mysql

2001-04-26 Thread Augusto Cesar Castoldi
How can I alter a table name in mysql with php? thanks, Augusto cesar Castoldi -- 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]

[PHP] Messaging to a simple server?

2001-04-26 Thread Andy - Interlync
Hello, I have a Java based, simple server running on an obscure port (not HTTP/HTML) that I currently use for other things. Could I cause PHP to send/receive simple text messages with that server? This has nothing to do with the Web. I'd just like to be able to 'talk' to that server with a PHP

RE: [PHP] --enable-trans-sid and forms

2001-04-26 Thread Johnson, Kirk
Chris, I'm not sure what is supposed to happen, but what is happening for me is that a HIDDEN field is added to my form with the sid as the value: Kirk > -Original Message- > From: Boget, Chris [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 26, 2001 3:09 PM > To: Php (E-mail) > Sub

Re: [PHP] fsockopen question

2001-04-26 Thread Nuno Silva
Hi, the way i would do it looks like this: - setup stunnel (www.stunnel.org) to listen to port 10443 in the 127.0.0.1 interface and forward that to www.myprovider.com - the php script would connect to 127.0.0.1:10443 using plain text - that's it, easy and clean! :) stunnel will hapilly forwar

[PHP] --enable-trans-sid and forms

2001-04-26 Thread Boget, Chris
If you have PHP compiled with --enable-trans-sid, are the URLs that are part of the form's action supposed to be modified to include the SID? So far that's not been happening and I just want to verify that this is expected behavior. thnx, Chris

Re: [PHP] Can I install Lihnux on My Windows 95 machine ?

2001-04-26 Thread B. van Ouwerkerk
At 13:47 26-4-01 -0600, [EMAIL PROTECTED] wrote: >I said be prepared. Not that it would happen. >Considering the learning curve of linux..I think it is only fair to say >that mistakes are likely to happen, in particular for a newbie. Sure.. It can happen.. to be honest.. you don't need to instal

Re: RE: [PHP] cell iterations in loop

2001-04-26 Thread dempsejn
ok, again, trying to understand "blank space"...but, try this: if you print out you'll get something i think you're referring to as blank space... try using a nonbreaking space in there...either   or a space in the code; this will force the "emptiness" to show up... -jack - Original Mess

RE: [PHP] cell iterations in loop

2001-04-26 Thread Jerry Lake
Thanks, that worked with the removal of the first if clause for part 2 of my question, as far as part one, I will try to explain better. if you view the chunk of code in a browser you will get a table with borders number 1-43 however there will be a blank space at the end where 44 & 45 would be. h

RE: [PHP] cell iterations in loop

2001-04-26 Thread Jerry Lake
Thanks, that worked with the removal of the first " Jerry Lake- [EMAIL PROTECTED] Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: Jack Dempsey [mailto:[EMAIL PROTECTED]] Sen

RE: [PHP] math calculations query

2001-04-26 Thread Jack Dempsey
initialize a total variable to 0. every time you print out a price, $total += $currentprice. at the end you'll have the total. am i misunderstanding you? -jack -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 3:43 PM To: [EMAIL PROTECTE

RE: [PHP] where are the mailing lists listed?

2001-04-26 Thread Jack Dempsey
Are you looking for a list of the different addresses? If you move your mouse over the "yes" you'll see the link to the various sections at http://marc.theaimsgroup.com/, or you can go there, scroll to the bottom, and look in the WWW section. They're all there. -jack -Original Message- F

RE: [PHP] Can I install Lihnux on My Windows 95 machine ?

2001-04-26 Thread ..s.c.o.t.t.. [gts]
the learning curve is smaller than most people think... if you are willing to learn, and refuse to be intimidated by the reputation that has been built up around linux, i doubt you'll have any problems installing and running/using it in a lot of ways, i think linux is probably a more "natural" O

RE: [PHP] cell iterations in loop

2001-04-26 Thread Jack Dempsey
I'm a little unclear as to what you're trying to do, but here's my interpretation: problem 2: if it ends on a complete row... solution: put the echoing of the first and last tr's inside your conditional. When $x is initialized to 0, the if will return true, and you will output the very first tr..

[PHP] mcrypt module for Win32

2001-04-26 Thread Carsten Gehling
Where can I find a win32 version of the mcrypt module? - Carsten -- 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] Filesystem security

2001-04-26 Thread Kurth Bemis
At 03:36 PM 4/26/2001, ..s.c.o.t.t.. [gts] wrote: or better yet.as in #feed-the-goats on efnet :-) christ - this is scary...people getting involved in things that they have no clue about. "i have built a rocket, but once i take off i can't figure how to land it without breaking a few bone

Re: [PHP] Can I install Lihnux on My Windows 95 machine ?

2001-04-26 Thread sono
I said be prepared. Not that it would happen. Considering the learning curve of linux..I think it is only fair to say that mistakes are likely to happen, in particular for a newbie. On Wed, 25 Apr 2001, B. van Ouwerkerk wrote: > > > > >Also if you are a newbie to linuxget a different machin

RE: [PHP] Filesystem security

2001-04-26 Thread ..s.c.o.t.t.. [gts]
my advice would be to disconnect the box from the internet until you understand how to properly secure it. please read the documentation and manuals before your box gets raped and pillaged > -Original Message- > From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] > Subject: RE: [PHP] F

Re: [PHP] math calculations query

2001-04-26 Thread sean
oh, I am such a bone head.. but the actual question was how to calculate the totals. i have a column on my form that says $qry["price"]*$qry["quantity"] which gives me a column of totals but my question is how to total that up??? any ideas? "David VanHorn" <[EMAIL PROTECTED]> wrote in message

[PHP] where are the mailing lists listed?

2001-04-26 Thread Matt Wong
Hello, The page http://www.php.net/support.php talks about many mailing lists, but I really can't find the specific email address of any of those lists. It would be really helpful if the list addresses were on that page as well. Does anyone know who this suggestion should be forwarded to? Tha

Re: [PHP] math calculations query

2001-04-26 Thread David VanHorn
At 08:31 PM 4/26/01 +0100, [EMAIL PROTECTED] wrote: >hi all, > >i have a script which selects description, price and quantity from a mysql >table. > >i have displayed the results on a page in the form of description, price, >quantity but I was wondering how best to go about calculating a total tot

[PHP] math calculations query

2001-04-26 Thread sean
hi all, i have a script which selects description, price and quantity from a mysql table. i have displayed the results on a page in the form of description, price, quantity but I was wondering how best to go about calculating a total total, ie. sum of quantitys multiplied by sum of prices. Any

[PHP] cell iterations in loop

2001-04-26 Thread Jerry Lake
I've got some code that I am creating that creates a table with a loop. and it works fine for what it is, but my question is how do I compensate for rows that aren't divisible by 5 ? i.e. the empty cells at the table. additionally if it ends on a complete row (divisible by 5) I end up with an add

RE: [PHP] fsockopen question

2001-04-26 Thread Michael Conley
It looks like that is working, but I'm not getting a response. I created the XML string and set it as $xmlstring. Then, after the fputs that you provided below (except with the URL I'm sending to) I have: fputs($fp, "$xmlstring"); Then, to receive the response I enter: $RetValue=fgets($w_socket

RE: [PHP] fsockopen question

2001-04-26 Thread Matthew Luchak
$fp = fsockopen("www.somewhere.com",4096); here you have to check the syntax for POST and HTTPS but I THINK (hoo-boy am I ever risking ridicule) it should look something like this: fputs($fp, "POST https://www.somewhere.com/dir/app HTTPS/1.0\r\n\r\n", $xmlstring); then try the response..

RE: [PHP] fsockopen question

2001-04-26 Thread Matthew Luchak
I use: $fp = fsockopen("www.somewhere.com",80); fputs($fp, "GET http://www.somewhere.com/somedir/somepage.html HTTP/1.0\r\n\r\n"); to parse. Should be easily modified Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From:

Re: [PHP] Transfering an image

2001-04-26 Thread Steve Werby
"Ben Quinn" <[EMAIL PROTECTED]> wrote: > I am trying to copy an image from an external server and save it to my own. > I have the following script to do this for a txt file and it works great! > > ?> > > $page = "../temp/yep.txt"; > > $date = date("http:/www.example.com/yep.txt"); > > $cartFile =

[PHP] Build problems

2001-04-26 Thread Curtis Maurand
Hello, I'm building 4.0.4pl1 on RedHat 6.2 with all updates applied. It configures OK and then when issue "make" i get: [root@fenris php-4.0.4pl1]# make Making all in Zend make[1]: Entering directory `/home/curtis/php-4.0.4pl1/Zend' /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_

[PHP] fsockopen question

2001-04-26 Thread Michael Conley
I am looking to process credit card transactions on my site. In order to do this, I need to open a socket to a particular URL. I then submit an XML string to them. They process the string and send me a response. I am going to a certain (secure) location on the site of my credit card processor

[PHP] Array question

2001-04-26 Thread Mike Tuller
I am trying to pull info from an Exchange LDAP server to make a dynamically created phonebook, and am having trouble with one field. I think the problem is that the script I have has everything pulled in an array, and all but the field I am having problems with are strings. The telephoneNumber wou

Re: [PHP] online site builder

2001-04-26 Thread John Platte
kaab kaoutar wrote: > i mean i want to enable users to create their own sites in few > minutes by choosing one model of the ones proposed, the colors, > etc u know like these site builders sites? if not do u thnik > there are specific tools i may use to fullfill these? This may get you started o

RE: [PHP] writing a time to mysql????

2001-04-26 Thread PHPBeginner.com
you are inputting a real dot (.) into e_time remove it: "INSERT into events (e_title, e_details, start, end, s_time, e_time) values ('$title', '$details', '$s_year-$s_month-$s_day','$e_year-$e_month-$e_day', '$stime_hour.$stime_minute', '$etime_hour$etime_minute')"; Sincerely, Maxim Malets

  1   2   >