[PHP] phpAdsNew from newbie

2001-08-06 Thread Jack
I am trying to install phpAdsNew on my site now, have trouble understanding on the configuration bit. I basically am able to set up database and tables as pre documentations said. And I have managed to login to admin part successfully. Anyway, I got stuck with the part, that I don't see where I

[PHP] file_exists bug?

2001-08-06 Thread Ken Williams
Am I an idiot? (View this message as text) html body ? $bIsFileOne = is_file(/tmp/test.txt); # Will be true cause test.txt will exist sleep (5); # Sleep while you telnet in and remove test.txt quickly! $sTemp = `/bin/rm -R /tmp/test.txt`; # Or just remove it automatically sleep (5); # Sleep

Re: [PHP] file_exists bug?

2001-08-06 Thread Rasmus Lerdorf
As documented: http://php.net/clearstatcache -Rasmus On Mon, 6 Aug 2001, Ken Williams wrote: Am I an idiot? (View this message as text) html body ? $bIsFileOne = is_file(/tmp/test.txt); # Will be true cause test.txt will exist sleep (5); # Sleep while you telnet in and remove

Re: [PHP] Spot the difference?

2001-08-06 Thread B. van Ouwerkerk
At 22:54 5-8-01 -0700, Kyle Smith wrote: ok, umm... you got that in pence cause im english just kiddin so what resources did you use to learn php? I think people already told you how and where to obtain the information you want. www.php.net and www.devshed.com would be a good start..

RE: [PHP] magazine-subscription

2001-08-06 Thread B. van Ouwerkerk
Sorry, I know it wasn't any helpful. The reason there are not much of this software is because there's no standard for Magazines. Very hard to write something that would satisfy every request. I don't remember finding ANY piece of software that does exactly what I want. Most of them are

RE: [PHP] array + checkbox

2001-08-06 Thread Jason Murray
I've the following weird problem. I have a form which contains an array with values of some checkboxes. This is the HTML-part: INPUT TYPE=checkbox name=voorraad checked if checked or INPUT TYPE=checkbox name=voorraad Try INPUT TYPE=checkbox name=voorraad[] maybe...? Jason -- PHP

Re: [PHP] Looking for Portal/Directory code

2001-08-06 Thread B. van Ouwerkerk
I've been looking in several places and can't find a good PHP code resource site. The ones I have found have stuff that isn't very good. Anyway, I'm looking for a PHP app with MySQL back-end that will do a Portal/directory listing like Yahoo or the Open Directory Project. freshmeat.net

Re: [PHP] array + checkbox

2001-08-06 Thread Tijmen Hennink
Sorry, I've copied some old code. It was already INPUT TYPE=checkbox name=voorraad[] - Original Message - From: Jason Murray [EMAIL PROTECTED] To: 'Tijmen Hennink' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, August 06, 2001 10:37 AM Subject: RE: [PHP] array + checkbox I've

Re: [PHP] array + checkbox

2001-08-06 Thread Tijmen Hennink
Some extra debuginfo. When I'm submitting a page where the checkbox is not set in the beginning and in same page an checkbox that is initially set to checked I can see that the first is not set and the second is set. But this is the strange part, if I changed the 2 checkboxes I still get the

[PHP] I Want

2001-08-06 Thread Alawi Albaity
i want to make a function that read my file line by line and word by word to find a certain word , if the function return this word it is return true , if not it return false . Thabks __ Do You Yahoo!? Make international calls for as low as

RE: [PHP] I Want

2001-08-06 Thread Jason Murray
i want to make a function that read my file line by line and word by word to find a certain word , if the function return this word it is return true , if not it return false . if (strstr(implode(, file(filename.txt)), myword) { echo File conatined 'myword'BR\n; } else { echo File

Re: [PHP] Call to undefined function: imap_open()

2001-08-06 Thread Renze Munnik
On Sat, Aug 04, 2001 at 06:57:35PM -0500, Damiano Ferrari wrote: I just tried to use the IMAP functions on my website. When I run the first script, I get this error: Call to undefined function: imap_open() Does this mean the IMAP functions are not installed? Damiano Most likely! You

[PHP] Re: syntax help~~~

2001-08-06 Thread Coconut Ming
Hi.. I just wanna laugh really want to laugh WUWUAHAHAHAHAHA I have figure out the solution amazingly! here will be the code I am running LoL ? mysql_connect('localhost','coconut','tkming') or die (Unable to connect to SQL Server); mysql_select_db('helpwatch') or die (Unable to

[PHP] Registration key

2001-08-06 Thread Richard Kurth
I am getting ready to wright a registration key for my program. This is so I can distribute the program say for 30 days and at the end of that 30 days the user will have to register the program or it will not run. This program will be encrypted So no they can not mess with the code. I would like

[PHP] Re: array + checkbox

2001-08-06 Thread James Holloway
Hi there Tijmen, Firstly, change the input name from this: voorraad to this: voorraad[] then do something like: ? echo Checked values are as follows:brbr; for ($i = 0; $i sizeof($voorraad); $i++) { if (!empty($voorraad[$i])) { echo $voorraad[$i]; } } ? James Tijmen

[PHP] phpAds advice needed

2001-08-06 Thread Jack
I am trying to install phpAdsNew to my site, the given docs don't seems to have enough information about how can I add banner details into table banners correctly. I mean, I know how to insert data into a table and all that, but I am talking about each parameters in that table and what are

[PHP] Re: array + checkbox

2001-08-06 Thread Tijmen Hennink
Very weird but it works. But it doesn't see any changes in the form. Maybe the PHP is just fine but the HTML contains some shit. Here is the part that I'm using to generate the form. if ($aanwezig == TRUE) echo( TD WIDTH=50 ALIGN=CENTERINPUT TYPE=checkbox

[PHP] crypted source

2001-08-06 Thread Ornella Fasolo
Hallo, now the php source code is totally visible and modificable on the web server side. does anybody know if exists a way to protect the source php files. There exists actually a way to not allow the access (read, write, ...) to the php source code on the server machine? that is something

Re: [PHP] Re: syntax help~~~

2001-08-06 Thread Andreas D. Landmark
At 06.08.2001 10:31, you wrote: Hi.. I just wanna laugh really want to laugh WUWUAHAHAHAHAHA I have figure out the solution amazingly! here will be the code I am running LoL it works without separating the code if you add the ; at the end of the $temp = $username.watch line...

[PHP] Seg fault when returning True from shutdown function.

2001-08-06 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I am just playing with the the register_shutdown_function() function and have found a way to cause php to seg fault. Can somebody else please test the code below this to see if they have the same problem. Code (8 Lines):

Re: [PHP] crypted source

2001-08-06 Thread B. van Ouwerkerk
www.zend.com IIRC it's called zend optimizer.. Bye, B. Who refuses to add a 10 lines signature to his messages now the php source code is totally visible and modificable on the web server side. does anybody know if exists a way to protect the source php files. There exists actually a

[PHP] $PHP_SELF in a template problem, I think ??

2001-08-06 Thread Phil Latio
I run a small search engine and adding URL's is a bit of a pain so I thought I would try to make it easier. Looking around I found a PHP function called get_meta_tags which unsurprisingly, grabs the contents of varoius meta tags. I just want the description contents so I first made a standalone

Re: [PHP] $PHP_SELF in a template problem, I think ??

2001-08-06 Thread Richard Baskett
Does the manual actually say to use the tags php/php? Or is it the normal tags of ?php ?? I run a small search engine and adding URL's is a bit of a pain so I thought I would try to make it easier. Looking around I found a PHP function called get_meta_tags which unsurprisingly, grabs the

[PHP] ASSISTANCE NEEDED

2001-08-06 Thread kelvin asonze
FROM: MR.KELVIN NZE. AUDITING AND ACCOUNTING UNIT. FOREIGN OPERATIONS DEPARTMENT. BANQUE TOGOLAISE POUR LE COMMERCE ET L'INDUSTRIE, LOME- TOGO. TEL:(228)04-45-26. Dear sir, I am Mr.KELVIN NZE, the director in charge of auditing and accounting section of Banque Togolaise Pour le

[PHP] ASSISTANCE NEEDED

2001-08-06 Thread kelvin asonze
FROM: MR.KELVIN NZE. AUDITING AND ACCOUNTING UNIT. FOREIGN OPERATIONS DEPARTMENT. BANQUE TOGOLAISE POUR LE COMMERCE ET L'INDUSTRIE, LOME- TOGO. TEL:(228)04-45-26. Dear sir, I am Mr.KELVIN NZE, the director in charge of auditing and accounting section of Banque Togolaise Pour le

RE: [PHP] Seg fault when returning True from shutdown function.

2001-08-06 Thread Corin Rathbone
On Win98, Apache 1.3.17, PHP4.0.6 As Apache Module, running the code below I get APACHE caused an invalid page fault in module MSVCRT.DLL at 015f:7800fd73 -Original Message- From: William Bailey [mailto:[EMAIL PROTECTED]] Sent: 06 August 2001 12:15 To: PHP General List Subject: [PHP] Seg

Re: [PHP] Registration key

2001-08-06 Thread Miles Thompson
Richard, So you have a programming problem -- and there are any number of ways to do what you want. When I say program here I'm really referring to the specific functions which will create the key and interpret the key. 1. What do you want out of the program? What results? What exactly do

Re: [PHP] ASSISTANCE NEEDED

2001-08-06 Thread Miles Thompson
Well, interesting to see this coming out of Togo; most of these scams have originated from Nigeria. The incredible thing is that there are always those whose greed overwhelms reason; hope there aren't any on this list. If so, kiss goodbye to whatever $$ you have in that bank account. For my

Re: [PHP] $PHP_SELF in a template problem, I think ??

2001-08-06 Thread Phil Latio
Tried this and got parsing errors so php/php must be correct. Richard Baskett [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Does the manual actually say to use the tags php/php? Or is it the normal tags of ?php ?? I run a small search engine and adding

[PHP] mysql_numrows

2001-08-06 Thread AJDIN BRANDIC
Hi I'm trying to get number of rows from a query. All works fine until the result is 0. Then query executes fine, returns 0 rows but mysql_numrows failes. $query=select * from mytable; $result=mysql_query($query) or die(select failed); $num_rows=mysql_numrows($result) or die(select count

[PHP] Re: crypted source

2001-08-06 Thread Henrik Hansen
[EMAIL PROTECTED] (Ornella Fasolo) wrote: Hallo, now the php source code is totally visible and modificable on the web server side. does anybody know if exists a way to protect the source php files. There exists actually a way to not allow the access (read, write, ...) to

Re: [PHP] mysql_numrows

2001-08-06 Thread Daniel Rezny
Hello AJDIN, Monday, August 06, 2001, 3:34:49 PM, you wrote: AB Hi AB I'm trying to get number of rows from a query. All works fine until AB the result is 0. Then query executes fine, returns 0 rows but mysql_numrows AB failes. AB $query=select * from mytable; AB

Re: [PHP] 404's and requesting page

2001-08-06 Thread Tom Carter
Very odd.. I checked REQUEST_URI and outputed phpinfo() as you suggested and nowhere does it say the name of the file that was requested.. is this a server configuration issue? All the variables relating to pages are set to the page that is displaying the error rather than the request that is

RE: [PHP] mysql_numrows

2001-08-06 Thread Sam Masiello
I believe the function you want is mysql_num_rows, not mysql_numrows HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: AJDIN BRANDIC [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 9:35 AM To:

[PHP] Re: mysql_numrows

2001-08-06 Thread CC Zona
In article Pine.OSF.3.91.1010806142332.22209D-10@leofric, [EMAIL PROTECTED] (Ajdin Brandic) wrote: I'm trying to get number of rows from a query. All works fine until the result is 0. Then query executes fine, returns 0 rows but mysql_numrows failes. $query=select * from mytable;

[PHP] checkboxes part II

2001-08-06 Thread Tijmen Hennink
Hi all, maybe this example will show you what is the problem. Try to unselect some of the checkboxes and you will see that there is some magic in here. I want to have per id if the selectbox is selected or not. The test.html will be generated from mysql when test.php is working fine. I'm

[PHP] storing team members---suggestions on approach?

2001-08-06 Thread garman
I've got a fairly simple problem, and I'm not really sure how to approach it. I'm creating a website for team projects, where the project information is stored in a MySQL database. I want folks to be able to name their project, indicate it's length, have a verbal description, etc. The

Re: [PHP] 404's and requesting page

2001-08-06 Thread Tom Carter
If anyone is interested I fixed this problem in a sudden (rare) moment of inspiration... in the htaccess statement I had put ErrorDocument 404 http://www.mysite.com/error/error.php rather than /error/error.php This caused apache to basically start a separate request rather then pass it on thru,

[PHP] dynamic checkboxes?

2001-08-06 Thread garman
I have a form that generates a list of categories dynamically. That is, for each category in a database, the form has a corresponding checkbox. The checkboxes are given serialized names, such as chkbx1, chkbx2, etc. I'm having trouble figuring out how to process these in the php script that

Re: [PHP] spell checker

2001-08-06 Thread Justin French
thanks to everyone for their help. it's not my server, so I doubt I can get a recompile, but it'll be worth a try. this message is worth discussing though: Michael Hall wrote: IMHO it would be very difficult to build/use a reliable spell checker that worked automatically. Natural

[PHP] xsl:include doesn't work from php, it works with sabcmd

2001-08-06 Thread Marius Andreiana
Hi I try to keep some common xsl templates in separate files and use xsl:include href=file.xsl/ It works fine if I process them from cmd line with sabcmd, but the same files don't work in php, I get Fatal error: msgtype: error in ... when I add the line xsl:include (if I remove it it's ok)

[PHP] .htaccess

2001-08-06 Thread MindHunter
I've seen this all over. I had a QUICK look at the manual and can't find much. In short, what is it, what is it used for and is it WIN/UNIX-LINUX specific. Also any good readings on it will be appreciated. Tx BK -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] storing team members---suggestions on approach?

2001-08-06 Thread Tom Carter
Use three tables, one from projects one for members one for assignments Projects projectid projectname length description and whatever else members === memberid name category workingon memberid projectid so each member can be in one or many

Re: [PHP] spell checker

2001-08-06 Thread Ashley M. Kirchner
Justin French wrote: I'm thinking along the lines of looking for words not in the dictionary (eg caat) and then: a) alerting the user ('unknown word caat') b) offering alternatives ('did you mean cat|cart?') 2. look for close matches (have no idea how to approach this!!)

Re: [PHP] .htaccess

2001-08-06 Thread Alexander Wagner
MindHunter wrote: I've seen this all over. I had a QUICK look at the manual and can't find much. In short, what is it, what is it used for and is it WIN/UNIX-LINUX specific. Also any good readings on it will be appreciated. It is Apache-related, so it will work on any OS Apache can run

Re: [PHP] xsl:include doesn't work from php, it works with sabcmd

2001-08-06 Thread Marius Andreiana
forgot to mention I use xslt_process() to transform xml files. Can't see the error (with xslt_error()) , as it halts on xslt_process(). -- Marius Andreiana -- You don't have to go to jail for helping your neighbour http://www.gnu.org/philosophy/ -- PHP General Mailing List

[PHP] comfortable contact-form (1 problem)

2001-08-06 Thread Tribun
Please help. http://babynames.pregnancy.yahoo.com/bnfname.htm?n=Patrick paste this into the browserbar and you'll see the result-page... but try this through the fopen function via PHP. I DONT get that! do YOU know any resolutions??? my target is it: to get some informations about variable

Re: [PHP] magazine-subscription

2001-08-06 Thread Justin French
Chetan Ganpati wrote: Does anyone know of a tool to handle an online magazine and the magazine-subscriptions? It's a little unclear exactly what you want... If you want online zine with content management for stories/ features/articles, then maybe something like PHP-nuke could be the go

[PHP] comfortable contact-form..

2001-08-06 Thread Tribun
Please help. http://babynames.pregnancy.yahoo.com/bnfname.htm?n=Patrick paste this into the browserbar and you'll see the result-page... but try this through the fopen function via PHP. I DONT get that! do YOU know any resolutions??? my target is it: to get some informations about variable

[PHP] selectbox solved

2001-08-06 Thread Tijmen Hennink
Hi all, I no longer need you're help. It's solved in the attachment. Just add an unique id to the checkbox and query the array if it contains that value and you're done. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 06, 2001 4:34 PM --

Re: [PHP] count()?

2001-08-06 Thread Alexander Wagner
Jeremy Morano wrote: Hi, I was woundering how to read and find the # of records in my table... Do I use count()??? select count(*) from table regards Wagner -- Madness takes its toll. Please have exact change. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] PHP JAVA: Odd Behavior

2001-08-06 Thread Marcos
Hi, I got something very odd while trying to run php with java. First, my system specs: My System: Windows NT4.0 SP6 (same happens on Windows XP) Apache 1.3.20 PHP 4.0.6 Sun Microsystems JDK 1.3.1 Java settings from php.ini: [Java] java.class.path=D:\php406\java\php_java.jar;D:\jdk\lib

[PHP] Error Handling: How to handle fatal errors?

2001-08-06 Thread Darius Ivanauskas
Hello, I have red all about Error handling but there isn't mentionet that user cant handle fatal errors :( I'm writing some application and need to hide all fatal errors from user and do some hidden reporting/logging such errors. But the handler function set by set_error_handler() din't get

Re: [PHP] comfortable contact-form..

2001-08-06 Thread ze0
So you are trying to fopen that url? I made a similar post on this listserv about it.. I think it is a bug in PHP because you cannot pass the = sign into fopen or file. Please help. http://babynames.pregnancy.yahoo.com/bnfname.htm? n=Patrick paste this into the browserbar and you'll

[PHP] Class

2001-08-06 Thread Alawi Albaity
I create a class in write it code in a file and give it a name (wwp.php) and make another file and name it index.php3 the my index.php3 code is - ? Include (wwp.php); $hotmail = new WWP; $hotmail-toppage(1231); $hotmail-bodyofpage(212,213) $hotmail-downpage(2132154); ? and my

Re: Aw: [PHP] comfortable contact-form..

2001-08-06 Thread Tribun
no, I dont think so! look at this: -- snap --- $fp=fopen('http://www.vornamenlexikon.de/main/suchen.asp?kriterium=searchB1 =Suchenaction=searchnowsearchby='.$name,r); if($fp){ $daten=fread($fp,10); fclose($fp); $male='/m.gif'; $female='/w.gif';

[PHP] Host OnLine ?

2001-08-06 Thread Arcadius A.
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Cookies

2001-08-06 Thread Talus01
Okay... A cookie problem on PHP 4.0RC1: I set a user id password in a cookie via JavaScript, hop to the page to log into, and... PHP doesn't get the cookie... JavaScript still gets it though... I need to set the cookie dynamically, so I can't just pop it in a header, unfortunately Any

Re: [PHP] Host OnLine ?

2001-08-06 Thread Matt Greer
on 8/6/01 7:45 PM, Arcadius A. at [EMAIL PROTECTED] wrote: 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 ... Just a knee jerk reaction, but what about fopen?

[PHP] Problem with installing on Solaris 8

2001-08-06 Thread Peter Ostry
We try to install PHP4 on a Sun Netra AC200 (T1) under Solaris 8. After we finally managed to 'configure', we get an error with 'make': bash-2.03# make Making all in Zend make[1]: Entering directory `/usr/share/src/php-4.0.6/Zend' /bin/sh ../libtool --silent --mode=link gcc -g -O2 -o

[PHP] myPhpAdmin/mysql/php/ Problem

2001-08-06 Thread Julian Simpson
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 where requstID = 2; i get: You have an error in your SQL

Re: [PHP] Problem with installing on Solaris 8

2001-08-06 Thread Tim
'ar' is a system utility. On my system it's in /usr/ccs/bin. - Tim On 06 Aug 2001 18:12:52 +0200, Peter Ostry wrote: We try to install PHP4 on a Sun Netra AC200 (T1) under Solaris 8. After we finally managed to 'configure', we get an error with 'make': bash-2.03# make Making all in Zend

[PHP] 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 databaze ... 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] dynamic checkboxes?

2001-08-06 Thread Mark Maggelet
On Mon, 6 Aug 2001 08:57:08 -0500, garman ([EMAIL PROTECTED]) wrote: I have a form that generates a list of categories dynamically. That is, for each category in a database, the form has a corresponding checkbox. The checkboxes are given serialized names, such as chkbx1, chkbx2, etc. I'm having

[PHP] Re: Host OnLine ?

2001-08-06 Thread Hidulf
which web server are you using? if you are using apache as the web server, i think you can try the function apache_lookup_uri(). this function will return status of the request. or you can use fsockopen() that allow you to make connection to internet connection. -- Hidulf http://www.hidulf.com

[PHP] EASILY MAKE $200,000 TO $500,000 EVERY 7 MONTHS!!

2001-08-06 Thread cynpereira
Hello phqanda, Under Bill S.1618 TITLE III passed by the 105th U.S. Congress this letter Can Not be Considered Spam as long as we include the way to be removed. This message is sent in compliance with the new e-mail bill:

[PHP] Session problems..

2001-08-06 Thread Sean C. McCarthy
Hi All, I am in trouble with the session handling of PHP. It works fine as long as the session_start is not inside a function or a class. My idea was to create a session class with a constructor calling session_start(). The variables inside the session class would hide the session vars. Proper

RE: [PHP] Linux PHP Install Problems (was: Oh and one more thing)

2001-08-06 Thread Brian Dunworth
On Saturday, August 04, 2001 at 1:47 AM, Joel Ricker wrote: 1) format your harddrive 2) take out your motherboard and spraypaint it bright orange. Ok I did that. 3) dance around the desk three times holding the motherboard above your head chanting mail mail, give me mail

RE: [PHP] phpAds advice needed

2001-08-06 Thread Jerry Lake
I've got phpads(new) up and running on www.upstarter.com but I'm not exactly sure what type of help your needing if your up and running and adding banners, what are you in need of help with. Let me know and I'll do my best to try and help. Regards, Jerry Lake Interface Engineering Technician

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

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

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 would

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

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

[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

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=weathercategory=php -- PHP General Mailing List

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

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

[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 ?php phpinfo();

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

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

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

[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

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

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 other criteria here After $result = @mysql_query($sql,$connection) or die(Couldn't execute query.); Do this: $mycount = mysql_result($result, 0, 'c') ; $mycount should now be

RE: [PHP] Re: Host OnLine ?

2001-08-06 Thread Robert Collins
Why not use ping like ? $bob = exec(ping -c 1 php.net); echo $bob; ? -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

[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

[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

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 =

[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

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

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

[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/lib

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

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

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

  1   2   >