Re: [PHP] PHP and XHTML

2001-07-18 Thread Zak Greant
Hi Daniel, Set short_open_tag = Off in your php.ini file and the problem will go away. --zak Rose, Daniel wrote: Hi, I have looked through the history of the list, and I see that several people have said that PHP fully supports XHTML. I have some problems using XHTML with PHP, namely parse

Re: [PHP] displaying icons

2001-07-18 Thread Dave Freeman
On 17 Jul 01, at 16:30, Yassel Omar Izquierdo Souchay wrote: Put the same text inside php example ? echo img src=abduction.ico the next code and if you want it to work reliable do is this way: echo img src=\abduction.ico\; and away you go... CYA, Dave

Re: [PHP] PHP based statistics/Graphs

2001-07-18 Thread eschmid+sic
On Tue, Jul 17, 2001 at 10:48:24PM -0700, Rasmus Lerdorf wrote: I like Vagrant. See http://vagrant.sourceforge.net I prefer R :) http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html It is IMHO the best language for statistic. -Egon On Wed, 18 Jul 2001, Chris Aitken wrote: Hi everyone..

[PHP] Re: Cannot copy a file to a dynamic folder

2001-07-18 Thread elias
Hi! when you use the \ character in a string you have to escape it by putting \\ instead of one! $default_dir = (D:\www\Proj\$textfield2\); would become: $default_dir = D:\\www\\Proj\\$textfield2\\; do the same for the $filename variable. Vincent Chew [EMAIL PROTECTED] wrote in message

[PHP] Command line args HELP!!!

2001-07-18 Thread Paul A. Procacci
Hey all, I tried passing an argument to a php script that had a plus sign (+) in one of the arguments. Observe the following: sciptname http://altavista.com/sites/search/web?q=task+managementpg=qkl=XX As it turns out the argument gets split into two seperate arguments, but I would like to

[PHP] Re: Force new page in browser and wait commands

2001-07-18 Thread elias
a simple example: ?php if (isset($submit)) { // process something here with all form's variable //example: echo !-- This page is created for $username --; } ? html headtitletest!/title/head body form name:input type=text name=usernamebr input type=submit name=submit /body /html In this

[PHP] count number of email sent to us

2001-07-18 Thread Jack
Dear people, I have an email link on my page like this a href=mailto:[EMAIL PROTECTED]; Big George /a and I want to know how may people click on on this particular link to keep the record, may be insert this record into a table as well ( but don't erally have to) Is there any technique at all

[PHP] LDAP compile problem.

2001-07-18 Thread Johan Vikerskog (ECS)
When i try to activate ldap on a UNIX system something goes wrong but i dont even know were to begin looking. i use the --with-ldap when i compile but it doesnt give me any errors and yet it doesnt work. Any suggestions? On my PC it worked great. //Johan -- PHP General Mailing List

[PHP] Re: To overwrite or unregister session variables

2001-07-18 Thread Martin Harm
Joseph Blythe [EMAIL PROTECTED] schrieb im Newsbeitrag 000801c10f42$9912f860$3e060bd2@binarylogic">news:000801c10f42$9912f860$3e060bd2@binarylogic... Hey, Was just wondering if it was better practice to unregister session variables before writing new values to them or if it was fine to just

[PHP] Re: Regular expressions

2001-07-18 Thread CC Zona
In article 000b01c10f4a$d569c5c0$0300a8c0@sparlak, [EMAIL PROTECTED] (Philip Murray) wrote: In Perl you can do this: $foo =~ tr/012/mpf/; Which is the same as: $foo = str_replace(0, m, $foo); $foo = str_replace(1, p, $foo); $foo = str_replace(2, f, $foo); in PHP.

Re: [PHP] count number of email sent to us

2001-07-18 Thread halmi yasin
hi jack, the easiest way for you to do this is by using javascript. do somethins like: a href=mailto:[EMAIL PROTECTED]; onClick=countClick()Big George/a and have a javascript function like: script... function countClick()= { ...do stuffs } /script i dont know if you

Re: [PHP] count number of email sent to us

2001-07-18 Thread Jack
Yes, that is the point here. We normally use variables from php to do something in php function, how could we use javascript variables to do something in php function? Jack [EMAIL PROTECTED] Love your enemies, it will drive them nuts - Original Message - From: halmi yasin [EMAIL

Re: [PHP] count number of email sent to us

2001-07-18 Thread Zak Greant
Check the list archives - this question gets posed quite often. --zak - Original Message - From: Jack [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 1:38 PM Subject: Re: [PHP] count number of email sent to us Yes, that is the point here. We normally use

[PHP] Re: How make the time

2001-07-18 Thread elias
select count(*) from test1 where MINUTE(tm1) = 15 and MINUTE(tm1) = 30 and HOUR(tm1)=12 this query will return you on column containing how many record found in that time range, same as how many customers where surfed at that time where 30-15=interval and 12 is the hour you're checking in!

[PHP] Re: How make the time

2001-07-18 Thread elias
select count(*) from test1 where MINUTE(tm1) = 15 and MINUTE(tm1) = 30 and HOUR(tm1)=12 this query will return you on column containing how many record found in that time range, same as how many customers where surfed at that time where 30-15=interval and 12 is the hour you're checking in!

Re: [PHP] count number of email sent to us

2001-07-18 Thread Jack
Sorry, It is mistyping here. I mean, we normally use variables from php to do something in javascript function. But how could we use value from variables in javascript function to do something in php function? Jack [EMAIL PROTECTED] Love your enemies, it will drive them nuts - Original

[PHP] Re: Command line args HELP!!!

2001-07-18 Thread Martin Harm
The whole string Paul A. Procacci [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hey all, I tried passing an argument to a php script that had a plus sign (+) in one of the arguments. Observe the following: sciptname

[PHP] formating numbers to two decimal points - money - best ways

2001-07-18 Thread Tim Olsen
Anyone have functions for formatting numbers being multiplied by variables and whatnot to two decimal points - rounded up? As for displaying total cost, etc? _ Get your FREE download of MSN Explorer at http://explorer.msn.com --

Re: [PHP] passing variables from forms to the same page repetatively

2001-07-18 Thread Tim Olsen
This function that matt sent to automatically write hidden inputs is awesome. it works great. I am only using the first function. It's a great solution. thanks Original Message Follows From: maatt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [PHP] passing variables from forms

Re: [PHP] count number of email sent to us

2001-07-18 Thread Zak Greant
Both topics are covered frequently :) --zak Jack wrote: Sorry, It is mistyping here. I mean, we normally use variables from php to do something in javascript function. But how could we use value from variables in javascript function to do something in php function? -- PHP General Mailing

[PHP] RE: Extracting from arrays - alphabetically

2001-07-18 Thread Tim Ward
foreach ($array as $key=$element) { if (your_condition) echo({$array2[$key]} $element); } this is a general solution, but in your case why do you need to use the array with lastname as the element, why not just test the keys of the first name array, i.e. foreach ($array2 as $key=$element)

Re: [PHP] formating numbers to two decimal points - money - best ways

2001-07-18 Thread David Robley
On Wed, 18 Jul 2001 17:21, Tim Olsen wrote: Anyone have functions for formatting numbers being multiplied by variables and whatnot to two decimal points - rounded up? As for displaying total cost, etc? PHP has :-) have a look at the mathematical functions.

[PHP] Re: Command line args HELP!!!

2001-07-18 Thread elias
argv Array of arguments passed to the script. When the script is run on the command line, this gives C-style access to the command line parameters. When called via the GET method, this will contain the query string. argc Contains the number of command line parameters passed to the script (if

[PHP] help on getting rid of \'

2001-07-18 Thread Hugh Danaher
I am working with php and mysql and have the need to write a query like: $sql_statement=mysql_query( select * from table where column='string' ); What comes out is: select * from table where column=\'string\' mysql doesn't like this one bit and I get the dreaded: Warning: Supplied

[PHP] How to stop a previous page being repeated ?

2001-07-18 Thread CN YEONG
How do I stop a previous page being repeated when the user hits their back button on the browser? Is PHP can do it? __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ -- PHP General Mailing List

Re: [PHP] help on getting rid of \'

2001-07-18 Thread Rasmus Lerdorf
I am working with php and mysql and have the need to write a query like: $sql_statement=mysql_query( select * from table where column='string' ); What comes out is: select * from table where column=\'string\' Only if you pass that variable through a GET/POST/COOKIE operation and you

[PHP] php-qmail-sendmail...cjk

2001-07-18 Thread Constantine Koulis
Hello. I want to use a NEWSLETTER for my web site . I have 2 servers Server A: qmail,php-4.0.5,apache,courier/imap,mysql server b: sendmail,php4.0.2,apache,cyrus/imap,mysql In server A when i am trying to send a newsletter i have the following error: Warning: mail() is not supported in this

RE: [PHP] formating numbers to two decimal points - money - best ways

2001-07-18 Thread Adrian Ciutureanu
? $c = 12.3456; echo number_format($c, 2); ? http://php.net/number_format -Original Message- From: Tim Olsen [mailto:[EMAIL PROTECTED]] Sent: 18 iulie 2001 10:52 To: [EMAIL PROTECTED] Subject: [PHP] formating numbers to two decimal points - money - best ways

[PHP] How can i pop my mails?

2001-07-18 Thread elias
Hi Using PHP, how can i check my mail and dump it to a text file? As if email2text ? -- 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] How is the management of memory by PHP?

2001-07-18 Thread teo
Hi Luiz! On Tue, 17 Jul 2001, Luiz Fernando (Tuca) wrote: Somebody know how it is the management of memory by PHP? yes, it's quite well done :) what exactly are you interested in? -- teodor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Re: How make the time

2001-07-18 Thread David Tandberg-Johansen
Thank you Elias [EMAIL PROTECTED] skrev i melding [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... select count(*) from test1 where MINUTE(tm1) = 15 and MINUTE(tm1) = 30 and HOUR(tm1)=12 this query will return you on column containing how many record found in that time range, same as how

Re: [PHP] How is the management of memory by PHP?

2001-07-18 Thread Luiz Fernando \(Tuca\)
I would like to know like is the management, that recourses the php utlize. I am making a work to university and I need of more information. I find in www.zend.com a article about Reference Counting, but i stayed confuse, if o recourse is of PHP 4 or of ZEND Engine.. Thanks Luiz Fernando

[PHP] unistall a newer veraion....cjk

2001-07-18 Thread Constantine Koulis
i have in a server PHP 4.0.2 version and a function (mail) is working perfectly.In the version PHP 4.0.5 i have problems.How can i unintall the 4.0.5 to install 4.0.2? Do i just go to the sourcer directory of the 4.0.2 and give the ./configure command?

Re: [PHP] unistall a newer veraion....cjk

2001-07-18 Thread Marius Andreiana
În 18 Jul 2001 14:59:21 +0300 Constantine Koulis a scris: i have in a server PHP 4.0.2 version and a function (mail) is working perfectly.In the version PHP 4.0.5 i have problems.How can i unintall the 4.0.5 to install 4.0.2? Unfortunatelly php doesn't have the classic make uninstall You can

[PHP] HTML in XML???

2001-07-18 Thread Leon
Hi, Is there some way to include HTML tags in a XML doc??? I want to use a XML document to include HTML data for my webpage. I have made a solution of replacing a special word to the '' and ' of a HTML tag. But I think my solution is very stupid. And is there a special php xml newsgroup??

RE: [PHP] HTML in XML???

2001-07-18 Thread Jens Wabnitz
Is there some way to include HTML tags in a XML doc??? Yes, if your HTML is wellformed - XHTML And is there a special php xml newsgroup?? http://www.onlamp.com/pub/a/php/php-xml-ml.html Bye Jens -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP] CAN'T connect to db when running PHP as Cron

2001-07-18 Thread Reuben D Budiardja
I post this yesterday, but no one responds. Please someone help. I wonder if my problem is actually a bug in php or cron. -- Hello, I have a php script that connect to database and retrieve something, or do something with the db. I can run the script

Re: [PHP] CAN'T connect to db when running PHP as Cron

2001-07-18 Thread infoz
I would gather the output from phpinfo() for each case (web server cron job) and compare them. Often a path or environment variable will be different. This is especially true of Oracle which is somewhat fussy about having it's environment set properly in order to connect. - Tim

[PHP] Just like to know

2001-07-18 Thread Jeroen Olthof
hi, here's a little question. I like to know what is better and WHY ?? $string = bla bla $somevar bla bla bla $somevar$somevar bla; of $string = bla bla .$somevar. bla bla bla .$somevar.$somevar. bla; kind regards Jeroen Olthof -- PHP General Mailing List (http://www.php.net/) To

[PHP] $PHP_AUTH_USER

2001-07-18 Thread Jeremy Morano
hi can I use $PHP_AUTH_USER as a global variable? I'm having a hard time with it in my other pages. -- 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] Re: LDAP compile problem.

2001-07-18 Thread Jeremy Maziarz
Johan, As the PHP documentation points out in Function Reference: LDAP functions: ...You will need to get and compile LDAP client libraries from either the University of Michigan ldap-3.3 package or the Netscape Directory SDK 3.0. You will also need to recompile PHP with LDAP support enabled

[PHP] Re: Just like to know

2001-07-18 Thread Jeremy Maziarz
Jeroen, I guess it depends on your coding style and preference. Functionally, they do the same thing. First line is easier to read while the second line requires more typing. One note. This will not work (using an associative array): ?php $somevar = array(foo=bar); $string1 = bla bla

Re: [PHP] Re: Just like to know

2001-07-18 Thread George E. Papadakis
Hello, I ame facing a cookies problem with with Internet Explorer I issue the following command to set the cookie: setcookie( $cookie_name, $cookie_value, time()+15768, /, .mydomain.gr, 0 ) The page that sends the cookie is in an IFRAME inside the main browser's window. The domain in the

[PHP] MySQL Query

2001-07-18 Thread Sheridan Saint-Michel
I have a table that looks like Name | Type | X | Y Foo| Ship | 9 | 29 Bar| Base | 9 | 29 Is there any way I can write a query that selects everything with Type = Base, and X and Y = Foo's X and Y? ie Select * from table where type = Base and X = {Foo:X} and Y = {Foo:Y}; Anyway,

[PHP] php/perl module

2001-07-18 Thread jessica lee tishmack
Is there any way for php to call a perl module? If so, would I need to do some sort of include (like the Perl use THIS;)? I don't know if this can even be done, but thanks in advance. Jessica -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] NT Authentication

2001-07-18 Thread Warren Vail
I am running php4/mysql/apache in a large NT complex, behind a firewall. How can I authenticate users to my site using NT authentication? Has anyone done this? thanks, Warren Vail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Variable name into string

2001-07-18 Thread Maxim Volkov
Hello, Manual and news group search returned to result on this topic. (or May be I miss something.) The objective : to be able to identify (print, compare, etc.) variable name as a String to be able to override class method based on variable name. Variable will be an associative array.

RE: [PHP] How is the management of memory by PHP?

2001-07-18 Thread Neil Kimber
Reference counting works in the following way. Normally, if you assign an identifier to the value of an instantiated object then the parser will create a copy of that object. That is, the parser will allocate a physical chunk of memory of the relevant size and copy the memory contents of the

[PHP] Making php execute php

2001-07-18 Thread Gord Gray
I would like to store a mix of php and html in a database and then return the results. I can't figure out how to do this. $abc='div class=bob?php echo $Message ; ?/div' ; ... $Message=Hello World ; ... echo eval ($abc) ; where $abc is actually retrieved from a database. Does not work, but may

[PHP] Using Bcc and Cc in mail() on Win32 don't work!

2001-07-18 Thread Kraa de Simon
Hi, Does anyone know if there is a Windows distribution with a sendmail.c that actually works when using Bcc and/or Cc headers? TIA! Met vriendelijke groet / With kind regards, ICL Nederland B.V. Simon de Kraa e-Applications / Logistic Systems Systems Architect Het

RE: [PHP] Making php execute php

2001-07-18 Thread scott [gts]
It's failing becuase $abc is not valid PHP code, but is HTML. to get eval to work correctly, only pass it valid PHP code. This will print Hello World; $abc = ' print $Message; '; $Message=Hello World ; eval ($abc) ; If you want to output HTML, enclose it within a print statement, or

[PHP] set var in PHP

2001-07-18 Thread jessica lee tishmack
In html, I can do !--#set var=TITLE value=some title here-- How do I do this in PHP? Thanks, Jessica -- 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:

RE: [PHP] set var in PHP

2001-07-18 Thread scott [gts]
u $TITLE = some title here; -Original Message- From: jessica lee tishmack [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 11:28 AM To: php Subject: [PHP] set var in PHP In html, I can do !--#set var=TITLE value=some title here-- How do I do this in PHP?

[PHP] set var in PHP clarified

2001-07-18 Thread jessica lee tishmack
Thanks for the prompt replies...but I think I should clarify... In regular html, I would do this: !--#set var=TITLE value=some title here-- !--#include virtual=/include/header.html -- and header.html would have in it (among other things): title!--#echo var=TITLE --/title So, the title of the

Re: [PHP] set var in PHP

2001-07-18 Thread Jon Yaggie
i was wondering this too what happen to TITLEsome title here/TITLE reminds me of MIVA script or one of the build in things maybe (gulp) a front page thing? anyways i suspect that $TITLE = some text here; is what you want - Original Message - From: Chris Boget [EMAIL PROTECTED] To:

RE: [PHP] string search

2001-07-18 Thread Ben Bleything
http://php.net/manual/en/function.strpos.php -Original Message- From: Joseph Bannon [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 7:46 AM To: PHP (E-mail) Subject: [PHP] string search I need a search function (if statement) that performs a search on a string and if the string

Re: [PHP] set var in PHP clarified

2001-07-18 Thread Jon Yaggie
- Original Message - From: jessica lee tishmack [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 10:50 PM Subject: [PHP] set var in PHP clarified Thanks for the prompt replies...but I think I should clarify... In regular html, I would do this: !--#set

[PHP] please help.

2001-07-18 Thread McShen
hi I wanna see how long my scripts load. So, i copied this script from phpbuilder --- ?php $timeparts = explode( ,microtime()); $starttime = $timeparts[1].substr($timeparts[0],1); $timeparts = explode( ,microtime()); $endtime = $timeparts[1].substr($timeparts[0],1); echo

Re: [PHP] set var in PHP clarified

2001-07-18 Thread Sheridan Saint-Michel
You would do ? $title = some title here; ? HTML HeadTitle? echo $title; ?/Title/Head or ? $title = some title here; echo Title$title/Title; ? Hope that helps Sheridan - Original Message - From: jessica lee tishmack [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 18,

RE: [PHP] RPM Install #6 still doesn't work

2001-07-18 Thread Ben Bleything
Under RedHat 7.1, if you installed apache and php from the RPMs, you should not have to change anything, other than maybe telling it to serve up index.php pages. The thing about MySQL from the RPM under that distro is that the server is not started by default... if you haven't already, use

RE: [PHP] REGEXP

2001-07-18 Thread Ben Bleything
Why don't you explode(;,$header); ?? Ben -Original Message- From: Adrian D'Costa [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 14, 2001 2:54 AM To: php general list Subject: [PHP] REGEXP Hi, I am trying to capture the Header from a mail for my webmail using php and pop3. The

[PHP] Re: PHP and XHTML

2001-07-18 Thread Inércia Sensorial
echo ''.?xml version=\1.0\ encoding=\UTF-8\?.''; Also, you may set short open tags off so php is only activated between ?php and ?. -- Julio Nobrega. Because happiness is a warm gun Bang-bang shoot-shoot Daniel Rose [EMAIL PROTECTED] wrote in message

[PHP] Simple validation problem

2001-07-18 Thread py
Hello, I am trying to make shure the amount is positive and is a float. (format: $$$.$$) if( $amount == !is_float( $amount ) !eregi( ^[_a-z], $amount ) ){ print Error; } this code does not work when I the input is -25.00 What could be wrong? py p.s. I read what I could on regular

[PHP] Re: please help.

2001-07-18 Thread Inércia Sensorial
Look at a folder named 'Benchmark' that comes with php's PEAR. It has a file named Time.php, and it has nice instructions about how to use it. -- Julio Nobrega. Because happiness is a warm gun Bang-bang shoot-shoot McShen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] md5 crypt question

2001-07-18 Thread Jeremy Hansen
This is all better now. I compiled with libmcrypt and php-4.0.6 at the same time, so I'm not sure exactly which caused the fix, but it works now. Also, the perl module I was using seemed to generate apache stype md5 hash, which is another reason why authenticating with postgres and md5 hashes

Re: [PHP] set var in PHP

2001-07-18 Thread Slavomir Slizik
Hello, it isn't regular html, it is only server-parsed stuff .. Server Side Includes. You won't need that in PHP, just do: ? $TITLE=This is my title.; ? htmlhead title?=$TITLE?/title blah blah blah .. SSL On Wed, 18 Jul 2001, jessica lee tishmack wrote: In html, I can do !--#set

RE: [PHP] please help.

2001-07-18 Thread Michael Geier, CDM Systems Admin
try using the attached class. ? $time = new timer; $time-start(); // some code $time-stop(); $total = $time-gettime(); echo $total; ? -Original Message- From: McShen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 11:08 AM To: [EMAIL PROTECTED] Subject: [PHP] please help.

Re: [PHP] please help.

2001-07-18 Thread McShen
ok thx Michael Geier [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... try using the attached class. ? $time = new timer; $time-start(); // some code $time-stop(); $total = $time-gettime(); echo $total; ? -Original Message- From: McShen

[PHP] Fw: Data from SQL to a string in a useable format

2001-07-18 Thread Jason Bell
Ok, never got a reply yesterday, so I figured I'd resend this. can this even be done? __ How can I pull my data from my SQL db, and store it as a string so that it can be used? Specificly, I'm working with images. When the images are stored in the

[PHP] RE: bill

2001-07-18 Thread Danielle Forestier
Mr. Tejano: Aetna/Box 60578/LA, CA 90060-00578 457-74-9048/02 Warren Vail Group 8--40-010-2 Thank you for clearing this up. -Original Message- From: Jonathan Tejano [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 17, 2001 7:02 AM To: 'Warren Vail' Subject: RE: bill Thank

[PHP] Re: PHP based statistics/Graphs

2001-07-18 Thread Philip Hallstrom
There's also http://www.aditus.nu/jpgraph/ (never used it) On Tue, 17 Jul 2001, Rasmus Lerdorf wrote: I like Vagrant. See http://vagrant.sourceforge.net -Rasmus On Wed, 18 Jul 2001, Chris Aitken wrote: Hi everyone.. Just wondering if anyone can suggest any methods, or even

Re: [PHP] RE: bill

2001-07-18 Thread Jason Bell
oopsie. - Original Message - From: Danielle Forestier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 10:02 AM Subject: [PHP] RE: bill Mr. Tejano: Aetna/Box 60578/LA, CA 90060-00578 457-74-9048/02 Warren Vail Group 8--40-010-2 Thank you for

[PHP] Loading values from a select tag

2001-07-18 Thread Mauricio T?llez Jim?nez
Hi all, I want to print all the text stored in a select tag. For example: select name=my_select option value=1Hello option value=2World option value=3Again!!! /select This is the final select, but is created dinamically with javascript. So when the sumbit button is pressed, I want that my php

[PHP] Code works in reverse order...

2001-07-18 Thread Dhaval Desai
Hello everybody The below code is going crazy..and doing the reverse thing... when the value of $check!= for example still it shows thankyou.html page. But if I reverse the code meaning if($check!=) then insert into database..it doesn't do that it does the reverse thing. Is something wrong

[PHP] Editing Files Using POST Forms

2001-07-18 Thread RCA Web Development
I have created a php page that accepts a variable called $file using GET. It then displays this in a textarea box. You can then edit the file and click a button to save it and it POSTS it to the same page (edit.php) on the server. This works but it adds slashes before any speech marks (). Can

[PHP] OT Math Question

2001-07-18 Thread rm
if i have four drop down menus with five values in each, and the values are the same for each of the four drop down menus, how many variations are there without duplicates, any dups, I though the formula was 5 to the 4th power minus 5, this can't possibly be right. math impaired and trying

[PHP] Secure Access to Remote MySQL DB

2001-07-18 Thread Matthew Aznoe
Greetings, I am developing an application that will access a MySQL database remotely from another server. I would like to be able to use a standard database connection using the 3306 port if possible for ease of development, but I certainly do not want to be sending unencrypted data

[PHP] Re: Code works in reverse order...

2001-07-18 Thread Jeremy Maziarz
Dhaval, Without looking into this further, the one thing that stands out to me (I am pretty sure) is the fact that mysql_num_rows() returns an int. So testing for (empty string) is not going to work. Try instead: ... if ($check != 0) ... -Jeremy Maziarz Email: [EMAIL PROTECTED] -- PHP

[PHP] limiting text output

2001-07-18 Thread chris schneck
Hey all, was curious if anyone has had experience with limiting the amount of text pulled from a database and placing a link and the end of the excessive text line. ie. the description of a product could be 800 characters long, how can it be shortened to 50 -100 characters with a link to read

[PHP] whatever.php

2001-07-18 Thread Jeremy Morano
HI I'm using require(whatever.php)to access my variables...it works. The problem is my whatever.php page shows up on top of my current page. Is there a simple clear screen I can use??? I tried include and the same thing happens. What do I do? -- PHP General Mailing List

RE: [PHP] OT Math Question

2001-07-18 Thread Johnson, Kirk
Do you mean if the user selects a single value from each of the four dropdowns, but never chooses a value that has already been selected in a previous dropdown? If so, then there are 5 possible choices from the first list, 4 from the second, etc. So, 5*4*3*2 = 120. Kirk -Original

Re: [PHP] whatever.php

2001-07-18 Thread Jon Yaggie
is whatever.php file encloded in php tags? sounds like it is interupting it as texted. i didnt test this theory so dont kill me if i am wrong. but it is a guess - Original Message - From: Jeremy Morano [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 19, 2001 12:53 AM

Re: [PHP] Secure Access to Remote MySQL DB

2001-07-18 Thread Mauricio T?llez Jim?nez
I think that SSL is the more transparent choice. Cheers. On Wed, Jul 18, 2001 at 11:38:19AM -0600, Matthew Aznoe wrote: Greetings, I am developing an application that will access a MySQL database remotely from another server. I would like to be able to use a standard database connection

Re: [PHP] whatever.php

2001-07-18 Thread chris schneck
Did you make sure you had the ?? tags in the whatever.php enclosing the content? -- 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] a good PHP editor

2001-07-18 Thread doug
Hiya everybody, I'm relatively new to PHP and I'm looking for a good text editor on win2k for creating/manipulating php pages. Notepad is great if your in a bind, and I've tried phpedit and activestate's Komodo and both seem to have problems (crashing etc...). Anybody got any suggestions?

RE: [PHP] Secure Access to Remote MySQL DB

2001-07-18 Thread Matthew Aznoe
Greetings, I have seen hints at the SSL functionality in MySQL, but I have not been able to find any documentation on how exactly I am supposed to use it. Does this require special processing on the PHP end of things to activate an SSL connection to the database? Matt -Original

Re: [PHP] whatever.php

2001-07-18 Thread McShen
yea, make your whatever.php as a php file. that happened to me before. :) Chris Schneck [EMAIL PROTECTED] wrote in message 002101c10fb4$252cafa0$[EMAIL PROTECTED]">news:002101c10fb4$252cafa0$[EMAIL PROTECTED]... Did you make sure you had the ?? tags in the whatever.php enclosing the content?

Re: [PHP] a good PHP editor

2001-07-18 Thread Tyler Longren
ConTEXT...free, simple, can load HUGE files. http://www.fixedsys.com/context/ Tyler - Original Message - From: doug [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 1:16 PM Subject: [PHP] a good PHP editor Hiya everybody, I'm relatively new to PHP and I'm

[PHP] sql query successful

2001-07-18 Thread Tyler Longren
Hello everyone, I've been writing database enabled site for quite a while now. One thing I have never figured out it how to determine if a sql query is successful. This works: if ($connection = mysql_connect(host,username,password)) { print Successful connection: } else { print No

RE: [PHP] a good PHP editor

2001-07-18 Thread Phil Spitler
I like ultraedit32 http://www.ultraedit.com Although it isn't free, the price is reasonable. - Phil Spitler [Vice President] Web Hut Design, Inc. c 704-451-1324 mailto:[EMAIL PROTECTED] -Original Message- From: doug [mailto:[EMAIL PROTECTED]] Sent:

Re: [PHP] whatever.php

2001-07-18 Thread chris schneck
did you missplace an echo or printf somewhere? - Original Message - From: Jeremy Morano [EMAIL PROTECTED] To: chris schneck [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 11:23 AM Subject: RE: [PHP] whatever.php I checked and double checked... its in the tags -Original

RE: [PHP] sql query successful

2001-07-18 Thread Mark Roedel
-Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 1:25 PM To: php-general Subject: [PHP] sql query successful I've been writing database enabled site for quite a while now. One thing I have never figured out it how to determine

RE: [PHP] sql query successful

2001-07-18 Thread Hoover, Josh
I believe you should use the error function for the database you're using to check for failed queries. If you're using MySQL (which it appears that you are), you would do something like this: $sql = mysql_query(SELECT * FROM table ORDER BY rand()); if(mysql_error()) echo SQL not

Re: [PHP] sql query successful

2001-07-18 Thread Tyler Longren
What about when DELETING from a table??? It always returns true. Example...the highest ID in this table is 10: ? if ($connection = mysql_connect(localhost,mysql,mysql)) { print Connection established; $db = mysql_select_db(aanr, $connection); if ($sql =

[PHP] You (ADV)

2001-07-18 Thread knivesout1
Dear [EMAIL PROTECTED], Only reading through this will allow you to decide for yourself if you've found something worthwhile. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Dear Friend Future Millionaire: AS SEEN ON NATIONAL TV: Making over half

Re: [PHP] sql query successful

2001-07-18 Thread Christopher Ostmo
Tyler Longren pressed the little lettered thingies in this order... Hello everyone, I've been writing database enabled site for quite a while now. One thing I have never figured out it how to determine if a sql query is successful. This works: if ($connection =

Re: [PHP] a good PHP editor

2001-07-18 Thread Chris Lambert - WhiteCrown Networks
Would you give the same advice if it were Zend Cache? Show some respect, please. /* Chris Lambert, CTO - [EMAIL PROTECTED] WhiteCrown Networks - More Than White Hats Web Application Security - www.whitecrown.net */ - Original Message - From: Maxim Maletsky [EMAIL PROTECTED] To: 'doug'

Re: [PHP] a good PHP editor

2001-07-18 Thread doug
Ok I downloaded and looked at a few and the winner seems to be edit+.Thanks everybody! Doug Henry - Original Message - From: Chris Lambert - WhiteCrown Networks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 1:42 PM Subject: Re: [PHP] a good PHP editor

RE: [PHP] sql query successful

2001-07-18 Thread Mark Roedel
-Original Message- From: Christopher Ostmo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 2:43 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] sql query successful Your statement above is checking to see if the fact that $sql is equal to mysql_query(SELECT * FROM table

Re: [PHP] sql query successful

2001-07-18 Thread Christopher Ostmo
Tyler Longren pressed the little lettered thingies in this order... What about when DELETING from a table??? It always returns true. Example...the highest ID in this table is 10: ? if ($connection = mysql_connect(localhost,mysql,mysql)) { print Connection established;

  1   2   >