Re: [PHP] A question of style ...

2002-07-12 Thread Analysis Solutions
Hi Jay: On Fri, Jul 12, 2002 at 08:40:31AM -0500, Jay Blanchard wrote: The agent selects a referral which is processed by an intermediary script which sets a flag in the database saying that this agent is, has,or will be contacting this referral (to prevent duplicate contact). Then this

[PHP] good article on creating a subscription form/script

2002-07-12 Thread René Fournier
I've looked on php.net, phpbuilder.com, and zend.com, but to no avail. Any suggestions? --- René Fournier, [EMAIL PROTECTED] Toll-free +1.888.886.2754 Tel +1.403.291.3601 Fax +1.403.250.5228 www.smartslitters.com SmartSlitters International #33, 1339 - 40th Ave NE Calgary AB T2E 8N6 Canada

[PHP] Re: IIS Bugs???

2002-07-12 Thread Scott Hurring
There's a problem with IIS and the rest of the world :-) -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- Brian McGarvie [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... OK This is a followon from my Browser thread... on [EMAIL PROTECTED];

RE: [PHP] good article on creating a subscription form/script

2002-07-12 Thread Lazor, Ed
It may not be the best approach, but I've always created a form that accepts the users e-mail address and passes it to a script. The script generates an e-mail and sends it to the listserv on behalf of the user. The listserv sends a message to the user and confirms the subscription. -Ed

[PHP] another pair of eyes?

2002-07-12 Thread Jas
Hello all, I have a parse error and I am not sure why, I think my eyes are giving up on me, or its a friday. Any help is appreciated. // just trying to compare the session var $date to timeout if older than 5 minutes [snippit] /* Begin Session and register timeout, random image client info

[PHP] Encoding problem with command line PHP.exe

2002-07-12 Thread Emile Axelrad
Hello - My problem is as follows: ? $data = mssql_result(mssql_query(SELECT Field FROM table WHERE ID='1'),0); echo $data; mysql_insert(INSERT INTO table2 VALUES('$data')); ? The data in the MSSQL table is: Æã IF I call this PHP code from my browser (IE6) it

[PHP] Encoding problem with command line PHP.exe

2002-07-12 Thread Emile Axelrad
Hello - My problem is as follows: ? $data = mssql_result(mssql_query(SELECT Field FROM table WHERE ID='1'),0); echo $data; mysql_insert(INSERT INTO table2 VALUES('$data')); ? The data in the MSSQL table is: Æã IF I call this PHP code from my browser (IE6) it

Re: [PHP] another pair of eyes?

2002-07-12 Thread Greg Donald
On Fri, 12 Jul 2002, Jas wrote: Hello all, I have a parse error and I am not sure why, I think my eyes are giving up on me, or its a friday. Any help is appreciated. // just trying to compare the session var $date to timeout if older than 5 minutes [snippit] /* Begin Session and register

[PHP] pgSQL Functions with results set to php?

2002-07-12 Thread David Busby
List, I'm creating a PHP/pgSQL web site...I need to execute queries with a cursor and get their result set into my PHP script. How can I make a pgSQL procedure with logic that also returns a result set? I've searched and searched but cannot find the answer. Does anyone got it? /B

[PHP] PHP/MySQL -- Date/Time Confusion

2002-07-12 Thread Monty
Which method is the best way to store date/time in MySQL and then which PHP command is the best to use to convert that date to something useful? I'm having a difficult time figuring out how to reconcile the date in MySQL so it works with PHP's various date commands, like getdate(). Any

Re: [PHP] PHP/MySQL -- Date/Time Confusion

2002-07-12 Thread 1LT John W. Holmes
You've got all kinds of options. I suggest you do any date calculations in the database and use DATE_FORMAT to format any dates pulled out. It's exactly like the date() function in PHP. MySQL has some great date and time functions so you can select out exactly what you want. You can use the

[PHP] Re: another pair of eyes?

2002-07-12 Thread Lee Doolan
Jas == Jas [EMAIL PROTECTED] writes: Jas Hello all, Jas I have a parse error and I am not sure why, I think my eyes are giving up on Jas me, or its a friday. Any help is appreciated. Jas // just trying to compare the session var $date to timeout if older than 5 Jas minutes

[PHP] problem with cookies and some browsers

2002-07-12 Thread Andy
Hi there, I am wondering if there is a possiblity that some browsers like IE 5.1 do not accespt cookies by default. I am working on a session management system and some users report that they have not been able to login because the cookie has been rejected. They are running IE 5.1 Mac (and maybe

Re: [PHP] Encoding problem with command line PHP.exe

2002-07-12 Thread Analysis Solutions
Emile: On Fri, Jul 12, 2002 at 09:58:53PM +0100, Emile Axelrad wrote: $data = mssql_result(mssql_query(SELECT Field FROM table WHERE ID='1'),0); mysql_insert(INSERT INTO table2 VALUES('$data')); Ouch. First, you're mixing and matching mssql and mysql functions. Second,

[PHP] php.security newsgroup any time?

2002-07-12 Thread Jas
I am wondering how we can get a newsgroup for security type of things, with either php, mysql or apache... To be honest I am interested in the php security newsgroup the most being as there is for the following two applications. How can one ask a moderator about that type of newsgroup? Jas --

[PHP] Encoding problem ONLY with _command line_ PHP.exe

2002-07-12 Thread Emile Axelrad
Hello - My problem is as follows (I am trying to migrate from a mssql server to a mysql server) ? ## I have already made pconnect statements to both the mssql and mysql servers. ## I have summarized what I am trying to achieve below (actual, full code available below):

Re: [PHP] good article on creating a subscription form/script

2002-07-12 Thread Michael Sims
On Thu, 12 Jul 2001 14:32:57 -0600, you wrote: I've looked on php.net, phpbuilder.com, and zend.com, but to no avail. Any suggestions? I don't know of any articles, but I'm actually working on a project that is exactly what you are talking about. I'm going to code the signup interface in PHP,

[PHP] Help a n00b with Server-to-Server file transfers?

2002-07-12 Thread Steve Keller
Ok, here's the situation: I've got a script that's catching a backdoor post from Verisign. The script then generates an XML file based on the information that's posted. The goal being to make Verisign and our online accounting system pseudo- integrated so that as soon as a post comes through

[PHP] out of office test

2002-07-12 Thread Collins, Robert
sorry to do this but need to make sure my out of office response isint going to spam you guys. Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Fax: (504) 248-3866 Email : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From:

RE: [PHP] out of office test

2002-07-12 Thread Collins, Robert
Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Fax: (504) 248-3866 Email : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Collins, Robert [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 5:24 PM To: [EMAIL

[PHP] Re: getlastmod() returns error??

2002-07-12 Thread Andrew Ziem
I upgraded to PHP 4.2.1,and I still receive the error. Andrew Andrew Ziem [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I am using getlastmod() to create a META HTTP-EQUIV tag. However, getlastmod() SOMETIMES returns FALSE (for error). When I run

RE: [PHP] PHP/MySQL -- Date/Time Confusion

2002-07-12 Thread David Freeman
Which method is the best way to store date/time in MySQL and then which PHP command is the best to use to convert that date to something useful? Get comfortable with MySQL's date functionality and you'll find that you don't often need to do the date comparisons and manipulation in php

RE: [PHP] php4apache.dll...

2002-07-12 Thread Bruce Karstedt
I got it when I downloaded 4.2.1 if you can't find it I'll e-mail you a copy. Bruce Karstedt President Technology Consulting Associates, Ltd. Tel: 847-735-9488 Fax: 847-735-9474 -Original Message- From: Peter [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 1:22 AM To: php_gen

[PHP] Convert MySQL table into Access or Excell format

2002-07-12 Thread Alex Shi
Hello, My client has a website and it support MySQL/PHP. The client want to download the MySQL tables and then access them in Excell or Access. So my question is, is it possible to convert MySQL table into Access or Excell format? Thanks in advance for all answer! Alex --

Re: [PHP] PHP and ORACLE

2002-07-12 Thread Anas Mughal
I don't think you would find any book covering PHP and Oracle. They technologies usually don't mix. Oracle is very enterprise oriented; whereas, PHP is open source community favorite. Oracle is a beast by its nature. So, you would need a few good books on Oracle. I would suggest following

Re: [PHP] PHP/MySQL -- Date/Time Confusion

2002-07-12 Thread Anas Mughal
The easiest and my preferred way is to use strtotim method. This method accepts MySQL format 2002-12-23 and converts it into a UNIX time stamp. After that you can use the date function to format time as you wish! Monty [EMAIL PROTECTED] wrote: Which method is the best way to store date/time

[PHP] PHP as smart .bat files on windows?

2002-07-12 Thread Francisco Reyes
Any experiences on using PHP as a replacement for bat files? For instance I can't find how to pass a parameter to a PHP program when running PHP as a scripting/CGI language. For regular bat files I can reference parameters by using $1 Anything like that with PHP under windows? -- PHP General

Re: [PHP] PHP as smart .bat files on windows?

2002-07-12 Thread Analysis Solutions
On Fri, Jul 12, 2002 at 07:26:52PM -0400, Francisco Reyes wrote: Any experiences on using PHP as a replacement for bat files? http://www.php.net/manual/en/features.commandline.php --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution |

[PHP] PHPDiscuss.com

2002-07-12 Thread Erich Kolb
I have started a new website devoted strictly to discussing development with PHP. If anyone is interested, you can see it at http://www.phpdiscuss.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHPDiscuss.com

2002-07-12 Thread Jeff Lewis
Is it like http://www.phptalk.com ? Like just discussion or are their tutorials etc? Jeff I have started a new website devoted strictly to discussing development with PHP. If anyone is interested, you can see it at http://www.phpdiscuss.com.

RE: [PHP] PHPDiscuss.com

2002-07-12 Thread John Holmes
I have started a new website devoted strictly to discussing development with PHP. If anyone is interested, you can see it at http://www.phpdiscuss.com. Wow...a forum. Is that vBulletin your using? Shouldn't you be giving them credit somewhere?? ---John Holmes... -- PHP General Mailing

[PHP] Advice needed

2002-07-12 Thread Mike Tuller
I am trying to develop a front end to a database that will be used for entering information about the computer systems I take care of. It would be easy to do if it weren't for one problem. I want to list information about the drives that are in each system. There could be one, two, or 10

[PHP] File Browser

2002-07-12 Thread Darren Young
I'm looking for some type of file storage / browsing script to park on an Intranet site. I need to have people log in and be presented with a listing of files stored on the server along with other info such as dates/times, description, author and perhaps some versioning abilities. The files

Re: [PHP] problem with cookies and some browsers

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Andy wrote: I am wondering if there is a possiblity that some browsers like IE 5.1 do not accespt cookies by default. No, it's that they do not accept standards by default :) Try this and have M$ go to hell: // send/refresh cookie $time = mktime()+ $lifeInDays*86400;

Re: [PHP] Advice needed

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Mike Tuller wrote: The hardwareID is created in MySql when the information entered for the hardware is submitted, which hasn't been done yet. You don't need it immediately. Just have a progressive key (like 1,2,3,4...) stored in a hidden field along with the new info you are

[PHP] Librep (yes it's definitely OT)

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Sorry, got no time to surf around for a Linux list, so please answer privately since this is totally OT. I am running gnome on top of rh 7.1, since I upgraded to librep 0.15.1 and sawfish 1.0.1 I need to reinstall librep once a week. Apart from the annoying fact in itself, when rep

[PHP] RE: [PHP-WIN] PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area

2002-07-12 Thread C. Hendrie
Tho, when you think about it, most PHP developers COULD use a dating service. :) Seriously tho, this is a good idea. Thanks for the info Jay. ~ Chris D.O.D -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 12:24 PM To: [EMAIL PROTECTED];

Re: [PHP] Advice needed

2002-07-12 Thread Mike Tuller
So I would have the progressive key inside the addvolume window? Can you explain how to go about doing this? - Original Message - From: Alberto Serra [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, July 12, 2002 8:56 PM Subject: Re: [PHP] Advice needed ðÒÉ×ÅÔ! Mike Tuller

[PHP] checkboxes / form elements

2002-07-12 Thread Blue Presley
Hello. I have a form that I would like to use checkboxes. these checkboxes are created dynamically. I've been told that if I want to manipulate each one then I should use 'name=checkbox[]' and make an array out of it. okay, fine. but how do i access them in my PHP script? I know I have to

[PHP] Gainesville, Florida PHP Users? (Re: [PHP-WIN] PHP meetup [CROSS-POST]Meet other PHP Developers in Your Area)

2002-07-12 Thread Tim Luoma
Well I don't see a user group listed for Gainesville, FL... and we could have a cool acronym too PUGG (php users group of gainesville) ok, that's a first attempt, but anyway So are there other Gainesville, Florida folks around? If so please drop me a link and maybe we can form

Re: [PHP] Advice needed

2002-07-12 Thread Analysis Solutions
Mike: You MUST store the hardware information first so you can get the actual HardwareID determined by the hardware table's auto increment field. Any other way you do it you leave open the possibility for error. On your main hardware page, I'd make the Volume Information section have

RE: [PHP] checkboxes / form elements

2002-07-12 Thread John Holmes
Hello. I have a form that I would like to use checkboxes. these checkboxes are created dynamically. I've been told that if I want to manipulate each one then I should use 'name=checkbox[]' and make an array out of it. okay, fine. but how do i access them in my PHP script? I know I have

Re: [PHP] Advice needed

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Mike Tuller wrote: So I would have the progressive key inside the addvolume window? Can you explain how to go about doing this? How you organize your HTML output should *never* interfere with the way you organize your data, they are two different things and must be kept well

Re: [PHP] checkboxes / form elements

2002-07-12 Thread Analysis Solutions
On Fri, Jul 12, 2002 at 10:59:00PM -0400, Blue Presley wrote: Hello. I have a form that I would like to use checkboxes. ... snip ... I've been told that if I want to manipulate each one then I should use 'name=checkbox[]' and make an array out of it. okay, fine. but how do i access them

Re: [PHP] checkboxes / form elements

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Analysis Solutions wrote: On Fri, Jul 12, 2002 at 10:59:00PM -0400, Blue Presley wrote: Hello. I have a form that I would like to use checkboxes. ... snip ... I've been told that if I want to manipulate each one then I should use 'name=checkbox[]' and make an array out of it. okay,

[PHP] is_null question

2002-07-12 Thread Matthew K. Gold
Hi Everyone, Here's my problem: I'd like to make the printing of some text dependent on whether or not a variable is null. In the following example, when $row[1] is null, what gets printed on the page is Email: . I'd like the script to not print Email: if row[1] is null. It looks like I

[PHP] Inheritance

2002-07-12 Thread Jason White
I have a class Foo{} which has a method Print(). I have another class FooBar{} which extends Foo{} and has its own method Print(). How do I invoke Foo{}'s Print() method from within FooBar{} once its been overridden? Jason White

Re: [PHP] is_null question

2002-07-12 Thread Jason White
You can use: if($row[1]){print Email:$row[1];}else{print ;} Jason White - Original Message - From: Matthew K. Gold [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 12, 2002 9:23 PM Subject: [PHP] is_null question Hi Everyone, Here's my problem: I'd like to make the

Re: [PHP] is_null question

2002-07-12 Thread Jason White
My appologies, I didn't read clear through, your code block confused me :-) What I usually do in a situation like this, although I'm new to PHP is. $temp=Some stuff before Email; if($row[1]){ $temp .= Email:$row[1]; } $temp .= The rest of the stuff after Email; print $temp; Jason White

Re: [PHP] File Browser

2002-07-12 Thread Jason Wong
On Saturday 13 July 2002 09:51, Darren Young wrote: Anyone have any pointers to existing scripts? What would this type of application be called? A document repository perhaps? There's something called Owl (search sourceforge/freshmeat etc). Or you can try phprojeckt which has a document

Re: [PHP] Convert MySQL table into Access or Excell format

2002-07-12 Thread Jason Wong
On Saturday 13 July 2002 06:48, Alex Shi wrote: Hello, My client has a website and it support MySQL/PHP. The client want to download the MySQL tables and then access them in Excell or Access. So my question is, is it possible to convert MySQL table into Access or Excell format? Thanks in

Re: [PHP] Convert MySQL table into Access or Excell format

2002-07-12 Thread Jason White
You can also use ODBC (Ships with Acess) to make a DSN connection to MySQL. Access can retrieve data from any ODBC DSN. Jason White - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 12, 2002 9:48 PM Subject: Re: [PHP] Convert MySQL table

Re: [PHP] Inheritance

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! Jason White wrote: I have a class Foo{} which has a method Print(). I have another class FooBar{} which extends Foo{} and has its own method Print(). How do I invoke Foo{}'s Print() method from within FooBar{} once its been overridden? parent::print(); if you have multilayered

Re: [PHP] help with mail() function!

2002-07-12 Thread Thomas \omega\ Henning
No I only work on *nix platforms Analysis Solutions [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... You wouldn't happen to be on a windows system? Read the Warning: on the manual page: http://www.php.net/manual/en/function.mail.php --Dan --

Re: [PHP] Inheritance

2002-07-12 Thread Alberto Serra
ðÒÉ×ÅÔ! if you have multilayered inheritance you may explicitely say which anceStor class you are calling, like foo::print(). two typos in a few words are definitely too much, sorry :) BTW, although almost all class specification is dynamic you cannot dynamically specify a class name in

[PHP] Restricting access using IPs

2002-07-12 Thread Liam MacKenzie
Hey all, I'm looking to deny access to all IPs except those that fall into a specific IP range. 192.168.0.* in this case. Am I missing something out of this code, it don't work too well ;-) ? $localip = 192.168.0.13; if ($REMOTE_ADDR == $localip) { ? Allowed! ? } else { ? Denied! ? } ?

[PHP] problems with variable variables...

2002-07-12 Thread Dave at Sinewaves.net
I'm having a huge problem with getting variable variables to work. Here's what the code looks like... // This is set from a previous array... / $the_variablename[0] = processors; // Now I include a file called

Re: [PHP] Convert MySQL table into Access or Excell format

2002-07-12 Thread Alex Shi
The thing is that, the MySQL table resides on a remote web server, my client want to download it and access it in Access. Alex You can also use ODBC (Ships with Acess) to make a DSN connection to MySQL. Access can retrieve data from any ODBC DSN. Jason White - Original Message -

[PHP] NEVERMIND! [PHP] problems with variable variables...

2002-07-12 Thread Dave at Sinewaves.net
Nevermind! I figured out the curly bracket syntax... Doh! It was buried in the manual the whole time! Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Connecting LocalHost Remote mySQL DB

2002-07-12 Thread Thomas Edison Jr.
Glory! Let's say i got a bunch of Data in my mySQL Table on my localhost. I need all this Data uploaded on my mySQL on the Server/Internet. Now one way is to use phpMyAdmin, Export the original data on LocalHost to a .CSV file, then use the Server phpMyAdmin to upload the same .CSV file to the

Re: [PHP] Restricting access using IPs

2002-07-12 Thread Jason Wong
On Saturday 13 July 2002 13:10, Liam MacKenzie wrote: Hey all, I'm looking to deny access to all IPs except those that fall into a specific IP range. 192.168.0.* in this case. Am I missing something out of this code, it don't work too well ;-) HOW doesn't it work too well? It displays a

Re: [PHP] Convert MySQL table into Access or Excell format

2002-07-12 Thread Jason Wong
On Saturday 13 July 2002 13:31, Alex Shi wrote: The thing is that, the MySQL table resides on a remote web server, my client want to download it and access it in Access. Doesn't matter, ODBC works across a network. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source

Re: [PHP] Restricting access using IPs

2002-07-12 Thread Liam MacKenzie
If I enter 192.168.0.13 (My IP) it works, I'm allowed in and any other IP isn't. However, I need to grant access to this whole network, not just me. So I need 192.168.0.* to be able to access it, everyone else should get Access Denied So I need to know how to write this bit: $localip =

Re: [PHP] Connecting LocalHost Remote mySQL DB

2002-07-12 Thread Jason Wong
On Saturday 13 July 2002 13:45, Thomas Edison Jr. wrote: Glory! Let's say i got a bunch of Data in my mySQL Table on my localhost. I need all this Data uploaded on my mySQL on the Server/Internet. Now one way is to use phpMyAdmin, Export the original data on LocalHost to a .CSV file, then

Re: [PHP] Convert MySQL table into Access or Excell format

2002-07-12 Thread Alex Shi
Jason Wong [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Saturday 13 July 2002 13:31, Alex Shi wrote: The thing is that, the MySQL table resides on a remote web server, my client want to download it and access it in Access. Doesn't matter, ODBC works

Re: [PHP] Restricting access using IPs

2002-07-12 Thread Jason Wong
On Saturday 13 July 2002 13:45, Liam MacKenzie wrote: If I enter 192.168.0.13 (My IP) it works, I'm allowed in and any other IP isn't. However, I need to grant access to this whole network, not just me. So I need 192.168.0.* to be able to access it, everyone else should get Access Denied

Re: [PHP] Convert MySQL table into Access or Excell format

2002-07-12 Thread Jason Wong
On Saturday 13 July 2002 14:00, Alex Shi wrote: Jason Wong [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Saturday 13 July 2002 13:31, Alex Shi wrote: The thing is that, the MySQL table resides on a remote web server, my client want to download it

Re: [PHP] Connecting LocalHost Remote mySQL DB

2002-07-12 Thread Thomas Edison Jr.
Glory! Exactly.. that IS the problem. You see, my mySQL DB on the Server/Internet, on my website.. it DOES NOT allow Remote Host Connection. That's why i need to use a PHP page, that too based on the server. Because i need to move tabel data on my Client/My Computer to the Tables on my Website

<    1   2