RE: [PHP] From static to dynamic

2001-11-19 Thread Steven Katz
I've been asked by a few to explain further what I'd like to do. I'd like to accomplish the entire 183-page site with 2 pages: the home page and a catalog template. The home page, which features an item-of-the-day from the catalog and past 3 featured items, would choose a random item from the

Re: [PHP] MS Exchange

2001-11-19 Thread Kurt Lieber
On Monday 19 November 2001 10:19 pm, Benj Arriola wrote: > On the php.ini, if there is no SMTP server > and MS Exchange is used, what changes are needed > to be done on the php.ini file? MS Exchange has supported SMTP since (at least) version 4.0 and possibly even since the old MS Mail days.

[PHP] Re: [PHP-WIN] Re: Read Session in ASP in PHP

2001-11-19 Thread George Pitcher
> Sorry, I'm a PHP newbie. The only way I know you can pass values to a php > script is the normal way, through the URL, as in: a > href=yourscript.php?var1=value&var2=value... etc. Not strictly true. I am primarily a Lasso developer and I can pass values (and do) using Form, URL and Cookies.

[PHP] MS Exchange

2001-11-19 Thread Benj Arriola
Hello Guys! On the php.ini, if there is no SMTP server and MS Exchange is used, what changes are needed to be done on the php.ini file? thanks, Benj -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SV: [PHP] fopen "r+" not working - how to add to beginning of txt file

2001-11-19 Thread David Robley
On Tue, 20 Nov 2001 14:41, Brian Tully wrote: > not sure I know how to do this... > > do you mean to open the file twice? once to read it and put it into a > variable and then close the file and open it again, this time for > writing? > > I'm confused. this seems so much harder than it would be wi

Re: SV: [PHP] fopen "r+" not working - how to add to beginning of txt file

2001-11-19 Thread David Robley
On Tue, 20 Nov 2001 14:41, Brian Tully wrote: > On 11/19/01 6:45 PM, "Phelps" <[EMAIL PROTECTED]> wrote: > > load the content of the file into an variable first and then add the > > new text part into it. > > > > something like this: > > > > $text = $newtext + $text; > > > > then save it... It sh

Re: SV: [PHP] fopen "r+" not working - how to add to beginning oftxt file

2001-11-19 Thread Brian Tully
not sure I know how to do this... do you mean to open the file twice? once to read it and put it into a variable and then close the file and open it again, this time for writing? I'm confused. this seems so much harder than it would be with Perl. But I really want to stick with PHP. Can anyone h

[PHP] floating point exception after php 4 upgrade on raq 2

2001-11-19 Thread Paul Schreiber
Old config: Apache/1.3.12 (Unix) mod_auth_pam/1.0a PHP/3.0.15 configured New config: Apache/1.3.22 (Unix) mod_auth_pam/1.0a PHP/4.0.6 configured >From /var/log/httpd/error: [Mon Nov 19 19:53:19 2001] [notice] child pid 30261 exit signal Floating point exception (8) [Mon Nov 19 19:53:34 2001] [n

[PHP] Re: \|/ $PHP_SELF

2001-11-19 Thread Fred
Gerry Figueroa Anadon <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Does $PHP_SELF always get's the path of the document it resides in even if the document is an include? $PHP_SELF will always give the name and path of the main file, even if the variable is

[PHP] \|/ $PHP_SELF

2001-11-19 Thread Gerry Figueroa Anadon
Does $PHP_SELF always get's the path of the document it resides in even if the document is an include? I'm trying to set one of those breadcrumb path navigation scripts and I don't want to copy the script to every directory, I just want to include it in my header.inc. As a result I only get th

Re: [PHP] Strange variable.....

2001-11-19 Thread Gerard Samuel
That explains it all. Thanks David Robley wrote: > On Tue, 20 Nov 2001 14:13, Gerard Samuel wrote: > >>Hey all. Im debugging a script that was written by someone else, and >>alot of the variable has 2 '$$' in it. For example a varible is >>intialised and used as $$string. I haven't been usi

[PHP] Re: Strange variable.....

2001-11-19 Thread Fred
Look in the Manual under Variable Variables. Fred Gerard Samuel <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hey all. Im debugging a script that was written by someone else, and > alot of the variable has 2 '$$' in it. For example a varible is > intialise

php-general@lists.php.net

2001-11-19 Thread Fred
> Anything coming via get/post is a string, regardless of what it looks > like :-). > That is the conclusion I have drawn. However, the variables are automatically transformed based on the context in which they are used. Mathmatic operators and functions work flawlessly with numbers passed via G

Re: [PHP] Strange variable.....

2001-11-19 Thread David Robley
On Tue, 20 Nov 2001 14:13, Gerard Samuel wrote: > Hey all. Im debugging a script that was written by someone else, and > alot of the variable has 2 '$$' in it. For example a varible is > intialised and used as $$string. I haven't been using php for that > long, but I haven't seen anything like

Re: [PHP] configure problem

2001-11-19 Thread David Robley
On Tue, 20 Nov 2001 13:39, Chip wrote: > On Monday 19 November 2001 15:54, David Robley wrote: > > On Tue, 20 Nov 2001 01:11, Chip wrote: > > > I am setting up a new system for a friend and am getting the > > > following error when running ./configure - > > > > > > /usr/libexec/elf/ld: cannot find

[PHP] Strange variable.....

2001-11-19 Thread Gerard Samuel
Hey all. Im debugging a script that was written by someone else, and alot of the variable has 2 '$$' in it. For example a varible is intialised and used as $$string. I haven't been using php for that long, but I haven't seen anything like this. Whats the story with variables with $$ in the

[PHP] Re: From static to dynamic

2001-11-19 Thread Fred
To answer your first question, some search engines, such as Google, will crawl URLs that contain GET variables. Others will not. There is a way around this by creating links such as index.php?/Men/Shirts/Blue/XLarge and using the $PATH_INFO variable to parse the URL and spit out the needed vari

php-general@lists.php.net

2001-11-19 Thread David Robley
On Tue, 20 Nov 2001 13:12, Fred wrote: > OK, it seems as though I was on the right track. I cast the variables > as integers and all is well. Thanks to Rasmus and his msg: > http://www.phpbuilder.com/mail/php-developer-list/199901/0485.php > > A question remains: why are variables that are initi

[PHP] From static to dynamic

2001-11-19 Thread Steven Katz
I have a site which consists of a few hundred catalog pages. The items in the catalog are pictured 9 to a page with accompanying descriptions. The homepage features an item-of-the-day, as well as the past 3 featured items. The entire site is static and regularly updated manually by me. I don't

Re: [PHP] configure problem

2001-11-19 Thread Chip
On Monday 19 November 2001 15:54, David Robley wrote: > On Tue, 20 Nov 2001 01:11, Chip wrote: > > I am setting up a new system for a friend and am getting the following > > error when running ./configure - > > > > /usr/libexec/elf/ld: cannot find -lgd. > > error code 1 > > > > This machine is a d

[PHP] Re: PHP4 sessions and Netscape 4.75/Mac

2001-11-19 Thread jimmy elab
> Dennis Moore wrote: > > > Any ideas or clues? > Turn on cookies -- 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-general@lists.php.net

2001-11-19 Thread Fred
OK, it seems as though I was on the right track. I cast the variables as integers and all is well. Thanks to Rasmus and his msg: http://www.phpbuilder.com/mail/php-developer-list/199901/0485.php A question remains: why are variables that are initially set to numbers not cast as integers? Accor

[PHP] PHP4 sessions and Netscape 4.75/Mac

2001-11-19 Thread Dennis Moore
Has anyone run into the following?     I have set up a site using PHP4.0.6 sessions.  Everything runs fine with IE and Netscape on PC and UNIX.  However, I lose the session when using Netscape 4.75 on Mac.    Any ideas or clues?   Thx...    -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] IP Address Converted to Computer Name

2001-11-19 Thread David Robley
On Tue, 20 Nov 2001 11:38, Ben Clumeck wrote: > Thanks for your response David. I am new to PHP. Are you saying that > the code would look like this: > gethostname for $IPADDR; > if $HOSTNAME = $IPADDR > print "$HOSTNAME" > ?> > Would I then put the $HOSTNAME into my mail() script. Sorry for t

php-general@lists.php.net

2001-11-19 Thread Fred
I have 17 boolean variables which need to be stored in a MySQL database. I created a SET Column to store each of the boolean values as bits in the column. I should be able to test for the truth of a particular variable by checking if the corresponding bit is set. For example, if the first four

[PHP] Link Request

2001-11-19 Thread Stone Reuning
We at SEO Advantage have chosen to include your web site in the SEO Advantage Directory. While that was not done contingent upon your linking to our web site, we would really appreciate it if you would link to www.seoadvantage.com. We will be happy to provide you with any information you nee

RE: [PHP] IP Address Converted to Computer Name

2001-11-19 Thread Ben Clumeck
Thanks for your response David. I am new to PHP. Are you saying that the code would look like this: Would I then put the $HOSTNAME into my mail() script. Sorry for the trouble. Ben -Original Message- From: David Robley [mailto:[EMAIL PROTECTED]] Sent: Monday, November 19, 2001 4:29 P

Re: [PHP] IP Address Converted to Computer Name

2001-11-19 Thread David Robley
On Tue, 20 Nov 2001 04:08, Ben Clumeck wrote: > I am trying to convert an ip address to a computer name. Then I am > putting it into the mail() script. However, when I do this it come up > blank. I am putting $r_hostname in the mail() script. Can anyone tell > me why its not working? The scri

RE: [PHP] exporting

2001-11-19 Thread Matthew Loff
I always stick with PHP for web apps, but I am in a similar situation, I have to write a script that generates statistics and item reports from a database... The client wanted them in Excel format... I could have done CSV, but for the sake of aesthetics, I decided to go with a native Excel export

[PHP] Re: [PHP-DB] [newbie] passing variables

2001-11-19 Thread Kodrik
you have You have twice "action" and are missing the "method". In your case, I guess it would be "get". I didn't read on, so you might have more errors. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: [PHP] configure problem

2001-11-19 Thread David Robley
On Tue, 20 Nov 2001 01:11, Chip wrote: > I am setting up a new system for a friend and am getting the following > error when running ./configure - > > /usr/libexec/elf/ld: cannot find -lgd. > error code 1 > > This machine is a default install of FreeBSD4.4, Apache-1.3.22, > MySQL-3.23.44 and PHP-4

Re: [PHP] mail charset conversion

2001-11-19 Thread Martín Marqués
On Lun 19 Nov 2001 17:45, you wrote: > I have a small script that recieves mails and does some work with it. What > it has to do, it does it great, for now. The problem is that some lines > come in encoded (at least thats my thought). For example: > > Martín Marqués -> =?iso-8859-1?q?Mart=EDn=20Ma

Re: [PHP] phptriad / apache on windows question

2001-11-19 Thread Brian Clark
Hi Christian, @ 6:15:59 PM on 11/19/2001, christian calloway wrote: cc> I just downloaded phptriad, which installs apache/php/mysql/perl on a win cc> system. Im not sure on the language, but I want to be able to define virtual cc> directories. Currently everything under /apache/htdocs/ is access

Re: [PHP] [newbie] passing variables

2001-11-19 Thread Dean Householder
Well for one > echo "\t value='".stripslashes($first)."'>\n"; > echo "\t value='".stripslashes($last)."'>\n"; Both of these fields are called 'first' instead of 'first' and 'last' so the last name is actually overwriting your first name. Secondly, you are not using proper php variables int

Re: [PHP] Form results sent to file

2001-11-19 Thread Brian Clark
Hi Ben, @ 6:08:20 PM on 11/19/2001, Ben Clumeck wrote: BC> Does anybody have an easy script that send form results to a .txt file in BC> comma separated format. Be careful with commas in any of the fields. You may want to separate the fields with something like | or :: instead.

Re: [PHP] [newbie] passing variables

2001-11-19 Thread Dean Householder
- Original Message - From: "pjc" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, November 19, 2001 5:59 PM Subject: [PHP] [newbie] passing variables > I just started playing with PHP and MySQL and am building an online > phonebook for myself. > > From my '

[PHP] phptriad / apache on windows question

2001-11-19 Thread christian calloway
Hi everyone, I just downloaded phptriad, which installs apache/php/mysql/perl on a win system. Im not sure on the language, but I want to be able to define virtual directories. Currently everything under /apache/htdocs/ is accessible from the browser, ie test.php located at c:\apache\htdocs\test.

Re: [PHP] query works in mysql, but not from php

2001-11-19 Thread Steve Cayford
You don't need to put in the final semi-colon when running a query from php. Take that out and you should be fine. -Steve On Monday, November 19, 2001, at 04:58 PM, Olav Drageset wrote: > Hi > > $sql = "SELECT user FROM persons WHERE user = '$firstName' and domain = > '$domainName' ; "; > $r

[PHP] Form results sent to file

2001-11-19 Thread Ben Clumeck
Does anybody have an easy script that send form results to a .txt file in comma separated format. Thanks, Ben -- 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-ma

Re: [PHP] query works in mysql, but not from php

2001-11-19 Thread Christian Dechery
remove the ";" at the end... mysql_query() doesn't need it... since it only executes on atomic command, the ";" is useless.. that's what's causing the error... At 22:58 19/11/01 +, Olav Drageset wrote: >Hi > >$sql = "SELECT user FROM persons WHERE user = '$firstName' and domain = >'$domai

Re: [PHP] query works in mysql, but not from php

2001-11-19 Thread Martín Marqués
On Lun 19 Nov 2001 19:58, Olav Drageset wrote: > Hi > > $sql = "SELECT user FROM persons WHERE user = '$firstName' and domain = > '$domainName' ; "; $result = mysql_query($sql,$connection ) or > die(mysql_error()); > > Calling above lines from php returns: You have an error in SQL syntax > nea

Re: [PHP] [newbie] passing variables

2001-11-19 Thread Brian Clark
Hi pjc, @ 7:59:51 PM on 11/19/2001, pjc wrote: p> The error that I am getting on delete_entry.php is that my variables aren't p> there. Any suggestions folks? Copy and paste the exact error message and repost it here. -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon co

Re: [PHP] query works in mysql, but not from php

2001-11-19 Thread Brian Clark
Hi Olav, @ 5:58:14 PM on 11/19/2001, Olav Drageset wrote: OD> Hi OD> $sql = "SELECT user FROM persons WHERE user = '$firstName' and domain = '$domainName' ; "; Remove the semi-colon: $sql = "SELECT user FROM persons WHERE user = '$firstName' and domain = '$domainName'"; -- -Brian Clark | P

[PHP] [newbie] passing variables

2001-11-19 Thread pjc
I just started playing with PHP and MySQL and am building an online phonebook for myself. >From my 'view_all_numbers.php' I have a link that looks something like this: DELETE Here is the code from delete_entry_confirm.php Are you sure you want to delete "; echo "".$first." ".$last.""; echo

[PHP] query works in mysql, but not from php

2001-11-19 Thread Olav Drageset
Hi $sql = "SELECT user FROM persons WHERE user = '$firstName' and domain = '$domainName' ; "; $result = mysql_query($sql,$connection ) or die(mysql_error()); Calling above lines from php returns: You have an error in SQL syntax near ';' at line 1 Issuing the command SELECT user FROM pe

Re: [PHP] strip (s) from the end of the string

2001-11-19 Thread Brian Clark
Hi Justin, @ 5:51:23 PM on 11/19/2001, Justin French wrote: JF> Sorry, yeah, there are other 's in the string... I only want to chop JF> the trailing ones. >> $string = preg_replace('/()+$/i','',$string); ^^^ that'll do it then. -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO N

Re: [PHP] strip (s) from the end of the string

2001-11-19 Thread Justin French
Sorry, yeah, there are other 's in the string... I only want to chop the trailing ones. Justin Brian Clark wrote: > > Hi Justin, > > @ 5:20:15 PM on 11/19/2001, Justin French wrote: > > JF> Some RegExp help here would be great... how do I strip one (or more) > JF> 's from the END of a string

Re: [PHP] use PHP as a module in Apache on win9x

2001-11-19 Thread Brian Clark
Hi Gary, @ 4:42:20 PM on 11/19/2001, Gary wrote: G> Has anyone been able to run PHP 4.06 as a module on windows 98? Every G> time I have tried, using the install directions I get an error on G> starting Apache.It tells me it take two arguments, a module name and G> shared object file what am

Re: [PHP] transfer parameters

2001-11-19 Thread Brian Clark
Hi Astenios, @ 5:35:28 PM on 11/19/2001, astenios wrote: a> I'm trying to transfer a variable from one web-page to another a> The source page (http://astenios.hn.org/php/wall.php) is like a> echo ' >'; a> echo '', $row[1], ' '; Try: -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8

[PHP] Re: OOP support

2001-11-19 Thread Chris Lee
this is fine as any of a place to ask OOP questions :) -- Chris Lee [EMAIL PROTECTED] "Roko Roic" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I don't know if this is the right place to ask this (there is no .news.admin > group on news.php.net), but w

Re: [PHP] strip (s) from the end of the string

2001-11-19 Thread Brian Clark
Hi Justin, @ 5:20:15 PM on 11/19/2001, Justin French wrote: JF> Some RegExp help here would be great... how do I strip one (or more) JF> 's from the END of a string? Are they always at the end of the string? No more anywhere else on the line? $string = str_replace('','',$string); $string = st

Re: [PHP] Problem with PARSE ERROR

2001-11-19 Thread Brian Clark
Hi Nicolas, @ 5:26:44 PM on 11/19/2001, Nicolas Llamosas wrote: NL> line 21à$link = mysql_connect ("localhost", "my_user", "my_pass") { NL> or die ("Could not connect"); NL> } NL> print ("Connected successfully"); NL> mysql_close ($link); You want: $link = mysql_connect ("localhost", "

[PHP] transfer parameters

2001-11-19 Thread astenios
Hi I'm trying to transfer a variable from one web-page to another The source page (http://astenios.hn.org/php/wall.php) is like echo ' '; echo '', $row[1], ' '; and target(http://astenios.hn.org/php/detall.php) catch it by: $codi = urldecode($codi); echo 'codi = ', $codi; This do not work.

[PHP] Re: diferent data on diferent columns...

2001-11-19 Thread Romeo Manzur
I found the way... $i = 0; $result = mysql_query("SELECT * FROM sometable"); echo " \n"; while($row = mysql_fetch_array($result)){ echo "".$row[id]."\n"; if($i % 2 == 1){ echo " \n"; echo " \n"; } $i++; } echo " \n"

[PHP] Re: Download File Problem - text not appearing on downloaded file

2001-11-19 Thread Chris Lee
I dont know if Im pointing out the obvious or if you orgot to post more code. -- Chris Lee [EMAIL PROTECTED] "Joe Van Meer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi there. I managed to get the prompt for a file download when a user clicks >

[PHP] Problem with PARSE ERROR

2001-11-19 Thread Nicolas Llamosas
My browser show the message “Parse error: parse error in C:\apache\htdocs\prueba\prueba.php on line 21” when i try to connect to a mysql server (v.3.23) using the follow syntax: I read the php manual and the mysql manual, but I can’t find the solution. My server run under w98. (I installed t

[PHP] Re: diferent data on diferent columns...

2001-11-19 Thread Chris Lee
echo "".$row[id]."\n";//id for the firt record ex:1 echo "".$row[name]."\n";//id for the second record ex: 2 or echo "".$row[0]."\n";//id for the firt record ex:1 echo "".$row[1]."\n";//id for the second record ex: 2 is that what you mean? -- Chris Lee [EMA

[PHP] strip (s) from the end of the string

2001-11-19 Thread Justin French
Hi, Some RegExp help here would be great... how do I strip one (or more) 's from the END of a string? Many thanks, Justin French -- 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 a

RE: [PHP] exporting

2001-11-19 Thread Jason Murray
> I need something that will do a direct transfer to word or > excel or the others.. not something via a cvs method.. Excel loads comma separated (CSV - CVS is something else entirely) files happily. Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTEC

Re: [PHP] exporting

2001-11-19 Thread Kunal Jhunjhunwala
I need something that will do a direct transfer to word or excel or the others.. not something via a cvs method.. Regards, Kunal Jhunjhunwala - Original Message - From: "Joshua Hoover" <[EMAIL PROTECTED]> To: "Kunal Jhunjhunwala" <[EMAIL PROTECTED]> Sent: Tuesday, November 20, 2001 3:39 AM

[PHP] exporting

2001-11-19 Thread Kunal Jhunjhunwala
hey guys.. does anyone have any ideas on how to export information from a mysql database to microsoft word, excel, access, note pad or any other such application? Regards, Kunal Jhunjhunwala -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

[PHP] diferent data on diferent columns...

2001-11-19 Thread Romeo Manzur
Hi, I wonder how could I do a script for print direfent data on diferents columns from a table... I mean this $result = mysql_query("SELECT * FROM xxx"); while(($row = mysql_fetch_array($result)){ echo " echo " echo "".$row[id]."\n";//id for the firt record ex:1 echo "".$row[id

Re: Re: [PHP] schedule a task

2001-11-19 Thread Gab
thanks, That's what I did, and it works fine, was just hopping to find another way than using cron, but still as a server-side script. Gab "Matthew Moreton" <[EMAIL PROTECTED]> wrote in message 018c01c1713f$d98f9ab0$0100a8c0@summy">news:018c01c1713f$d98f9ab0$0100a8c0@summy... You can launch IE w

[PHP] use PHP as a module in Apache on win9x

2001-11-19 Thread Gary
Has anyone been able to run PHP 4.06 as a module on windows 98? Every time I have tried, using the install directions I get an error on starting Apache.It tells me it take two arguments, a module name and shared object file what am I doing wrong? Gary -- PHP General Mailing List (http://www

Re: Re: [PHP] schedule a task

2001-11-19 Thread Matthew Moreton
You can launch IE with an address as a paramater from task scheduler. Example: C:\PROGRA~1\INTERN~1\IEXPLORE.EXE http://somehost.com/somepath/somescript.php Matt. "Gab" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'll check with the tech support but not

Re: [PHP] Re: $ENV{'REMOTE_ADDR'}

2001-11-19 Thread Danijel Tasov
Hello, On Wed, Oct 31, 2001 at 03:26:44PM -0500, Liz Fulghum wrote: > if ($REMOTE_ADDR=="127.0.0.1") { > do something > } elseif ($REMOTE_ADDR=="remote.somewhere.com") { > do something else > } else { > eeks! its the end > } But how to easily accessing the whole environment. For exam

[PHP] fopen "r+" not working - how to add to beginning of txt file

2001-11-19 Thread Brian Tully
hey there - i've been going crazy trying to figure out how to add news items to the top of an already existing txt file containng previous news posts. While I'd love to change the system so everything is database-driven (as most of the rest of the site is), this news area has so much news posts

[PHP] Username:Password??? (Using fsockopen...)

2001-11-19 Thread Scott Fletcher
Hi! How do I send the username and password to the port and recieve a response saying hte username & password is accepted or fail??? Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

[PHP] mail charset conversion

2001-11-19 Thread Martín Marqués
I have a small script that recieves mails and does some work with it. What it has to do, it does it great, for now. The problem is that some lines come in encoded (at least thats my thought). For example: Martín Marqués -> =?iso-8859-1?q?Mart=EDn=20Marqu=E9s?= Does somebody know which type of

Re: [PHP] schedule a task

2001-11-19 Thread Gab
I'll check with the tech support but nothng is mentioned on the website. I can transform the method into GET on the form, and could call the script. The only way I see so far is using thi URL as a default page in my Win browser and automate sschedule the task in windows, but i don't like that.

RE: [PHP] schedule a task

2001-11-19 Thread Boget, Chris
> thanks for a quick response but I have a major problem with that: > no shell access => can't use cron Your Windows task manager? Just set it up to go to that page every night at your (not the server's) midnight... Chris

Re: [PHP] schedule a task

2001-11-19 Thread Jack Dempsey
you need some way of automating the process, and without cron automatically doing things for you, you're going to be pressed for a solution...i'm not sure what you could do because you need something to do this automatically...your host doesn't provide perl scripts to be cronned or anything like t

Re: [PHP] schedule a task

2001-11-19 Thread Gab
thanks for a quick response but I have a major problem with that: no shell access => can't use cron Any other idea? Gab "Jack Dempsey" <[EMAIL PROTECTED]> wrote in message 005401c17137$b930af00$[EMAIL PROTECTED]">news:005401c17137$b930af00$[EMAIL PROTECTED]... > cron either a php script itself

Re: [PHP] schedule a task

2001-11-19 Thread Tyler Longren
Set up a crontab that uses wget to hit that page everyday at midnight. You should use the flag in wget that tells it to delete the page that it downloads. I use that method sometimes. Tyler - Original Message - From: "Gab" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, Novem

Re: [PHP] schedule a task

2001-11-19 Thread Jack Dempsey
cron either a php script itself [if you've got it installed as a cgi] or a lynx request of the page check the archives as well [marc.theaimsgroup.com] because this comes up every week or so - Original Message - From: "Gab" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November

[PHP] schedule a task

2001-11-19 Thread Gab
Hi, I have a form (POST method), that creates a back-up of a MySQL database as an SQL file when submited. I am looking for a way to automate this task (ie on a daily basis at midnight). Any idea on how to do it in PHP? (if it is possible) Thanks Gab -- PHP General Mailing List (http://www.p

Re: [PHP] Web developer

2001-11-19 Thread John Monfort
Where are you located? __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 Mon, 19 Nov 2001, Peter Marrocco wrote: > I am lo

Re: [PHP] File Download Inquiry

2001-11-19 Thread Douglas McKenzie
You can just link to the file eg download file just make sure the path is correct. Joe Van Meer wrote: > Hi there. How would I go about downloading a file off of the server. The > filename will always be the same in my case. Say it is sitting in a > directory called 'textfiles'. What method/fun

Re: [PHP] Dynamic Navigation w/PHP

2001-11-19 Thread Matthew Moreton
My website has a navigation menu that is written to the browser depending on what vars are set in the php script. I store all the link names in an array, then simply do a 'foreach' loop to write the output. This would allow me to add another menu item by just adding it into the array. Simple ex

Re: [PHP] Version Contol for PHP site

2001-11-19 Thread John S. Huggins
On 19 Nov 2001, Jeff Bearer wrote: >-Is anybody doing something like this with their PHP development? Any >-direction from a working implementation would be great. And what do you >-think about the VNC idea that I just came up with? >- VNC in a fine tool, but I think not needed for this. Here i

RE: [PHP] Re: Version Contol for PHP site

2001-11-19 Thread Chris Bailey
I'm maybe a little unclear on exactly what you want. It says Version Control in the subject, but then PHP debugging and such is discussed below. To me the two are independent subjects. So, some more general info... For version control I'd suggest either CVS or Perforce, depending on budget :)

Re: [PHP] Re: Version Contol for PHP site

2001-11-19 Thread Joshua Hoover
John is right. Use something like WinCVS. Then you can either setup virtual hosts for each developer to have as their "sandbox" on the development server or you can allow the developer to run php on his/her own box and check in to the development server when they check into CVS. There are p

[PHP] Re: Version Contol for PHP site

2001-11-19 Thread John Lim
Hi Jeff There is a Windows version of WinCVS (see http://wincvs.org/ ). John Jeff Bearer <[EMAIL PROTECTED]> wrote in message 1006195598.1407.7.camel@jbearer">news:1006195598.1407.7.camel@jbearer... > Hello, > I'm trying to come up with a workable solution to implement version > control for our

[PHP] Version Contol for PHP site

2001-11-19 Thread Jeff Bearer
Hello, I'm trying to come up with a workable solution to implement version control for our site. I have developers that use windows, and don't know too much about the unix command line, so I'd prefer to use a windows client to work on the site if possible. I'm looking into CVS for the

[PHP] PEAR: nextID() mysql

2001-11-19 Thread Chris Dorr
My ignorance with databases will probably show here, but I haven't been able to solve this myself so I thought I'd post. I'm working on converting a DB driven site using mysql specific commands to the PEAR DB method. One of the fields I have in my mysql database is a auto_increment primary ke

Re: [PHP] Adding *another* person to an e-mail *to:* address

2001-11-19 Thread Jason G.
"Bcc: [EMAIL PROTECTED],[EMAIL PROTECTED]" Or "Cc: [EMAIL PROTECTED],[EMAIL PROTECTED]" Or "To: [EMAIL PROTECTED],[EMAIL PROTECTED]" Put a comma between email addresses. -Jason Garber IonZoft.com At 01:00 PM 11/19/2001 -0600, Anthony Ritter wrote: >Hi, >Thanks to all that helped me out yesterd

[PHP] Adding *another* person to an e-mail *to:* address

2001-11-19 Thread Anthony Ritter
Hi, Thanks to all that helped me out yesterday. I'm using PHP with Apache on a MS Windows 98 box. I would like to include a cc to another e-mail adresss when sending an e-mail. In addition I would like to *receive* and *also have the cc person receive* this e-mail as well. Right now, I am rece

[PHP] HTTPs ????

2001-11-19 Thread Scott Fletcher
Hi Everyone! I have the HTTP reference book. Honestly, I don't know a lot about HTTP language or protocol. I am supposely to write the HTTP script to connect to the one of hte machine on the internet, then use authentication, then send data and receive data, then close the connection. It i

[PHP] IP Address Converted to Computer Name

2001-11-19 Thread Ben Clumeck
I am trying to convert an ip address to a computer name. Then I am putting it into the mail() script. However, when I do this it come up blank. I am putting $r_hostname in the mail() script. Can anyone tell me why its not working? The script I am using is: Thanks, Ben -- PHP General Mai

Re: [PHP] Error running ./configure (c++ error)

2001-11-19 Thread Roy Sigurd Karlsbakk
> Do you have appropriate permissions in the directory you are runnning > configure in for the user running configure?? Yes. I'm r00t -- Roy Sigurd Karlsbakk, MCSE, MCNE, CLS, LCA Computers are like air conditioners. They stop working when you open Windows. -- PHP General Mailing List (http:/

[PHP] configure problem: --with-mysql=/what exactly?

2001-11-19 Thread James Green
Hi all, I have Debian Sid, I have Apache installed by source, and am trying to install the source of PHP4.0.6. For reasons I won't go into, I cannot use the Debian packages of Apache or PHP. The problem is when I come to configure PHP with mysql support. I have MySQL debs installed: mysql-server

Re: [PHP] Dynamic Navigation w/PHP

2001-11-19 Thread Andy Woolley
Hi, You could try using a DHTML menu like the one at http://www.milonic.co.uk/menu The array of elements needed can be generated using PHP based on certain criteria. Let me know if you or anybody else would like a PHP script creating so that you could generate menus based on values that you hav

[PHP] Web developer

2001-11-19 Thread Peter Marrocco
I am looking for someone to help maintain and work on our web page. We have several PHP pages and can't find anyone locally who knows php. Thanks, Peter 800.333.9302 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

[PHP] Re: Dynamic Navigation w/PHP

2001-11-19 Thread Julio Nobrega Trabalhando
Well, I don't really get what is your problem here. :-) You said people must 'enable' pages to have it available. Is it not only a matter of checking this 'enabled' flag? For example a database table with a column named 'enabled', and others 'link' and 'text': (example for mysql)

[PHP] Dynamic Navigation w/PHP

2001-11-19 Thread Mike Elkins
Hello All, I am looking for example code demonstrating the ability to dynamically modify website navigation based upon data in a database. Specifically what I am trying to figure out is how to control what pages are available based upon whether they have been "enabled" in the database. I am deve

[PHP] POST files with PHP

2001-11-19 Thread Daniel Reichenbach
Hy, I'm trying to post image files to a php script with another php script. Don't ask why, it's a crazy project :) Now the file is around 28000 bytes but the post receiver only gets around 300 bytes. Has anybody experienced this behaviour? I use the following script: --- snap --- http://www.ser

[PHP] Download File Problem - text not appearing on downloaded file

2001-11-19 Thread Joe Van Meer
Hi there. I managed to get the prompt for a file download when a user clicks on a text link. The file downloads properly to the client machine, howevr, when I open up the file there is no content. What do I have to add to the following code to get the content sent back to the user? Thx Joe :)

[PHP] add system user using PHP & Apache

2001-11-19 Thread Mark Lo
Hi, I would like to know how to use PHP & Apache to add system user. Eg. # Adduser mark I am seeking advice, so should I use suexec to perform the task or others. Thank you Mark Lo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: [PHP] Re: Apache 2.0.28 module

2001-11-19 Thread The Doctor
On Mon, Nov 19, 2001 at 11:34:41AM +0100, Sebastian Bergmann wrote: > Jobarr wrote: > > I need a build of PHP that can be used as a module with Apache 2.0.28 > > beta. > > Please do not massively cross-post to the various php.net mailinglists > or newsgroups. > > -- > Sebastian Bergmann

[PHP] Newbie Question about a counter

2001-11-19 Thread Jeff Williamson
I've modified a couple of php scripts that are working quite well. They are simple form/email scripts. I have hit a road block with a counter that I need. I need a counter that starts with i-1 and will increment by 1 after each confirmation of a reservation form. I don't necessarily have t

  1   2   >