[PHP] What PHP commands could do this?

2002-04-01 Thread Dalton Hunter
Hi, I would like to include a version checker/update utility with a php program I am writting. Can someone tell me what php commands would be needed to write a script that would compare the versions or dates of a customers php files against those from a remote server and provide a way for the cust

[PHP] WWW-Authenticate problem in Apache

2002-04-01 Thread dssopt
Hi everybody, I try to install Apache 3.1.2 + PHP-4.1.2 on RedHat 7.2. All seems to be fine but when I write a PHP to test the authenticate. Whatever I input to the login box, the failed, retry message comes out and it becomes a dead loop - login - retry - login .. Can anyone help me ?? Ken

[PHP] FW: Generating Static files

2002-04-01 Thread Tony Crockford
>Hi > >what's the best way to generate static files using PHP/MySQL? > >I've read a couple of tutorials and got a bit lost. > >What I'd like to do is use PHP to generate static pages in >the way that GDIdb pro does (run a script/template >combination, output html files all linked up) > >this is

Re: [PHP] BUG in recursion

2002-04-01 Thread Tom Rogers
Hi One way is to use a variable to track the recursion llike this: $y will always be 1 as long as it is in recursion only going to 0 on the last one. Tom At 09:59 AM 31/03/2002, Uros Gruber wrote: >Hi! > >This is a code > >function Test() >{ > static $count = 0; > > $count++; > ec

Re: [PHP] Need some help too!

2002-04-01 Thread Miguel Cruz
On Tue, 2 Apr 2002, Ryan F. Bayhonan wrote: > I'h vaving problem with mail function. I'm currently making a PHP > application that would be able to send mails to my co-employee. My webserver > where my application reside runs on linux without a sendmail appliation. > That is why the mail function

RE: [PHP] Including Picture in PHP

2002-04-01 Thread Martin Towell
change it to echo ""; html doesn't support imbedding images in to image tag, the browser will make a request for the image when it encounters to image tag -Original Message- From: Moschitz Martin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 4:51 PM To: [EMAIL PROTECTED] Subjec

[PHP] Including Picture in PHP

2002-04-01 Thread Moschitz Martin
What is wrong with the following statement? The Picture which is generated in graf.php is not displayed. echo ""; thanxs martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Need some help too!

2002-04-01 Thread Ryan F. Bayhonan
Good day to all. Just want to ask some help from you guys. I'h vaving problem with mail function. I'm currently making a PHP application that would be able to send mails to my co-employee. My webserver where my application reside runs on linux without a sendmail appliation. That is why the mail

Re: [PHP] Need some help please

2002-04-01 Thread Philip Olson
Hi. A quick hack to figure out your problem is to change: IF (mysql_query($query)){ print "Row added to table"; } else { print "error adding row"; } To: if (!$result = mysql_query($query)) { print 'Query Error: ' . mysql_error(); exit; } else { print 'Success! Row added.'; } In sh

[PHP] PHP work in Sydney Australia

2002-04-01 Thread Steve Farmer
Hi all, I am looking for a PHP coder based in Sydney, Australia for a couple of weeks work. If you are available and based in Sydney, please email me [EMAIL PROTECTED] Regards Steve Farmer -- - "Minds are like parachutes, they work best when ope

[PHP] Need some help please

2002-04-01 Thread menezesd
Hello Friends. I know I am asking for too much. But somehow, I am stuck with three books I am refering and still not being able to solve my problem, which I would greatly appreciate if any of you gurus can assist. The problem is as follows : I have three sections in this mail : 1. My table st

Re: [PHP] Can I use variable appended to the end of a link if I'm not using it for SQL query?

2002-04-01 Thread lmlweb
No, not quite there yet - I've done the following and it still doesnt' show up. Here's what I have in my hidden input: and modified the Mail form: $event = addslashes($event); // to escape any funky stuff mail("$recipientname <$final_recipient>","$form[subject]","$form[first_name] $form[las

Re: [PHP] API Calls

2002-04-01 Thread Jason Wong
On Tuesday 02 April 2002 13:42, Uma Shankari T. wrote: > Hii, > > >Can anyone please tell me how to write API call code for creating a > table in mysql.. > > How we will know that the user gives how many number of fields You've already asked this question a few days ago and you've already got

[PHP] API Calls

2002-04-01 Thread Uma Shankari T.
Hii, Can anyone please tell me how to write API call code for creating a table in mysql.. How we will know that the user gives how many number of fields Thanks & Regards Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Can I use variable appended to the end of a link if I'm not using it for SQL query?

2002-04-01 Thread Martin Towell
yep - definately need that hidden field, just a simple line will do (normally) you'll have to do "funky" stuff if there's quotes in the title or anything that gets escaped, like "'", and "\", etc -Original Message- From: lmlweb [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002

Re: [PHP] Request for Feedback - Unsigned Right Shift Operator

2002-04-01 Thread Rasmus Lerdorf
The other argument against adding <<< is that it is the heredoc operator. -Rasmus On 1 Apr 2002, Jason Greene wrote: > > Hello All, > > One of the features that I have been working on for PHP5/Zend Engine 2 > is better unsigned value support for the language. This involves the > addition of a n

Re: [PHP] Can I use variable appended to the end of a link if I'm not using it for SQL query?

2002-04-01 Thread lmlweb
Hi, I went ahead and tried it - it works beautifully, where the title does show up perfectly when you arrive at the form. I filled out the form both to test the actual email body and the resulting html page once you've filled out the form and submitted. The $title variable does not show up in e

[PHP] Re: Request for Feedback - Unsigned Right Shift Operator

2002-04-01 Thread martinahingis
CPU designers don't make their CPU's support an instruction like slau (shift left arithmetic unsigned) for simplicity of instruction set architecture. Anyway simplicity of instructions is not important for PHP. When one wants to use <<<, let them use it. -- martina. "Jason Greene" <[EMAIL PRO

[PHP] Request for Feedback - Unsigned Right Shift Operator

2002-04-01 Thread Jason Greene
Hello All, One of the features that I have been working on for PHP5/Zend Engine 2 is better unsigned value support for the language. This involves the addition of a new operator, '>>>' (Unsigned Right Shift). It works the same as a normal right shift operator, except that it does not hold the si

Re: [PHP] Variable Appended To The End of a URL Is Not Working in SQL Query

2002-04-01 Thread Dr. Shim
The "your_variable" thing was just an example. It actually uses $id (an a real URL). "Tyler Longren" <[EMAIL PROTECTED]> wrote in message 003001c1da02$f46e65b0$0101a8c0@nightengale">news:003001c1da02$f46e65b0$0101a8c0@nightengale... Well, there's not $id variable. And you're trying to select it.

RE: [PHP] Can I use variable appended to the end of a link if I'm not using it for SQL query?

2002-04-01 Thread Martin Towell
sure - do exactly as you described. just because a variable is appended to a url, doesn't mean it HAS to be used in an SQL statement. It can be used for anything you like - even ignored... :) -Original Message- From: lmlweb [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 2:56 P

Re: [PHP] Variable Appended To The End of a URL Is Not Working inSQL Query

2002-04-01 Thread Miguel Cruz
On Mon, 1 Apr 2002, Dr. Shim wrote: > I have a variable which is appeneded to the end of a URL, like > > http://www.your_web_site.com/your_page/?your_variable=your_value > > This would return "your_value"; > > echo $your_variable; > > But this wouldn't work, and returns an error > > $sql = "S

Re: [PHP] Variable Appended To The End of a URL Is Not Working in SQL Query

2002-04-01 Thread Tyler Longren
Well, there's not $id variable. And you're trying to select it. Should be this: $php_errormsg"); // next line has changed $sql = "SELECT * FROM tblArt WHERE IDArt = $your_variable"; $cursor = @odbc_exec($db, $sql) or exit ("Error occrued:$php_errormsg"); odbc_close($db); ?> Tyler Longren Cap

[PHP] Can I use variable appended to the end of a link if I'm not using it for SQL query?

2002-04-01 Thread lmlweb
For example, on a page, I have this link: http://www.website.com/register.html?select=$title";>$title where $title is whatever the database spits up on a previous query. Now I want to be able to carry that $title onto the next page, which is a form mail for registering for the events, without h

Re: [PHP] Variable Appended To The End of a URL Is Not Working in SQL Query

2002-04-01 Thread Dr. Shim
Hmm, run it manually? I'm a newbie, so, could you explain how I'd do that? =) "Jason Murray" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'd say $id is blank, not being passed in, or is equal to a nonexistant IDArt. Maybe you should echo out your SQL and run

RE: [PHP] Variable Appended To The End of a URL Is Not Working in SQL Query

2002-04-01 Thread Jason Murray
I'd say $id is blank, not being passed in, or is equal to a nonexistant IDArt. Maybe you should echo out your SQL and run it manually to see what's going on. J -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT "Work now, freak later!" > -Original Message- > From: Dr. Shim

[PHP] Variable Appended To The End of a URL Is Not Working in SQL Query

2002-04-01 Thread Dr. Shim
I have a variable which is appeneded to the end of a URL, like http://www.your_web_site.com/your_page/?your_variable=your_value This would return "your_value"; echo $your_variable; But this wouldn't work, and returns an error $sql = "SELECT * FROM fldField WHERE IDField = " . $id; What coul

Re: [PHP] Warning: Undefined variable

2002-04-01 Thread Philip Olson
Good little programmers define variables before using them, or at least before evaluating them. print $undefined; // E_NOTICE error The most common use of this is: if ($submit) { To check if a form submit button named submit has been submitted. If not, this does indeed evaluate to fals

RE: [PHP] $PHP_SELF

2002-04-01 Thread Ralph Guzman
Try "mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 6:24 PM To: [EMAIL PROTECTED] Subject: [PHP] $PHP_SELF SysInfo: Apache/1.3.24 (Win32) PHP/4.1.3-dev I have a question that could be Apache, could be php, but I'm so new to this I have to ask: what is wrong with my code for the form acti

[PHP] Re: $PHP_SELF

2002-04-01 Thread Hugh Bothwell
In php.ini, there is a setting called short_open_tag which controls whether I have a question that could be Apache, could be > php, but I'm so new to this I have to ask: what is > wrong with my code for the form action? Apache > does not recognize the code and gives an error "filename is not va

RE: [PHP] Warning: Undefined variable

2002-04-01 Thread Martin Towell
maybe the reporting of warning is turn off for the php3 installation, but turned on for the php4 installation. -Original Message- From: kip [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 12:21 PM To: [EMAIL PROTECTED] Subject: [PHP] Warning: Undefined variable Hi, As i know w

Re: [PHP] Re: Has anyone looked at phpinfo today?

2002-04-01 Thread Julio Nobrega
Also the last question from this page: http://www.php.net/license/ If what the guy is holding in his mouth is really this... -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wl

[PHP] file upload problems

2002-04-01 Thread Carl
post_max_size = 8 MB MAX_FILE_SIZE=8000 Apache Connection:300 max_execution_time=30 seconds _not_ running in safe mode Since page submits to itself, i just placed the set_time_limit(0) at the top of the page. I can't change max_execution_time because it's set by the hosting company. Craps out

[PHP] $PHP_SELF

2002-04-01 Thread Kirk Babb
SysInfo: Apache/1.3.24 (Win32) PHP/4.1.3-dev I have a question that could be Apache, could be php, but I'm so new to this I have to ask: what is wrong with my code for the form action? Apache does not recognize the " METHOD=POST> SSN: First Name: Last Name: Employer:

[PHP] Warning: Undefined variable

2002-04-01 Thread kip
Hi, As i know we don't need to define a variable before in PHP. But i have a very strange case. In my server, i hosted a PHP website. When i update the server from PHP3 to PHP4, problems came out. Most of the php pages didn't work and display many warnings like that : "Warning: Undefined variable

[PHP] List server

2002-04-01 Thread Anzak Wolf
I thought I remember reading somewhere about a list server written in PHP. Does anyone know of something like this and is it any good? -Jim _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. --

RE: [PHP] Re: Has anyone looked at phpinfo today?

2002-04-01 Thread James Cox
the php daemon. -Original Message- From: lmlweb [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 2:50 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: Has anyone looked at phpinfo today? who the heck was that :) "James Arthur" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PRO

[PHP] Re: Has anyone looked at phpinfo today?

2002-04-01 Thread lmlweb
who the heck was that :) "James Arthur" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > > > Notice anything different? > > --jaa -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] class instance name

2002-04-01 Thread CC Zona
> > > or are you referring to this? > > > > > > http://www.php.net/manual/en/function.get-class.php > > (a function that I keep forgetting about) > > No because it isn't the name of the class I want it is the name of the > > instance of the class... > ahh! so the variable name then? don't th

[PHP] Re: save page to DB

2002-04-01 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Phil Solomon) wrote: > Hi all, > I have a page that dynamically produces itself from a mysql db. It produces > a form with the prices of scaffolding items and then uses JS as a quote > calculator. I was wondering whether someone could tell me ho

[PHP] save page to DB

2002-04-01 Thread Phil Solomon
Hi all, I have a page that dynamically produces itself from a mysql db. It produces a form with the prices of scaffolding items and then uses JS as a quote calculator. I was wondering whether someone could tell me how to save the whole page into one field so that it can be reproduced in what ever

RE: [PHP] Sorting Multi-Dimensional Arrays using uksort()

2002-04-01 Thread Bloom, Chris
Sweet! Thanks for the help! -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 7:15 PM To: 'Bloom, Chris'; '[EMAIL PROTECTED]' Subject: RE: [PHP] Sorting Multi-Dimensional Arrays using uksort() try using usort() instead of uksort() - (i haven

RE: [PHP] Sorting Multi-Dimensional Arrays using uksort()

2002-04-01 Thread Martin Towell
try using usort() instead of uksort() - (i haven't checked the manual but) I believe uksort is for sorting based on the keys and not the values, which is what you're trying to do -Original Message- From: Bloom, Chris [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 9:57 AM To: '[E

[PHP] Sorting Multi-Dimensional Arrays using uksort()

2002-04-01 Thread Bloom, Chris
Hey folks: I have a function that returns an array. I'm assigning the returned array to a variable inside another function: -- $dirs = getFileArray($parentDir,"title_2.txt"); -- If I use print_r() on the variable it writes out as expected: -- Array ( [0] => Array

RE: [PHP] class instance name

2002-04-01 Thread Martin Towell
ahh! so the variable name then? don't think you can, unless it's passed to the object manually (please correct me if I'm wrong) Martin -Original Message- From: Nate [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 10:07 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] class instance

Re: [PHP] class instance name

2002-04-01 Thread Nate
No because it isn't the name of the class I want it is the name of the instance of the class... "Martin Towell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > or are you referring to this? > > http://www.php.net/manual/en/function.get-class.php > > (a functi

RE: [PHP] class instance name

2002-04-01 Thread Martin Towell
or are you referring to this? http://www.php.net/manual/en/function.get-class.php (a function that I keep forgetting about) Martin -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 9:53 AM To: Nate Cc: [EMAIL PROTECTED] Subject: Re: [PHP]

Re: [PHP] class instance name

2002-04-01 Thread Erik Price
On Monday, April 1, 2002, at 06:24 PM, Nate wrote: > How do you determine the class instance name from within the class? Isn't it $this ? Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

[PHP] Re: class instance name

2002-04-01 Thread martinahingis
what a thing is the class instance name from within the class?! --- martina. "Nate" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > How do you determine the class instance name from within the class? > -- PHP General Mailing List (ht

RE: [PHP] class instance name

2002-04-01 Thread Rick Emery
What is the class instance name? Are you referring to the name of the variable that holds the instance? -Original Message- From: Nate [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 5:25 PM To: [EMAIL PROTECTED] Subject: [PHP] class instance name How do you determine the class

[PHP] class instance name

2002-04-01 Thread Nate
How do you determine the class instance name from within the class? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] class instance name

2002-04-01 Thread Nate
How do you determine the class instance name from within the class? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] New php functions?

2002-04-01 Thread Rick Emery
> Extended info at http://www.mslinux.org ROFLMAO -Original Message- From: margehair.terra.es [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 5:17 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] New php functions? I love that manual! And what about the one in win help format? Not

RE: [PHP] RE: PHP/MySQL/XML

2002-04-01 Thread Hunter, Ray
One thing you need to thing about is if you are going to us DTDs. If you are and they specify that you need the elements then it is best to add a space when nothing is contained in $ext... Thank you, Ray Hunter Firmware Engineer ENTERASYS NETWORKS > -Original Message- > From: Erik

Re: [PHP] New php functions?

2002-04-01 Thread margehair . terra . es
I love that manual! And what about the one in win help format? Not too bad, int it? They say it now works under MSLinux. Probably Mandrake too, but not tested yet. Extended info at http://www.mslinux.org See ya, Marga Vas escriure: > I've got the PHP manual as a series of hyper-linked HTML pag

Re: [PHP] RE: PHP/MySQL/XML

2002-04-01 Thread Erik Price
On Monday, April 1, 2002, at 05:09 PM, Jay Fitzgerald wrote: > OkThanks to all those who are helping me (sorry for > cross-posting)... That's okay. This script looks a lot better -- because you can actually -do- something with the output! :) > My scripts are working great except for o

RE: [PHP] New php functions?

2002-04-01 Thread Jason Murray
> I've got the PHP manual as a series of hyper-linked HTML > pages. Searchig is is very fast. And, I don't need to wait > for download of single page. Each to their own, each to their own ... :) J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

RE: [PHP] New php functions?

2002-04-01 Thread Rick Emery
I've got the PHP manual as a series of hyper-linked HTML pages. Searchig is is very fast. And, I don't need to wait for download of single page. I've got the index.html page in my Favoties list, so the PHP manual ia always available; I don't have to try to remember where the downloaded doc is.

RE: [PHP] New php functions?

2002-04-01 Thread Jason Murray
> It begs the question, why don't you just download the manual? > It's available in a myriad of different formats, one of which > must suit you. It may not be bang up-to-date and it may not have > the (sometimes) useful user comments but it sure saves you a lot > of time and bandwidth. Heheh

Re: [PHP] PEAR vs. ADODB

2002-04-01 Thread Jochen Kaechelin
Am Dienstag, 2. April 2002 00:35 schrieb jon: > Hey folks... > > Does anyone out there have a feel for how widely distributed the > PEAR libraries are? I want to add DB abstraction to my project, > but I don't want to use PEAR if it's going to horribly > inconvenience all the people out there on m

[PHP] PEAR vs. ADODB

2002-04-01 Thread jon
Hey folks... Does anyone out there have a feel for how widely distributed the PEAR libraries are? I want to add DB abstraction to my project, but I don't want to use PEAR if it's going to horribly inconvenience all the people out there on managed servers. Has any played around with the ADODB lib

[PHP] RE: PHP/MySQL/XML

2002-04-01 Thread Jay Fitzgerald
OkThanks to all those who are helping me (sorry for cross-posting)... My scripts are working great except for one thingwhen it queries the db there are some fields that have a NULL value, thus when it writes the XML file it does this: What I would like to do is either place an   in th

Re: [PHP] PHP/MySQL/XML

2002-04-01 Thread Erik Price
Shoot, kind of an important error I made in the code I gave you earlier -- the closing quote for $xml_document should be a single-quote, not a double-quote as I wrote. Sorry, Erik On Monday, April 1, 2002, at 04:26 PM, Erik Price wrote: > Still, you want some advice? First, your SQL code

Re: [PHP] exec/system on FreeBSD help?

2002-04-01 Thread Jeff D. Hamann
got it figured out. permissions. "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Mon, 1 Apr 2002, Jeff D. Hamann wrote: > > I tried some small script like exec("ls -la") and that worked. I then > > tried system( "/usr/local/bin/pdflatex temp/re

[PHP] Re: tired by linux - recompiling.._PHP SERVER

2002-04-01 Thread Septic Flesh
I install slack8 with apache + mod_ssl + mod_php from the CD. nothing is enabled at the begining. I enable php . .from uncommenting the appropriate httpd.con line nothing..works.. I download php 4-1-2 latest . . I compile and install ...PHP no works.. mod_ssl does not work... I uncomment the l

Re: [PHP] PHP/MySQL/XML

2002-04-01 Thread Erik Price
On Monday, April 1, 2002, at 02:33 PM, Jay Fitzgerald wrote: > Can this be done and am I going about it the right way? Are you familiar with something called "partial decomposition"? I'm not sure where it came from, but Google suggests that it may have been conceived by Daniel Appelquist, t

Re: [PHP] header() question

2002-04-01 Thread Erik Price
On Monday, April 1, 2002, at 03:47 PM, martinahingis wrote: > I think the question is not the top of the page, the top frame of the > window. Isn't it? Oh yeah, you're right. I was thinking along the lines of what that other guy suggested -- that all pages revert to _top by default (which n

Re: [PHP] PHP/MySQL/XML

2002-04-01 Thread Thalis A. Kalfigopoulos
On Mon, 1 Apr 2002, Jay Fitzgerald wrote: > I have created a database called friends with four columns: > Name / Address / City / State > > I also made an XML file to coincide with those variables: > > > > Friend 1 >

Re: [PHP] Re: tired by linux - recompiling.._PHP SERVER

2002-04-01 Thread Miguel Cruz
On Mon, 1 Apr 2002, Septic Flesh wrote: > I have slackware 8 . . . > > I can have php working . . .but the default ssl installation does not work "Does not work" is not a very helpful description. Maybe it does work, and it just isn't being used correctly. But nobody can help you find out if y

[PHP] Re: tired by linux - recompiling.._PHP SERVER

2002-04-01 Thread Septic Flesh
I have slackware 8 . . . I can have php working . . .but the default ssl installation does not work -- Sapilas@/dev/pinkeye "Septic Flesh" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > anyone found any webserver for linux

[PHP] php - apache web based configurator

2002-04-01 Thread Rance Hall
Anybody have any recommendations on a good php based apache configurator, kinda like phpmyadmin for mysql databases? Rance Hall 308.238.2455 Internal Office Extensions: 2455 or 6655 PC Programmer, The Buckle, Inc. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscrib

RE: [PHP] Hi to you anti-spammers HAHA

2002-04-01 Thread Vlad Kulchitski
Phpinfo(); works all the time, unless you went ahead and reprogrammed php yourself :) Hello to AFRIKA from SOVIETS! CCCP rules! -Original Message- From: vins [mailto:[EMAIL PROTECTED]] Sent: 1 êâ³òíÿ 2002 ð. 15:43 To: [EMAIL PROTECTED] Subject: [PHP] Hi to you anti-spammers HAHA

Re: [PHP] header() question

2002-04-01 Thread martinahingis
I think the question is not the top of the page, the top frame of the window. Isn't it? If so you should use Javascript instead of PHP. top.window.location.href=http://yoursite.com/yourpage.php; --- martina. "Erik Price" <[EMAIL PROTECTE

Re: [PHP] Hi to you anti-spammers HAHA

2002-04-01 Thread Scott St. John
On Mon, 1 Apr 2002, vins wrote: > Happy Happy Easter. > and to all you peeps out there who don't celebrate this day. > Hope you enjoyed your day. > > And just too keep the cool > How do i run that script that give all the information about php ? > Someone told me the you type PHPINFO(); > but

[PHP] Hi to you anti-spammers HAHA

2002-04-01 Thread vins
Happy Happy Easter. and to all you peeps out there who don't celebrate this day. Hope you enjoyed your day. And just too keep the cool How do i run that script that give all the information about php ? Someone told me the you type PHPINFO(); but it sometimes doesn't work Cheerz Spammer Vins -

RE: [PHP] date comparison expressions

2002-04-01 Thread Rick Emery
Are you retrieving the stored date from a mySQL database? If so, you can let mysql SELECT only those records that fit the tardy date criteria. -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 2:22 PM To: [EMAIL PROTECTED] Subject: [PHP] date

[PHP] Re: parse error, mysql select

2002-04-01 Thread martinahingis
Error is absolute. Don't use " (double quotation mark) in yur queries. Use ' (single quot.) instead $query = "SELECT DATE_FORMAT( exp_date, '%W, %M > %d, %Y') AS thedate from tifrequest where user='$user' limit 1,1"; Because the preprocessor think that your string is finished when it sees a doub

[PHP] date comparison expressions

2002-04-01 Thread ROBERT MCPEAK
I'd like to compare today's date against a stored date, and then fire some code based on the result. Like. if ($today's_date < stored_date+5 days) then {blah} Can somebody clue this newbie in on how to do this? -Bob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

[PHP] Question on Using fgets for Network I/O while Limiting Amount of Data Retrieved

2002-04-01 Thread J. Scott Johnson
Hi, I'm trying to limit the amount of content retrieved with fgets when pulling data from a url. I'm generating page extracts and only need the first 2K to 4K. What I'm finding is that when I limit fgets, I get NOTHING but run within a while loop, I get the whole string. What works: //retriev

Re: [PHP] PHP/MySQL/XML

2002-04-01 Thread Erik Price
On Monday, April 1, 2002, at 02:33 PM, Jay Fitzgerald wrote: > Can this be done and am I going about it the right way? First, it's a bad idea to cross-post between mailing lists, even if they seem like related topics. Second, what is it you're trying to do? Or what does your application do

RE: [PHP] parse error, mysql select

2002-04-01 Thread ROBERT MCPEAK
Ack! Thanks. >>> Rick Emery <[EMAIL PROTECTED]> 04/01/02 02:59PM >>> $query = "SELECT DATE_FORMAT( exp_date, \"%W, %M %d, %Y\") AS thedate from tifrequest where user='$user' limit 1,1"; Missing escape \ in front of quotes -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]

RE: [PHP] parse error, mysql select

2002-04-01 Thread Rick Emery
He's not including the ; in the SELECT statement. The ; you're seeing is at end of the PHP statement -Original Message- From: Matt Friedman [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 2:02 PM To: 'ROBERT MCPEAK'; [EMAIL PROTECTED] Subject: RE: [PHP] parse error, mysql select

RE: [PHP] parse error, mysql select

2002-04-01 Thread Matt Friedman
It doesn't like the ";" at the end of the statement. I noticed this a while ago. I'd prefer if it didn't choke on the ";" but it seems to. It's probably more correct to have the ";" there - I don't know why it chokes when going through php. Matt Friedman Web Applications Developer www.SpryNewMed

RE: [PHP] parse error, mysql select

2002-04-01 Thread Rick Emery
$query = "SELECT DATE_FORMAT( exp_date, \"%W, %M %d, %Y\") AS thedate from tifrequest where user='$user' limit 1,1"; Missing escape \ in front of quotes -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 1:55 PM To: [EMAIL PROTECTED] Subject: [

RE: [PHP] Has anyone looked at phpinfo today?

2002-04-01 Thread Matt Friedman
I think if you look at today's date, you'll realize why the silly picture on your phpinfo today. Good one guys! That's what I love about php - it's about enjoying programming and making it fun. Matt Friedman Web Applications Developer www.SpryNewMedia.com -Original Message- From: Ty

[PHP] parse error, mysql select

2002-04-01 Thread ROBERT MCPEAK
When I execute from browser I get a parse error, but when I enter the query directly into a MySQL command prompt I get a successful return. Can anybody see the problem with this code: $query = "SELECT DATE_FORMAT( exp_date, "%W, %M %d, %Y") AS thedate from tifrequest wher

Re: [PHP] exec/system on FreeBSD help?

2002-04-01 Thread Jeff D. Hamann
so then I tried system( "/usr/local/bin/pdflatex /usr/local/www/html/project_x/temp/report_file" ); i think this is a write premission thing. yes, it's where I think it is "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Mon, 1 Apr 2002, J

Re: [PHP] exec/system on FreeBSD help?

2002-04-01 Thread Miguel Cruz
On Mon, 1 Apr 2002, Jeff D. Hamann wrote: > I tried some small script like exec("ls -la") and that worked. I then > tried system( "/usr/local/bin/pdflatex temp/report_file" ); to try and > diagnose the problem, and got "Fatal Error occured, I can't write on > file 'report_file.log', suggesting tha

Re: [PHP] strange file handle problem

2002-04-01 Thread Miguel Cruz
On Mon, 1 Apr 2002, Ken Nagorski wrote: > function write() > { > if(!$domainfile=fopen("/tmp/$domain", "w")) > { > die("Failed to open domain file"); > } > while(!$result->EOF) > { > if($remote_domain && !($default)) >

[PHP] exec/system on FreeBSD help?

2002-04-01 Thread Jeff D. Hamann
I've been trying to figure out why a command like exec()/system() works fine under windows and it doens't seem to run on FreeBSD. I've got a script that generates a latex file, runs pdflatex, and then moves the pdf file into a "reports" with a link on the generating page. Works fine on Win2k but w

[PHP] PHP/MySQL/XML

2002-04-01 Thread Jay Fitzgerald
I have created a database called friends with four columns: Name / Address / City / State I also made an XML file to coincide with those variables: Friend 1 999 Foo Avenue Foo Town

[PHP] strange file handle problem

2002-04-01 Thread Ken Nagorski
Hi there, Ok - This is the error I get, Warning: 2 is not a valid File-Handle resource in /usr/local/apache/htdocs/mm_edit.php on line 359 But this is the code... I marked line 359 where it attempts to call fputs for the first time. I can't seem to understand how this is failing. I really think

Re: [PHP] return

2002-04-01 Thread Erik Price
On Monday, April 1, 2002, at 02:13 PM, Jordan K. Martin wrote: > Makes sense. I didn't think much when writing that piece...but...what > is > the & for? wouldn't it work the same without it? > > function test ($var) > { > $var = addslashes($var) > } > > $foo = "He's dreaming"; > test($

Re: [PHP] header() question

2002-04-01 Thread Erik Price
On Monday, April 1, 2002, at 01:49 PM, Patrick Hartnett wrote: > So any use of header("Location=...") automatically does what amounts to > a target="_top"? If so, then ignore this entire post, cuz that answers > the question. If not, does anyone know how to force a target="_top" > when usi

Re: [PHP] return

2002-04-01 Thread Miguel Cruz
On Mon, 1 Apr 2002, Jordan K. Martin wrote: > Makes sense. I didn't think much when writing that piece...but...what is > the & for? wouldn't it work the same without it? > > function test ($var) > { > $var = addslashes($var) > } > > $foo = "He's dreaming"; > test($foo); > print($foo);

[PHP] Re: tired by linux - recompiling.._PHP SERVER

2002-04-01 Thread Michael Kimsal
Septic Flesh wrote: > anyone found any webserver for linux to support HTML - PHP - SSL without > much/any compiling . . > just the binary to uncompress and run .??? > > I am really tired by linux.. > > Most Linux distributions come precompiled with PHP and SSL in Apache by default. RedHa

RE: [PHP] Can anyone help?

2002-04-01 Thread Rick Emery
> $query="INSERT INTO news (newsid,title, author, body, posted) > //VALUES($newsid,'$title','$author', '$body', $posted)";) What's with the // in front of VALUES? Change to: $query="INSERT INTO news (newsid,title, author, body, posted) ". "VALUES($newsid,'$title','$author', '$body', $

Re: [PHP] return

2002-04-01 Thread Jordan K. Martin
Rasmus, Makes sense. I didn't think much when writing that piece...but...what is the & for? wouldn't it work the same without it? function test ($var) { $var = addslashes($var) } $foo = "He's dreaming"; test($foo); print($foo); Jordan K. Martin http://www.newimagedesign.com "Rasmus

RE: [PHP] Connecting to multiple DB's

2002-04-01 Thread Rick Emery
Both connects are "active". you specify which link when you select the database: mysql_select_db("database_name", $db1); mysql_select_db("database_name", $db2); -Original Message- From: James Taylor [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 12:48 PM To: PHP List Subject: [

Re: [PHP] Connecting to multiple DB's

2002-04-01 Thread Patrick Hartnett
Not sure about the multiple connections side, but to kill a connection: mysql_close($link); where $link is your connection variable/string hope this helps. -Patrick >From: James Taylor <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: PHP List <[EMAIL PROTECTED]> >Subject: [PHP] Connecti

  1   2   >