Re: [PHP] problem uploading BIG files

2002-03-18 Thread Gerhard Hoogterp
On Monday 18 March 2002 23:56, Martin Towell wrote: > Is it possible to determine if it's the php script causing the error or the > browser causing the error? Maybe it's the browser timing-out?? Tested with two browsers. But probably it's the timing anyhow indeed.. I just realized that the timeo

Re: [PHP] Anybody have a function to encode a string?

2002-03-18 Thread Leif K-Brooks
on 3/19/02 2:28 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: On Tue, 19 Mar 2002, Leif K-Brooks wrote: > I need a function that encodes stuff, with a key. It, of course, needs to > be decodable too. Does anbody know/have a function like this? http://www.php.net/manual/en/ref.mcrypt.php

Re: [PHP] replace digits

2002-03-18 Thread mnc
On Mon, 18 Mar 2002, Marc Bleuler wrote: > Im trying to replace the first two digits (41) from a telephone no. with a 0 > (zero), like 41763334455 should end wit 0763334455. Anybody a idea howto? My > php programming experiance is not very high so if any body could provide a > code example ht

Re: [PHP] Anybody have a function to encode a string?

2002-03-18 Thread mnc
On Tue, 19 Mar 2002, Leif K-Brooks wrote: > I need a function that encodes stuff, with a key. It, of course, needs to > be decodable too. Does anbody know/have a function like this? http://www.php.net/manual/en/ref.mcrypt.php miguel -- PHP General Mailing List (http://www.php.net/) To u

[PHP] replace digits

2002-03-18 Thread Marc Bleuler
Hello all, Im trying to replace the first two digits (41) from a telephone no. with a 0 (zero), like 41763334455 should end wit 0763334455. Anybody a idea howto? My php programming experiance is not very high so if any body could provide a code example thank you very mutch for help Marc -

[PHP] Anybody have a function to encode a string?

2002-03-18 Thread Leif K-Brooks
I need a function that encodes stuff, with a key. It, of course, needs to be decodable too. Does anbody know/have a function like this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Are there link checkers for dynamic web sites?

2002-03-18 Thread Andy
Hi there, I am wondering if there are link checkers for dynamic websites? Thanx, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $$

2002-03-18 Thread Michael Sims
At 03:58 AM 3/19/2002 +, mm fernandez wrote: >variables begin with a $ sign. but what does it mean if it begins with 2 $ >signs? (i.e. $$var) http://www.php.net/manual/en/language.variables.variable.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

RE: [PHP] $$

2002-03-18 Thread Martin Towell
it's a pointer to a variable eg. $foo = "bar"; $$foo = "hello world"; echo $bar; this will echo out "hello world" -Original Message- From: mm fernandez [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 2:58 PM To: [EMAIL PROTECTED] Subject: [PHP] $$ variables begin with a $ sig

[PHP] $$

2002-03-18 Thread mm fernandez
variables begin with a $ sign. but what does it mean if it begins with 2 $ signs? (i.e. $$var) _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- PHP General Mailing List (http://www.php.net/) To unsub

RE: [PHP] Getting values of Checkboxes

2002-03-18 Thread Kearns, Terry
If a heckbox is left blank, then the webserver does not pass it's name/value pair on to the PHP processor. This means that if you have And the box is not checked, then when your script recieves the form, $_POST['foo'] will not be available. So to test for it, use isset($_POST['foo']) to see if

RE: [PHP] Getting values of Checkboxes

2002-03-18 Thread Martin Towell
try $_POST['name_of_the_checkbox'] or just $name_of_the_checkbox (if you have register_globals set to on) -Original Message- From: Daniel Ferreira Castro [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 1:27 PM To: [EMAIL PROTECTED] Subject: [PHP] Getting values of Checkboxes I

[PHP] Getting values of Checkboxes

2002-03-18 Thread Daniel Ferreira Castro
I have checkboxes on my FORM and I want to get the values of thoses checkboxes with my PHP script. My html use the post method I am trying to use $HTTP_POST_FORM['name_of_the_checkbox'] but I am not beeing successfull. How can I do it?? Thank you Daniel; F. Castro -- PHP General Mailing Li

[PHP] apache, php user names

2002-03-18 Thread Dennis Gearon
On a shared hosting provider, I have an account like: /home/~myname/www/ and /home/~myname/resources/ As far as I know, apache can only access what's in the www directory and below. However, php can include stuff from the resources directory. This is where it's recommended to keep the database p

Re: [PHP] More on: how to send a file to the user's browser?

2002-03-18 Thread Costes Nicolas
Use Header() ... I remember it's something like : header ("Location: http://yoursite.ext/yourfile.ext";); Am I wrong ??? - Original Message - From: Carlos Fernando Scheidecker Antunes <[EMAIL PROTECTED]> To: Mark Heintz PHP Mailing Lists <[EMAIL PROTECTED]> Cc: PHP-GENERAL <[EMAIL PROTE

RE: [PHP] Re: Problems with ftp_get

2002-03-18 Thread Demitrious S. Kelly
The connection to the ftp may need to be put into passive mode to transfer any files, and even the directory listings... try that and see if the problem is fixed... this is especially true on machines accessing the internet through NAT (network access translation) network firewalls/servers -O

Re: [PHP] Problems with ftp_get

2002-03-18 Thread mnc
On Mon, 18 Mar 2002, Ian Wayne wrote: > I'm getting an unhelpful error message from my ftp script. It says "Warning, > error opening file..." The code in question runs like this. > > $conn = ftp_connect("ftp.mysite.com"); > ftp_login($conn,"user","pass"); > ftp_get($conn, $newName, $oldName , FTP

[PHP] Re: Problems with ftp_get

2002-03-18 Thread Philip Hallstrom
I would double check the values of $newName and $oldName and make sure that you have read permission on the one and write permission on the other... seems like the error should tell you what file it's having problems with, but maybe not. -philip On Mon, 18 Mar 2002, Ian Wayne wrote: > I'm getti

[PHP] Problems with ftp_get

2002-03-18 Thread Ian Wayne
I'm getting an unhelpful error message from my ftp script. It says "Warning, error opening file..." The code in question runs like this. $conn = ftp_connect("ftp.mysite.com"); ftp_login($conn,"user","pass"); ftp_get($conn, $newName, $oldName , FTP_BINARY); I can't see what's causing the error. A

RE: [PHP] What does PL mean?

2002-03-18 Thread Dan Vande More
Thanks miguel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 5:14 PM To: Dan Vande More Cc: PHP-GENERAL Subject: Re: [PHP] What does PL mean? On Mon, 18 Mar 2002, Dan Vande More wrote: > What does the pl mean in 4.0.4-pl1 > And 4.0.3 p

[PHP] Re: permission denied using COPY function?

2002-03-18 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Trying to use the COPY function to allow user uploads to a site, > along the lines of: > > copy(temp directory, directory on my server). > > However, I'm getting an error: > > Warning: Unable to create 'directory/image name': Permi

Re: [PHP] What does PL mean?

2002-03-18 Thread mnc
On Mon, 18 Mar 2002, Dan Vande More wrote: > What does the pl mean in 4.0.4-pl1 > And 4.0.3 pl1? > And 4.0.1-pl2 and so on and so forth? Patch level. Like a minor version. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] What does PL mean?

2002-03-18 Thread Dan Vande More
What does the pl mean in 4.0.4-pl1 And 4.0.3 pl1? And 4.0.1-pl2 and so on and so forth? Thanks Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] More on: how to send a file to the user's browser?

2002-03-18 Thread Carlos Fernando Scheidecker Antunes
Hi Mark, It does not work. What it does is to echo the thing to the screen. How can I force the browser to download it with its original file name? - Original Message - From: "Mark Heintz PHP Mailing Lists" <[EMAIL PROTECTED]> To: "Carlos Fernando Scheidecker Antunes" <[EMAIL PROTECTE

[PHP] Re: I need help building The CGI Open Source Foundry (COSF)

2002-03-18 Thread David Duong
The objective of this foundry is to develop scripts that will be usefull to anyone. We will be producing scripts from scratch when we have a good script in mind, but most of the time we will be working on scripts with high potential that a member has created.. What I mean by marketers is people

Re: [PHP] Working with IP addresses

2002-03-18 Thread mnc
On Mon, 18 Mar 2002, Erik Price wrote: > On Monday, March 18, 2002, at 04:07 PM, Charles Williams wrote: >> So basically I guess I just need a way of, after retrieving the info >> from the DB, splitting the IP (range(s)) apart and then comparing the >> IP entered to those in the array(?) to verif

Re: [PHP] how to send a file to the user's browser?

2002-03-18 Thread Mark Heintz PHP Mailing Lists
On Mon, 18 Mar 2002, Mark Heintz PHP Mailing Lists wrote: > header ( "Content-Disposition: attachment; filename="$downloadfile" ); erg... typo... header ( "Content-Disposition: attachment; filename=$downloadfile" ); mh. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] how to send a file to the user's browser?

2002-03-18 Thread Mark Heintz PHP Mailing Lists
A couple more headers than absolutely necessary, but this should work: mh. On Mon, 18 Mar 2002, Carlos Fernando Scheidecker Antunes wrote: > Hello all, > > I've got a script that generates a txt file, compresses it into a Zip file and it >all happens on a directory that is out of apache's

Re: [PHP] Mac Classic and PHP...

2002-03-18 Thread Chuck \"PUP\" Payne
Linux PPC/SuSe PPC can run on the 8500, it a 603 I think. The problem for them is money, I recommend a PPC 5400(180Mhz, 80Megs) running SuSE 7.0that I own for them, at the price of $150, PPC 5400 that the grandfather of the iMac. The guy paid $6000 for this Mac, and the guy doesn't want to even h

RE: [PHP] problem uploading BIG files

2002-03-18 Thread Martin Towell
Is it possible to determine if it's the php script causing the error or the browser causing the error? Maybe it's the browser timing-out?? -Original Message- From: Gerhard Hoogterp [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 9:50 AM To: [EMAIL PROTECTED] Subject: [PHP] proble

Re: [PHP] Mac Classic and PHP...

2002-03-18 Thread John Olson
You could run YellowDog Linux on the PowerMac 8500. http://www.yellowdoglinux.com/ydl_home.shtml You could upgrade the CPU and RAM cheap as well. -John >On Monday, March 18, 2002, at 05:16 PM, Chuck "PUP" Payne wrote: > >>Thanks, I am pushing them to go to OS X, but they are PPC 8500, whi

[PHP] problem uploading BIG files

2002-03-18 Thread Gerhard Hoogterp
Hello All, I have a problem uploading big files. 23MB range. I already changed the max_upload_filesize and the post_max_site to 26214400 byes (25Mb) and the timeout (set_time_limit) is set to 0. No limit. Since I'm testing over a lan uploading goes fast. I see it going for a while and then s

[PHP] Cookie Woes

2002-03-18 Thread Jesse Warden
I performed a: setCookie($username, $username, time()+3600,"", "", "0"); echo header("Location: projects.php"); ... on a php page that deals with a form submission. However, when I get to projects.php, it claims $username doesn't exist. The book said that to get a variable from a cookie, all I

RE: [PHP] Mac Classic and PHP...

2002-03-18 Thread Andrew Hill
> > Or even put the 68k linux distro (I forget its name) on their 8500. Actually, an 8500 can run LinuxPPC or SuSe for PPC just fine. I've got PHP, iODBC, Apache, etc running great on this setup for testing purposes. Best regards, Andrew Hill Director of Technology Evangelism http://www.openl

[PHP] Uploading files with HTTP-Upload

2002-03-18 Thread Rick
We have an application that used PHP's FTP function to upload files. Now it worked until we upgraded to 4.1.2. We have now downgraded back to 4.1.1 but still no luck, it won't work. We have set upload_max_filesize and post_max_size as well, and that doesn't seem to help. Here is the following cod

Re: [PHP] Website STATISTICS

2002-03-18 Thread karthikeyan
Hi, You can find that at www.sourceforge.net. Regards, karthikeyan. - Original Message - From: Chuck "PUP" Payne <[EMAIL PROTECTED]> To: Dan Vande More <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, March 19, 2002 2:44 AM Subject: Re: [PHP] Website STATISTICS > > Where ca

Re: [PHP] Mac Classic and PHP...

2002-03-18 Thread David Pieper
What about: YellowDogLinux http://www.yellowdoglinux.com Suse http://www.suse.com or Debian http://www.debian.org/ There is also a hack to get OS X running on pre G3 macs http://eshop.macsales.com/OSXCenter/XPostFacto/ Enjoy, David Pieper -- programmer n. /pro gram er/ A device for transmutin

RE: [PHP] dateformat

2002-03-18 Thread Rick Emery
-Original Message- From: Sven Jacobs [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 5:03 AM To: [EMAIL PROTECTED] Subject: [PHP] dateformat hey all I want to convert 20020211150245 into 2002-02-11 15:02:45. Does somebody have the correct conversion for this ? -- PHP Genera

Re: [PHP] Mac Classic and PHP...

2002-03-18 Thread Erik Price
On Monday, March 18, 2002, at 05:16 PM, Chuck "PUP" Payne wrote: > Thanks, I am pushing them to go to OS X, but they are PPC 8500, which > can > only go to Mac OS 8.6, maybe 9. They don't want to buy a new computer, I > personal have a G4 and Snowflake iBook and am running 10.1.3 with > Apach

[PHP] Search for words

2002-03-18 Thread Martin Kampherbeek
Hi, Someone submits an URL to me. Now I want a script that checks for some words in the file right after submitting. When the word is in the file it must stop. For example the words: house and school.

RE: [PHP] WHOIS in PHP

2002-03-18 Thread Coggeshall, John
Read my article on connecting to Internet services (Creating a WHOIS interface): http://www.zend.com/zend/spotlight/connecting.php John -Original Message- From: Analysis & Solutions [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 4:48 PM To: PHP List Subject: Re: [PHP] WHOIS

RE: [PHP] Copy *.*

2002-03-18 Thread Martin Towell
Does xcopy support long file names? -Original Message- From: Robert V. Zwink [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 2:17 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] Copy *.* You'll probably have the most success using the system() function to execute

Re: [PHP] Mac Classic and PHP...

2002-03-18 Thread Chuck \"PUP\" Payne
Thanks, I am pushing them to go to OS X, but they are PPC 8500, which can only go to Mac OS 8.6, maybe 9. They don't want to buy a new computer, I personal have a G4 and Snowflake iBook and am running 10.1.3 with Apache, PHP, and MySQL. I told the I search and ask, which I have so thanks guys. By

Re: [PHP] Working with IP addresses

2002-03-18 Thread mnc
On Mon, 18 Mar 2002, Charles Williams wrote: >> Ordinarily I would suggest CIDR subnets but the sample IP addresses you >> provided do not comply - they seem to be random numbers. Is this because >> you need to deal with arbitrary sets of IP addresses rather than valid >> subnets, or because you w

[PHP] how to send a file to the user's browser?

2002-03-18 Thread Carlos Fernando Scheidecker Antunes
Hello all, I've got a script that generates a txt file, compresses it into a Zip file and it all happens on a directory that is out of apache's web site. This script generates the file based on MySQL server information and I have it then sent to the user's e-mail address. What I would like to

Re: [PHP] Mac Classic and PHP...

2002-03-18 Thread Steven Jarvis
On Monday, March 18, 2002, at 03:22 PM, Chuck "PUP" Payne wrote: > Does anyone know a good web server beside WebStar for the Mac Classic > OS, > that will allow you to run PHP with it? I have a client that is looking > for > such an animal. I recommended WebStar because I know it will let you

Re: [PHP] Website STATISTICS

2002-03-18 Thread mnc
On Mon, 18 Mar 2002, Chuck "PUP" Payne wrote: > On 3/18/02 3:49 PM, "Dan Vande More" <[EMAIL PROTECTED]> wrote: >> I think awstats has everything your asking for. > > Where can you find that one? As always, freshmeat.net is the place to go for a truly comprehensive database of open source softwa

Re: [PHP] Working with IP addresses

2002-03-18 Thread Charles Williams
- Original Message - From: <[EMAIL PROTECTED]> To: "Charles Williams" <[EMAIL PROTECTED]> Cc: "Php-General (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, March 18, 2002 10:12 PM Subject: Re: [PHP] Working with IP addresses > On Mon, 18 Mar 2002, Charles Williams wrote: > > There will be a

Re: [PHP] WHOIS in PHP

2002-03-18 Thread Analysis & Solutions
On Mon, Mar 18, 2002 at 02:58:18PM -0500, Brian wrote: > Does anyone out there know how to execute a WHOIS query from within PHP? I use this on a NetBSD system: exec("whois -h whois.geektools.com $Domain", $Result); --Dan -- PHP scripts that make your job easier

Re: [PHP] WHOIS in PHP

2002-03-18 Thread Greg Donald
On Mon, 18 Mar 2002, Brian wrote: >Hi: >Does anyone out there know how to execute a WHOIS query from within PHP? quick and dirty: #!/usr/bin/php -q -- --- Greg Donald - http://destiney.com/ http://phprated.com/ | http://ph

Re: [PHP] Mac Classic and PHP...

2002-03-18 Thread Erik Price
On Monday, March 18, 2002, at 04:22 PM, Chuck "PUP" Payne wrote: > Does anyone know a good web server beside WebStar for the Mac Classic > OS, > that will allow you to run PHP with it? I have a client that is looking > for > such an animal. I recommended WebStar because I know it will let you

RE: [PHP] Mac Classic and PHP...

2002-03-18 Thread Kevin Stone
Unfortunately PHP was never developed for MacOS 9 so there is no option there. The only option is to switch to MacOSX (which I highly recommend) or migrate to XP (which is a mess but works). -Kevin -Original Message- From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTED]] Sent: Monday, Marc

[PHP] session.save_path on a remote filesystem via nfs..

2002-03-18 Thread Leif Högberg
Hiya.. Im using Apache 1.3.23 with php 4.1.2 (DSO mod) on a linux system as http server and a linux system with NFSv3, using (rw,no_root_squash,sync) on the exported directories. Since the plan is to use a load balancing system and 2 web servers I've been trying to get the session data files to

[PHP] WHOIS in PHP

2002-03-18 Thread Brian
Hi: Does anyone out there know how to execute a WHOIS query from within PHP? Thanks! --Brian Grossberg [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] printing in HTML or PHP

2002-03-18 Thread Oliver Heinisch
At 18.03.2002 16:57, you wrote: >I would like to print the line bellow on my HTML generated by a PHP file. >How can I do it? > >The line is: > > >Thank you > >Daniel Ferreira Castro Your line should be between and the you could use echo ''; HTH Oliver -- PHP General Mailing List (http://www.

[PHP] Mac Classic and PHP...

2002-03-18 Thread Chuck \"PUP\" Payne
Does anyone know a good web server beside WebStar for the Mac Classic OS, that will allow you to run PHP with it? I have a client that is looking for such an animal. I recommended WebStar because I know it will let you run cg, but I am not sure about PHP. WebStar is the only professional web serve

Re: [PHP] Working with IP addresses

2002-03-18 Thread Erik Price
On Monday, March 18, 2002, at 04:07 PM, Charles Williams wrote: > The above a just a few examples. I need to be able to grab either the > IP > addresses or the ranges and verify that when an IP is entered at a later > date and compared to the above types of previously saved data that the > I

Re: [PHP] Working with IP addresses

2002-03-18 Thread mnc
On Mon, 18 Mar 2002, Charles Williams wrote: > There will be a form with a text box to allow IP address entries as follows: > > 192.168.5.195 > or > 123.23.35.4 123.23.35.45 123.23.35.74 > or > 123.4.34.1/123.4.34.255 > or > 13.234.5.41/13.234.5.75 12.34.34.150/12.34.34.225 > > The above a just

Re: [PHP] Website STATISTICS

2002-03-18 Thread Chuck \"PUP\" Payne
Where can you find that one? On 3/18/02 3:49 PM, "Dan Vande More" <[EMAIL PROTECTED]> wrote: > I think awstats has everything your asking for. > > -Original Message- > From: karthikeyan [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 18, 2002 12:31 PM > To: [EMAIL PROTECTED] > Subject:

Re: [PHP] printing in HTML or PHP

2002-03-18 Thread Erik Price
On Monday, March 18, 2002, at 03:49 PM, Daniel Ferreira Castro wrote: > I need to use it with fwrite not print :-) > > "Erik Price" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> >> On Monday, March 18, 2002, at 02:57 PM, Daniel Ferreira Castro wrote: >>

RE: [PHP] printing in HTML or PHP

2002-03-18 Thread Coggeshall, John
For that matter, even better... Why bother with PHP at all? -Original Message- From: John Steele [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 7:53 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] printing in HTML or PHP PHP doesn't have to parse this string (since it conta

[PHP] Working with IP addresses

2002-03-18 Thread Charles Williams
Hey all, I find myself in need of working with IP addresses. However, the situation is a bit strange. There will be a form with a text box to allow IP address entries as follows: 192.168.5.195 or 123.23.35.4 123.23.35.45 123.23.35.74 or 123.4.34.1/123.4.34.255 or 13.234.5.41/13.234.5.75 12.34.

RE: [PHP] Website STATISTICS

2002-03-18 Thread Matt Schroebel
I use webalizer. www.mrunix.net > -Original Message- > From: karthikeyan [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 18, 2002 2:31 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Website STATISTICS > > > Hi, > > Anybody knows any good open source website statistics tool > with gr

Re: [PHP] MySQL and indexes

2002-03-18 Thread Erik Price
On Monday, March 18, 2002, at 03:40 PM, Jennifer Downey wrote: > Just wondering, does a table have to have an index? If so what should I > consider when making a colum an index? You're not required to have an index, as far as I know. It's just that an index is a way of optimizing retrievals

RE: [PHP] Website STATISTICS

2002-03-18 Thread Dan Vande More
I think awstats has everything your asking for. -Original Message- From: karthikeyan [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 12:31 PM To: [EMAIL PROTECTED] Subject: [PHP] Website STATISTICS Hi, Anybody knows any good open source website statistics tool with graph and

Re: [PHP] printing in HTML or PHP

2002-03-18 Thread John Steele
PHP doesn't have to parse this string (since it contains no PHP variables, why pass it through the parser?), and it's easier to read: echo ''; >On Monday, March 18, 2002, at 02:57 PM, Daniel Ferreira Castro wrote: > >>I would like to print the line bellow on my HTML generated by a PHP file.

Re: [PHP] printing in HTML or PHP

2002-03-18 Thread Daniel Ferreira Castro
It doesnt work I need to use it with fwrite not print :-) "Erik Price" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Monday, March 18, 2002, at 02:57 PM, Daniel Ferreira Castro wrote: > > > I would like to print the line bellow on my HTML generated by

Re: [PHP] MySQL and indexes

2002-03-18 Thread John S. Huggins
I have seen this problem before and, yes, an index field with autoincrement is always a good thing to have. Perhaps, this is not necessary, but usually works. John On Mon, 18 Mar 2002, Jennifer Downey wrote: >-Hi all, >- >-Just wondering, does a table have to have an index? If so what should I

RE: [PHP] MySQL and indexes

2002-03-18 Thread Brian Drexler
You don't have to have an index in order for an update to work, although indexes do help performance a great deal when you are dealing with a lot of records. Do you have "Update" permissions on the particular table/database you are working with? Brian Drexler -Original Message- F

[PHP] MySQL and indexes

2002-03-18 Thread Jennifer Downey
Hi all, Just wondering, does a table have to have an index? If so what should I consider when making a colum an index? Here is the table I am using but I can't get php to update it. Is it because there is no index? CREATE TABLE wt_pet ( petid varchar(100) default NULL, pet_user int(10) NOT

Re: [PHP] U.S. Section 508 Guidelines

2002-03-18 Thread Erik Price
On Monday, March 18, 2002, at 02:22 PM, pong-TC wrote: > It is quite off the topic. I think most of you work with form while you > are using PHP. Does anyone need to conform your form webpage to ADA > compliance? It is a U.S. Section 508 Guidelines for handicap people to > access the webpage

Re: [PHP] Two easy HTML/CSS questions

2002-03-18 Thread David Ford
I beg to differ :) FORM INPUT[type=text] { height: 16px; width: 8em; } FORM INPUT[type=text]:hover { color: inherit; background-color: yellow; } Works just dandy. -d Hunter, Ray wrote: >Actually, > >If I understand correctly, you want the actual text field box to be the same >size as the text

Re: [PHP] printing in HTML or PHP

2002-03-18 Thread Erik Price
On Monday, March 18, 2002, at 02:57 PM, Daniel Ferreira Castro wrote: > I would like to print the line bellow on my HTML generated by a PHP > file. > How can I do it? > > The line is: > "; ?> E Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP Gener

RE: [PHP] Creating arrays using results from MySQL query

2002-03-18 Thread Mark Heintz PHP Mailing Lists
I should have been more exact in my original reply. The second query isn't necessary. Try this: File: login.php # if $employee_1, query db workgroups table to check if $emp_login_id belongs to any groups $sql_2 = "SELECT * FROM workgroups WHERE emp_id='$emp_login_id'"; $result_2 = @mysql_query

Re: [PHP] Sablotron and LINUX trouble

2002-03-18 Thread Erik Price
On Monday, March 18, 2002, at 12:34 PM, Mike Eynon wrote: > I have got the Sablotron XSLT extension working in Windows, but now am > having trouble getting it to work on my LINUX servers. I just got it up and running in Linux with PHP 4.1.2 the other day. > I have tried reading > http://www.

RE: [PHP] Creating arrays using results from MySQL query

2002-03-18 Thread Mullin, Reginald
Hi Guys, I've finally been able to figure this out. Turns out, I had to make another, different SQL query to the DB instead of re-using the prior SQL query statement. The *new* code looks like this: File: login.php # if $employee_1, query db workgroups table to check if $emp_login_id belongs to

[PHP] printing in HTML or PHP

2002-03-18 Thread Daniel Ferreira Castro
I would like to print the line bellow on my HTML generated by a PHP file. How can I do it? The line is: Thank you Daniel Ferreira Castro -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP CGI

2002-03-18 Thread Erik Price
On Sunday, March 17, 2002, at 10:07 PM, David Duong wrote: > Can PHP be considered CGI? > > Would PHP replace Perl as the main language of CGI? Unless you are specifically referring to Common Gateway Interface, the term "CGI" should be deprecated in favor of the term "server-side scripting l

Re: FW: [PHP] Creating arrays using results from MySQL query

2002-03-18 Thread Jason Wong
On Tuesday 19 March 2002 03:44, Mullin, Reginald wrote: > I've just added another record to the table. Now they're a total of 3 > records matching the "WHERE emp_id='$emp_login_id" criteria. When I > "print_r(array_values($emp_login_grp_id));" I get the following values: > Array ( [0] => 222 [1]

FW: [PHP] Creating arrays using results from MySQL query

2002-03-18 Thread Mullin, Reginald
I've just added another record to the table. Now they're a total of 3 records matching the "WHERE emp_id='$emp_login_id" criteria. When I "print_r(array_values($emp_login_grp_id));" I get the following values: Array ( [0] => 222 [1] => 333 ). For some reason, it seems to be skipping the first r

Re: [PHP] Two easy HTML/CSS questions

2002-03-18 Thread heinisch
At 18.03.2002 13:18, you wrote: > >I know I shouldn't be asking these questions on this mailing list but >you guys are ALWAYS EXTREMELY helpful... > >1) I want a a text link to change color when the mouse is hovering over >top of it. How do I do this? Im sure it's some CSS thingy. You´re right

[PHP] Website STATISTICS

2002-03-18 Thread karthikeyan
Hi, Anybody knows any good open source website statistics tool with graph and pie diagrams. I did go to sourceforge.net and saw few but wanted to know if any of you have found really good one. Basically I am looking for tool which apart from basic stuff like referrer, ip, browser nam

[PHP] how to include the same file twice?

2002-03-18 Thread Joe Lira
at my site: http://www.joe.to/live2 i have a php page (index.php) that queries two counter-strike servers to get info on them but i can only get it to show ONE server at a time. i am a beginner with php and i can't figure out why it wont show two at once. the files there are for you to look at

Re: [PHP] unscriber please

2002-03-18 Thread Erik Price
On Sunday, March 17, 2002, at 12:20 AM, [EMAIL PROTECTED] wrote: > > Roy Daniel , ST > IT Developer System - PT BERCA COMPUTEL > My E-mail : [EMAIL PROTECTED] > and : [EMAIL PROTECTED] / [EMAIL PROTECTED] > My ICQNumber : # 103507581 > My Phone Cell : 0816-1192832 What embarrassing informatio

[PHP] Re: Two easy HTML/CSS questions

2002-03-18 Thread Marcel Besancon
Hi Phil, here's an answer to your first question. You can use colorchanging links when put formatting code like this one: a:link { font-family:Arial Narrow, helvetica; font-variant:small-caps; color:black; text-decoration:none; font-size:13pt; } a:hover { font-family:Arial Narrow, helvetica;

RE: [PHP] Creating arrays using results from MySQL query

2002-03-18 Thread Mullin, Reginald
Mark, I'm still experiencing the same problem. Only one record is being added to the arrays. There are currently two records in the DB workgroups table matching the "WHERE emp_id='$emp_login_id" criteria. Here's the 2 records in the DB workgroups table: FIELDS Value#1 Value#2

[PHP] U.S. Section 508 Guidelines

2002-03-18 Thread pong-TC
Hello All It is quite off the topic. I think most of you work with form while you are using PHP. Does anyone need to conform your form webpage to ADA compliance? It is a U.S. Section 508 Guidelines for handicap people to access the webpage. However, when it applies to the webpage that has man

Re: [PHP] Sessions and enable-trans-sid

2002-03-18 Thread Erik Price
On Saturday, March 16, 2002, at 09:04 PM, [EMAIL PROTECTED] wrote: > I have compiled php with the enable-trans-sid (for the site I am using I > can NOT use cookies) > > when I start a session or store something in _SESSION['varname'] > varname > can not be accessed on other pages > > nor

Re: [PHP] Testing for NULL

2002-03-18 Thread Andrey Hristov
if (!isset($login)){ echo "login undefined"; } Best regards, Andrey Hristov - Original Message - From: "Jesse Warden" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 18, 2002 9:09 PM Subject: [PHP] Testing for NULL > Hi, I am new... hope I am using this list correc

[PHP] Testing for NULL

2002-03-18 Thread Jesse Warden
Hi, I am new... hope I am using this list correctly. I am trying to test for a null value, and if it is null, then to use a default value instead. The login page that I have, I want to show nothing in the username field unless it is passed a username from another PHP page via the header function

RE: [PHP] Two easy HTML/CSS questions

2002-03-18 Thread Adam Plocher
CSS Hover example: a:link,a:visited,a:active {color: #213C4D; text-decoration: none;} a:hover {color: #213C4D; text-decoration: underline; } As for the size of a text field, you can set it with SIZE="" but note, netscape and IE both interpret size VERY differently... Not sure about NS6, but NS

Re: [PHP] preg_replace on digit word boundry in 2 lines how about 1?

2002-03-18 Thread Joe Rice
i can do this if i do it in two line..i'm wondering if it can be done in 1 line. the two lines: $replace = preg_replace("/(\d)(\D)/","\\1,\\2",$digiword); $replace = preg_replace("/(\D)(\d)/","\\1,\\2",$replace); tia, joe Joe Rice([EMAIL PROTECTED])@Mon, Mar 18, 2002 at 12:39:17PM -0600: > >

RE: [PHP] Two easy HTML/CSS questions

2002-03-18 Thread Hunter, Ray
Actually, If I understand correctly, you want the actual text field box to be the same size as the text (as in height)...You can only change the width of the text field which is done by size="" and this is based on characters... Example: Then the width of the text field will be 25 character

[PHP] preg_replace on digit word boundry help

2002-03-18 Thread Joe Rice
hi, i'm trying to replace ever digit nondigit boundary with a "," in a string. i'm trying to get \d\D to be replaced with \d,\D and the reverse \D\d with \D,\d ... i'm not having any luck. $digiword = "123joe123" $replace = preg_replace("/(\d)(\D)/","\\1,\\2",$digiword); this ends up w

RE: [PHP] Two easy HTML/CSS questions

2002-03-18 Thread Darren Gamble
Good day, Just to clarify, yes, you can set the size of a text field, as well as its color, text font, border, and so on. This is also done with css and is outside the scope of this mailing list. Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3r

RE: [PHP] Two easy HTML/CSS questions

2002-03-18 Thread Hunter, Ray
Answers: 1. Yes you can do it with css. http://www.w3schools.com/css/default.asp 2. The text field area is defined by the browse...You cannot change the size of the actual box that is the text field... Thank you, Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message-

Re: [PHP] Re: help with date formatting

2002-03-18 Thread JSheble
I always use the mySQL DATE_FORMAT function in my queries themselves... SELECT DATE_FORMAT( someDatField, "%m/%d/%Y" ) as thedate FROM someTable At 12:23 PM 3/18/2002 -0600, Ryan wrote: >On Mon, 18 Mar 2002 11:51:07 -0600 >Ryan <[EMAIL PROTECTED]> wrote: > >By, the way I'm getting the date fro

Re: [PHP] Parse Error Suggestions?

2002-03-18 Thread Jason Wong
On Tuesday 19 March 2002 02:01, Mike At Spy wrote: > > On Mon, 18 Mar 2002, Mike At Spy wrote: > > > Anyone have any suggestions for getting better reporting on a generic > > > Parse Error? Code is falling to the end of the script, and I can't > > > find a problem anywhere. > > > > I'd guess you

[PHP] Two easy HTML/CSS questions

2002-03-18 Thread Phil Schwarzmann
I know I shouldn't be asking these questions on this mailing list but you guys are ALWAYS EXTREMELY helpful... 1) I want a a text link to change color when the mouse is hovering over top of it. How do I do this? Im sure it's some CSS thingy. 2) Is it possible to make a "text field" smaller w

Re: [PHP] Creating arrays using results from MySQL query

2002-03-18 Thread Mark Heintz PHP Mailing Lists
You have to call mysql_fetch_array for each record in your result set... $emp_login_wkgrp_id = array (); $emp_login_grp_id = array (); $emp_login_role_id = array (); $i = 0; while($employee_2 = mysql_fetch_array($result_2)){ $emp_login_wkgrp_id[$i] = $employee_2["wkgrp_id"]; $emp_login_grp_i

  1   2   >