Re: [PHP] Re: Any good gif/jpg processing tool for PHP??

2001-08-06 Thread Jon Yaggie
how do you feel about the speed of imagemagick? fastwr? slower than gd functions? - Original Message - From: "Girish Nath" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 07, 2001 1:56 PM Subject: Re: [PHP] Re: Any good gif/jpg processing tool for PHP?? > Hi > > I've

Re: [PHP] Re: Any good gif/jpg processing tool for PHP??

2001-08-06 Thread Girish Nath
Hi I've used ImageMagick in the past(it runs on NT and Linux), I found it gives higher quality results than the builtin functions especially when resizing jpegs. http://www.imagemagick.org Girish - Original Message - From: "Gaylen Fraley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> S

Re: [PHP] How do I write a compound variable?

2001-08-06 Thread Christian Reiniger
On Tuesday 07 August 2001 01:50, Hugh Danaher wrote: > I want to do a simple FOR statement where I average the high and low > value for a given year. A user will input the values on a separate > What I want to do: > > $high_1995=22; > $high_1996=23; > $high_1997=20; > $high_1998=18; > $high_19

Re: [PHP] XML Next 25 Results

2001-08-06 Thread Girish Nath
Hi Gerry The XML isn't coming directly from a database, it's coming from an IIS server that i query (i generate XML file containing the parameters of the query, POST it to the IIS machine, it runs some .ASP to query an inhouse database, then POST the XML results back to me) I then parse the XML

Re: [PHP] How do I write a compound variable?

2001-08-06 Thread Hugh Danaher
Arthur, Thank you very much for your help. I tried it and it works perfectly. I haven't tried the array yet though, I'm a bit shy of them as I don't know much about accessing arrays yet. Perhaps in the future. Thank you again. Hugh - Original Message - From: Arthur <[EMAIL PROTECTED]> T

[PHP] SSL encryption type in PHP?

2001-08-06 Thread Dr. Evil
Is there a function in PHP which can tell me the encryption strength being used by the browser? I want to be able to put a little message on the page saying, "You are using strong encryption" or "Warning: you should upgrade your browser to one which supports 128bit crypto". Thanks -- PHP Gene

Re: [PHP] Feasibility of using XML, PHP for a database-driven webapplication

2001-08-06 Thread Justin Farnsworth
Gerry: Check out binarycloud. You have XML-driven site generation, complete separation of layout/content, et cetera. _justin == Gerry Kirk wrote: > > Hello, > > I've been doing some research to assess the feasibility of using PHP and > XML for a web-based database-driven

[PHP] Feasibility of using XML, PHP for a database-driven web application

2001-08-06 Thread Gerry Kirk
Hello, I've been doing some research to assess the feasibility of using PHP and XML for a web-based database-driven application. From what I've read, it seems that presently the costs of using XML outweigh the benefits. Here are the costs I see: 1. XML standards are still maturing 2. XSLT is c

Re: [PHP] I HAVE A PROBLEM HERE...

2001-08-06 Thread rm
i assume you mean your passing the variable as part of the url...PHP_SELF?a=something (is this what your doing) if so make sure you use rawurlencode/urlencode before passing the variable and rawurldecode/urldecode on the variable afterwards... --- Joshman <[EMAIL PROTECTED]> wrote: > the php f

[PHP] Writing php modules in C++

2001-08-06 Thread Shao Zhang
Hi, I cannot find any information on writing the php external module in C++ or any other languages other than C. Basically I need to develop an external php module to interface with some other third party library which is only available in C++. Your help is really appreciated. Regards, Shao.

[PHP] handling form control

2001-08-06 Thread i_union
Hi all I'm succsesfuly created online handling form and parse is in Oracle databaze ... but I wana to control each entry before it will be inserted into a database ... As you guess I nedd form control script which will control entries ...I dont need Java Script I neeed any small php script which

Re: [PHP] I HAVE A PROBLEM HERE...

2001-08-06 Thread Gaylen Fraley
There is a maximum length that a link with variable pairs can pass. It escapes me right now, but it isn't too large. Are you passing more than just this one variable? If so, just as a test, try only passing php_self and see if it makes it. -- "Joshman" <[EMAIL PROTECTED]> wrote in message [EM

Re: [PHP] I HAVE A PROBLEM HERE...

2001-08-06 Thread Peter Houchin
Sorry for jumping in & not knowing the full story.. is this going into a DB on submit? if so check your char sizes on the DB table fields if their not big enough then you will not be able to submit propperly. Peter >Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm >list-help:

Re: [PHP] I HAVE A PROBLEM HERE...

2001-08-06 Thread Joshman
the php file wont submit to the next file (which is th same file actually: $PHP_SELF ) because the variable is too big for some reason aparently, evn though i have other variables larger than that particular one... -Josh "Rm" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PR

[PHP] Python and PHP

2001-08-06 Thread rm
I've noticed in some articles I ran across today that that there is some opinion that PHP is too linear and that Python was being used in conjuction with PHP since Python is so strong with oop. Anyone run across any docs or tutorials on using both P's together. rm

Re: [PHP] Search Engines

2001-08-06 Thread rm
One of best tutorials around can be found at: http://www.northernwebs.com/set/ rm __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.

[PHP] Re: Any good gif/jpg processing tool for PHP??

2001-08-06 Thread Gaylen Fraley
PHP does exactly that. Look in the manual for the Image functions. -- "Diego Fulgueira Pastor" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am sure many of you have had this same problem. I want all uploaded images > to my site (gifs and jpg) to be resi

Re: [PHP] I HAVE A PROBLEM HERE...

2001-08-06 Thread rm
Problem isn't size, you may have a syntax error...perhaps if you give more detail, submit the variable to what? What do you mean it won't let you? rm --- Joshman <[EMAIL PROTECTED]> wrote: > Supposively all php variables arent suppose to have > size limits, for > example, I have a php file with

[PHP] Does $PHP_SELF work in templates?

2001-08-06 Thread Phil Latio
Lets take the most simple of scripts and run it on a standalone page to prove it's working correctly before we import into a template file. http://www.yorkshire-search.co.uk/links/add_form.php4 Next step, lets change the tags to because that's what it says in the manual and put it into the add_

[PHP] I HAVE A PROBLEM HERE...

2001-08-06 Thread Joshman
Supposively all php variables arent suppose to have size limits, for example, I have a php file with a variable the about the size of 40 bytes, but it wont let me submit the variable for some stupid reason, somebody tell me what parameter I have to set to the variable so it WILL work.. and/or why

RE: [PHP] Uptime script

2001-08-06 Thread Craig Westerman
>I'm wanting to chart the server load average data displayed when you run The correct way to do that would be to read it straight from the source, (eg. /proc/loadav for linux with procfs). That would be much quicker, and it would also save your server a fork for each reading (unless you are runni

RE: [PHP] Uptime script

2001-08-06 Thread Andreas D. Landmark
At 07.08.2001 03:19, Craig Westerman wrote: > >>Does anyone here have a script to run uptime every ten minutes or so, log > >>output, then display daily output in a nice friendly chart? > > >Seems a bit daft running it every ten minutes, as a server should be up >24/7, > >how do you plan to check

RE: [PHP] Uptime script

2001-08-06 Thread Craig Westerman
>>Does anyone here have a script to run uptime every ten minutes or so, log >>output, then display daily output in a nice friendly chart? >Seems a bit daft running it every ten minutes, as a server should be up 24/7, >how do you plan to check it otherwise? I'm wanting to chart the server load a

Re: [PHP] Easiest Automated mailing list concept?

2001-08-06 Thread Justin French
What platform is the server? Unix? Win98? It shouldn't be putting line breaks in. Do you have access to MySQL? If so, that may be a solution. Justin French Marcus James Christian wrote: > > Hello, > > I've been having quite a challenging ordeal making a simple custom > mailing list usin

Re: [PHP] How do I write a compound variable?

2001-08-06 Thread mike cullerton
oops, that's printf("avg for %s is %s",$year,($$high + $$low)/2); :) sorry on 8/6/01 6:17 PM, mike cullerton at [EMAIL PROTECTED] wrote: > try > > for ($year=1995;$year<=2001;$year++) { > $high = "high_" . $year; > $low = "low_" . $year; > printf("avg for %s is %s",$year,($high + $low)/2); >

[PHP] FYI: PHP scripts that return files

2001-08-06 Thread Tom Carter
Hi All, This is something I have working nicely now, and I know theres been posts on here before without any satisfactory answer, but this eeems to cover all. When you have a script that returns a file, you obviously want to return a file which looks right. Ths initially simple looking way of do

Re: [PHP] Uptime script

2001-08-06 Thread Andrew Brampton
it seems that www.uptimes.net has shut down, I would of liked to see a site like that. And tsk tsk, couldn't you of moved your machine while it was on :).. All the "hard core" web server admins carry theirs with a UPS attacked and a Radio Link net connection :) hehehe Andrew - Original Messa

Re: [PHP] problem with querystring

2001-08-06 Thread Tim
See: http://www.php.net/manual/en/security.registerglobals.php - Tim On 07 Aug 2001 08:12:46 +0700, Ishak Anwar wrote: > with $HTTP_GET_VARS["par1"] > i can get par1 value... > but... why with $par1 variable i can not get it ? > > thanks -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] problem with querystring

2001-08-06 Thread Ishak Anwar
with $HTTP_GET_VARS["par1"] i can get par1 value... but... why with $par1 variable i can not get it ? thanks >From: Tim<[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED] >Subject: Re: [PHP] problem with querystring >Date: Tue, August 7, 2001 8:10 am > > Is it found in $HTTP_GET_VA

Re: [PHP] problem with querystring

2001-08-06 Thread Tim
Is it found in $HTTP_GET_VARS["par1"]? - Tim On 07 Aug 2001 08:02:44 +0700, Ishak Anwar wrote: > hai all, > i have problem with QueryString. > I use php 4.0.x with apache 1.3.x on win 2000 > but can not get the querystring on browser. > ex: > http://localhost/m1.php?par1=value1 > on m1.php,

Re: [PHP] Uptime script

2001-08-06 Thread Andreas D. Landmark
At 06.08.2001 23:15, Craig Westerman wrote: >Does anyone here have a script to run uptime every ten minutes or so, log >output, then display daily output in a nice friendly chart? Seems a bit daft running it every ten minutes, as a server should be up 24/7, how do you plan to check it otherwise?

Re: [PHP] Re: Host OnLine ?

2001-08-06 Thread Andreas D. Landmark
At 07.08.2001 06:17, Arcadius A. wrote: >What if the host I'm checking is a simple workstation not running neither a >HTTP nor a FTP server ? >I'm writing this script for an intranet to check which machines are >currently on ... > >Thanks > >Arcad > IIRC there was a class that enabled you

Re: [PHP] Search Engines

2001-08-06 Thread Tim
The web site http://www.searchenginewatch.com is highly recommended. :) I believe that some search engines may not grok .php files properly, but that may be old information, given the amount of PHP out there these days. All of my clients sites that I run use .html as a PHP extension, so that's n

Re: [PHP] myPhpAdmin/mysql/php/ Problem

2001-08-06 Thread David Robley
On Tue, 7 Aug 2001 01:52, Julian Simpson wrote: > who's fault is this?: > I have a table 'cdrequest' it has columns 'albumfill' and > 'releasedatefill' among others when i do the following query with > myphpadmin > update cdrequest set albumfill = "hot shots II", releasedatefill = > 20010708

[PHP] problem with querystring

2001-08-06 Thread Ishak Anwar
hai all, i have problem with QueryString. I use php 4.0.x with apache 1.3.x on win 2000 but can not get the querystring on browser. ex: http://localhost/m1.php?par1=value1 on m1.php, i write: i can not get the value of $par1... i have this problem may be after i installed too many programming

[PHP] Search Engines

2001-08-06 Thread Tom Carter
Hi All, Does anyone have any experience with registering sites on the major search engines? I have a number of questions I hope to find help with (and please do excuse that not all of them are directly PHP related) -Do search engines treat .html and .php files differently in caching etc? -I inc

Re: [PHP] running stand-alone php

2001-08-06 Thread mike cullerton
i'm not sure i understand how you are running this... if it is a file you are running at the command line, try "-q" after the php.exe statement. if this is a web page, comment that line out. hope this helps, mike on 8/6/01 1:16 PM, miguel valero at [EMAIL PROTECTED] wrote: > When I run the fo

Re: [PHP] Problem with require(), determining context.

2001-08-06 Thread Michael Mehlmann
> Hello! :) > > I have a script that loads another script with require() and based on > the context, I'd like different things to happen. So, index.php is > calling the required file require.php. And when require.php is run, if > there's no HTTP_REFERER and the file is index.php, everything is

[PHP] how to show banners

2001-08-06 Thread Michael Mehlmann
I would like to hear your opinion: how would you organize showing banners? .) save the banners in database or filesystem? .) choose the banner in the main.php: $banner=my_random_func(); echo ""; .) or choose them in a separate script: .) how to output the gif? fpassthrough ??? thanks for any h

[PHP] Problem with require(), determining context.

2001-08-06 Thread Ryan Fischer
Hello! :) I have a script that loads another script with require() and based on the context, I'd like different things to happen. So, index.php is calling the required file require.php. And when require.php is run, if there's no HTTP_REFERER and the file is index.php, everything is OK. But if

Re: [PHP] How do I write a compound variable?

2001-08-06 Thread mike cullerton
try for ($year=1995;$year<=2001;$year++) { $high = "high_" . $year; $low = "low_" . $year; printf("avg for %s is %s",$year,($high + $low)/2); } on 8/6/01 5:50 PM, Hugh Danaher at [EMAIL PROTECTED] wrote: > I want to do a simple FOR statement where I average the high and low value for > a gi

[PHP] urlencode/decode

2001-08-06 Thread Michael Mehlmann
this script works as expected, if you don't submit ",' and \ but if you use ",' or \ these characters will be quoted with \ "'\test"'\ -> \"\'\\test\"\'\\ "; ?> how to get rid of this??? I don't want any character been quoted!!! thanks michi -- Aufgepasst - jetzt viele 1&1 New WebHosting Pak

Re: [PHP] Form call a function on submit

2001-08-06 Thread mike cullerton
on 8/5/01 11:05 PM, Richard Kurth at [EMAIL PROTECTED] wrote: > Is it possible to have a form submit button call a function. Like for > updating a record in a database or for deleting data. Rather than a > new page or with PHP_SELF i'm sure this isn't the only way, but what i do is... switch ($

[PHP] How do I write a compound variable?

2001-08-06 Thread Hugh Danaher
I want to do a simple FOR statement where I average the high and low value for a given year. A user will input the values on a separate page and hit a submit button. I can hard code each year to do what I want, but I'd like a simpler method. I've tried variations of multiple $'s, +'s and quo

Re: [PHP] What would you want in a PHP web host?

2001-08-06 Thread Joel Ricker
- Original Message - From: "Ryan Fischer" <[EMAIL PROTECTED]> > > Are hosting companies reluctant to give you more access rights? > > Usually, and that really sucks, because I've found myself having to set > up my own "pseudo-server" on my computer, with PHP4, Apache, and MySQL, > just to

Re: [PHP] New lists (was [PHP] Attitude of B van Ouwerkerk)

2001-08-06 Thread Joel Ricker
From: "Andreas D. Landmark" <[EMAIL PROTECTED]> > I'd second this suggestion, the general list has become flooded with posts that > seems like a pop-quiz taken straight from the manual... Right. I've just signed up the list and I've all but given up on trying to follow things. Just way too much

[PHP] File Uploads

2001-08-06 Thread Scott Kalbach
Hi, I am having a problem with http uploads: First I am using Mandrake 8.0 with apache 1.3.19 and php 4.0.4. I have an upload script which I need to allow large files to be uploaded. I have set the Which I believe should be 100mb. I have also set the same value in the php.ini file for the mem

Re: [PHP] ASSISTANCE NEEDED

2001-08-06 Thread John Monfort
Hahahaha !! I've received s many of these e-mails... __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 6 Aug 2001, ke

[PHP] Any good gif/jpg processing tool for PHP??

2001-08-06 Thread Diego Fulgueira Pastor
I am sure many of you have had this same problem. I want all uploaded images to my site (gifs and jpg) to be resized "on the fly" so that all have the same width and height. Does anyone knows about a tool (free, if possible) that can do this under Win2k, IIS 5.0 and that can be used with PHP 4.0?

Re: [PHP] phpAds advice needed

2001-08-06 Thread John Monfort
Are you trying to add additional fields to the table, or just basic banner info? For the latter, you should be able to add everything from the admin page. PHPAds will redirect you to the admin, or client, section based on your username. When you create an account, you'll have the option to gi

[PHP] Unable to create COM objects on Win2k

2001-08-06 Thread Diego Fulgueira Pastor
Hi! I have the following problem: I am using IIS 5.0 on Win2k, and I am unable to create COM objects. For example, the following code will produce the script to halt: $myObject= new COM("CDONTS.NewMail"); $myObject->to='[EMAIL PROTECTED]'; $myObject->send(); The script stops in the second li

[PHP] Text area ...

2001-08-06 Thread ani
try replacing the char num.10, line break or [enter] key with when doing the query this helps keeping the original text format SELECT replace(text,char(10),'') as text, FROM whatever Ani Lopez http://www.lamundial.net visit our site, download and spread our music -- PHP General Mailing List

Re: [PHP] Uptime script

2001-08-06 Thread Tim
Nope, but I do something similar with weather data from my home weather station.:) The jpgraph library (http://freshmeat.net/projects/jpgraph/) is excellent and makes that kind of stuff a snap. A sample graph is attached. - Tim http://www.phptemplates.org On 06 Aug 2001 17:15:53 -0500, Craig

[PHP] Uptime script

2001-08-06 Thread Craig Westerman
Does anyone here have a script to run uptime every ten minutes or so, log output, then display daily output in a nice friendly chart? Thanks Craig ><> [EMAIL PROTECTED]

[PHP] News Shows??? I made $2,000 in 4 WEEKS!! Did You??

2001-08-06 Thread jc mills
ATTENTION: You have received this message because you have recently posted to my FFA pages, belong to the same safelists, clubs, email lists, or have emailed me with your business opportunity. If you believe that you have received this in error I sincerely apologize. Per the proposed H.R. 3113

Re: [PHP] spell checker

2001-08-06 Thread Garth Dahlstrom
Justin French: > Hi, > > I know this is a biggie, but has anyone attempted to write a > spell check (preferably english) in PHP? > > I'd LOVE something that can spell-check user-submitted text > somehow, becuase I'm writing a fully dynamic news-based site, > and the only downfall to the site

[PHP] configuring php from a binary install

2001-08-06 Thread Christian Cresante
I have php4.0.4pl1 installed from redhat 7.1 binary cd along w/ apache 1.3.19 and a couple other stuff from the cd. everything works fine, but now i want support for pdf and swf. i looked for a configure script for php but none was found. how would i go about doing this? i would hate to ins

RE: [PHP] Splitting Text

2001-08-06 Thread Matthew Loff
You can do this several ways... Either use explode(): http://www.php.net/manual/en/function.explode.php ...to split the retrieved data by a space " " as the delimeter, then use a for() loop to print X number of words... E.g.: $array = explode(" ", $db_string); for($i = 0; $i < 25; $i++)

RE: [PHP] Splitting Text

2001-08-06 Thread Alfredeen, Johan
Jord, I would accomplish this through SQL. You could use SELECT LEFT(mycolumn,x) FROM mytable WHERE ... and then display that along with a link to a page where you select the whole string on that particular article ID. In fact, I do this exact thing on my site. Or you could read the whole strin

Re: [PHP] What's the difference between echo and print?

2001-08-06 Thread mike cullerton
on 8/6/01 12:32 PM, Phil Latio at [EMAIL PROTECTED] wrote: > What's the difference between echo and print? this is definitely one of those frequently asked ones :) a good place to start is http://php.net/echo http://php.net/print http://php.net/printf for info and user comments. i found a

Re: [PHP] Text area ...

2001-08-06 Thread Jon Yaggie
i take it you input this into a hence the subject try this this should carry over the formatting into the cariable or how ever your store it Thank You, Jon Yaggie www.design-monster.com And they were singing . . . '100 little bugs in the code 100 bugs in the code fix one bug, compile

[PHP] Splitting Text

2001-08-06 Thread Jordan Elver
Hi, Can anyone give some pointers for my problem. I want to pull articles out of a db and then show the first x number of words with a read more link to the rest of the article. Could someone point me in the right direction. I've seen a code snippet for this, but now I can't find it :-( TIA,

[PHP] Re: getting an auto increment value immediately after insert

2001-08-06 Thread James, Yz
Hi Matt, mysql_insert_id(); See the manual for more info. James "Garman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello: > > I'm inserting some information into a MySQL database via a PHP script. A > handful of various information is put into the dat

Re: [PHP] getting an auto increment value immediately after insert

2001-08-06 Thread Tim
See: http://www.php.net/manual/en/function.mysql-insert-id.php - Tim On 06 Aug 2001 16:03:43 -0500, garman wrote: > I'm inserting some information into a MySQL database via a PHP script. A > handful of various information is put into the database via the "INSERT > INTO..." SQL command. Each

[PHP] getting an auto increment value immediately after insert

2001-08-06 Thread garman
Hello: I'm inserting some information into a MySQL database via a PHP script. A handful of various information is put into the database via the "INSERT INTO..." SQL command. Each entry has a unique, auto increment field that acts as an index number for that entry. I can't seem to figure out

Re: [PHP] Turning off Content-type header.

2001-08-06 Thread Karl Austin
"Alexander Wagner" <[EMAIL PROTECTED]> wrote in message 0108062256260H.00774@zahna">news:0108062256260H.00774@zahna... > Karl Austin wrote: > > Does anyone know how to turn off the content type header? The binary > > compiled from the source (I am assuming the source needs changing?) > > will only

Re: [PHP] Turning off Content-type header.

2001-08-06 Thread Alexander Wagner
Karl Austin wrote: > Does anyone know how to turn off the content type header? The binary > compiled from the source (I am assuming the source needs changing?) > will only be used for a single script that needs to not produce any > spurious output such as the Content-type header. php -q script.ph

Re: [PHP] Session problem

2001-08-06 Thread mike cullerton
i would try session_start(); session_register("NAME"); $res = mysql_query("SELECT NAME FROM dbhere where EMAIL = '$EMAIL' AND PASSWORD = '$PASSWORD'"); if ($row = mysql_fetch_array($res)) { $NAME = $row[NAME]; } notice that $NAME is registered before being assigned to. on 8/6/01 2:23 PM, Cha

[PHP] How is this done?

2001-08-06 Thread mjriding
Being the golf enthusiast I am, I'm always visiting a few interesting golf stie. The one I visit most is www.golfinohio.com. They have a rotating banner ad at the top of their page, but, as I view the source of the page, I notice that it displays one image on some banners, two or three on other

[PHP] Re: Host OnLine ?

2001-08-06 Thread Karl Austin
"Arcadius A." <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello ! > Is there any function in PHP returning true or false or something similar > when a given host is online or not ? > > Basically , I'm in need od something "ping" > Thanks ... > > Arcad

Re: [PHP] Re: Host OnLine ?

2001-08-06 Thread mike cullerton
on 8/6/01 11:17 PM, Arcadius A. at [EMAIL PROTECTED] wrote: > What if the host I'm checking is a simple workstation not running neither a > HTTP nor a FTP server ? > I'm writing this script for an intranet to check which machines are > currently on ... maybe some kind of snmp query? -- mike c

[PHP] Turning off Content-type header.

2001-08-06 Thread Karl Austin
Hi, Does anyone know how to turn off the content type header? The binary compiled from the source (I am assuming the source needs changing?) will only be used for a single script that needs to not produce any spurious output such as the Content-type header. Thanks in advance. -- Karl Austin - K

[PHP] Re: What's the difference between echo and print?

2001-08-06 Thread James, Yz
Hi Phil, Print returns a boolean true / false value as functions do, as well as any output, whereas echo doesn't. Have a look through the archives.. This is quite a popular question, and it wasn't long ago when it was last asked. James. "Phil Latio" <[EMAIL PROTECTED]> wrote in message [EMAIL

[PHP] trouble with configure for current cvs :: gdImageGifCtx

2001-08-06 Thread Caffeinate The World
# uname -a NetBSD ns01 1.5W NetBSD 1.5W (ALPHA-$Revision: 1.127.2.2 $) #5: Mon Jun 25 22:34:09 CDT 2001 tom@ns01:/usr/src/sys/arch/alpha/compile/ns01 alpha rm config.cache export LIBS="-lm -lc -lintl -lX11" && \ export LDFLAGS="-Wl,-export-dynamic \ -Wl,-R/usr/lib -L/usr/lib \ -Wl,-R/usr/pkg

Re: [PHP] Display the weather on my site

2001-08-06 Thread pierre-yves
Thanks, I got what I needed out of parsing http://weather.noaa.gov/weather/CA_cc.html As for the webcam, I will pass, I don't want to be blamed if our clients/managers ruin their golf game because of me ;) py - Original Message - From: "Kevin Leavell" <[EMAIL PROTECTED]> To: <[EMAIL PROT

[PHP] Re: Text area ...

2001-08-06 Thread James, Yz
Hi Kok, use nl2br(); $string = nl2br($string); echo $string; See the manual for full details. James "Coconut Ming" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi.. > Did you feel it is strange alignment when you output the same thing > again in PHP.

[PHP] Session problem

2001-08-06 Thread Chad Day
PHP 4.0.2 .. I have a very basic script, gets the user's name, registers it, then displays "Welcome, $NAME." $NAME is the session registered name. If I constantly reload that page that says Welcome, sometimes $NAME appears, sometimes not. Completely random. It just loses track of the variabl

Re: [PHP] get value

2001-08-06 Thread mjriding
$data=mysql_fetch_row($result); $count=$data[0]; That's it! On Mon, 6 Aug 2001, Jeremy Morano wrote: > hi,,, > > can someone tell me how to access the value of count? please? > > - > $db = @mysql_select_d

[PHP] Text area ...

2001-08-06 Thread Coconut Ming
hi.. Did you feel it is strange alignment when you output the same thing again in PHP... I mean the line break... For example I enter the following text and the order of text as below I AM A GUY so... I store it when I output it again.. It is display as I AM A GUY the line brea

[PHP] PHP App developer position --South San Francisco

2001-08-06 Thread Greg Landis
Hi, Not sure if this is the right place to post for this but wanted to give it a try. I work for CFN in South San Francisco and we are looking to add one more talented PHP Application Developer to our small fun team. We are a stable private NON start-up NON dot.com (means not looking for 2nd roun

RE: [PHP] Re: Host OnLine ?

2001-08-06 Thread Robert Collins
Why not use ping like -Original Message- From: Arcadius A. [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 10:17 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Host OnLine ? What if the host I'm checking is a simple workstation not running neither a HTTP nor a FTP server ? I'm

RE: [PHP] get value

2001-08-06 Thread Sam Masiello
There might be an easier way to do it, but this should work: Change your SELECT statement to "SELECT count(*) as c " After $result = @mysql_query($sql,$connection) or die("Couldn't execute query."); Do this: $mycount = mysql_result($result, 0, 'c') ; $mycount should now be the value held

Re: [PHP] Display the weather on my site

2001-08-06 Thread Tim
WeatherUnderground.com and Weather.com both offer little weather boxes for your site. - Tim On 06 Aug 2001 14:44:55 -0400, pierre-yves wrote: > Hello, > I would like to display the wheather on a page depending on the city of my user. > (or the capital of their province/state) > Do you know a ser

[PHP] Re: Host OnLine ?

2001-08-06 Thread Arcadius A.
What if the host I'm checking is a simple workstation not running neither a HTTP nor a FTP server ? I'm writing this script for an intranet to check which machines are currently on ... Thanks Arcad "Arcadius A." <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED

[PHP] get value

2001-08-06 Thread Jeremy Morano
hi,,, can someone tell me how to access the value of count? please? - $db = @mysql_select_db($db_name, $connection) or die("Couldn't select database."); $sql = "SELECT count(*) FROM $table_name, comp

[PHP] XML Next 25 Results

2001-08-06 Thread Girish Nath
Hi I have a script which receives and processes XML product information and displays it as a table in html. However, sometimes the html table can contain over 200 rows. Does anyone know of any xml parse examples which limit the output and possibly make a "Display Next 25 results" link at the bas

[PHP] Help with $HTTP_POST_VARS !

2001-08-06 Thread Peter Dowie
Hi, I'm trying to add all elements in $HTTP_POST_VARS into my $FormData array which I have is a session variable. This works fine unless I have an element of $HTTP_POST_VARS which is an array. eg if I have $HTTP_POST_VARS['Array'] then this doesnt work as my $FormData['Array'] is no longer an ar

Re: [PHP] checking for null form fields fails

2001-08-06 Thread Mark Maggelet
On Mon, 6 Aug 2001 13:56:45 -0500, garman ([EMAIL PROTECTED]) wrote: >For all of my HTML forms, I put in some JavaScript to check and make >sure no >fields are left blank. When the forms are processed in PHP, I also >perform a >check to make sure the forms fields aren't null (redundant, I know).

[PHP] running stand-alone php

2001-08-06 Thread miguel valero
When I run the following script under an stand-alone php 4.0.6 and Apache 1.3 (Win95/98), the path to PHP (#!c:\php\php.exe) will show up on the first line of the browser output. #!c:\php\php.exe Is there a way to fix this? How can I get rid of the pat

Re: [PHP] Form control

2001-08-06 Thread B. van Ouwerkerk
>Please help me or give me some idea !!! Few thoughts: - check the referer - check the length of the string - use regular expressions Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

RE: [PHP] array + checkbox

2001-08-06 Thread David Price
Hey, what is the deal with those read receipts? Do you really what one from every person that reads your messages? -Original Message- From: Tijmen Hennink [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 2:09 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] array + checkbox Some ext

RE: [PHP] Display the weather on my site

2001-08-06 Thread Kevin Leavell
>Put a webcam in your window. Put the city names in a database. Rotate through the city names randomly. >They will be None The Wiser. LOL! If you don't have a webcam, here are a few options :) http://www.hotscripts.com/search/?query=weather&category=php -- PHP General Mailing List (http://ww

[PHP] checking for null form fields fails

2001-08-06 Thread garman
For all of my HTML forms, I put in some JavaScript to check and make sure no fields are left blank. When the forms are processed in PHP, I also perform a check to make sure the forms fields aren't null (redundant, I know). Anyway, on a form I just made, both JavaScript and PHP think the form h

Re: [PHP] Spot the difference?

2001-08-06 Thread Ezra Nugroho
I find the best way to learn PHP (and maybe anything) by doing it. Pick up a project and do it. Consult www.php.net for any problem. If you can't find it there, then you have earn a legitimate reason to send something in this list. At 10:15 AM 8/6/2001 +0200, B. van Ouwerkerk wrote: >At 22:54 5

Re: [PHP] Display the weather on my site

2001-08-06 Thread Data Driven Design
The weather channel used to offer this service, for a single site it 'was' free, a year or so ago, I'm not sure of the cost for getting this info for multiple cities. I think they are www.weather.com Data Driven Design 1506 Tuscaloosa Ave Holly Hill, Florida 32117 http://www.datadrivendesign.co

Re: [PHP] Display the weather on my site

2001-08-06 Thread Thomas Deliduka
On 8/6/2001 2:38 PM this was written: > Put a webcam in your window. Put the city names in a database. Rotate through > the city names randomly. They will be None The Wiser. LOL yeah right! -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet

RE: [PHP] Display the weather on my site

2001-08-06 Thread stout
Put a webcam in your window. Put the city names in a database. Rotate through the city names randomly. They will be None The Wiser. >--=_NextPart_000_0206_01C11E86.5B5FCAE0 >Content-Type: text/plain; > charset="iso-8859-1" >Content-Transfer-Encoding: quoted-printable >Hello, >I

[PHP] Display the weather on my site

2001-08-06 Thread pierre-yves
Hello, I would like to display the wheather on a page depending on the city of my user. (or the capital of their province/state) Do you know a service/db/web site I could query in order to extract what I need ? py

[PHP] What's the difference between echo and print?

2001-08-06 Thread Phil Latio
What's the difference between echo and print? I believed they were the same. -- 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] fread (with fsockopen) returns nothing for CGI file

2001-08-06 Thread James Crowley
Hi, I am using fsockopen and fread to get the contents of a file on a server. Everything seems to work fine, except for one url. Opening http://ad-adex3.flycast.com/server/img/3327812_VBWeb/11196014_Restofsite /999 Works fine, however, http://www.burstnet.com/cgi-bin/ads/ad8747a.cgi?uniq=9

  1   2   >